Can Red Eclipse run from a flash drive?

Can Red Eclipse run from a flash drive?

Postby BlackRocket » 14 Jan 2014, 22:18

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!
BlackRocket
 
Posts: 12
Joined: 10 Jan 2014, 21:27

Re: Can Red Eclipse run from a flash drive?

Postby freezurbern » 15 Jan 2014, 00:53

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.
freezurbern
 
Posts: 29
Joined: 08 Sep 2013, 16:12
Location: East Coast, USA

Re: Can Red Eclipse run from a flash drive?

Postby BlackRocket » 15 Jan 2014, 21:06

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!
BlackRocket
 
Posts: 12
Joined: 10 Jan 2014, 21:27

Re: Can Red Eclipse run from a flash drive?

Postby qreeves » 16 Jan 2014, 01:51

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
Quinton "quin" Reeves | Lead Developer, Red Eclipse | http://redeclipse.net/ | http://www.facebook.com/redeclipse.net
User avatar
qreeves
 
Posts: 1294
Joined: 17 Mar 2011, 03:46
Location: Queensland, Australia

Re: Can Red Eclipse run from a flash drive?

Postby BlackRocket » 16 Jan 2014, 15:39

Worked perfectly, thank you both!
BlackRocket
 
Posts: 12
Joined: 10 Jan 2014, 21:27

Who is online

Users browsing this forum: No registered users and 1 guest

cron