Lemmingball Z

It is currently Wed Jun 19, 2013 9:38 pm




Post new topic Reply to topic  [ 7 posts ] 
 Portable ALPHA version? 
Author Message
Cocooned Lemming
User avatar

Joined: Thu Jul 21, 2011 5:43 pm
Posts: 174
Location: Bangalore, India
Post Portable ALPHA version?
Is it possible to run the alpha version of Lemming Ball Z in a portable manner? I mean, is it possible to set a custom location for the "LBZ ALPHA Game Data" folder, in some settings file or by command line arguments?
As far as I've been told, that folder is the only thing created on the hard disk. So, moving it to some location in the same removable drive as the default game files and specifying the location would make it portable as far as I'm concerned. [I wonder what other dependencies the game has though...]

_________________
loozzer: SETI is probably one of the biggest wastages of time and money.

GP-El3: Yeah. 100 years to deliver an e-mail to aliens? Please. Even SuperKamiGuru is faster than that.

Nail: That's what he said.


Thu Sep 22, 2011 11:05 am
Profile YIM WWW
Creator
User avatar

Joined: Sat Feb 23, 2008 6:19 pm
Posts: 785
Location: The Netherlands->Groningen->Bedum
Post Re: Portable ALPHA version?
No other dependices, and yes, if you would change to profile folder, the entire game is portable...
The profile folder was introduced mainly for 2 things:
1) system-wide installs on linux in /opt/
2) windows 7 installs :)

Current LBZ does not have an option to change the profile folder location other then changing cb9gamedefaults.xml and disabling the updater.

_________________
Question=(to_be||!to_be);


Thu Sep 22, 2011 4:56 pm
Profile WWW
Cocooned Lemming
User avatar

Joined: Thu Jul 21, 2011 5:43 pm
Posts: 174
Location: Bangalore, India
Post Re: Portable ALPHA version?
AnalyticaL wrote:
if you would change to profile folder, the entire game is portable

I didn't quite get this. You mean if I move the Lemming Ball Z game folder into the LBZ ALPHA Game Data folder? [I hope that is not what you're saying] It does put all things in one place. But, I can't carry it around with me on a USB Flash Drive like that and play on another computer.

AnalyticaL wrote:
Current LBZ does not have an option to change the profile folder location other then changing cb9gamedefaults.xml and disabling the updater.

So, I need to disable the updater to change the LBZ ALPHA Game Data folder location? [Correct me if I'm wrong] If I don't need to disable the updater, I'm willing to try a few hacks to make it work as a portable application.

_________________
loozzer: SETI is probably one of the biggest wastages of time and money.

GP-El3: Yeah. 100 years to deliver an e-mail to aliens? Please. Even SuperKamiGuru is faster than that.

Nail: That's what he said.


Thu Sep 22, 2011 6:07 pm
Profile YIM WWW
Creator
User avatar

Joined: Sat Feb 23, 2008 6:19 pm
Posts: 785
Location: The Netherlands->Groningen->Bedum
Post Re: Portable ALPHA version?
Current design does not allow easy portability: the hack:

-install LBZ op usb drive: "E:\LBZ-Portable"
-Run LBZ from there and let it update
-Copy mydocument/LBZ ALPHA GAME DATA to "E:\LBZ-Portable\Profile"
-Edit "E:\LBZ-Portable\data\cb9enginedefaults.xml" and ""E:\LBZ-Portable\Profile\data\cb9enginedefaults.xml".
-Change the following lines:
Code:
   <profilefolder>/.LBZ ALPHA Game Data/</profilefolder> <!--The sub-folder we will try to use for updates/tmpfiles/config/mods -->
   <profilefolder os="WINDOWS">/LBZ ALPHA Game Data/</profilefolder> <!--On windows we will not use . -->
   <systemprofile getenv="HOME">./FAIL/</systemprofile> <!--SystemProfile, use retrieve this for system environment variables-->
   <systemprofile os="WINDOWS" getenv="USERPROFILE" getMyDocuments="true">c:/fail/</systemprofile> <!--Has a different environment name on windows-->


-- Change to --

Code:
   <profilefolder>/Profile/</profilefolder>
   <systemprofile>/LBZ-Portable/</systemprofile>


-Edit "E:\lbz-portable\Profile\etc\updater.xml" and disable all updating.
(Or the game will update and undo your changes)

_________________
Question=(to_be||!to_be);


Mon Sep 26, 2011 9:36 am
Profile WWW
Cocooned Lemming
User avatar

Joined: Thu Jul 21, 2011 5:43 pm
Posts: 174
Location: Bangalore, India
Post Re: Portable ALPHA version?
OK. That makes sense. :oops:
Would it be possible for me to update "manually" somehow then:
like merging the regular LBZ ALPHA Game Data folder into the portable Profile folder (except for that configuration file)?
or manually downloading the files from the update server whenever I notice somebody playing a new version?

Secondary & possibly redundant question:
If that is possible, would it then be possible to combine both the updated Linux LBZ ALPHA Game Data folder and the updated Windows LBZ Alpha Game Data folder into the same portable Profile folder? Or update files for both Linux and Windows at the same time? (I noticed that they have different files somewhat.)

_________________
loozzer: SETI is probably one of the biggest wastages of time and money.

GP-El3: Yeah. 100 years to deliver an e-mail to aliens? Please. Even SuperKamiGuru is faster than that.

Nail: That's what he said.


Tue Sep 27, 2011 2:20 pm
Profile YIM WWW
Creator
User avatar

Joined: Sat Feb 23, 2008 6:19 pm
Posts: 785
Location: The Netherlands->Groningen->Bedum
Post Re: Portable ALPHA version?
The redundant question: both the linux and windows version have the exact same data folder contents. So yeah you can make a portable version with 1 data folder for both linux and windows.

To update, update a "normal" LBZ installation, copy over data folder to the portable version, while leaving out the cb9gamedefaults.xml.

_________________
Question=(to_be||!to_be);


Fri Oct 07, 2011 10:04 am
Profile WWW
Cocooned Lemming
User avatar

Joined: Thu Jul 21, 2011 5:43 pm
Posts: 174
Location: Bangalore, India
Post Re: Portable ALPHA version?
OK. Cool. Thanks for confirming.

_________________
loozzer: SETI is probably one of the biggest wastages of time and money.

GP-El3: Yeah. 100 years to deliver an e-mail to aliens? Please. Even SuperKamiGuru is faster than that.

Nail: That's what he said.


Sun Oct 09, 2011 9:19 am
Profile YIM WWW
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.