Sonic and Sega Retro Message Board: Sometimes life kicks you where it hurts - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
Loading News Feed...
 

Sometimes life kicks you where it hurts

#1 User is offline Hitaxas 

Posted 22 December 2010 - 09:27 PM

  • SEGA: Sorry Classic Sonic, we are sending you back to 1994
  • Posts: 1352
  • Joined: 30-September 07
  • Gender:Male
  • Location:Litchfield, CT
  • Project:Sonic: Super Deformed (head director) - Slowly working on it.
  • Wiki edits:196
So I was working on my hack, fixing up some object placements in SonED2. Just as I went to save, the program crashed. This caused me to lose months of hard work, I open SonED2 again to find the level data is completely scrambled, art/mappings/object placement is all gone.

Luckily I have saved a build of the game from before the crash.


So my question is: How, if at all possible, could I revive the art/mappings/object placement for the level from the rom?

Can it be done? Or am I fucked and have to start all over? sad.png


Edit: Origin game is Sonic 2 if people need to know.
This post has been edited by Hitaxas: 22 December 2010 - 09:30 PM

#2 User is offline Caitlin 

Posted 22 December 2010 - 09:31 PM

  • Will one day compete in Wimbledon
  • Posts: 4327
  • Joined: 07-May 05
  • Gender:Female
  • Location:The North
  • Project:Project Vangarde
  • Wiki edits:35
If you have a basic understanding of how pointer tables work, you should be able to find some relevant to your data needs in a hex editor and be able to extract the data manually from an old backup. However, with disassemblies this is a bit more difficult, so I wish you luck at least on that end.

Hell, you could even probably just make a savestate and grab the level layout that way, then use the data inside the savestate to grab the object location info/mappings info.

#3 User is offline SoullessSentinel 

Posted 22 December 2010 - 09:48 PM

  • Posts: 193
  • Joined: 01-October 05
  • Gender:Male
  • Location:Grimsby, England
Not relevent to the question at hand, but, I suggest starting to use a basic backup system. When I work on a hack, after making any major changes, I RAR up my hacks folder, date it, and give it a filename relevent to the change. I have a "s1hack_backups" subfolder next to my "s1_hack" folder to store them all in.

If you do this, or something simular, you can look back at earlier revisions to recover things, should anything like this happen again.

#4 User is offline Hitaxas 

Posted 22 December 2010 - 10:09 PM

  • SEGA: Sorry Classic Sonic, we are sending you back to 1994
  • Posts: 1352
  • Joined: 30-September 07
  • Gender:Male
  • Location:Litchfield, CT
  • Project:Sonic: Super Deformed (head director) - Slowly working on it.
  • Wiki edits:196
I have backed up the source before, I am a little lucky I guess. However, the source is much older and lacks some of the 16x16 and 128x128 tile.

I am able to recover the latest 8x8 tiles tiles using debugens and some of the 16x16 and 128x128 tiles using the older source backup. I guess I will just have to rebuild everything. At least I do not have to redraw everything. I would rage.

#5 User is offline Caitlin 

Posted 22 December 2010 - 10:09 PM

  • Will one day compete in Wimbledon
  • Posts: 4327
  • Joined: 07-May 05
  • Gender:Female
  • Location:The North
  • Project:Project Vangarde
  • Wiki edits:35
It's also a good idea to copy those backups to another drive, CD or flash drive in case your hard drive fails as well. If your hard drive fails and you don't do that, you not only lose your current work, but your backups as well which defeats the purpose.

#6 User is offline Andlabs 

Posted 22 December 2010 - 10:09 PM

  • 「いっきまーす」
  • Posts: 2065
  • Joined: 11-July 08
  • Gender:Male
  • Project:Writing my own MD/Genesis sound driver :D
  • Wiki edits:7,061
You should have been doing nightly backups all along. I suggest doing what Katelynn said in the first reply before rebuilding everything again and wasting even more time with this project.

On top of nightly backups: use version control and make commits at least nightly (or after fixing bugs or doing steps of adding features). If something crashes, just go back to the last working revision. It's good for both crashed-based data loss (as the repo is never touched by programs other than those that manage the repository) as well as testing new things (as you can make branches and add new features in those branches and then merge them back if you're confident of the features). I suggest using git so you don't have to worry about setting up a server.

This post has been edited by Andlabs: 22 December 2010 - 10:14 PM

#7 User is offline Hendricks 266 

Posted 22 December 2010 - 10:22 PM

  • Posts: 326
  • Joined: 01-June 05
  • Gender:Male
  • Location:United States
  • Wiki edits:58
Andlabs, is there a way to set that up locally, without some sort of server or other location to store the repo?

#8 User is offline Andlabs 

Posted 22 December 2010 - 10:26 PM

  • 「いっきまーす」
  • Posts: 2065
  • Joined: 11-July 08
  • Gender:Male
  • Project:Writing my own MD/Genesis sound driver :D
  • Wiki edits:7,061
Yes, with git just go into the folder where you want your program and
CODE
git init
git is decentralized so there's no central server; "servers" like github are just canonical servers that everyone agrees is the source for de facto builds. There's also a TortoiseGit for Windows users but I haven't had it work.
This post has been edited by Andlabs: 22 December 2010 - 10:27 PM

