db48x / emularity

easily embed emulators
GNU General Public License v3.0
620 stars 112 forks source link

Mame Emularity Artwork. #95

Open atari2600argentino opened 2 years ago

atari2600argentino commented 2 years ago

Hi!! I'm looking for documentation, sorry but i must ask, please if this question do not belongs here just delete it.

Is there a way of adding Artwork to Mame Emularity games?

thanks!!

textfiles commented 1 year ago

Yes. The way we pull in MAME stuff in the .zip, you can actually add a artwork/ directory to the .zip and it will work.

atari2600argentino commented 2 months ago

Yes. The way we pull in MAME stuff in the .zip, you can actually add a artwork/ directory to the .zip and it will work.

please help that did not work. 1) Inside the zip rom gnw_popeye with an artwork directory PUT INSIDE the artwork zip file with the same name of the game gnw_popeye DIDN'T WORK.

2) so instead of using an artwork zip i dropped all the artwork files inside the artwork directory without gnw_popeye folder DIDN'T WORK.

3) did the same like in step 2 but dropped all artwork files inside a gnw_popeye folder DIDN'T WORK.

i'm not compiling this changes just changing inside the rom/mount file inside the examples folder .

any clue? thanks.

db48x commented 2 months ago

I’m not an expert on MAME. You should consult the MAME documentation for details on how it looks for appropriate artwork. Also, you might have better luck if you first install MAME on your computer and get your rom and artwork to work correctly there, then try the same with Emularity. Once it works with MAME on your computer it should just be a simple matter of zipping up the necessary files and giving that zip file to Emularity. Good luck‌! :)

atari2600argentino commented 2 months ago

I’m not an expert on MAME. You should consult the MAME documentation for details on how it looks for appropriate artwork. Also, you might have better luck if you first install MAME on your computer and get your rom and artwork to work correctly there, then try the same with Emularity. Once it works with MAME on your computer it should just be a simple matter of zipping up the necessary files and giving that zip file to Emularity. Good luck‌! :)

hi thanks for your fast reply!!

I'M TRYING TO MAKE GAME AND WATCH WIDESCREEN POPEYE ARTWORK TO WORK

may be there is some difference, this is not just an arcade. this have in the interface emulated buttons that moves when you press left and right

i'm an old old long term linux command line mame user, the artwork and game works fine in my computer and i use the same mame version compiled by me to compile with emscripten the game for emularity, online game works but not artwork, can artwork be added to the artwork directory after compiling? are there any guide? are there any rom using artwork online with emularity? can you please send me an url to that? i couldn't find any.

i reppeat: the game works perfectly online with emularity but artwork does not loads.

please help. thanks!

atari2600argentino commented 2 months ago

mmmm.... i have tried with arcade games and there is no way to make artwork to work, put all in the artwork directory, nope, then in the rom zip with an artwork directory inside and nop.....

i will check the emularity version but i think there is other issue.... is there needed to add a path to artwork in the conf file?

var emulator = new Emulator(document.querySelector("#canvas"), null, new MAMELoader(MAMELoader.driver("1943"), MAMELoader.nativeResolution(224, 256), MAMELoader.scale(3), MAMELoader.emulatorJS("emulators/mess1943.js"), MAMELoader.mountFile("1943.zip", MAMELoader.fetchFile("Game File", "examples/1943.zip")))) emulator.start({ waitAfterDownloading: true });