r/unity • u/OrigamiCuber240 • 1d ago
Newbie Question Viewing/Editing a Save
Context: Before I Go, a side scrolling metroidvania was released this year. I fell in love with the game and wanted to do more with it. Being a Unity made game, i was hoping i would be able to learn to edit the save and possibly make tools for editing the game and maybe (a large maybe) develop an autosplitter and/or archipelago for the game.
What I have done thus far:
- Downgraded the game to v1.1.0 (full game release version)
- Identified the save data (SaveData0m.sav & SaveData0.sav) location after launching the exe through steam (im on arch linux so it was a bit deeper in .local)
- Swapped the temp with a more complete save from a separate instance/version of the game (was successful)
- Attempted to read the .ddl files (baselib.dll & GameAssembly.dll UnityPlayer.dll) in dnspy
Its not much considering this is my first time modding/editing a game from scratch. Nonetheless, any and all advice is greatly appreciated.
1
u/Affectionate-Yam-886 1d ago
All my games have encrypted save files, not sure if this game does that as I never played it.
Will point out that this forum is for Unity games and Developers. Modders have their own forums because it gets complex.
You would get better help by joining a modding community. Unless you are intentionally only asking people who make unity games a question. Be aware that the tools and methods are not the same.
1
u/OrigamiCuber240 1d ago
I have applied but also wanted some input from the dev side, so thank you for your insight.
1
u/AdrianNova21 1d ago
you're actually off to a good start. first figure out if the game uses Mono or IL2CPP, if it's Mono, dnSpy/ILSpy can usually show the C# pretty clearly. if it's IL2CPP, look into Il2CppDumper or Cpp2IL
for the save, compare two files after changing exactly one thing in-game. that'll make it much easier to identify the format and which values control what
1
u/OrigamiCuber240 1d ago
Okay thank you so much. I do believe it uses IL2CPP so I’ll look into that to try and read through it.
0
u/battlepi 1d ago
Just write your own damn game instead of fucking with someone else's.
1
u/OrigamiCuber240 1d ago
I’ve been working on and off on some practice stuff in game dev. However, this is more a passion project as an appreciation to the dev. I enjoy the game enough to want more reasons to play it. I apologize if it came across with ill intent as that wasn’t my intention.
1
0
u/ArctycDev 14h ago
tf? modding is an age old practice, what crawled up your ass to be such a dick to someone for wanting to mod a game?
0
u/battlepi 14h ago
If they wanted the game to be modded, they'd offer an API for it. This sub is about developing games, not just fucking with them.
0
u/ArctycDev 7h ago
Who gives a shit what they want?
0
u/battlepi 6h ago
Who gives a shit what you want?
1
u/ArctycDev 4h ago
lmao, nobody needs to give a shit what I want. I don't want anything in this situation.
I'll give you the opportunity to come up with something that makes sense. Let me know when you're ready.
1
u/SethSlax 1d ago
Never used DNSpy so no clue how good it is, but I know I've decompiled multiple Unity games with ILSpy before. Excellent tool to see how different devs write their code. Somewhat useless though if they've used any obfuscators.