Opened 15 years ago

Closed 15 years ago

Last modified 6 years ago

#9106 closed patch

SCUMM: Add support for SEGA-CD MI Passcodes

Reported by: SF/sanguinehearts Owned by: sev-
Priority: normal Component: Engine: SCUMM
Version: Keywords:
Cc: Game: Monkey Island 1

Description

As you may know, The Monkey Island SEGA-CD version was infact slightly modified. one of the main issues was that there were no save states. The programmers worked around this by implementing a method in the GUI to accept passcodes of four digits. which allowed the game to restart on the hardware and accept various boot params.

These boot params served as passcodes to allow the user to return to somewhere close to their current position in the game.

I have intentions to work on this some more. however in its current state this patch adds a debugger command to accept passcodes. This debugger command is only visible when running the SEGA CD version of Monkey Island.

This is probably not in a suitable state for inclusion into trunk, ideally I would like to take some more time to look at how the passcode is validated, allowing me to implement checking of the passcode. I would also like to look at the possibility of implementing the passcode gui.

I have attached some images so that you can see how this looked in the original game.

If Im being completely honest, I am looking at this simply for the sake of a stubborn wish for completeness. any comments will be appreciated.

Ticket imported from: #2895458. Ticket imported from: patches/1211.

Attachments (1)

MI-SEGACD-Passcodes(2).patch (2.4 KB ) - added by SF/sanguinehearts 15 years ago.
Updated patch

Download all attachments as: .zip

Change History (8)

comment:1 by Kirben, 15 years ago

Wouldn't adding a GUI option for boot params in all SCUMM games, to the launcher, be a better option?

comment:2 by SF/sanguinehearts, 15 years ago

Urgh, sourceforge keeps signing me out before it lets me comment. :( Initially I had thought about implementing the Sega CD's unique method of validating boot params(only certain params are allowed by the load screen) although many more work in scummvm. It seems they restricted them to a certain few that were known to work and not leave the user hanging.

The reason I had not looked at Implementing a GUI option for all boot params, is that I see it could possibly lead to confusion for users. as I mentioned before not all boot params are stable and could leave the user stuck(until a rebstart). I'd think that the debugger would be a better place for this?

comment:3 by SF/sanguinehearts, 15 years ago

Ive been tinkering around with the files in Scumm Revisited. I noticed that in room 10 the first script contains all the strings from the passcode screen. I wonder if it is just missing some trigger to call the script?

comment:4 by SF/sanguinehearts, 15 years ago

Attached is an updated patch that enables a 'passcodes' function in the debugger while running the SEGA CD version of Monkey Island. A passcode is basically a boot param. This patch only allows the user to input the save state passcodes that were supported in the SEGA CD version(They ran a script to stop the user getting stuck) This enables the use of that script.

I plan to work on this a little more and possibly implement some sort of user interface in the form of a dialog.

I am also considering implementing a dialog that will allow boot params to be entered from the gui as Kirben mentioned.

by SF/sanguinehearts, 15 years ago

Updated patch

comment:5 by sev-, 15 years ago

Owner: set to sev-
Status: newclosed

comment:6 by sev-, 15 years ago

I committed the patch since it looked really nice to me and was complete. As of the GUI implementation, please submit it separately.

Though it was a bit upsetting that you removed the screenshots and first version of the patch :)

comment:7 by digitall, 6 years ago

Component: Engine: SCUMM
Game: Monkey Island 1
Note: See TracTickets for help on using tickets.