What's new

Tutorial Modding Fallout Shelter

  • Thread starter Visual Studio
  • Start date
  • Views 1,066,540

Should I release my tool?

  • Yes

    Votes: 3 75.0%
  • No

    Votes: 1 25.0%

  • Total voters
    4
  • Poll closed .
Visual Studio

Visual Studio

The Original Shiba Inu
Odysseus' Summit Nevar gon' happen in your lifetime Programmer
Messages
2,748
Reaction score
1,488
Points
1,162
Sin$
7
[Click here to view this link] - Virus Scan <-- .NET Framework 4.5 Required

Recommended JSON Editor Here

Version 1.2.0.1:
-Changed button text from "Open" to "Encrypt/Decrypt"
Version 1.2:
-Fixed most if not all JSON issues.
Version 1.1:
-Attemped to fix the JSON issues.
Version 1.0:
-Initial Release

Video On Using the Editor By: xXGyngaNynjaXx


NOTE:
It seems that on Android when you extract the savegame with USB it can corrupt, try using a FTP server app to transfer your save over to your PC.

So I decided to take a few minutes to mod Fallout Shelter because it just came out for Android and I was wondering if anyone would be interested in my work. I have it working with caps and whatnot so far:

The save data is simply Rijndael CBC encrypted json using the passphrase "PlayerData" (without the quotes) and the salt "tu89geji340t89u2" (without the quotes) stored in a file called Vault1.sav, Vault2.sav, or Vault3.sav

Locations:
Android = /sdcard/Android/data/com.bethsoft.falloutshelter/files/Vault*.sav
iOS = /private/var/mobile/Containers/Data/Application/*/Documents/Vault*.sav



Modded Caps:
7wid24s6

Modded Dwellers:
ggh42yip

Modded Resources:
50ts2tgx




Thanks to elcidel for the experience info:
For the Special Stats the formula is 600*(n^3-n)

LVL XP-Value
1 0
2 3600
3 14400
4 36000
5 72000
6 126000
7 201600
8 302400
9 432000
10 594000 (expected as in "I don't have a Special 10 Dweller to check this Value")
 
Last edited:
Visual Studio

Visual Studio

The Original Shiba Inu
Odysseus' Summit Nevar gon' happen in your lifetime Programmer
Messages
2,748
Reaction score
1,488
Points
1,162
Sin$
7
Looks awesome! What did you use to edit the .sav file?
Wrote two things, a Python script, and a C# script. Both are able to decrypt and encrypt the savegame.

I just want people to be able to do this so we can get a weapon ID database or something of the sort.
 
Z

zzBUDD

Enthusiast
Messages
8
Reaction score
9
Points
55
Sin$
7
Wrote two things, a Python script, and a C# script. Both are able to decrypt and encrypt the savegame.

I just want people to be able to do this so we can get a weapon ID database or something of the sort.
Damn! I'm not that slick with modding at all. Bummer. Hopefully someone get's one up that's more dum-dumb friendly. LOL
 
Z

zzBUDD

Enthusiast
Messages
8
Reaction score
9
Points
55
Sin$
7
Added the script I wrote if that helps.
I appreciate the effort, but still way over my head, brother! I'm one of those numbnuts who just downloads a hacked .apk file and dumps it where the smarter guy tells me to put it. I wouldn't even know what to do with that script. But by your screen shots, you got some definite skill there. Does it give you more Lunchboxs too?
 
Visual Studio

Visual Studio

The Original Shiba Inu
Odysseus' Summit Nevar gon' happen in your lifetime Programmer
Messages
2,748
Reaction score
1,488
Points
1,162
Sin$
7
I appreciate the effort, but still way over my head, brother! I'm one of those numbnuts who just downloads a hacked .apk file and dumps it where the smarter guy tells me to put it. I wouldn't even know what to do with that script. But by your screen shots, you got some definite skill there. Does it give you more Lunchboxs too?
Haven't messed with that yet but I'll get to work on it now.

EDIT: If anyone has a save with a lot of lunchboxes on it then I can find how what to set to get lunchboxes.
 
Last edited:
S

Scarlett Johansson

(⌐■_■)
Messages
3,093
Reaction score
1,707
Points
570
Sin$
0
As soon as I load up the game and click vault list the game crashes.
 
S

Scarlett Johansson

(⌐■_■)
Messages
3,093
Reaction score
1,707
Points
570
Sin$
0
You have to run the script, name your save to Vault1.sav if it's not already named that and place it in the same directory as it.
I renamed it and placed it into the folder and it still crashes. How do I open up the file on Android?
 
Last edited:
Visual Studio

Visual Studio

The Original Shiba Inu
Odysseus' Summit Nevar gon' happen in your lifetime Programmer
Messages
2,748
Reaction score
1,488
Points
1,162
Sin$
7
I renamed it and placed it into the folder and it still crashes. How do I open up the file on Android?
The save game has to be transferred to a PC with python 2.7 installed to do anything.
 
N

Nior

Newbie
Messages
1
Reaction score
2
Points
45
Sin$
7
Haven't messed with that yet but I'll get to work on it now.

EDIT: If anyone has a save with a lot of lunchboxes on it then I can find how what to set to get lunchboxes.

Easy. If you want to edit your lunchboxes, search for LunchBoxesByType and LunchBoxesCount. There is a pair of square brackets after LunchBoxesByType. 0 is for a regular Lunchbox, 1 is for Mr. Handy boxes. For each box that you want, add a 0 or 1, separated by a comma. So, if you want to add 10 boxes each, your square bracket content would be [0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1]. Obviously, you'll need to adjust the LunchBoxesCount as to how many boxes you now have.

That's basically it, gave myself a head start :smile:
 
P

pclifford

Enthusiast
Messages
29
Reaction score
46
Points
60
Sin$
0
Added the script I wrote if that helps.

Hi, I think you have the padding slightly wrong. The value of the padding byte should be the size of the padding, ie character 4 for four bytes of padding, character 5 for five bytes of padding, etc.

This allows the padding size to be recovered after decryption just by looking at the value of the last byte.
 
Top Bottom
Login
Register