#9 User is offline The Shad 

Posted 22 December 2010 - 10:29 PM

  • ↑ & ↓ & ↻
  • Posts: 3038
  • Joined: 04-September 06
  • Gender:Male
  • Wiki edits:83
It would help if someone would make a new tool like SonED2 that isn't shit.

#10 User is offline Hitaxas 

Posted 22 December 2010 - 11:54 PM

  • SEGA: Sorry Classic Sonic, we are sending you back to 1994
  • Posts: 1352
  • Joined: 30-September 07
  • Gender:Male
  • Location:Litchfield, CT
  • Project:Sonic: Super Deformed (head director) - Slowly working on it.
  • Wiki edits:196
Yes, I admit I should have been backing up often. However recent events have prevented me from typically doing so, but the most occurring reason however, being pure forgetfulness.

I have been under constant stress with the new job (Yay walmart... seriously though, place sucks), and the fact that my parents kicked me out of their house not long ago. Eh, this is getting off topic...


Anyway, I took the long route and recreated the 16x16 and 128x128 tiles. Had I switched back to Chrome and saw Katelynn's response, I would have been able to get it done sooner. >.<

#11 User is offline Andlabs 

Posted 23 December 2010 - 12:11 AM

  • 「いっきまーす」
  • Posts: 2065
  • Joined: 11-July 08
  • Gender:Male
  • Project:Writing my own MD/Genesis sound driver :D
  • Wiki edits:7,061
Then set it to an automatic backup =P

Anyway good luck with everything (including work) =P

#12 User is offline Hitaxas 

Posted 23 December 2010 - 12:18 AM

  • SEGA: Sorry Classic Sonic, we are sending you back to 1994
  • Posts: 1352
  • Joined: 30-September 07
  • Gender:Male
  • Location:Litchfield, CT
  • Project:Sonic: Super Deformed (head director) - Slowly working on it.
  • Wiki edits:196
Funny enough new job is going to become old job. I am moving down to NC next week. Thanks for the suggestion also, Andlabs. I will look into it.

#13 User is offline Hanoch 

Posted 23 December 2010 - 09:25 AM

  • Also known as TheKnock, Birashot
  • Posts: 491
  • Joined: 01-June 08
  • Gender:Male
  • Location:Israel
  • Project:everything
  • Wiki edits:8
If only SonEd2 had a data restore system ala chrome or IE restart previous websites, it would be much easier for hackers to backup (takes less space)
In fact, why doesn't it have savestates like SonMapEd?

#14 User is offline iojnekns 

Posted 24 December 2010 - 07:55 AM

  • I wish for Abraham Lincoln to be a girl.
  • Posts: 139
  • Joined: 22-May 08
  • Gender:Male
  • Wiki edits:14
Can you clarify something?

QUOTE (Hitaxas @ Dec 23 2010, 02:27 AM)
So I was working on my hack, fixing up some object placements in SonED2. Just as I went to save, the program crashed. This caused me to lose months of hard work, I open SonED2 again to find the level data is completely scrambled, art/mappings/object placement is all gone.


I would hardly call a single session of SonED2 "months of hard work".

The only way I can understand the loss of "months of hard work" is if the crash caused damage to your only copy of the disassembly. Which would imply, as implasuible as it is, that you have no backups, no version control, no archive of previous builds...

Sometimes it takes a hard lesson to make people learn. Download this.


QUOTE (The Shad @ Dec 23 2010, 03:29 AM)
It would help if someone would make a new tool like SonED2 that isn't shit.

Spoken like someone with vast and extensive experience with the tool. Moron.

#15 User is offline Hitaxas 

Posted 24 December 2010 - 09:27 AM

  • SEGA: Sorry Classic Sonic, we are sending you back to 1994
  • Posts: 1352
  • Joined: 30-September 07
  • Gender:Male
  • Location:Litchfield, CT
  • Project:Sonic: Super Deformed (head director) - Slowly working on it.
  • Wiki edits:196
QUOTE (iojnekns @ Dec 24 2010, 07:55 AM)
Can you clarify something?

QUOTE (Hitaxas @ Dec 23 2010, 02:27 AM)
So I was working on my hack, fixing up some object placements in SonED2. Just as I went to save, the program crashed. This caused me to lose months of hard work, I open SonED2 again to find the level data is completely scrambled, art/mappings/object placement is all gone.


I would hardly call a single session of SonED2 "months of hard work".

The only way I can understand the loss of "months of hard work" is if the crash caused damage to your only copy of the disassembly. Which would imply, as implasuible as it is, that you have no backups, no version control, no archive of previous builds...

Sometimes it takes a hard lesson to make people learn. Download this.



It was my primary copy of the source. I had a backup from around 3 months ago (yes it has been far too long since I backed up, but this is due to the many reasons I posted earlier.). So yes, I did lose months of work. New 16x16 and 128x128 tiles were lost, along with the level layout and object placement.

Hope that is clear enough.


As for TortoiseSVN, thank you. I am grabbing it right now.

  • 2 Pages +
  • 1
  • 2
    Locked
    Locked Forum

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users