#8865 closed patch (outdated)
RTZ: Add Sega Saturn Version
Reported by: | SF/mthreepwood | Owned by: | SF/mthreepwood |
---|---|---|---|
Priority: | normal | Component: | Engine: MADE |
Version: | Keywords: | ||
Cc: | Game: | Return to Zork |
Description
This patch does two things:
1) Add detection for RTZ Sega Saturn Japanese 2) Add some minor file loading changes
The Sega Saturn is Big Endian, so several of the database read-ins had to be modified.
However, the game still crashes. During the opening script, it attempts to access the stack, but it's empty.
One other thing: The videos are not pmv, but rather cpk (Sega's FILM video -- see http://wiki.multimedia.cx/index.php?title=Sega_FILM). I'll work on that.
Ticket imported from: #1962624. Ticket imported from: patches/970.
Attachments (6)
Change History (17)
by , 17 years ago
Attachment: | rtz_sega_saturn.diff added |
---|
comment:1 by , 17 years ago
Assigning this to john_doe.
I'm also attaching an extremely rough Sega FILM player, and it's really WIP. I figure I'll post it in case anyone gets to the Cinepak for SEGA codec before me... *g* File Added: sega_film_player.diff
comment:2 by , 17 years ago
Owner: | set to |
---|
comment:3 by , 16 years ago
I've revised the patch. Objects are now loaded correctly. The script even begins to work properly. But, it fails with an assertion from going out of bounds in an array. I'll continue looking into it.
I've also modified the scriptfuncs based on a.bin (the binary). File Added: rtz_saturn_updated.diff
comment:4 by , 16 years ago
Updating so it compiles with the latest changes. File Added: updated_rtz_patch.diff
comment:5 by , 16 years ago
Updating the patch.
I did this change a while ago, and forgot to update the patch here. The script still takes LE values in readInt16(), not BE. This should get more of the scripts parsing.
However, there is a segfault while calling the external function 'sfSetSoundRate' with the parameter 11027, which seems to be right. No idea why it's segfaulting on calling that function. File Added: rtz_saturn_8-4-08.diff
comment:7 by , 16 years ago
No change; it still segfaults and I haven't figured out why.
As for continuing on it, there's some snags. There are graphics inside the main file, and some other graphics in separate files. The other files are raw 16bpp images (which already is a problem) and the format of the graphics inside are unknown. Same with sound inside the main file.
comment:8 by , 15 years ago
A little over a year since submission, here is an updated patch. Just to let it compile again.
Out of sheer luck, the stack smashing segfault is gone now. A new segfault happens when the game tries to draw an image. This makes sense -- the new image format isn't supported yet. Work will continue when 16bpp is added from GSoC.
comment:9 by , 14 years ago
Owner: | changed from | to
---|---|
Resolution: | → outdated |
Status: | new → closed |
comment:10 by , 14 years ago
This is way out of date now. My updated code is currently on my github fork, with lots of further changes including that fully implemented CPK player: https://github.com/clone2727/scummvm/tree/rtz-versions
comment:11 by , 6 years ago
Component: | → Engine: MADE |
---|---|
Game: | → Return to Zork |
patch