i often reinstall windows so for me making game portable to some point is essential
cause after each reinstall need of setting up all options and stuff is just preventing me from playing it all
cause i cant remember my settings for all games and trying to recall them all when doing them again are just too painful
so i often search for a way to make it portable and in most times like in this case its possible via BAT files
it looks retro but works pretty well
(im just sharing it cause i think for some ppl here it can be useful to store SK on pendrive and play it idk in school or whatever and in the end do not leave any trace of launching the game on that PC)
if you are not afraid im spreading viruses or whatever here is all stuff pre-made by me
http://www.mediafire.com/download/5932x2img1bkks9/Spiral_Knights.zip
after u unzip this folder you just need to install game to Spiral Knights\App
and Spiral Knights.exe will bring window with option to play the game and load/save/remove settings
Play.exe will only launch the game
if u think i could put some evil in that zip file here is DO IT UR SELF below
trust me it only looks long but it should not take u more than 5-10 mins
so lets start
1. download game from here http://gamemedia.spiralknights.com/spiral/client/spiral-install.exe (this is official link)
and install it to for example to desktop to folder named Spiral Knights
2. go to Spiral Knights Folder and:
2a. - cut all files and folders in there
2b. - in Spiral Knights folder create new folder and rename it to App
2c. - paste all stuff you did cut in step 2a to folder App you created in step 2b
2d. - in Spiral Knights folder create new folder and rename it to Data
3. in Spiral Knights folder create new text file and paste there this
ECHO OFF
CLS
title Spiral Knights
:MENU
ECHO.
ECHO. Choose operation and press ENTER
ECHO.
color 0a
ECHO.
ECHO. 1 - Play Spiral Knights
ECHO.
ECHO. 2 - Load Settings (from FILE to REGISTRY)
ECHO.
ECHO. 3 - Save Settings (from REGISTRY to FILE)
ECHO.
ECHO. 4 - Remove Settings (from REGISTRY)
ECHO.
ECHO. 5 - EXIT
ECHO.
SET /P M= Your choice?:
IF %M%==1 GOTO Play
IF %M%==2 GOTO Load
IF %M%==3 GOTO Save
IF %M%==4 GOTO Remove
IF %M%==5 GOTO Exit
CLS
GOTO MENU
:Play
Start "" "play.exe"
EXIT
:Load
CD "Data"
REGEDIT /s Settings.reg
CD ..
CLS
GOTO MENU
:Save
CD "Data"
regedit /E "Settings.reg" "HKEY_CURRENT_USER\Software\JavaSoft\Prefs\projectx"
CD ..
CLS
GOTO MENU
:Remove
CD "Data"
REGEDIT /s Remove.reg
CD ..
CLS
GOTO MENU
:Exit
Exit
4. click file and select save as in file type select all and name it Spiral Knights.bat
but dont close the file yet
5. now to the same file paste this
CD "App"
"%ProgramFiles%\Java\jre7\bin\java.exe" -Xincgc -Xmx1G -jar getdown-pro.jar .
EXIT
6. click file and select save as in file type select all and name it Play.bat
(if it wont work for you and you have 64 bit machine then u need to install 64 bit java)
but dont close the file yet
7. now to the same file paste this
Windows Registry Editor Version 5.00
[-HKEY_CURRENT_USER\Software\JavaSoft\Prefs\projectx]
8. click file and select save as in file type select all and name it Remove.reg NOW CLOSE the file and move Remove.reg to Data folder
9. now download bat to exe converter http://www.f2ko.de/en/b2e.php
unzip it and launch portable version
10. in bat to exe
- right from Batch file: click button with 3 dots (...) browse to SPIRAL KNIGHTS.BAT and select it
- on lower left check "add administrator manifest"
- OPTIONALLY u can add icon to exe by clicking Version Information tab (there is 1 icon in spiral knights folder)
- click compile and when its done u will have ur 1st exe file now close bat to exe and reopen it
11. in bat to exe
- right from Batch file: click button with 3 dots (...) browse to PLAY.BAT and select it
- on mid left check "Invisible application"
- on lower left check "add administrator manifest"
- OPTIONALLY u can add icon to exe by clicking Version Information tab (there is 1 icon in spiral knights folder)
- click compile and when its done u will have ur 2nd exe file
and thats pretty much it
Few Tips
- Play.exe only starts the game
- Spiral Knights.exe got all options in CMD window
- you need at last once launch Spiral Knights to be able to save settings
- you need at last once save settings to be able to load settings
- settings are saved to Spiral Knights>Data>Settings.reg so its smart to make backup copy of it
- if there comes other version of java you just need to alter this line
"%ProgramFiles%\Java\jre7
so like if java 8 will come u will need
"%ProgramFiles%\Java\jre8
Why do you "often reinstall Windows"?