Page 2 of 2

Re: Sonic and Knuckles Collection (PC)

Posted: Mon Sep 01, 2008 3:03 am
by grimdoomer
Yep, bitmap extraction + injection. I'll try to look into models, I belive I saw some verts...

Re: Sonic and Knuckles Collection (PC)

Posted: Mon Sep 01, 2008 3:30 am
by Darkfox
Models? I was not aware there was 3D data in the Sonic games it covers... huh... maybe they did some enhancements for the special stages hm... I'll have to look into this. I thought they just ported and emulated each game with a built-in emulator, but this leaves me curious if they did more... O_o

Does this cover sprites as well? Sounds quite interesting.

Re: Sonic and Knuckles Collection (PC)

Posted: Mon Sep 01, 2008 11:06 am
by RavynousHunter
Gotta be sure, ya know. Also, if ya'd release either the specs or source, I'd be much obliged. I'd like to learn a bit about GRAF hacking, might come in useful some day, ya never know! :keke:

Oh, and as for the models, they might be for the various 3D background objects in the special stages, like the Slot Machine stage.

[edit]Actually, now that I think about it, the "verts" might be used for collision detection boundaries; it was a common (?) practice in the heyday of 2D gaming to utilize some 3D library functions to make their collision detection systems more accurate.

Re: Sonic and Knuckles Collection (PC)

Posted: Wed Sep 03, 2008 5:24 am
by RavynousHunter
Double-post, I know, I know. I was simply wonderin how ol' Grimdoomer was doin' and how work was goin on the app so we can break into this little bugger and look at it's guts. :D

Re: Sonic and Knuckles Collection (PC)

Posted: Wed Sep 03, 2008 6:17 am
by Darkfox
Crikey! Ain't she a beaut!?

Well, I'm actually curious too. I didn't know it was possible to change the graphics. I'm interested to find out if they actually remade it for the PC rather than emulate it. If that is so, then this will make modding it pretty fun. XD Only thing is missing is a script file that gives all character/baddie data, but what are the chances of that?

Re: Sonic and Knuckles Collection (PC)

Posted: Wed Sep 03, 2008 8:29 am
by RavynousHunter
Oooh yeah, I'd love it if the scripts ended up being in there. If not, they might be in the exe itself, or in one of the other files in the installation. There's only 2 other files in the installation that might hold data, one's 2kb in size, the other's 13kb in size. They can be found here.

Re: Sonic and Knuckles Collection (PC)

Posted: Thu Sep 04, 2008 9:50 pm
by grimdoomer
Sorry, I've been really busy with some other projects, and school just started. I'll get it done this weekend don't worry.

Re: Sonic and Knuckles Collection (PC)

Posted: Fri Sep 05, 2008 12:29 am
by RavynousHunter
Hey, don't sweat it man, I totally understand. I've had school interfere with a lot of shit, I know how it is. :)

Re: Sonic and Knuckles Collection (PC)

Posted: Sun Sep 21, 2008 4:53 am
by RavynousHunter
Any updates?

Re: Sonic and Knuckles Collection (PC)

Posted: Wed Oct 01, 2008 11:19 pm
by grimdoomer
Heres a small app I was working on. It allows you to make plugins for each file in the dat. It has bitmap viewing and extraction, but sadly I never got injection working. It is in C# 2008. Note: Each plugin must be named "File" then the actuall File number ex 1, 2, 3 etc. One more thing, lets say your mapping out a file, and you come across a bitmap. Well you need to get the bitmap size and subtract it from the next offset. Example Bitmap offset: 2000, Bitmap size: 2000, next value offset: 4012, you subtract the bitmap size, so the next value offset would be 2012.

Image

There are only 2 things I can think of that need to be fixed. But I'm done.

Re: Sonic and Knuckles Collection (PC)

Posted: Sat Oct 04, 2008 5:56 am
by RavynousHunter
When I try the extract all option, I get the following error:

Code: Select all

Non-negative number required.
Parameter name : value.
It extracts all the files, I'm guessing, however, they have no extension.

Another thing, the file being opened is a *.ds2 file, not a *.dat; also, when I open the file, I'm guessing I'm supposed to get a preview of the file, what it looks like, however, the form remains blank.

I attempted to try and fix these problems, but your version of Visual Studio is apparently very different from mine (I'm using VS.Net 2003 Academic), and it throws several compile errors.

Re: Sonic and Knuckles Collection (PC)

Posted: Sat Oct 04, 2008 3:43 pm
by grimdoomer
Well theextract all works, there are no extensions because none of the files have any.

Also this was made with C# 2008, so yea 03 is a little outdated.

It could be the .ds2 file that is messing up things but I don't know.

Re: Sonic and Knuckles Collection (PC)

Posted: Sun Oct 05, 2008 1:06 am
by RavynousHunter
Thats odd, considering the .ds2 file I'm assuming you used is the one from my installation (obviously), and it apparently works for you, so why not for me?

Most peculiar...