ROM Hack WIP Scramble - "NEO: The World Ends with You" Save Editor

tafice

New Member
Newbie
Joined
Sep 30, 2021
Messages
2
Trophies
0
Age
27
XP
36
Country
China
Yes. If PC save files get cracked, I'll add a converter between PS4/Switch and PC saves.
After debugging and memory searching, I got the Key and IV

For PC gamesave:
rijndael.Key = new byte[] { 0x46, 0x5C, 0x42, 0x2B, 0x65, 0x50, 0x34, 0x3A, 0x38, 0x32, 0x28, 0x70, 0x4D, 0x76, 0x2B, 0x49 };
rijndael.IV = new byte[] { 0xF3, 0xF4, 0x5F, 0x18, 0xD6, 0xC2, 0xB6, 0xE6, 0xFA, 0xEE, 0x88, 0xAE, 0x57, 0xE5, 0x8E, 0x1A };
rijndael.KeySize = 128;
rijndael.BlockSize = 128;
rijndael.Padding = PaddingMode.None;

Also stearming assets file key/IV was found
rijndael.Key = Encoding.UTF8.GetBytes("mk:9tzxWRF}Jpzw2");
rijndael.IV = Encoding.UTF8.GetBytes("NFXjeq(n:3g'8&=;");

Good luck Taishiro !
 

Taishiro

Well-Known Member
OP
Member
Joined
Apr 22, 2020
Messages
322
Trophies
0
Age
23
XP
854
Country
Chile
After debugging and memory searching, I got the Key and IV

For PC gamesave:
rijndael.Key = new byte[] { 0x46, 0x5C, 0x42, 0x2B, 0x65, 0x50, 0x34, 0x3A, 0x38, 0x32, 0x28, 0x70, 0x4D, 0x76, 0x2B, 0x49 };
rijndael.IV = new byte[] { 0xF3, 0xF4, 0x5F, 0x18, 0xD6, 0xC2, 0xB6, 0xE6, 0xFA, 0xEE, 0x88, 0xAE, 0x57, 0xE5, 0x8E, 0x1A };
rijndael.KeySize = 128;
rijndael.BlockSize = 128;
rijndael.Padding = PaddingMode.None;

Also stearming assets file key/IV was found
rijndael.Key = Encoding.UTF8.GetBytes("mk:9tzxWRF}Jpzw2");
rijndael.IV = Encoding.UTF8.GetBytes("NFXjeq(n:3g'8&=;");

Good luck Taishiro !
You are the GOAT.

IXRc3BD.png


Unfortunately, PC save file is larger than the PS4/Switch one, so please be patient. Next update shall drop later today or tomorrow.
 

WriterPark

Member
Newcomer
Joined
Sep 30, 2021
Messages
5
Trophies
0
Age
32
Location
시부야 104 빌딩
XP
30
Country
Korea, South
Hi! I don't know if this will help.
assets are also encrypted by AES-128-CBC
and this was the key

KEY 6d6b3a39747a785752467d4a707a7732
IV 4e46586a6571286e3a33672738263d3b

But I don't know if assets and save data sharing the same key...

P.S. the key is not figured bu me. someone else(akintos) told me.
 

Taishiro

Well-Known Member
OP
Member
Joined
Apr 22, 2020
Messages
322
Trophies
0
Age
23
XP
854
Country
Chile
Hi! I don't know if this will help.
assets are also encrypted by AES-128-CBC
and this was the key

KEY 6d6b3a39747a785752467d4a707a7732
IV 4e46586a6571286e3a33672738263d3b

But I don't know if assets and save data sharing the same key...

P.S. the key is not figured bu me. someone else(akintos) told me.
This will certainly be useful when I check for new data in the game assets :)

Save data key was discovered by tafice, they shared it a few posts above.
I am now 99% close to PC save data support, but I just noticed something while doing a decryption and then re-encryption test:

vzDFgfB.png
There is a difference between how the SHA256 hash of the system/options data is made.
It looks like the first 16 bytes are handled differently, because the other half of the checksum is completely the same.
They probably tweaked the algorithm. I'll have a look at it now, and also check if I didn't do anything wrong.

Interestingly, this is only on system data. :unsure: Save slots checksum is unaffected and uses the old algorithm that the dev team has kept carrying since Solo Remix in 2012
 

