|
SG1000/SC-3000 Lode Runner will not start
#375926 - 04/30/18 08:55 PM
|
|
|
Using Fedora Linux 27. Even the MAME snapshot from GIT fails like this when trying to start SG1000/SC-3000 Lode Runner:
$ mame sc3000 -window -cart /usr/share/mame/roms/sc3000/lode_runner_japan_europe.sg Ignoring MAME exception: Unknown slot option 'codemasters' in slot 'slot' Unknown slot option 'codemasters' in slot 'slot'
$ sha1sum /usr/share/mame/roms/sc3000/lode_runner_japan_europe.sg f14f216edfda7dfd113f5cb32375a27be8a6409d /usr/share/mame/roms/sc3000/lode_runner_japan_europe.sg
I have tried with a different Lode Runner ROM, same error and failure to start.
|
|
|
|
Re: SG1000/SC-3000 Lode Runner will not start
[Re: krazyminer]
#375927 - 04/30/18 09:14 PM
|
|
|
Quote:
$ mame sc3000 -window -cart /usr/share/mame/roms/sc3000/lode_runner_japan_europe.sg Ignoring MAME exception: Unknown slot option 'codemasters' in slot 'slot' Unknown slot option 'codemasters' in slot 'slot'
This looks like the effect of a misconfigured .ini file. There's no reason for this option to be there with this system (and even for "nes" and clones it only ought to be automatically determined based on the selected software list item).
|
|
|
|
Re: SG1000/SC-3000 Lode Runner will not start
[Re: AJR Hacker]
#375929 - 04/30/18 09:37 PM
|
|
|
> $ mame sc3000 -window -cart /usr/share/mame/roms/sc3000/lode_runner_japan_europe.sg > Ignoring MAME exception: Unknown slot option 'codemasters' in slot 'slot' > Unknown slot option 'codemasters' in slot 'slot' > > > This looks like the effect of a misconfigured .ini file. There's no reason for this > option to be there with this system (and even for "nes" and clones it only ought to > be automatically determined based on the selected software list item).
I removed ~/.mame directory, the problem remains. I have made no edits to sc3000 configuration at all.
|
|
|
B2K24 |
MAME @ 15 kHz Sony Trinitron CRT user
|
|
|
Reged: 10/25/10
|
Posts: 2663
|
|
|
Send PM
|
|
|
Re: SG1000/SC-3000 Lode Runner will not start
[Re: krazyminer]
#375931 - 04/30/18 10:58 PM
|
|
|
Software list loading works here using Windows.
mame64 sg100 ldrun
|
|
|
|
Re: SG1000/SC-3000 Lode Runner will not start
[Re: krazyminer]
#375935 - 05/01/18 12:09 AM
|
|
|
Hey! I looked at the source code, but being new, could not figure out what was wrong. However, I found out that you could somehow use those XML files with "software lists" or something like that.
So I finally got the game running on Fedora Linux 27, but I do not really understand why.
I copied hash/sg1000.xml from the GIT source code tree to directory /usr/share/mame/hash
Then:
cd /usr/share/mame/roms/sg1000 mv lode_runner_japan_europe.sg mpr-5998.ic1
Now command:
mame sg1000 -window ldrun
starts the Lode Runner game using SG1000.
|
|
|
|
Re: SG1000/SC-3000 Lode Runner will not start
[Re: krazyminer]
#375954 - 05/01/18 01:58 PM
|
|
|
I managed to get a backtrace by setting a breakpoint to osd_break_into_debugger(), but I do not know how to fix this. Maybe a pretty easy case for the MAME devs?
(gdb) bt #0 osd_break_into_debugger (message=message@entry=0x1694a08 "Unknown slot option 'codemasters' in slot 'slot'") at ../../../../../src/osd/modules/lib/osdlib_unix.cpp:92 #1 0x000000000096ccba in emu_fatalerror::emu_fatalerror (this=0x1694a00, format=) at ../../../../../src/emu/emucore.cpp:28 #2 0x0000000000a6a357 in machine_config::machine_config (this=0x7fffffffca20, gamedrv=..., options=...) at ../../../../../src/emu/mconfig.cpp:97 #3 0x00000000009cbcb1 in emu_options::add_and_remove_slot_options (this=this@entry=0x7fffffffd650) at ../../../../../src/emu/emuopts.cpp:565 #4 0x00000000009ce360 in emu_options::update_slot_and_image_options (this=0x7fffffffd650) at ../../../../../src/emu/emuopts.cpp:533 #5 slot_option::possibly_changed (old_value="", this=0x1635b08) at ../../../../../src/emu/emuopts.cpp:1194 #6 slot_option::set_default_card_software (this=this@entry=0x1635ab8, s=...) at ../../../../../src/emu/emuopts.cpp:1183 #7 0x00000000009ce755 in emu_options::reevaluate_default_card_software (this=0x7fffffffd650) at ../../../../../src/emu/emuopts.cpp:765 #8 0x00000000009cede8 in image_option::specify (peg_priority=false, value=..., this=) at ../../../../../src/emu/emuopts.cpp:1263 #9 (anonymous namespace)::image_option_entry::internal_set_value(std::(char, long long, long long, ::string&&)) (this=, newvalue=...) at ../../../../../src/emu/emuopts.cpp:340 #10 0x0000000000bc8158 in core_options::entry::set_value (always_override=false, priority_value=151, priority_value@entry=0, newvalue=..., this=0x168a930) at ../../../../../src/lib/util/options.cpp:157 #11 core_options::do_set_value (this=this@entry=0x7fffffffd650, curentry=..., data=..., priority=priority@entry=151, error_stream=..., condition=@0x7fffffffce24: core_options::condition_type::NONE) at ../../../../../src/lib/util/options.cpp:966 #12 0x0000000000bcbf18 in core_options::parse_command_line (this=0x7fffffffd650, args=std::vector of length 5, capacity 5 = {...}, priority=priority@entry=151, ignore_unknown_options=ignore_unknown_options@entry=false) at ../../../../../src/lib/util/options.cpp:660 #13 0x00000000005f6187 in cli_frontend::start_execution (this=this@entry=0x7fffffffd5e0, manager=manager@entry=0x1630970, args=std::vector of length 5, capacity 5 = {...}) at ../../../../../src/frontend/mame/clifront.cpp:212 #14 0x00000000005f69aa in cli_frontend::execute (this=this@entry=0x7fffffffd5e0, args=std::vector of length 5, capacity 5 = {...}) at ../../../../../src/frontend/mame/clifront.cpp:273 #15 0x000000000055a397 in emulator_info::start_frontend (options=..., osd=..., args=std::vector of length 5, capacity 5 = {...}) at ../../../../../src/frontend/mame/mame.cpp:336 #16 0x000000000043e088 in main (argc=, argv=) at ../../../../../src/osd/sdl/sdlmain.cpp:216
|
|
|
|
Re: SG1000/SC-3000 Lode Runner will not start
[Re: krazyminer]
#375960 - 05/01/18 03:55 PM
|
|
|
> I managed to get a backtrace by setting a breakpoint to osd_break_into_debugger(), > but I do not know how to fix this. Maybe a pretty easy case for the MAME devs? )
I think I may have found a simple fix for this. Will do git push soon.
|
|
|
|
Re: SG1000/SC-3000 Lode Runner will not start
[Re: krazyminer]
#375970 - 05/01/18 10:17 PM
|
|
|
> > I managed to get a backtrace by setting a breakpoint to osd_break_into_debugger(), > > but I do not know how to fix this. Maybe a pretty easy case for the MAME devs? > ) > > I think I may have found a simple fix for this. Will do git push soon.
The patch is now in MAME. Thanks hackers for merging it.
|
|
|
R. Belmont |
Cuckoo for IGAvania
|
|
|
Reged: 09/21/03
|
Posts: 9716
|
Loc: ECV-197 The Orville
|
|
Send PM
|
|
|
Re: SG1000/SC-3000 Lode Runner will not start
[Re: krazyminer]
#376097 - 05/11/18 08:36 PM
|
|
|
> Now command: > > mame sg1000 -window ldrun > > starts the Lode Runner game using SG1000.
Right, which is one reason the software list system exists: bare ROMs, especially for cartridge systems, don't include or have incomplete metadata about the mapper.
In this case it seems like it is detecting the cartridge type correctly but something goes wrong setting it up.
|
|
|