What's new

Tutorial Modding Fallout Shelter

  • Thread starter Visual Studio
  • Start date
  • Views 1,055,289

Should I release my tool?

  • Yes

    Votes: 3 75.0%
  • No

    Votes: 1 25.0%

  • Total voters
    4
  • Poll closed .
V

Visual Studio

The Original Shiba Inu
Messages
2,758
Reaction score
1,486
[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:
Z

zzBUDD

Enthusiast
Messages
8
Reaction score
9
Looks awesome! What did you use to edit the .sav file?
 
V

Visual Studio

The Original Shiba Inu
Messages
2,758
Reaction score
1,486
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
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
 
V

Visual Studio

The Original Shiba Inu
Messages
2,758
Reaction score
1,486
Damn! I'm not that slick with modding at all. Bummer. Hopefully someone get's one up that's more dum-dumb friendly. LOL
Added the script I wrote if that helps.
 
Z

zzBUDD

Enthusiast
Messages
8
Reaction score
9
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?
 
V

Visual Studio

The Original Shiba Inu
Messages
2,758
Reaction score
1,486
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,097
Reaction score
1,703
As soon as I load up the game and click vault list the game crashes.
 
V

Visual Studio

The Original Shiba Inu
Messages
2,758
Reaction score
1,486
How do I decrypt it?
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.
 
S

Scarlett Johansson

(⌐■_■)
Messages
3,097
Reaction score
1,703
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:
C

CreamyG31337

Newbie
Messages
1
Reaction score
0
Thanks, took you minutes, would take me a lifetime.
 
V

Visual Studio

The Original Shiba Inu
Messages
2,758
Reaction score
1,486
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.
 
P

POWERBOX_MODZ

Enthusiast
Messages
730
Reaction score
227
very handy info mate ++
 
N

Nior

Newbie
Messages
1
Reaction score
2
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
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