You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I successfully compiled the code to the web using emscripten. See the code below. The Nintendo Game and Watch Mickey and Donald game loads fine (plain not artwork). But how do I add the artwork to the script? I have the artwork file. How to configure in this script.
`
<title>Micky and Donald</title>
<script type="text/javascript" src="es6-promise.js"></script>
<script type="text/javascript" src="browserfs.min.js"></script>
<script type="text/javascript" src="loader.js"></script>
<script type="text/javascript">
var emulator = new Emulator(document.querySelector("#canvas"),
null,
new JSMAMELoader(JSMAMELoader.driver("gnw_mickdon"),
JSMAMELoader.nativeResolution(256, 256),
JSMAMELoader.scale(3),
JSMAMELoader.emulatorJS("gw.js"),
JSMAMELoader.mountFile("gnw_mickdon.zip",
JSMAMELoader.fetchFile("Game File",
"gnw_mickdon.zip"))))
emulator.start({ waitAfterDownloading: true });
</script>
`
The text was updated successfully, but these errors were encountered:
rocheston
changed the title
How to add artwork file in mame web
How to add artwork file in mame web (Game and Watch)
Feb 8, 2022
This is more of an emularity support question but to get this to work, make sure to also load the artwork and add arguments to MAME so that the artwork can be found.
Artwork can be loaded with something like this IIRC:
Please don’t abuse the issue tracker for support requests. Try asking somewhere like r/MAME on reddit, #mame on Libera IRC, or perhaps https://forum.mamedev.org/ or https://forums.bannister.org/ (if you can get past the registration process).
I successfully compiled the code to the web using emscripten. See the code below. The Nintendo Game and Watch Mickey and Donald game loads fine (plain not artwork). But how do I add the artwork to the script? I have the artwork file. How to configure in this script.
`
<title>Micky and Donald</title> <script type="text/javascript" src="es6-promise.js"></script> <script type="text/javascript" src="browserfs.min.js"></script> <script type="text/javascript" src="loader.js"></script> <script type="text/javascript"> var emulator = new Emulator(document.querySelector("#canvas"), null, new JSMAMELoader(JSMAMELoader.driver("gnw_mickdon"), JSMAMELoader.nativeResolution(256, 256), JSMAMELoader.scale(3), JSMAMELoader.emulatorJS("gw.js"), JSMAMELoader.mountFile("gnw_mickdon.zip", JSMAMELoader.fetchFile("Game File", "gnw_mickdon.zip")))) emulator.start({ waitAfterDownloading: true }); </script> `The text was updated successfully, but these errors were encountered: