Running from portable USB drive

Asked by Rodney Beede

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:
Last query:
Last reply:
Revision history for this message
Rodney Beede (business2008+launchpad) said :
#1

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"

Revision history for this message
Pali (pali) said :
#2

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