Page 1 of 2

The Guide to Hacking Saved files & Ships

Posted: Sun Oct 03, 2010 2:31 pm
by Munno
Hello Vega Strike!

I am back from my year-long vacation from this game, and I'm back with the intention of turning this into a fully-fledged, in depth guide! Hopefully I can even add a full ships list.

Code: Select all

To Do:
 - Upload the .pdf version and work from there
 - Kredit amazing guy who updated that for me
 - Buy some more internet so I can actually download the damn game
If any mac, linux etc. user would send me the location of their saved file, it would be much appreciated.

Much love to this excellent game, its amazing community and my slow internet keeping me from playing it.
Hacking_Vega_Strike.pdf

Re: The Guide to Hacking Saved files & Ships

Posted: Sun Oct 03, 2010 9:29 pm
by Gungnir
Very nice, this'll help a lot of people. You should add how to get to the save file on all operating systems; for Mac it's:

(disk)>Users>(user)>.vegastrike-0.5.0>saves>(savefile)

Re: The Guide to Hacking Saved files & Ships

Posted: Fri Oct 08, 2010 5:16 pm
by Munno
Thanks! I added the Mac bit. If anybody can't see it for any reason, tell me and I'll put it in another format so you can. Please comment on it!!!!!!!!
Hacking Vega Strike.doc
COMMENT!!!!!

EDIT: I made the font smaller so it fits nicely on the 1 page limit. How small will this become? COMMENT!!!!!

Re: The Guide to Hacking Saved files & Ships

Posted: Sat Oct 09, 2010 3:25 am
by Gungnir
Munno wrote:Thanks! I added the Mac bit.
Thanks, this is going to be a great resource. Someone familiar with Linux needs to post the filepath for some common distros.

Re: The Guide to Hacking Saved files & Ships

Posted: Sat Oct 09, 2010 1:33 pm
by CLoneWolf
Linux? ~/.vegastrike-0.5.0
(just ~/.vegastrike for the SVN version)

I don't expect it to be distro-dependent, as the folder is created by the executable on the first (for each user) run, and I see no reason for any distro to patch the executable and change that behaviour, even if just to change the folder name, as it actually happens between stable and SVN (but still, a matter of VS versions, not Linux distros).

BTW: ~ is an alias for the home folder of the current user: /home/(user)

Re: The Guide to Hacking Saved files & Ships

Posted: Thu Feb 03, 2011 8:43 am
by SpaceRacer77
This doesn't appear to work anymore, when I go to the file you specify it doesn't have anything in it, it just says default_savegame.

Is their any other way to hack the file?

Re: The Guide to Hacking Saved files & Ships

Posted: Thu Feb 03, 2011 9:23 am
by CLoneWolf
What operating system are you on? If you're using a modern Windows and a user with no administrative privileges, you'll find a subfolder in your user profile tree, "Application Data/Vegastrike" being a feasible candidate.

Re: The Guide to Hacking Saved files & Ships

Posted: Thu Feb 03, 2011 5:39 pm
by SpaceRacer77
I'm using Windows 7, and I do have administrative privileges. I can't seem to find the "AppData" folder.

Re: The Guide to Hacking Saved files & Ships

Posted: Thu Feb 03, 2011 8:11 pm
by CLoneWolf
This thread shows quite a few interesting things about the issue; general info, things to check...
It was the very first result searching for "windows 7" "application data" folder on a certain enggggggine :mrgreen:

Re: The Guide to Hacking Saved files & Ships

