SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Releases > Miscellaneous

Reply
 
Thread Tools
Custom gamedata - Allows you to create save files with addons Details »»
Custom gamedata - Allows you to create save files with addons
Version: , by FuriousFox (AKA FuriousFox) FuriousFox is offline
Developer Last Online: Jun 2020

Version: SRB2 Rating: (2 votes - 3.80 average)
Released: 12-15-2019 Last Update: Never Favourites: 10
Scripts Re-Useable Content

This is a very simple SOC script that creates a custom gamedata, which therefore allows you to create save files while using addons. If what I said is too confusing, maybe this will make more sense to you:



HOW TO USE:
1. Load all the addons that you want to use.
2. Load v_customsave-v1.soc as the very last file.
3. When you come back to play again later, make sure you load everything in the same order, or else you may run into problems. (Save files save your skin as a number. If you load skins in a different order, your save file may end up as a different character.)

Another little caveat is that, since this is a new gamedata, unlockables and records will be reset while this script is loaded. Don't worry, you'll still have everything in your non-modified game, but you'll have to do everything again here.

Hopefully in the future we'll be able to provide a better solution for saving while using addons. It is something I have pushed for during development, and it seems like something most other people on the team would like to have, but we had more pressing things to tend to at the time (like finishing 2.2). This should tide you guys over until then.

---

I have added a batch script that should allow you to convert your existing SRB2 saves and records (unlockables, emblems) to work with the custom gamedata addon. Just run Convert Save to Custom Gamedata.bat and follow the prompts. This will create copies of your saves that can be used with V_customsave-v1.soc. They will be separate files, so any progress you make in vanilla or custom will not carry over to the other from that point on.

Download Now

File Type: zip V_customsave-v1.zip (181 Bytes, 4790 views)
File Type: zip Convert Save to Custom Gamedata.zip (564 Bytes, 2120 views)

Screenshots

Click image for larger version

Name:	srb20000.png
Views:	11408
Size:	76.9 KB
ID:	23551  

Show Your Support

  • The author of this addon has given explicit permission for its content to be re-used and/or reproduced.

Comments
Old 12-15-2019   #2
D00D64
Probably Responsible
Moderator
 
D00D64's Avatar
Default

A simple SOC, but a necessity one for many, I'm sure. Welcome to releases!
D00D64 is offline   Reply With Quote
Old 12-15-2019   #3
BENJITA9000
Nemy99
 
BENJITA9000's Avatar
Default This one was legit amazing!

i was waiting for this, now i can save with custom characters, thx!.


btw did you make a shadow port or something?, just curious.
__________________
“According to all known laws of aviation, there is no way that a bee should be able to fly. Its wings are too small to get its fat little body off the ground. The bee, of course, flies anyways. Because bees don't care what humans think is impossible.”
BENJITA9000 is offline   Reply With Quote
Old 12-15-2019   #4
FuriousFox
AKA FuriousFox
 
FuriousFox's Avatar
Default

No, I didn't make a Shadow port. There's one floating around on some servers though. It's full of Lua errors and warnings though.
FuriousFox is offline   Reply With Quote
Old 12-15-2019   #5
BENJITA9000
Nemy99
 
BENJITA9000's Avatar
Default

Quote:
Originally Posted by FuriousFox View Post
No, I didn't make a Shadow port. There's one floating around on some servers though. It's full of Lua errors and warnings though.
oh ok cool, could you tell me like how you found it or in where server that was?, sorry for making you waste time btw.
__________________
“According to all known laws of aviation, there is no way that a bee should be able to fly. Its wings are too small to get its fat little body off the ground. The bee, of course, flies anyways. Because bees don't care what humans think is impossible.”
BENJITA9000 is offline   Reply With Quote
Old 12-15-2019   #6
Elyos03
 
Elyos03's Avatar
Default

There's a small, small problem. In a conquered save,
Spoiler:
the letter at RedXVI's door
doesn't show up at all. It was supposed to be a little 100% completion gift, c'mon.

(Yes, I marked that thing a spoiler, even after the ban was dead.)
__________________
"We're friends now."
"But I want to kill Goku."
"Most of my friends did."
Spoiler:
DO NOT look into my oldest posts. They now make me cringe like and YouTuber watching its very first video.
Elyos03 is offline   Reply With Quote
Old 12-15-2019   #7
FuriousFox
AKA FuriousFox
 
FuriousFox's Avatar
Default

I imagine it's programmed to only show up in fully unmodified games, in which case there's nothing I can do about that.
FuriousFox is offline   Reply With Quote
Old 12-15-2019   #8
Elyos03
 
Elyos03's Avatar
Default

