Razzmatazzz / RemnantSaveManager

Automatic backing up of your Remnant: From the Ashes save files, and the ability to anlayze your world to see what events rolled.
https://www.reddit.com/r/remnantgame/comments/d4eq86/remnant_save_manager_and_world_analyzer/
GNU General Public License v3.0
117 stars 21 forks source link

Remnant 2 support? #62

Closed DEVxALMIGHTY closed 1 year ago

DEVxALMIGHTY commented 1 year ago

Any plan to provide a similar tool for Remnant 2 dropping next week?

Razzmatazzz commented 1 year ago

The save files of Remnant 2 are obfuscated, so I don't know whether it will be feasible.

Remnant 1's save files could be opened in Notepad and you could read all the gear your character already has and all the events that rolled in your world in plaintext. When you open Remnant 2's save files in Notepad, there's no plaintext. Only inscrutable characters that I don't currently know how to decipher.

KittySkin commented 1 year ago

Provided the deobfuscation code, are you willing to add remnant 2 support? Not a hard promise, but I can start digging and ping some other reverse engineers to give me a hand getting it.

Razzmatazzz commented 1 year ago

I'd like to create a new app for Remnant 2, but the feasibility of that also depends on what the de-obfuscated save files actually look like. It's possible they're much more complex than the saves for the first game.

crackedmind commented 1 year ago

@Razzmatazzz Saves aren't obfuscated. It simply deflated. But splited in chunks.

Chunk header starts by: C1 83 2A 9E 22 22 22 22 Chunk header size: 49 bytes

image

You can use this http://aluigi.altervista.org/mytoolz/offzip.zip

mkdir save_0
offzip.exe -a save_0.sav save_0

and you get all uncompressed chunks.

Uncompressed data look similar to Remnant 1 saves

  1. Seek to 0xC
  2. Read chunk header
  3. Find size in header
  4. Read Data[Size];
  5. decompress data
  6. If not eof, goto step 2
crackedmind commented 1 year ago

Created simple tool to unpack saves (required .Net 6/7) https://gist.github.com/crackedmind/3c7b63811afaafc4bdd4f8cb8319c1d0

Razzmatazzz commented 1 year ago

Thanks for the explanation and code! I'm working on an app for Remnant 2.

DEVxALMIGHTY commented 1 year ago

Thank you @Razzmatazzz! The tool for R1 was incredibly useful and we need one even more for R2.

mastergaming234 commented 1 year ago

Created simple tool to unpack saves (required .Net 6/7) https://gist.github.com/crackedmind/3c7b63811afaafc4bdd4f8cb8319c1d0

question could I use this upacker to edit my character appearance like you could do with remnant 1? if yes how would I go about repackaging the save file so that the game reads it?

Razzmatazzz commented 1 year ago

Got something working but probably with a lot of bugs: https://github.com/Razzmatazzz/RemnantSaveGuardian

Note that "missing items" won't really work until all the items for events have been added to events. I haven't had time to play past the tutorial, so that work isn't close to done.

fsavosine commented 1 year ago

Hey @Razzmatazzz , I could launch any version you uploaded. Are you sure they launch correctly at the moment?

Razzmatazzz commented 1 year ago

Probably best to open an issue in that repo. Do you have the .net framework installed?

fsavosine commented 1 year ago

Have just installed a fresh version, still doesn't seem to work. I will try some workarounds from my side

Do you have the .net framework installed?

DGarHen commented 1 year ago

Have just installed a fresh version, still doesn't seem to work. I will try some workarounds from my side

Do you have the .net framework installed?

maybe is the "there is not any project to execute" error? or something like that?... you could use the --project to target the csproj file

davidcwilkerson commented 1 year ago

Got something working but probably with a lot of bugs: https://github.com/Razzmatazzz/RemnantSaveGuardian

Note that "missing items" won't really work until all the items for events have been added to events. I haven't had time to play past the tutorial, so that work isn't close to done.

Thanks so much for your work. Big fan However, I don't think the analyzer is working on adventure mode. It doesn't seem to change the items or locations when I re-roll. Any idea what I could be doing wrong?

Razzmatazzz commented 1 year ago

Yep, that's a known issue and being worked on: https://github.com/Razzmatazzz/RemnantSaveGuardian/issues/6

crackedmind commented 1 year ago

Created simple tool to unpack saves (required .Net 6/7) https://gist.github.com/crackedmind/3c7b63811afaafc4bdd4f8cb8319c1d0

question could I use this upacker to edit my character appearance like you could do with remnant 1? if yes how would I go about repackaging the save file so that the game reads it?

Nope. You can't do this.

Crimir85 commented 1 year ago

when i try to open it, the app closes like 1 second later...

DreadOp commented 1 year ago

I would love you so hard if you can get this to work with Xbox file manager eventually (if you manage to figure it out on PC). I have to play on Xbox with my casual IRL buddies. :bigsad:

Razzmatazzz commented 1 year ago

Idk if it's even possible to do on Xbox. I suspect not.

SgtPitbull commented 1 year ago

Sorry for be new to this. But how do i run this ?

As i am that point i want to farm for item i still need, This be a great thing to use.

Love it for the Remnant

Thanks kindly.

Razzmatazzz commented 1 year ago

@SgtPitbull Go to the RemnantSaveGuardian repository (https://github.com/Razzmatazzz/RemnantSaveGuardian) and download the latest release.

mastergaming234 commented 1 year ago

Created simple tool to unpack saves (required .Net 6/7) https://gist.github.com/crackedmind/3c7b63811afaafc4bdd4f8cb8319c1d0

question could I use this upacker to edit my character appearance like you could do with remnant 1? if yes how would I go about repackaging the save file so that the game reads it?

Nope. You can't do this.

What would need to do in order to make the character data read able if I wanted to change my character face,voice and hair style.

crackedmind commented 1 year ago

Created simple tool to unpack saves (required .Net 6/7) https://gist.github.com/crackedmind/3c7b63811afaafc4bdd4f8cb8319c1d0

question could I use this upacker to edit my character appearance like you could do with remnant 1? if yes how would I go about repackaging the save file so that the game reads it?

Nope. You can't do this.

What would need to do in order to make the character data read able if I wanted to change my character face,voice and hair style.

We can't do it right now and in the future.

SgtPitbull commented 1 year ago

@SgtPitbull Go to the RemnantSaveGuardian repository (https://github.com/Razzmatazzz/RemnantSaveGuardian) and download the latest release.

I have done that.

I follow the steeps, BUT

I dont have 4. Run RemnantSaveGuardian.exe I have RemnantSaveGuardian.sin, i have RemnantSaveGuardian.csproj

So i am sure there is something i need to do ?

Sorry for being a total newbies on this...

Kindly.

AndrewSav commented 1 year ago

You need to download RemnantSaveGuardian.zip

Razzmatazzz commented 1 year ago

Closing this per #63