Taishiro

Well-Known Member
OP
Member
Joined
Apr 22, 2020
Messages
322
Trophies
0
Age
23
XP
854
Country
Chile
Switch -> PC save file conversion... success!

Same save data in both PC version and yuzu(Switch):
9wzuxyv.png

(yes, they're the same. don't mind the timestamps)

PC version have few more Items in option menu, like key mapping or screeen resolution.
Isn't that have some relation?
Yes, but not only that. They slightly modified the checksum algorithm for the options menu. The workaround I used is to not touch any settings or attempt to re-calculate the hash, because I did not figure out the new algorithm.

This means, that these buttons will be not available for PC save files for the time being:

IZYcGPR.png

Greyed out for convenience.
 
  • Like
Reactions: uzimakiuchiha

Taishiro

Well-Known Member
OP
Member
Joined
Apr 22, 2020
Messages
322
Trophies
0
Age
23
XP
854
Country
Chile
New version is out.

3K6NJJX.png


Support for PC save files and conversion PS4/Switch <-> PC is working nicely :)
If you use the converter, please note that volume, graphics and/or key mapping options will be completely restored to default. I am sure you won't mind this, it won't take you more than 3 minutes to reconfigure it via the title screen options.

Be sure to also take a look to the new README: https://github.com/supremetakoyaki/Scramble

Let me know any issues you may encounter.
 

Taishiro

Well-Known Member
OP
Member
Joined
Apr 22, 2020
Messages
322
Trophies
0
Age
23
XP
854
Country
Chile
For those interested in modding the PC version of the game, I could try adding decryption and encryption for the .unity3d files
 

sonic2005

Well-Known Member
Newcomer
Joined
Jul 25, 2021
Messages
63
Trophies
0
Age
18
XP
204
Country
Aruba
New version is out.

3K6NJJX.png


Support for PC save files and conversion PS4/Switch <-> PC is working nicely :)
If you use the converter, please note that volume, graphics and/or key mapping options will be completely restored to default. I am sure you won't mind this, it won't take you more than 3 minutes to reconfigure it via the title screen options.

Be sure to also take a look to the new README: https://github.com/supremetakoyaki/Scramble

Let me know any issues you may encounter.
good , great , awesome , outstanding , amazing
 

BlueEdge

Active Member
Newcomer
Joined
Aug 17, 2015
Messages
25
Trophies
0
Age
27
XP
127
Country
Argentina
Can't believe you got it working for the pc version so quickly! Thanks for such a great program, that option to transfer a save from solo remix to final remix was a great adition too!
 

gbatempfan1

Well-Known Member
Member
Joined
Nov 2, 2010
Messages
200
Trophies
1
XP
1,199
Country
1633198131426.png


Thanks, it seems to work fine with my first week NEO save file on PC, at least for what I've tried so far.
The spoiler feature is especially wonderful.

I don't know if you are taking requests, but if so, it would be helpful if you make it so I can click on the image of the spoiler pins and reveal what they are temporarily without a prompt. I just unlocked a couple other difficulties and wanted to easily seek out non-money pins for the enemies I had at hand without being spoiled or bugged by prompts.

Either way, your work is very helpful and appreciated.
 
  • Like
Reactions: Taishiro

Taishiro

Well-Known Member
OP
Member
Joined
Apr 22, 2020
Messages
322
Trophies
0
Age
23
XP
854
Country
Chile
View attachment 278070

Thanks, it seems to work fine with my first week NEO save file on PC, at least for what I've tried so far.
The spoiler feature is especially wonderful.

I don't know if you are taking requests, but if so, it would be helpful if you make it so I can click on the image of the spoiler pins and reveal what they are temporarily without a prompt. I just unlocked a couple other difficulties and wanted to easily seek out non-money pins for the enemies I had at hand without being spoiled or bugged by prompts.

Either way, your work is very helpful and appreciated.
Hi there. You can actually tick the checkboxes of each pin individually and the spoiler will show. You can then proceed to uncheck it if you want.
But I noticed this would bring the prompt every time.
I'm pushing a new version later that only brings the prompt once :)
 
  • Like
Reactions: gbatempfan1

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/@legolambs