[SOLVED] HW2C Commandline flags

For HWRM mods I use the “-moddatapath” flag to tell the game where to look for the mod I’m working on.

Does this flag work for HW2C as well? I can’t get it to work.

Thanks!


I don’t think so Mikail. Pretty sure that was something new they added for HWR.

That’s too bad. :frowning:

Oh, Classic HW2. For that you want

-datapath <path>
Sets the data path, where data will be loaded from. (Internally, by default, it is …\Homeworld 2\Data\ )

http://hw2wiki.net/wiki.hw2.info/CommandLineParameters.html

IIRC, some people had difficulty making -datapath work, so -overridebigfile was recommended more often.

Datapath has the disadvantage of needing to duplicate the .big files to the new dir. -moddatapath sidesteps that problem, and I thought it worked with gbxHW2C. I could be wrong though.

Yeah, -datapath needs all the .big file to work. And the HWRM Toolkit might try to upload the .big files when publishing a mod.

I just checked my machine that’s still set up for HW@C development and I’ve got -moddatapath shortcut for it that works just fine.

Here’s my command line:

E:\SteamLibrary\steamapps\common\Homeworld\Homeworld2Classic\Bin\Release\Homeworld2.exe -overrideBigFile -luatrace -windowed -w1600 -h900 -noMovies -hardwareCursor -ssTGA -moddatapath DataGameplayEnhancedHWU

Here’s the path to the mod folder:

E:\SteamLibrary\steamapps\common\Homeworld\Homeworld2Classic\DataGameplayEnhancedHWU

My custom game type does not appear in the Skirmish screen however. Also, the command does not appear here:

http://hw2wiki.net/wiki.hw2.info/CommandLineParameters.html

That thread is for Homeworld Remastered. I need help with Homeworld 2 Classic.

Shot in the dark, do you have a keeper.txt?

1 Like

Aha! That was the problem. Thanks!

1 Like

Glad I could help

[quote=“Mikali, post:10, topic:1383836, full:true”]That thread is for Homeworld Remastered. I need help with Homeworld 2 Classic.[/quote] You have no idea how salty I was after reading this.