jsmess_set_mastervolume is not defined + MAME exception: Unknown slot option '""' in slot 'sl4'
The instructions in example_computer.html didn't work at first, with error
ReferenceError: jsmess_set_mastervolume is not defined
So I replaced messnapple2e.js with a version of mameapple2e.js compiled from the current build of MAME with emscripten, and got a different error
MAME exception: Unknown slot option '""' in slot 'sl4'
I changed the line
JSMESSLoader.extraArgs(["-sl6", "diskii", "-sl4", '""'])))
to
JSMESSLoader.extraArgs(["-sl6", "diskii"])))
After that, the machine successfully started and I was able to play HANG PERSON in Beagle Box.
console log for the first attempt with the copy of messnapple2e from git annex: console-1.txt
console log for the second attempt with a fresh compile of mameapple2e: console-2.txt
console log for successful start: console-successful.txt
I have this same error, but with pacman. How do I recompile to get it working? I did the 'compile mame' from source, and followed emularity examples, but I get this error when trying to run pacman.
I don't remember exactly, but I think I deleted a pair of arguments like "-sl4", '""' in the array for the loader as above. I didn't recompile anything.
If you have the exact same error, then you could try searching for , "-sl4", '""' in the compiled Javascript files and deleting it from whatever file it's in (after making a backup in case it doesn't work, of course)?