Quote:
Originally Posted by FuriousFox View Post
I imagine it's programmed to only show up in fully unmodified games, in which case there's nothing I can do about that.
I mean, as far back as I recall, if this addendum was a WAD (or a PK3. I don't judge.), it would be totally fine.
__________________
"We're friends now."
"But I want to kill Goku."
"Most of my friends did."
Spoiler:
DO NOT look into my oldest posts. They now make me cringe like and YouTuber watching its very first video.
Elyos03 is offline   Reply With Quote
Old 12-20-2019   #9
QuickWolfPT
 
QuickWolfPT's Avatar
Default

Is there any way to port my vanilla saves into custom game saves?
QuickWolfPT is offline   Reply With Quote
Old 12-20-2019   #10
FuriousFox
AKA FuriousFox
 
FuriousFox's Avatar
Default

There is, but it's a little complicated. You'll need a program like Notepad++ or some kind of hex editor to edit the save files. Once you open them up, just change "main" to "custom_gamedata". Then save it and rename the file to custom_gamedata#.ssg, where # is the save slot number you want it to appear at.

Additionally, I found out it's actually pretty easy to copy your gamedata (unlockables, records, emblems, etc) between the vanilla game and the custom saves. Just rename gamedata.dat to custom_gamedata.dat and you'll be able to keep all your stuff from the unmodified game. This also works in reverse, if you'd rather go after unlockables and emblems with other addons loaded.

If you decide to try any of this, I would recommend keeping unmodified copies of the files just in case anything goes wrong.
FuriousFox is offline   Reply With Quote
Old 12-20-2019   #11
QuickWolfPT
 
QuickWolfPT's Avatar
Default

Quote:
Originally Posted by FuriousFox View Post
Additionally, I found out it's actually pretty easy to copy your gamedata (unlockables, records, emblems, etc) between the vanilla game and the custom saves. Just rename gamedata.dat to custom_gamedata.dat and you'll be able to keep all your stuff from the unmodified game. This also works in reverse, if you'd rather go after unlockables and emblems with other addons loaded.
I tried this before asking but couldn't port the slots, i only tried to rename the file but got a "can't load" message on the save select screen.

Thanks for the help 😊, i will try it when i can.
QuickWolfPT is offline   Reply With Quote
Old 12-29-2019   #12
CyberKnux
Knuckles Chuckles
Extended Ban (Strike 3)
Default

This Is Really Cool Thanks!! (I could do hms too)
CyberKnux is offline   Reply With Quote
Old 01-04-2020   #13
MRoach
¡Reremy
 
MRoach's Avatar
Default

Quote:
Originally Posted by FuriousFox View Post
There is, but it's a little complicated. You'll need a program like Notepad++ or some kind of hex editor to edit the save files. Once you open them up, just change "main" to "custom_gamedata". Then save it and rename the file to custom_gamedata#.ssg, where # is the save slot number you want it to appear at.

Additionally, I found out it's actually pretty easy to copy your gamedata (unlockables, records, emblems, etc) between the vanilla game and the custom saves. Just rename gamedata.dat to custom_gamedata.dat and you'll be able to keep all your stuff from the unmodified game. This also works in reverse, if you'd rather go after unlockables and emblems with other addons loaded.

If you decide to try any of this, I would recommend keeping unmodified copies of the files just in case anything goes wrong.
I tried opening the game with the modified game data and it didn't work, what could it be? It says corrupted gamedata.
__________________
Nothing for nothing, is the key :v
Visit my youtube channel!
MRoach is offline   Reply With Quote
Old 01-05-2020   #14
FuriousFox
AKA FuriousFox
 
FuriousFox's Avatar
Default

I have added a batch script that should allow you to convert your existing SRB2 saves and records (unlockables, emblems) to work with the custom gamedata addon. Just run Convert Save to Custom Gamedata.bat and follow the prompts. This will create copies of your saves that can be used with V_customsave-v1.soc. They will be separate files, so any progress you make in vanilla or custom will not carry over to the other from that point on.
FuriousFox is offline   Reply With Quote
Old 03-24-2020   #15
TheRealBrowne456
 
TheRealBrowne456's Avatar
Default

Can this work with SRB2K? That would be Amazing if it could.
TheRealBrowne456 is offline   Reply With Quote
Old 03-24-2020   #16
TehPuertoRicanSpartan
 
TehPuertoRicanSpartan's Avatar
Default

Quote:
Originally Posted by TheRealBrowne456 View Post
Can this work with SRB2K? That would be Amazing if it could.
Yes, it could. Because it's compatible for older versions of SRB2/SRB2Kart (2.1.25/1.1)
__________________
Quote:
Originally Posted by Silver Sonic View Post
Rude. You could at least use the releases thread and cut the cursing...
Quote:
Originally Posted by Icarus View Post
I agree with Silver on this one, could you please refrain from using cuss words?
TehPuertoRicanSpartan is offline   Reply With Quote
Old 03-24-2020   #17
Icarus
Warrior from Algol
 
Icarus's Avatar
Default

I think this could have been by default in the game (I mean, saving modded games in a folder dedicated to that)


On a side note: I hope Shadow will be "officially" released here someday
__________________
Welcome to the Fantasy Zone
Get Ready!
Icarus is offline   Reply With Quote
Old 03-26-2020   #18
Moose the Fat Cat
Permanently Banned
Default

Awesome mod! Thank you so much.

An idea -- it'd be cool if you could make a "custom playlist" of levels from both campaign + mod levels ... so the player could do like a boss run, or an all act one run, or a "best Tails levels" run or whatever.
Moose the Fat Cat is offline   Reply With Quote
Old 04-04-2020   #19
MRoach
¡Reremy
 
MRoach's Avatar
Default

Quote:
Originally Posted by Moose the Fat Cat View Post
Awesome mod! Thank you so much.

An idea -- it'd be cool if you could make a "custom playlist" of levels from both campaign + mod levels ... so the player could do like a boss run, or an all act one run, or a "best Tails levels" run or whatever.
that's not what Custom gamedata is meant for, though it's something you can already do with this.
__________________
Nothing for nothing, is the key :v
Visit my youtube channel!
MRoach is offline   Reply With Quote
Old 04-08-2020   #20
RainbowTH
Your local lua dumbass
 
RainbowTH's Avatar
Default

Technically you don't need the script to copy your unlocks to custom_gamedata.dat. Simply copy your vanilla gamedata.dat and rename it to custom_gamedata.dat.
__________________
<Rainbow> REEEEEE
RainbowTH is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:30 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.