You are here: 2D Boy ForumWorld of GooMods and HacksWorld of Goo portable?
Pages: [1] 2
World of Goo portable?
World of Goo portable?
« on: November 02, 2008, 07:10:56 AM »

Hello there,

I have just purchased via Paypal and I am very glad I did. 2D BOY, you did a fantastic job on this game. All the fun for the small amount of money. Very well done!

But I am curious, if it is possible to make WoG completely run off an USB-Stick. As I am on Vista x64 on my desktop, I was told to find the savegame at C:\ProgramData\2DBoy\WorldOfGoo, which location, from my understanding, would prevent the game to work off and save properly to an USB-Stick. But as I would like to play WoG at any time and whereever I am and as I often just carry a stick with me, I would really appreciate a way to run WoG just from a simple folder on a stick.

So, my question is, if there is a way or if it is planned to implement a way to do so?

Thanks for your time.

Best Regards
Logged
Re: World of Goo portable?
« Reply #1 on: November 02, 2008, 04:16:57 PM »

It might work with a U3 stick, I suppose, but I really don't know. It's just a suggestion.
Logged
  • Tair
  • Full Member
  • ***
  • Posts: 243
  •  
  • View Profile
Re: World of Goo portable?
« Reply #2 on: November 03, 2008, 01:51:16 PM »

Unlikely I'm afraid, I have a U3 stick...all U3 apps only work because all the required files are stored on the stick, so whilst you could install to the stick you would still be left with your pers2.dat file on your HDD - manually synching that with the stick would be an absolute pain in the arse unless you get a portable synchronisation app as well...

...ok then [eating own words], possible, but not really feasible!
  • Marius
  • Hero Member
  • *****
  • Posts: 597
  •  
  • View Profile
Re: World of Goo portable?
« Reply #3 on: November 03, 2008, 03:52:13 PM »

A synchronizing script for pers2.dat is fairly trivial, actually, if you use something like %USERPROFILE% in your pathnames...
Logged

Highscores I made. (Warning, contains spoilers!) Occasionally including pics or videos.
Upload your profile for comparisons (With automagical Goo Corp Screenshot generator)
  • Nicosmos
  • Full Member
  • ***
  • Posts: 154
  • Forum WoG en français : http://goo.fr.free.fr :)
  •  
  • View Profile WWW
Re: World of Goo portable?
« Reply #4 on: November 04, 2008, 01:18:52 AM »

If it's a xml(.bin) file which makes the link to pers2.dat, it's quite easy to install the game on a stick and change the location of the profile. Smiley
If it's the binary file which makes the links, it's impossible without modifying sourcecode and recompile. Undecided
Logged

Vous parlez français ? Découvrez , la communauté World of Goo francophone !
  • Daid
  • Newbie
  • *
  • Posts: 15
  •  
  • View Profile
Re: World of Goo portable?
« Reply #5 on: November 04, 2008, 02:33:58 AM »

If it's the binary file which makes the links, it's impossible without modifying sourcecode and recompile. Undecided
Tell that to the [c/h]ackers Wink if you know a bit of assembly and got the right tools it is possible.
Logged
  • Nicosmos
  • Full Member
  • ***
  • Posts: 154
  • Forum WoG en français : http://goo.fr.free.fr :)
  •  
  • View Profile WWW
Re: World of Goo portable?
« Reply #6 on: November 04, 2008, 04:10:34 AM »

If it's the binary file which makes the links, it's impossible without modifying sourcecode and recompile. Undecided
Tell that to the [c/h]ackers Wink if you know a bit of assembly and got the right tools it is possible.
... impossible easily Grin
Logged

Vous parlez français ? Découvrez , la communauté World of Goo francophone !
Re: World of Goo portable?
« Reply #7 on: November 04, 2008, 04:12:59 AM »

Thanks for all the responses, but this could be much more easy, if the savefiles would be natively stored in the game folder, as it appears that no other files are stored anywhere else or am I missing something here?

Maybe the boys are willing to change the location where the saves are stored to make a portable WoG possible. ;-)

Best Regards
Logged
Re: World of Goo portable?
« Reply #8 on: November 04, 2008, 07:49:03 AM »

Or just implement some kind of command line to specify the path to the save file manually - that would be great!
Logged
Re: World of Goo portable?
« Reply #9 on: December 28, 2008, 08:55:21 AM »

Here's my solution for users to make the game portable:

