Duke4.net Forums: Loading external GRP/CON files. - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Loading external GRP/CON files.

User is offline   Avenger 

#1

Hello,

How do I load GRP/CON files with eduke32 that are located in a different folder then the eduke32 directory?

I have tried batch files/shortcuts/"custom game content directory" but 9 times out of 10 the expansion/addon does not load properly and when the game starts there's missing overlays/assets/music/sounds etc.

The problem I am having is that I have so many addons that my eduke32 folder is rather cluttered and I would like to seperate these files into individual folders for organization.


How does eduke32 find external addons installed through steam in a different folder?



Cheers.
0

User is offline   Kyanos 

#2

http://wiki.eduke32....nd_line_options

Quote

-j [dir] Adds a directory to EDuke32's search list


Have you tried this? I can ask if you've tried many other things, instead I'll ask for more details, like the actual file structures, log files...
0

User is offline   Avenger 

#3

View PostPhotonic, on 08 July 2019 - 03:29 PM, said:

http://wiki.eduke32....nd_line_options


Have you tried this? I can ask if you've tried many other things, instead I'll ask for more details, like the actual file structures, log files...


Thanks for the reply.


I tried putting the -j [dir] argument at the end of the shortcut target with the file path to the folder where the GRP/CON files are located and there was no change.

For example:

eduke32 is located at:

C:\Users\User\Games\Duke Nukem 3D (1996)\eduke32.exe


I want to access the GRP/CON files located:

C:\Users\User\Games\Duke Nukem 3D (1996)\NAM (1998)


Tried the following:

-jC:\Users\User\Games\Duke Nukem 3D (1996)\NAM (1998)
-j C:\Users\User\Games\Duke Nukem 3D (1996)\NAM (1998)
-j[C:\Users\User\Games\Duke Nukem 3D (1996)\NAM (1998)]
-j [C:\Users\User\Games\Duke Nukem 3D (1996)\NAM (1998)]


The eduke32 window opens once executed with no mention of NAM and once Duke Nukem 3D Atomic Edition is launched it's just the regular Duke Nukem 3D Atomic Edition with no changes.



Is there a way to set directories through the game confirguation settings file?

That would seem immensly more straight forward similar to how GZDOOM works.

This post has been edited by Avenger: 08 July 2019 - 04:57 PM

0

User is offline   Forge 

  • Speaker of the Outhouse

#4

you're missing several arguments

the directory has to be defined
the grp has to be defined
any con or def needs to be defined.

if I wanted to make a bat or shortcut to WGRealms 2 TC using the eduke32.exe in my vanilla install direcotry it would look like this:

eduke32.exe -jC:\Duke3D\WGR2_SIEGEBREAKER -gWGR2/WGR2.GRP -xWGR2GAME.con -game_dir WGR2

That doesn't get WGR2 into my dropdown box, it just launches the game.

Honestly, it would be easier to have all your mods & TCs in their own directories, drop a copy of eduke32.exe in with them & just make a shortcut of it & rename the shortcut to whatever the mod or TC is. Drag the shortcut to your start menu, or wherever you want to collect the launch shortcuts.

This post has been edited by Forge: 08 July 2019 - 06:54 PM

0

User is offline   Avenger 

#5

View PostForge, on 08 July 2019 - 06:48 PM, said:

you're missing several arguments

the directory has to be defined
the grp has to be defined
any con or def needs to be defined.

if I wanted to make a bat or shortcut to WGRealms 2 TC using the eduke32.exe in my vanilla install direcotry it would look like this:

eduke32.exe -jC:\Duke3D\WGR2_SIEGEBREAKER -gWGR2/WGR2.GRP -xWGR2GAME.con -game_dir WGR2

That doesn't get WGR2 into my dropdown box, it just launches the game.

Honestly, it would be easier to have all your mods & TCs in their own directories, drop a copy of eduke32.exe in with them & just make a shortcut of it & rename the shortcut to whatever the mod or TC is. Drag the shortcut to your start menu, or wherever you want to collect the launch shortcuts.


