Opened 7 years ago

Last modified 17 months ago

#10410 new defect

BACKENDS: Dreamcast - Riven: List for loading saved games is empty

Reported by: kremiso Owned by:
Priority: normal Component: Port: Dreamcast
Version: Keywords:
Cc: Game: Riven

Description

Hi
in these days i reach to make run Riven on the Dreamcast, using the 5 CD
Windows english version and your (great as usual) last 2.0.0 release.
The game runs fine, and can be saved, but when i want to re-load it,
the list of gamesaves is empty (but is still on VMU)
Is it fixable ?
Thanks

Attachments (1)

vms00.zip (57.6 KB ) - added by kremiso 7 years ago.
Riven gamesave (x2)

Download all attachments as: .zip

Change History (12)

comment:1 by bgK, 7 years ago

The Dreamcast save code seems to be limited to filenames up to 12 characters when listing files:
https://github.com/scummvm/scummvm/blob/1b0ffaf31104e086ae4735447beab78f37626fd8/backends/platform/dc/vmsave.cpp#L183

Riven uses 13 characters filenames. If you are able to build the DC port maybe you can try to tweak the code to see if the DC able to list files when using a larger buffer for the filename.

comment:2 by kremiso, 7 years ago

Sorry, this is a little too much for my tech level :)
hope some Dreamcast nut here around read this and try to make it

btw, thanks for the reply !

comment:3 by digitall, 7 years ago

I took a look at the Dreamcast backend code and the relevant calls are into the libronin library used as a HAL on the Dreamcast. libronin also uses 12 character filenames so this would need to modified there to allow longer ones.

However, I don't think this is possible since the original Dreamcast VMU Flashrom layout uses a FAT with 12 character filenames as per: http://mc.pp.se/dc/vms/flashmem.html

It may be possible to reformat this with a custom format, but I suspect the Dreamcast Bootrom might "correct" this and wipe the VMU :/

by kremiso, 7 years ago

Attachment: vms00.zip added

Riven gamesave (x2)

comment:4 by kremiso, 7 years ago

Thanks @digitall for the (bad) news
i have uploaded my Riven gamesave for anyone want take a look
it's a virtual VMU save taken with Demul emulator
inside it, 2 gamesaves 41 blocks each

comment:5 by dafioram, 7 years ago

Owner: set to dafioram
Resolution: wontfix
Status: newclosed
Summary: Riven gamesave does not work on DreamcastMOHAWK: Riven: Dreamcast: List for loading saved games is empty

This is a little out of scope.
An alternative to loading from the gui is using the command line.

From the README:

-x, --save-slot[=NUM] Saved game slot to load (default: autosave)

comment:6 by bonki, 7 years ago

Component: Engine: MohawkPorts
Resolution: wontfix
Status: closednew

Please leave this open for now. There might be an elegant way to fix this and as more games might suffer from the same problem essentially rendering them unplayable I feel like we should put more effort into this.

Also, the command line is no viable option on the Dreamcast (please correct me if I'm wrong).

comment:7 by dafioram, 7 years ago

Owner: dafioram removed

comment:8 by kremiso, 6 years ago

Was wondering about opposite approach, change save/load game routines to reduce to 12 chars,
to make it readable by the DC VMU
You think it's possible ? Where Riven manage those ones ?

comment:9 by digitall, 6 years ago

Component: PortsPort: Dreamcast

comment:10 by kremiso, 4 years ago

not an elegant solution, but i reached to fix this hexediting and changing the generic savename string into the corresponding plugin

comment:11 by tag2015, 17 months ago

Summary: MOHAWK: Riven: Dreamcast: List for loading saved games is emptyBACKENDS: Dreamcast - Riven: List for loading saved games is empty
Note: See TracTickets for help on using tickets.