Loading external GRP/CON files.
#1 Posted 08 July 2019 - 03:04 PM
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.
#2 Posted 08 July 2019 - 03:29 PM
Quote
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...
#3 Posted 08 July 2019 - 04:54 PM
Photonic, on 08 July 2019 - 03:29 PM, said:
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
#4 Posted 08 July 2019 - 06:48 PM
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
#5 Posted 08 July 2019 - 09:43 PM
Forge, on 08 July 2019 - 06:48 PM, said:
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:
Your other suggestion is not reasonable as that would require ~50 different eduke32 installations which would all have to manually have settings adjusted.
#7 Posted 09 July 2019 - 05:39 AM
BlitZ, on 08 July 2019 - 09:50 PM, said:
It's been changed since day one.
I just checked again and it's NAM.CON
Error remains.
#8 Posted 09 July 2019 - 06:32 AM
Avenger, on 09 July 2019 - 05:39 AM, said:
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
#9 Posted 09 July 2019 - 06:37 AM
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
Forge, on 09 July 2019 - 06:32 AM, said:
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
#10 Posted 09 July 2019 - 06:44 AM
LeoD, on 09 July 2019 - 06:37 AM, said:
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
#11 Posted 09 July 2019 - 07:35 PM
Forge, on 09 July 2019 - 06:32 AM, said:
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.
#12 Posted 09 July 2019 - 08:56 PM
Avenger, on 09 July 2019 - 07:35 PM, said:
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.