1. Launch the installer and choose your portable drive as the installation location.
After this step, you should have a directory WorldOfGoo at the root of your drive.

2. Launch notepad and copy/paste the following:
Code:
set userprofile=%cd%
set path=%path%;%cd%WorldOfGoo
cd WorldOfGoo
WorldOfGoo.exe

3. Save as 'LaunchWorldOfGoo.bat' directly at the root of your drive.
From now, you just need to double-click on this file to launch the game. Your settings will be saved on your portable drive.

4. If you want to use your previous settings, copy the directory c:\documents and settings\<user name>\Local Settings\Application Data\2DBoy at the root of your portable drive.
Note that c:\documents and settings\<user name>\Local Settings is a hidden folder. So to go to that folder you can either select the option in explorer to display hidden file then browse to the folder ; or type c:\documents and settings\<user name>\Local Settings in the adress bar of your explorer.
Of course you need to replace <user name> by your real user name.

5. If you want Windows to automatically suggest to launch the game when you plug your drive, launch notepad and copy/paste the following:
Code:
[Autorun]
Open=LaunchWorldOfGoo.bat
Icon=WorldOfGoo\WorldOfGoo.exe
Title=WorldOfGoo
Action=Launch WorldOfGoo
Shell=Shell00
Shell\Shell00=Launch WorldOfGoo
Shell\Shell00\Command=LaunchWorldOfGoo.bat

6. Save as autorun.inf directly at the root of your portable drive.
You can now make hidden all the previous files and folders of your portable drive (not required, just for a neat installation). All you need to launch the game is to plug your drive, wait the Windows popup then hit enter. You can also double-click on the drive in the explorer. To browse in your drive with explorer, you have to click on the disk in the left tree of explorer (click on the button 'Folders' in the toolbar if it's not visible).
Logged
  • madaco
  • Newbie
  • *
  • Posts: 26
  • im a mod of clubpenguin lol(kidding)
  •  
  • View Profile WWW
Re: World of Goo portable?
« Reply #10 on: January 09, 2009, 08:34:17 PM »

before i read the most recent post i was going to comment saying
"well if world of goo can boot in linux, then you could put linux on a jumpdrive, install world of goo on your pendrive linux, and then it might work",but the notepad editing sounds much easier!
Logged

there are only 11 types of people in the world, those who can read binary numbers, those who can multiply binary numbers, and those who can't do either!
  • jmleleven
  • Full Member
  • ***
  • Posts: 197
  • Morse Code Banana Nut Fries!
  •  
  • View Profile
Re: World of Goo portable?
« Reply #11 on: May 20, 2009, 05:05:32 PM »

One prob: I can't save the file as a .bat file. It just says the file name is "LaunchWorldOfGoo.bat.txt" .
Logged


My Dragon Cave dragons! Click on the pic to go help my dragons!
  • davidc
  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 354
  •  
  • View Profile WWW
Re: World of Goo portable?
« Reply #12 on: May 21, 2009, 12:17:01 PM »

One prob: I can't save the file as a .bat file. It just says the file name is "LaunchWorldOfGoo.bat.txt" .

In the Save dialog, put double quotes around the filename. That will prevent it adding ".txt" to the end automatically.
Logged

Re: World of Goo portable?
« Reply #13 on: May 21, 2009, 05:04:39 PM »


Code:
set userprofile=%cd%
set path=%path%;%cd%WorldOfGoo
cd WorldOfGoo
WorldOfGoo.exe

This code doesn't seem to be working for me. I was playing before running it from here, then I tried to copy the .dat file to my pen drive and play and it didn't work.

What was supposed to be there in that "set path=" part?
Logged
  • jmleleven
  • Full Member
  • ***
  • Posts: 197
  • Morse Code Banana Nut Fries!
  •  
  • View Profile
Re: World of Goo portable?
« Reply #14 on: May 24, 2009, 10:55:07 AM »

Well, first of all, I found out that if you DONT (yet) put the profile on the drive, run WoG, and save a new profile, youll see a file named "2D Boy" on your drive. follow through, and you'll find the .dat file. Delete this, then copy-paste youre previous profile, (be sure to copy, so you'll have a back-up sort of) and run the .bat file!

BTW: The .bat file code is right. Don't mess with it.
Logged


My Dragon Cave dragons! Click on the pic to go help my dragons!
Pages: [1] 2
You are here: 2D Boy ForumWorld of GooMods and HacksWorld of Goo portable?
Jump to: