Page 1 of 1

Can Red Eclipse run from a flash drive?

PostPosted: 14 Jan 2014, 22:18
by BlackRocket
Can Red Eclipse be configured to run portably from a flash drive without affecting the host system?

It creates a directory and files in the MyDocuments/MyGames folder with variables that are set by the user (like turning off blood).

The Cube2 engine stored all configuration changes within the installation directory, which could be made to run portably and self contained across computers. Red Eclipse is running fine directly from a flash drive but does not save configurations when moved to a new computer.

Is there a way to achieve this with Red Eclipse?

Or at least be able to have a default autoexec.cfg contained within the Red Eclipse directory that is configured then loaded if the software is moved between computers?

Thanks!

Re: Can Red Eclipse run from a flash drive?

PostPosted: 15 Jan 2014, 00:53
by freezurbern
Yes!

Red Eclipse calls that My Games/Red Eclipse folder the Home Directory, and you can change it by modifying the launcher (.sh or .bat)

http://redeclipse.net/wiki/Obtain_development_version#Using_SVN_Settings_and_Regular_Settings_in_Tandem
and
http://redeclipse.net/wiki/Client_Command_Line_Options
may provide useful.

Short version: change the .bat to include
{l Code}: {l Select All Code}
set RE_OPTIONS=-hhome
, which would make the "home" folder inside the main Red Eclipse folder to store user data.

Re: Can Red Eclipse run from a flash drive?

PostPosted: 15 Jan 2014, 21:06
by BlackRocket
The "set RE_OPTION=-hhome" command isn't working for me when inserted into the RedEclipse.bat file. I'm using Red Eclipse 1.4 Also there isn't a home folder within the directory by default. I created a home folder and tried running the software again, but the configurations still saved to the MyDocuments/MyGames/Red Eclipse folder.

I'll take a look through the documentation you provided. Thank you for the help!

Re: Can Red Eclipse run from a flash drive?

PostPosted: 16 Jan 2014, 01:51
by qreeves
You do not need to create folders, RE will do it for you.

Inside "redeclipse.bat" you should see "set APP_OPTIONS=". Change that to: set APP_OPTIONS=-hhome

Re: Can Red Eclipse run from a flash drive?

PostPosted: 16 Jan 2014, 15:39
by BlackRocket
Worked perfectly, thank you both!