Posted: Thu Feb 03, 2011 9:16 pm
by SpaceRacer77
I found it, but this time all it says is New_Game. :(

Does this mean the game has been updated to be un-hack-able?

Re: The Guide to Hacking Saved files & Ships

Posted: Thu Feb 03, 2011 9:27 pm
by CLoneWolf
Hack-proof savegame? Not that I know of, but... have you ever actively saved the game from the menu itself (giving it a custom name of your choice) or do you just rely on the automatic save the game does by itself periodically and at game quit? If you have, when you launch the game and go to the load menu, do you see all the games you saved, each with the name you gave it?

If they're there, then you're just looking at the "wrong" folder, wrong as in the one created by the setup (usually in a system-wide location if allowed), which is not necessarily the runtime one (often tied to the current user).

Take a shortcut in that case: save a game with a very unique name, like, um... WoohooLotsaCash :mrgreen: and issue a search on your disk for that folder, making sure your search will also peek into eventually hidden/system folders; you should find a folder with exactly that name, its parent is the root of all saves.

Re: The Guide to Hacking Saved files & Ships

Posted: Thu Feb 03, 2011 9:39 pm
by SpaceRacer77
Ok I finally found it! It was under "AppData\Local\VirtualStore\Program Files\Vega Strike\Vegastrike-0.5.0\.vegastrike-0.5.0\save" anyway thanks for all the help. :)

Re: The Guide to Hacking Saved files & Ships

Posted: Fri Feb 04, 2011 1:03 am
by EatMyDst
I used this to get my Plowshare back after my save data went nuts. Thanks! :D

Re: The Guide to Hacking Saved files & Ships

Posted: Tue Feb 22, 2011 5:35 pm
by eracc
Hmmm, I tried to upload an updated PDF version of this hacking guide and got the message: "Sorry, the board attachment quota has been reached." I guess the board administrators need to take care of that.

So, I put the PDF version up on my web site here: http://www.eracc.com/other/pdf/Hacking_Vega_Strike.pdf

Re: The Guide to Hacking Saved files & Ships

Posted: Tue Feb 22, 2011 8:12 pm
by EatMyDst
Does anyone know where the code for a comerce center is? Because I kinda ran my clydesdale into the old one. :oops:

Re: The Guide to Hacking Saved files & Ships

Posted: Thu Feb 24, 2011 8:16 pm
by pyramid
The guide was committed to svn.

Re: The Guide to Hacking Saved files & Ships

Posted: Thu Feb 24, 2011 8:44 pm
by EatMyDst
What does that mean?

Re: The Guide to Hacking Saved files & Ships

Posted: Thu Feb 24, 2011 8:57 pm
by eracc
That means the guide is in the development system tree and will be included in downloads of the development version if one wants to compile Vega Strike oneself. It may, or may not, be included in releases provided by various Linux distributions or binary releases for Microsoft and Apple systems.

Edit: it is here: http://vegastrike.svn.sourceforge.net/v ... mentation/

Re: The Guide to Hacking Saved files & Ships

Posted: Fri Feb 25, 2011 1:33 am
by charlieg
Wouldn't a better place for this be the wiki? Jus' sayin'.

Re: The Guide to Hacking Saved files & Ships

Posted: Fri Feb 25, 2011 2:42 am
by klauss
Better than SVN where it can be versioned?

Re: The Guide to Hacking Saved files & Ships

Posted: Fri Feb 25, 2011 3:17 am
by charlieg
klauss wrote:Better than SVN where it can be versioned?
...which could, arguably, apply to all documentation i.e. most of the wiki content.

Re: The Guide to Hacking Saved files & Ships

Posted: Fri Feb 25, 2011 4:50 am
by klauss
Well, yes... wiki is community-editable, SVN is developer-editable.

I actually am not sure which is better for the guide.

So... whatever works ;)

Re: The Guide to Hacking Saved files & Ships

Posted: Fri Feb 25, 2011 10:27 am
by pyramid
Ideally, guides should be edited on the wiki.

This does not impede including in the distribution documents that were posted in the forums.

:|

Re: The Guide to Hacking Saved files & Ships

Posted: Fri Feb 25, 2011 11:35 am
by charlieg
Ideally the wiki should be versioned in line with the codebase i.e. in SVN. Sadly, we can't always have what we want.

:D

Re: The Guide to Hacking Saved files & Ships

Posted: Fri Feb 25, 2011 12:10 pm
by pyramid
The wiki is versioned. Just clock on the "history" button on the top of each page and you can compare versions or do other operations, which I disknow.