Running from portable USB drive

Asked by Rodney Beede on 2011-11-21

Is there a way to install Stratagus and Wargus onto a portable usb drive?

I'm looking at machines with Windows 64-bit so I could run the game from the usb drive on Windows machines that don't have the engine or game installed.

Question information

Language:
English Edit question
Status:
Solved
For:
Wargus Edit question
Assignee:
No assignee Edit question
Solved by:
Rodney Beede
Solved:
2011-11-21
Last query:
2011-11-21
Last reply:

Got it working with this setup:

Directories and files:
WarCraft_II_WarGus_portable\run.cmd
WarCraft_II_WarGus_portable\Stratagus_64bit\
WarCraft_II_WarGus_portable\Wargus_64bit\

Normal wargus files in Wargus_64bit and stratagus.exe and configuration in Stratagus_64bit

Works best with no spaces in the directory or filenames.

run.cmd

%~D0
CD "%~DP0\Stratagus_64bit"

"%~DP0\Stratagus_64bit\stratagus" -d "%~DP0\Wargus_64bit"

Pali (pali) said : #2

Better is to copy stratagus.exe binary into Wargus directory and start directly stratagus.exe (in that correct wargus directory)