Atari 5200: New version of Atari800 (Beta): two triggers (Moon Patrol!!!), hat start and exit buttons
-
@hansolo77 said in Atari 5200: New version of Atari800 (Beta): two triggers (Moon Patrol!!!), hat start and exit buttons:
Wow this sucks. I've still not bothered setting up Atari 5200 and 800 yet because I thought it was still "in the works". Now, to see somebody try it again fresh from the start and having trouble, I'm still thinking to wait. Why is this system(s) so hard to get set up?
Well... I am trying to re-setup something I put together over a year ago with the Atari800 emulator that doesn't seem to be playing nicely with the RetroPie 4.4 update. It seems that futurechild wasn't even upgrading that emulator anymore and has moved on to kat5200 now.
You might have better luck with kat5200 if you wanted to try that out. I'll eventually end up looking at it, but I'm just super disappointed that my Atari800 setup I worked so long on and nearly perfected no longer works. My brother will be too when I have to tell him.
-
@darknior said in Atari 5200: New version of Atari800 (Beta): two triggers (Moon Patrol!!!), hat start and exit buttons:
@used2berx If you can do it it will be really excellent :)
Like i already tell you, we can work together.All the work you will do will never be lost because we can take the emulator source code and compile it on the new Retropie 4.4
For my part i don't change my Retropie for the moment, i stand that all was 100% stable and compatible.
Because i must recompile my OpenBOR, Amiga, Solarus and some others ...I'll let you know man. I'm starting to get to the end of what I can do with the NES/FDS work I'm doing without getting a Pi 3 and upgrading my entire PC. I still need to test all the games on a Pi 3 and make an emulators.cfg that will launch all the games in the desired emulator for that platform, and I need a better computer so I can make all the HD videos. Once I get all this synopsis/gamelist stuff out of the way, those two things are really all I have left to do for Rx2.0, but they're huge things and will cost me a lot of money to get started...
Long story short, I should be able to focus a bit of my free time on this situation soon. :)
-
Wasn't 4.4 designed around the Stretch OS? Maybe hthat's where the compatibility lies. Regardless, I'm eager to set those systems up because it's what I grew up with. But I'll still delay going through all the troubles. I'm on vacation right now, and would really hate to have to go through all of the heartache and waste it.
Good luck though. I'll keep watching this thread to see if you make any positive progress!
-
@used2berx said in Atari 5200: New version of Atari800 (Beta): two triggers (Moon Patrol!!!), hat start and exit buttons:
I wonder why it would stop working? @mediamogul says he uses atari800. I'd think he'd at least be using your build that has all of those sweet upgrades for the controls instead of the standard one.
Actually, I'm just using the plain vanilla Atari800. Every game and control scheme works very well, including those that need analog control and/or a second action button. Something important to note however, is that I have saved all my games through the Atari800 GUI with the appropriate headers, so they load automatically when launched from Emulation Station. Also, I make use of external key-mapping to take full advantage of Atari800's versatile control schemes.
I've been running multi-emulation setups for years and have always found it imperative to employ a key-mapping solution of some sort. Otherwise, you're at the mercy of whatever tools are made available by individual software developers. For example, Atari800 emulates every possible control scheme you'll need to play any game in the Atari 8-bit family library, but the actual ability to map is somewhat lacking.
-
@mediamogul said in Atari 5200: New version of Atari800 (Beta): two triggers (Moon Patrol!!!), hat start and exit buttons:
@used2berx said in Atari 5200: New version of Atari800 (Beta): two triggers (Moon Patrol!!!), hat start and exit buttons:
I wonder why it would stop working? @mediamogul says he uses atari800. I'd think he'd at least be using your build that has all of those sweet upgrades for the controls instead of the standard one.
Actually, I'm just using the plain vanilla Atari800. Every game and control scheme works very well, including those that need analog control and/or a second action button. Something important to note however, is that I have saved all my games through the Atari800 GUI with the appropriate headers, so they load automatically when launched from Emulation Station. Also, I make use of external key-mapping to take full advantage of Atari800's versatile control schemes.
I've been running multi-emulation setups for years and have always found it imperative to employ a key-mapping solution of some sort. Otherwise, you're at the mercy of whatever tools are made available by individual software developers. For example, Atari800 emulates every possible control scheme you'll need to play any game in the Atari 8-bit family library, but the actual ability to map is somewhat lacking.
Yeah. I made headers for all of them using Alterra (at least I think that was the name). I wrote a guide on how to do it here in the forums somewhere.
Once I employed the joystick fixes that were done by the OP and @future.child, I made a few configs that most of the games point to, and then I had about 15 games that needed individual controller configs. This way I was able to get every game to more or less use the exact same buttons to do the exact same thing.
My spreadsheet for the control configs can be found here: https://docs.google.com/spreadsheets/d/1VhS4f3RFCzkPeOpyVYaWno3-Ls0EjJnj_I9WjKfvnuI/edit#gid=0
This was really a lot of work. I'm not very happy right now that it seems to be all for nothing.
Unfortunately, I have other things running that aren't going to be done for quite a while, so I can't go back in and see for sure if everything is set up right.
-
@used2berx said in Atari 5200: New version of Atari800 (Beta): two triggers (Moon Patrol!!!), hat start and exit buttons:
This was really a lot of work. I'm not very happy right now that it seems to be all for nothing.
I know that movie.
-
@used2berx i just loaded a fresh install of retropie-4.4 to see if my binary still works...... i can now confirm it does not.
A re-compile from source exits with message:
Assertion `EGL_FALSE != result' failed
.....
Presumably i am missing some dependency (sdl ?) , If i can get around to it i will see how to get this fixed. -
@future-child Is the source the one available at https://github.com/jfroco/atari800-rpi ?
EDIT: nevermind, I assume it's actually your fork from https://github.com/futurechild/atari800-rpi/ -
@mitu It's the one at https://github.com/futurechild/atari800-rpi
-
@future-child said in Atari 5200: New version of Atari800 (Beta): two triggers (Moon Patrol!!!), hat start and exit buttons:
Presumably i am missing some dependency (sdl ?) , If i can get around to it i will see how to get this fixed.
Sometime last year (October ?), the RPI GLES libraries have been renamed to accommodate both the open source Mesa EGL API and the Broadcom original libraries. In short, the
libEGL
andlibGLESv2
libraries have been renamed tolibbrcmEGL
andlibbrcmGLESv2
.In order to compile on Stretch (or a recent version or Jessie, since this update has also happened there), you just need to replace in
configure.ac
[...] A8_NEED_LIB(GLESv2) A8_NEED_LIB(EGL) [...]
with
A8_NEED_LIB(brcmGLESv2) A8_NEED_LIB(brcmEGL)
and then run
autoreconf -v
and./configure --target=rpi
as normal.Alternatively, you can patch the binary with
patchelf
(you need to install it on Stretch) and run something similar to https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/helpers.sh#L1288 over your old binary. -
@mitu Thanks for the info, i was not yet aware of the name changes, i'll have a look at it sometime tomorrow.
-
@future-child said in Atari 5200: New version of Atari800 (Beta): two triggers (Moon Patrol!!!), hat start and exit buttons:
@used2berx i just loaded a fresh install of retropie-4.4 to see if my binary still works...... i can now confirm it does not.
A re-compile from source exits with message:
Assertion `EGL_FALSE != result' failed
.....
Presumably i am missing some dependency (sdl ?) , If i can get around to it i will see how to get this fixed.I do appreciate your time looking into this and letting me know about it man. The other code that's been tying me up the last day and a half should finish running sometime this evening. You just saved me a lot of hair pulling and gnashing of teeth. :)
Thanks for trying to get it working for me again. It won't keep me from looking into the kat5200 if you feel that's a better option in the future, but I'm on a clock here. My bro's out of town till the end of the week and I've got a lot of real world stuff going on this week too, so unfortunately after tonight my time with his new Pi build will be very limited. I will try having everything else running the best I can tonight in hopes you can come up with something.
-
@used2berx I updated the binary for retopie-4.4 (thanks to @mitu for saving me the time to investigate the cause).
I now have a binary for the older retropie versions as well as for the current 4.4 (i named it atari800_4.4) on github.to install :
cd /opt/retropie/emulators/atari800/bin/ sudo cp atari800 atari800.original sudo wget https://github.com/futurechild/atari800-rpi/blob/master/atari800_4.4?raw=true -O atari800 sudo chmod +x atari800
-
SWEET!!!!
My code won't be done running until sometime tonight, but when I get everything setup and re-install your new binary I'll let you know how it goes. Finger's crossed. :)
Thanks a lot for taking the time to do this.
-
Thanks for doing that man. It's working now.
I'm going to have to re-configure a bunch of stuff, but it's actually not bad. The emulators.cfg file that stores the launch info no longer seems to use the number string indicating the CRC and path, which is great if anybody wants to use my setup on their own games. Much better shot at it working this way.
It completely ignores the original entries (example):
af3162bdecbe06ab968cd407f271622b7 = "Centipede"
And it makes a new entry (example): atari5200_Centipede = "Centipede"
It may have been doing this as early as 4.3, but when I originally did this work on the 5200/800 I was using either 4.1 or 4.2.
Man... I'm glad I made that spreadsheet. It will be super easy to pick which config to use for each game now. :)
My only concern is the dual joystick thing. I don't remember how everything worked, and I've only tried a few games so far, but the second player on Ballblazer just wanders around aimlessly. That might have been how it used to do it if you only used one controller. I don't have time to dive into it right now, but I just wanted to let you know it worked and that I'll be messing around with it when I get time this week.
Thanks again.
-
@mediamogul said in Atari 5200: New version of Atari800 (Beta): two triggers (Moon Patrol!!!), hat start and exit buttons:
@used2berx said in Atari 5200: New version of Atari800 (Beta): two triggers (Moon Patrol!!!), hat start and exit buttons:
I wonder why it would stop working? @mediamogul says he uses atari800. I'd think he'd at least be using your build that has all of those sweet upgrades for the controls instead of the standard one.
Actually, I'm just using the plain vanilla Atari800. Every game and control scheme works very well, including those that need analog control and/or a second action button. Something important to note however, is that I have saved all my games through the Atari800 GUI with the appropriate headers, so they load automatically when launched from Emulation Station. Also, I make use of external key-mapping to take full advantage of Atari800's versatile control schemes.
I've been running multi-emulation setups for years and have always found it imperative to employ a key-mapping solution of some sort. Otherwise, you're at the mercy of whatever tools are made available by individual software developers. For example, Atari800 emulates every possible control scheme you'll need to play any game in the Atari 8-bit family library, but the actual ability to map is somewhat lacking.
I'm curious. I play (quite frequently) few old games for Atari 800/XL/XE home computers, which were using 2nd joystick for additional control.
To name them:- Spy Hunter - 2nd joystick fire button deployed smoke or oil
- Cave Lord - 2nd joystick directions controlled direction for the shooting
- Druid - 2nd joystick allowed to control Golem.
I know most of you guys are talking Atari 5200 but since it shares same emulator as Atari 8-bit computers, I wonder if it is possible to map controls of the 2nd Atari joystick directions to the right analog stick and fire to one of other buttons using Atari800 emulator?
-
@adriansos666 Yes, one of the modifications was to allow the physical controller 1 second axis to control the virtual controller 2 axis.
I'm not sure if controlling virtual controller 2 button by physical controller 1 was implemented (i think it wasn't).
A5200 and A800 both use the same configuration options. -
Mapping the second player joystick and its action/keypad buttons to the player one joystick through external key-mapping is also possible.
I'm very glad to see this modified version of Atari800 back on its feet again. Are there any plans to to continue development? Also, while I know a few of the mods are RetroPie-specific, do you plan to send any of the changes to the main project for consideration?
-
@mediamogul I was not planning on continuing active development for lack of time, mainly because i ran into a few snags which would require an almost complete redesign (i.e. changing to a event driven scheme instead of polling, analog axis sensitivity/linearity).
I anyone has specific issues (like the incompatibility with retropie-4.4) i'll try to find a fix for it though.I welcome anyone to fork or use the modifications as inspiration to further improve the lr-atari800 port, of which i'm not sure if it's actively being maintained as the last commit was 2 months ago.
As kat5200 serves all my peek and poke needs, i am quite happy using it instead of atari800.
-
Just an FYI bud...
2 Players works fine. I just started up Ballblazer with both controllers in there and there weren't any problems. I was thinking that was the case, but it's been so long since I did all of this that I couldn't remember how everything worked.
I'm going through alphabetically and setting up every game with the configs that I had made and testing out all the functions (for 2 players if the game was more than 1 player too).
Not sure if I'll get to Space Dungeon or Robotron to verify that the 1 controller fix you put in works, but I'll let you know as soon as I do.
Thanks again. :)
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.