semi-auto profile export/import

No replies
Joined: 02/25/2014

ok so what you will need ?

nothing - you may just want program that will turn bat in to exe fles

http://www.f2ko.de/programs.php?lang=en&pid=b2e

i wanted to make it complex and full but lets make it short and quick

you can do everything from 0 just google
- how to create .bat file
- .bat copy commands
- .bat commands

ok

1st step

is to download this .bat file

http://www51.zippyshare.com/v/70743771/file.html


AND PLACE IT TO YOUR WORLD OF GOO FOLDER NEXT TO WorldOfGoo.exe

2nd step

we gonna need to use some hidden folders paths and we need to check
what works on your pc
so hold win button (the one between left ctrl and alt) and press R
it triggers run window

ASSUMING YOU HAVE ALREADY MADE PROFILE IN WORLD OF GOO CAUSE IF NOT MAKE IT 1ST

now try this commands
%ALLUSERSPROFILE%

it should open folder C:\Documents and Settings\All Users
now go to tools and folder options on tab view choose show hidden files and folders
http://www.sevenforums.com/tutorials/394-hidden-files-folders-show-hide....

and now application data folder should appear in your language
in my case its

DANE APLIKACJI
so my path is
C:\Documents and Settings\All Users\DANE APLIKACJI
inside you should see 2dboy folder

and shortcut to it would be
%ALLUSERSPROFILE%\Dane aplikacji

windows vista and 7 would get
C:\ProgramData
so probably if i had win 7 in my language it would be

C:\ProgramData\Dane aplikacji

but still shortcut to it would be
%ALLUSERSPROFILE%\Dane aplikacji

on some sites you can find direct shortcuts to that special folder
like here
http://www.deploymaster.com/manual/folders.html
it says its
%COMMONAPPDATAROOT%

others says its

%LOCALAPPDATA%
%ALLUSERSPROFILEDATA%
%CommonAppData%

well for me it wont work if it works for you than use it

when you determined save location of your 2dboy folder you can move to next step

3rd step

in your world of goo folder create Backup folder
ITS VERY IMPORTANT OTHERWISE IT WONT WORK AND WILL GIVE YOU ERRORS
JUST AND EMPTY FOLDER NAMED BACKUP
\World of Goo\Backup

4th step

COMMANDS FROM BELOW YOU JUST COPY AND PASTE IN TO YOUR BAT FILE
RIGHT CLICK ON IT AND CHOOSE EDIT

is to add copy execute and paste lines (there is no paste it just copy files in revers order)

so it looks like this

@ECHO OFF
xcopy /i /e /y "%CD%\Backup" "%ALLUSERSPROFILE%\Application Data\2DBoy"
Start /w "%CD%" "WorldOfGoo.exe"
xcopy /i /e /y "%ALLUSERSPROFILE%\Application Data\2DBoy" "%CD%\Backup"
pause

you can find what mean /i /e /y /w and other stuff by googling it like i mention on the beginnig

xcopy /i /e /y "%CD%\Backup" "%ALLUSERSPROFILE%\Application Data\2DBoy"
Start /w "%CD%" "WorldOfGoo.exe"
xcopy /i /e /y "%ALLUSERSPROFILE%\Application Data\2DBoy" "%CD%\Backup"

only THIS part should change for you (if you have polish windows than it would be the same)

ok so what it does is

@ECHO OFF
it echoing commands but i dont know what it mean

xcopy /i /e /y "%CD%\Backup" "%ALLUSERSPROFILE%\Application Data\2DBoy"
it copies profile from backup folder (at 1st time youll get error cause its empty but its ok)

Start /w "%CD%" "WorldOfGoo.exe"
starts the game and waiting before executing next command till game is closed (normal way or alt+f4)

xcopy /i /e /y "%ALLUSERSPROFILE%\Application Data\2DBoy" "%CD%\Backup"
copies profile to backup folder inside game directory

pause
after all commands are executed it wont let window to close automatically (IMPORTANT IF YOU ARE CONVERTING BAT TO EXE REMOVE PAUSE LINE)

and from now on game will import profile from backup folder to hidden folder it each time you launch it by that file and export it back from hidden folder to backup folder in game directory

5th step
only thing you can do is compile your bat via bat to exe converter (link on top)
in version information tab you can select icon for your exe file


IN OPTIONS TAB WHICH IS DEFAULT TAB YOU SEE IN BAT TO EXE CONVERTER
IN VISIBILITY SECTION CHOOSE

INVISIBLE APPLICATION

here is few icons you could use

http://i.imgur.com/zFbpli5.png

http://i.imgur.com/oSTJHgS.png

http://i.imgur.com/oMb1cGy.png

rightclick > save image > and save it to desktop

than via this site http://convertico.com/
convert it to ico

DONE

and from now on your profile will be auto saved
so if you have like in my case world of goo on pend drive each time you launch it it will have your profiles and it will automatically saves them

here is pre made files with

so 1 of it should work fr you BUT MAY NOT WORK LIKE IT DONT WORKS FOR ME

http://www71.zippyshare.com/v/64071484/file.html

which is which

EXE FILES HAVE PAUSE LINE REMOVED

WoG 1
@ECHO OFF
xcopy /i /e /y "%CD%\Backup" "%COMMONAPPDATAROOT%\2DBoy"
Start /w "%CD%" "WorldOfGoo.exe"
xcopy /i /e /y "%COMMONAPPDATAROOT%\2DBoy" "%CD%\Backup"
pause
 
WoG 2
@ECHO OFF
xcopy /i /e /y "%CD%\Backup" "%LOCALAPPDATA%\2DBoy"
Start /w "%CD%" "WorldOfGoo.exe"
xcopy /i /e /y "%LOCALAPPDATA%\2DBoy" "%CD%\Backup"
pause
 
WoG 3
@ECHO OFF
xcopy /i /e /y "%CD%\Backup" "%ALLUSERSPROFILEDATA%\2DBoy"
Start /w "%CD%" "WorldOfGoo.exe"
xcopy /i /e /y "%ALLUSERSPROFILEDATA%\2DBoy" "%CD%\Backup"
pause
 
WoG 4
@ECHO OFF
xcopy /i /e /y "%CD%\Backup" "%COMMONAPPDATA%\2DBoy"
Start /w "%CD%" "WorldOfGoo.exe"
xcopy /i /e /y "%COMMONAPPDATA%\2DBoy" "%CD%\Backup"
pause