linuxserver / emulatorjs

Self hosted web based retro emulation front end with rom and art management.
409 stars 31 forks source link

Add Atari5200 #120

Closed gr33k closed 8 months ago

gr33k commented 8 months ago

I was able to get Atari5200 working (for the most part).

I have it scanning the roms and creating the config file, but haven't got it to open the Rom Management page for it (where you identify/download art/add config etc - if this is an easy fix please suggest where I may need to tweak to attempt auto downloading of art!)

Also, haven't had the time to see why the controls aren't working yet (tested mobile on-screen controls and desktop keyboard)

Wanted to post the files here in case you'd like to add :)

a5200_libretro.zip

Added this to index.js: {'name': 'atari5200', 'video_position': 'left:11.5vw;top:31.5vh;width:36vw;height:43vh;'}, indexa5200.zip UPDATE: https://github.com/linuxserver/emulatorjs/commit/146b3c20c50742d05db0938a1f2dcd8c7d6bbe2a

(UPDATED to include bios) Sample Config file scan generated: https://paste.thec0de.com/?aa6f421bf38929f3#AhwdX2xDbApi8LLLDqKJPrTJTTovbRa5ZhFaDGJcrAkh

EDIT: Turns out you don't NEED the bios, but it seems to be 'better' (arguably) if you DO have it. Attaching it here (5200.rom) as zip. 5200.zip

UPDATE: Good source for Atari5200 wallpapers and other cool stuff (I'm not much of an artist guy myself): https://www.screenscraper.fr/systemeinfos.php?plateforme=40&action=onglet&zone=systemeinfosmedias

Logo for Main also added (need to get video and a few other things) atari5200

gr33k commented 8 months ago

This is the error I see in the inspector when attempting to click atari5200 roms under "Rom Management" Screen Shot 2024-01-09 at 6 12 30 PM

thelamer commented 8 months ago

Will take me a bit for new systems I just got time last weekend for rebuilding the cores and cleaning up some bugs.

webysther commented 8 months ago

I was able to get Atari5200 working (for the most part).

I have it scanning the roms and creating the config file, but haven't got it to open the Rom Management page for it (where you identify/download art/add config etc - if this is an easy fix please suggest where I may need to tweak to attempt auto downloading of art!)

Also, haven't had the time to see why the controls aren't working yet (tested mobile on-screen controls and desktop keyboard)

Wanted to post the files here in case you'd like to add :)

a5200_libretro.zip

Added this to index.js: {'name': 'atari5200', 'video_position': 'left:11.5vw;top:31.5vh;width:36vw;height:43vh;'}, indexa5200.zip

(UPDATED to include bios) Sample Config file scan generated: https://paste.thec0de.com/?aa6f421bf38929f3#AhwdX2xDbApi8LLLDqKJPrTJTTovbRa5ZhFaDGJcrAkh

EDIT: Turns out you don't NEED the bios, but it seems to be 'better' (arguably) if you DO have it. Attaching it here (5200.rom) as zip. 5200.zip

Logo for Main also added (need to get video and a few other things) atari5200

Hi, any chance to open a PR for my reference? I want to add js-dos and another emulator too and want to now the step-by-step. @thelamer maybe in the future add a step-by-step to add a new emulator, I want to test some.

gr33k commented 8 months ago

I am not sure how to do a PR for this project personally. I can upload the files with changes but I don't have anything syncing up with my own code to do more than share my mods (let alone a modified docker image).

A how to would be nice if possible! I'd like to get ScummVM (This repo is archived now but great info https://github.com/juj/emscripten-scummvm - I think we can just build it from the main repo now) and a few others working. @webysther - you mention Dosbox - there are a few emscripten dosbox builds out there (some with MT-32 kinda working - i.e. https://github.com/joncampbell123/dosbox-x).

webysther commented 8 months ago

I am not sure how to do a PR for this project personally. I can upload the files with changes but I don't have anything syncing up with my own code to do more than share my mods (let alone a modified docker image).

A how to would be nice if possible! I'd like to get ScummVM (This repo is archived now but great info https://github.com/juj/emscripten-scummvm - I think we can just build it from the main repo now) and a few others working. @webysther - you mention Dosbox - there are a few emscripten dosbox builds out there (some with MT-32 kinda working - i.e. https://github.com/joncampbell123/dosbox-x).

DOS get pretty solid on web now, archive.org have a emulator too and the js-dos pretty stable now, lots of games that my wife play are from DOS, normally I get the port for other platform but normally the port s*cks, will the a great to have DOS on the project.

gr33k commented 8 months ago

Atari5200 is working great but no mapped controls yet and I can't figure out why I can't access the Rom Management screen. The console shows an error despite that it scans, hashes, and builds the config files successfully. The only thing I can't do is try to download the assets :( Screenshot 2024-01-13 at 6 17 29 PM

thelamer commented 8 months ago

atari5200 support is added with https://github.com/linuxserver/emulatorjs/commit/fbcb869418816534d8424dfbd6a16039d18a84c7, this is in the latest image.