Tried as you suggested:

-jC:\Users\User\Games\Duke Nukem 3D (1996)\NAM (1998) -gnam.grp -xnam.con -game_dir nam (1998)


Receive the following error:

Posted Image



Your other suggestion is not reasonable as that would require ~50 different eduke32 installations which would all have to manually have settings adjusted.
0

User is offline   Jimmy 

  • Let's go Brandon!

#6

You need to rename NAM's file "GAME.CON" to "NAM.CON"
0

User is offline   Avenger 

#7

View PostBlitZ, on 08 July 2019 - 09:50 PM, said:

You need to rename NAM's file "GAME.CON" to "NAM.CON"


It's been changed since day one.

I just checked again and it's NAM.CON

Error remains.
0

User is offline   Forge 

  • Speaker of the Outhouse

#8

View PostAvenger, on 09 July 2019 - 05:39 AM, said:

It's been changed since day one.

I just checked again and it's NAM.CON

Error remains.

just made this bat file & it works fine on my system.

eduke32.exe -jC:\Duke3D\Nam -gnam.grp -xgame.con -game_dir nam


Did you select the nam.grp in the drop-down box?
I believe eduke32 recognizes vacation, dc, nwinter, nam, & wwIIgi grp files
0

User is offline   LeoD 

  • Duke4.net topic/3513

#9

Full path names (e.g. starting with C:\) or folders above the current working directory (like ..\my_mod) probably don't work at all.
Try putting mods into subdirectories of the folder where eduke32.exe is located and load them with eduke32.exe "-j my_mod" and whatever other parameters are needed.

[EDIT:]Didn't see this, so my post seems superseded

View PostForge, on 09 July 2019 - 06:32 AM, said:

just made this bat file & it works fine on my system.
eduke32.exe -jC:\Duke3D\Nam -gnam.grp -xgame.con -game_dir nam


This post has been edited by LeoD: 09 July 2019 - 06:40 AM

0

User is offline   Forge 

  • Speaker of the Outhouse

#10

View PostLeoD, on 09 July 2019 - 06:37 AM, said:

Full path names (e.g. starting with C:\) or folders above the current working directory (like ..\my_mod) probably don't work at all.
Try putting mods into subdirectories of the folder where eduke32.exe is located and load them with eduke32.exe "-j my_mod" and whatever other parameters are needed.

[EDIT:]Didn't see this, so my post seems superseded

maybe there's something to what you posted - notice that Nam & WGR2 are sub-directories to my main Duke3d directory. I haven't tried doing a bat file linking a folder half-way across my hard-drive, or in a different partition.
(but the same appears to be true for the Avenger as well)


edit: nvm. experimented with a remote directory and the bat file worked fine

This post has been edited by Forge: 09 July 2019 - 06:49 AM

0

User is offline   Avenger 

#11

View PostForge, on 09 July 2019 - 06:32 AM, said:

just made this bat file & it works fine on my system.

eduke32.exe -jC:\Duke3D\Nam -gnam.grp -xgame.con -game_dir nam


Did you select the nam.grp in the drop-down box?


This worked. Cheers.


Kind of a convoluted way of going about it and really have no idea why the devs behind eduke32 don't just make a user editable config file where directories can be manually added but at least it's a solution.


By the way, the "-game_dir X" argument doesn't need to be in the batch file. After selecting the expansion/addon from the drop down menu it launches without any issues.


Thanks for the help.
0

User is offline   Forge 

  • Speaker of the Outhouse

#12

View PostAvenger, on 09 July 2019 - 07:35 PM, said:

By the way, the "-game_dir X" argument doesn't need to be in the batch file. After selecting the expansion/addon from the drop down menu it launches without any issues.

just a habit for me to do it that way.
Some mods & TCs have multiple directories. like WGRealms 2, so when I do make bats & shortcuts, I add that line just to be sure there aren't any problems.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options