Sonic and Sega Retro Message Board: S3DPlay: Sonic 3D Blast Intro Player - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
Page 1 of 1
    Locked
    Locked Forum

S3DPlay: Sonic 3D Blast Intro Player A little proof of concept utility (For Genesis)

#1 User is offline sasuke 

Posted 27 December 2010 - 07:25 PM

  • Posts: 66
  • Joined: 05-June 09
  • Gender:Male
  • Wiki edits:1
Over the summer, I had made an FMV player for the opening intro for Sonic 3D, but I did not have enough time to finish it while I was in college. So, I decided to release it today.

I must admit, it is not the best coded program I have ever made, but it gets the job done. You just drag the rom into the exe and it plays the intro movie as accurately as I can get it. Info about the format is in the readme file (and here is a hint: it's not Cinepak smile.png ).

Download Here

Also, for those with IDA, here are some subroutines that helped me reverse-engineer the format:

CODE
0xe52: An RNC method 2 decompression subroutine with a huuuuuge unrolled loop starting at 0x1006.
0x1e926: The main subroutine for the intro.
0x1ed98: The Vblank interrupt routine for the intro.


...and the data...

CODE
0x1b055c: Part 1 tiles
0x1d3ba4: Part 2 tiles
0x1ed58: Part 1 palette
0x1ed78: Part 2 palette


Special thanks to those who contributed to the Sonic 3D SVN.

EDIT: This is not for the Saturn or PC version. It is for the Sega Genesis/Mega Drive version.
This post has been edited by sasuke: 27 December 2010 - 07:49 PM

#2 User is online f2bnp 

Posted 27 December 2010 - 07:43 PM

  • Posts: 66
  • Joined: 21-May 08
  • Gender:Male
  • Location:Greece, Athens
So this plays .DUC files?
Does this mean it might possibly work with other games as well?

EDIT:
Oh wait this is for the MegaDrive version isn't it? Dammit :P
This post has been edited by f2bnp: 27 December 2010 - 07:45 PM

#3 User is offline sasuke 

Posted 27 December 2010 - 07:46 PM

  • Posts: 66
  • Joined: 05-June 09
  • Gender:Male
  • Wiki edits:1
QUOTE (f2bnp @ Dec 27 2010, 07:43 PM)
So this plays .DUC files?
Does this mean it might possibly work with other games as well?


No, I actually meant to say it was the Genesis/Megadrive version. Sorry.

Also, it is hard coded to play the release version of the Genesis Rom, or at least the rom in the svn.

#4 User is offline GerbilSoft 

Posted 27 December 2010 - 07:51 PM

  • RickRotate'd.
  • Posts: 2063
  • Joined: 11-January 03
  • Gender:Male
  • Location:USA
  • Project:Gens/GS
  • Wiki edits:158
9001
QUOTE (f2bnp @ Dec 27 2010, 07:43 PM)
So this plays .DUC files?
Does this mean it might possibly work with other games as well?

EDIT:
Oh wait this is for the MegaDrive version isn't it? Dammit :P

Not sure about that file extension, but FFmpeg (and FFmpeg-based video players) support Duck TrueMotion 1 and 2 in AVI containers. That being said, this is for the MD version. =P

#5 User is offline Sik 

Posted 27 December 2010 - 08:19 PM

  • Sik is pronounced as "seek", not as "sick".
  • Posts: 6719
  • Joined: 17-March 06
  • Gender:Male
  • Project:being an asshole =P
  • Wiki edits:11
Yeah, I knew about those addresses, just never got arsed to crack the format. But huh, I don't remember RNC being used... Is this for the 4bpp intro or the two 1bpp FMVs? (Sega logo, Game Over screen)

Also screw Mediafire, can't download that file from this phone =/ Can somebody mirror it?

(note to self: update material on the SVN, it's quite outdated)

#6 User is offline nineko 

Posted 27 December 2010 - 08:26 PM

  • I am the Holy Cat
  • Posts: 5304
  • Joined: 17-August 06
  • Gender:Male
  • Location:italy
  • Project:I... don't even know anymore :U
  • Wiki edits:5,251
QUOTE (Sik @ Dec 28 2010, 02:19 AM)
Also screw Mediafire, can't download that file from this phone =/ Can somebody mirror it?
I will mirror it on my webspace only for the time necessary for you to download it, unless the original author says it's fine to mirror this. In which case I will upload it on the wiki as well. But I won't upload it anywhere without explicit permission from sasuke, as a form of respect.

edit: by the way I just tested this. It works just fine, nice work smile.png

edit 2: removed the mirror from my webspace, and uploaded it on the wiki. See below.
This post has been edited by nineko: 27 December 2010 - 08:57 PM

#7 User is offline sasuke 

Posted 27 December 2010 - 08:45 PM

  • Posts: 66
  • Joined: 05-June 09
  • Gender:Male
  • Wiki edits:1
QUOTE (Sik @ Dec 27 2010, 08:19 PM)
Yeah, I knew about those addresses, just never got arsed to crack the format. But huh, I don't remember RNC being used... Is this for the 4bpp intro or the two 1bpp FMVs? (Sega logo, Game Over screen)


It is for the 4bpp intro. I haven't gotten that far for the others, except that they use the same archive format.


QUOTE (nineko @ Dec 27 2010, 08:26 PM)
QUOTE (Sik @ Dec 28 2010, 02:19 AM)
Also screw Mediafire, can't download that file from this phone =/ Can somebody mirror it?
I will mirror it on my webspace only for the time necessary for you to download it, unless the original author says it's fine to mirror this. In which case I will upload it on the wiki as well. But I won't upload it anywhere without explicit permission from sasuke, as a form of respect.

edit: by the way I just tested this. It works just fine, nice work smile.png


Of course you can upload it to the wiki. And your welcome. smile.png


#8 User is offline nineko 

Posted 27 December 2010 - 08:52 PM

  • I am the Holy Cat
  • Posts: 5304
  • Joined: 17-August 06
  • Gender:Male
  • Location:italy
  • Project:I... don't even know anymore :U
  • Wiki edits:5,251
Alright, I am going to upload it on the wiki now. I also recompressed the zip file to make it smaller wink.png

edit: done: File:S3DPlay.zip
Which means I will delete the mirror from my webspace.
This post has been edited by nineko: 27 December 2010 - 08:56 PM

#9 User is offline Sik 

Posted 27 December 2010 - 09:39 PM

  • Sik is pronounced as "seek", not as "sick".
  • Posts: 6719
  • Joined: 17-March 06
  • Gender:Male
  • Project:being an asshole =P
  • Wiki edits:11
I'm going to give you a hint: the 1bpp movies are actually 4bpp, each image actually holding 4 frames and using palette trickery to show one frame at a time. Would that help?

The subroutine to show the Sega FMV is at $221F2 by the way.

Page 1 of 1
    Locked
    Locked Forum

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