Kat5200 installer (experimental)
-
@used2berx The old method works by creating a copy of the database (with custom config) and moving that copy back into place by the runcommand based on rom-crc.
By having all the data in one single database the runcommand no longer needs to copy anything.
The emulator itself will load the settings you chose in the "launcher" each time you launch the rom.so the
cp -f /opt/retropie/configs/atari5200/config1.db3 /home/pi/.kat5200/kat5200.db3 ;
part can be removed from the runcommand. -
@future-child Oh... so do you mean that "is no longer needed" is what I was asking about in the previous post?
The new method is the CRC based one that you explained 7 hours ago, correct?
-
@used2berx Yes, you no longer need to specify different runcommands like :
config1 = "cp -f /opt/retropie/configs/atari5200/config1.db3 /home/pi/.kat5200/kat5200.db3 ;/usr/loc/bin/kat5200 %ROM%"
to have settings configured per rom, you can just configure your settings in the emulator itself for each rom crc.
-
@future-child FYI, ZeroJay's installation of Gearboy currently isn't working in his experimental packages.
I'm not sure if this is or isn't related to the 4.4 upgrade as well as the previous issue with Atari800 or not. It keeps saying Gearboy.bin not found.
I've been tinkering with the gearboy.sh script and I'm getting really close to getting a full install. Before the script failed almost immediately, but now I get around 9 minutes and 12 seconds until a failure occurs.
If and when I get a successful install, I will upload the altered script and he can look into it if he wants. I've already removed some if/else statements, so I'm pretty much breaking the code and trial and erroring it and seeing if I can get it through.
EDIT: No dice. I've run out of tricks I can see in the .sh file. I'm close, but just can't get it to finish installing.
-
@used2berx @zerojay This is because the gearboy git has updated it's filepaths.
I got it installed by changing the following inRetroPie-Setup/scriptmodules/emulators/gearboy.sh
cd "$md_build/platforms/raspberrypi/Gearboy"
intocd "$md_build/platforms/raspberrypi/Gearboy"
on lines 33 and 35,strip "gearboy.bin"
intostrip "gearboy"
on line 40md_ret_require="$md_build/platforms/raspberrypi/Gearboy/gearboy.bin"
into
md_ret_require="$md_build/platforms/raspberrypi/Gearboy/gearboy"
on lines 42 and 44cp "$md_build/platforms/raspberrypi/Gearboy/gearboy.bin" "$md_inst/gearboy"
into
cp "$md_build/platforms/raspberrypi/gearboy" "$md_inst/gearboy"
on lines 50 and 52.It would maybe also be a good idea to also add an ElseIf for retropie 4.4 (Raspbian 9), so the binaries specific for raspi3 can be built.
update: i created a pull request for this , so these (when accepted) changes should be updated in zerojay's extra's in due time.
-
@future-child Thanks :)
I didn't backup the script before I bastardized it, so I'll just wait for the upgrade and re-do all the steps to get his extras when it's done.
The Pi Zero is kind of weird... With one of the available GBA emulators, I don't really seem to have any issues playing any GBA games on it, but with the existing libretro GBC emulators we have, there is quite a lot of slowdown playing a lot of GBC games, mostly related to the audio.
I was hoping to give gearboy a try before I get this back to my brother. Right now I'm going through the process of testing a few games from each system to determine if I'm going to keep them in there or not. It seems silly to keep GBA while getting rid of GBC. :)
-
@used2berx while we're completely off-topic:
for now you can find the updated script here
the following command should do itwget -N -O /home/pi/RetroPie-Setup/scriptmodules/emulators/gearboy.sh https://raw.githubusercontent.com/futurechild/RetroPie-Extra/361ba6ba58a94bed3f2d845a2546986aba3a35b3/scriptmodules/emulators/gearboy.sh
-
@future-child Thanks man. :)
Sorry for hijacking the thread here. Figured I'd mention the problem since your OP was the reason I found out about the extras. I'd have PM'd you, but yanno.... ;)
-
@future-child said in Kat5200 installer (experimental):
update: i created a pull request for this , so these (when accepted) changes should be updated in zerojay's extra's in due time.
Done.
-
@future-child First, big thanks for all your hard work on this project. I know it is mostly about A5200 emulation, but since kat5200 emulates A800/XL/XE it is nice to use it also to run games for those machines. Why to do that since there are other A800 emulaotrs already in the RetroPie? Because 4 player support fo Atari 800. Sweet part is that I was able to run script and have it running on both Pi and Ubuntu x64. So I have added simple line to my Atari 800 emulators.cfg:
kat800 = "/opt/retropie/emulators/kat5200/bin/kat5200 -machine_type 800 %ROM%" and voila! Now can play MULE and Maze War 4-players!
Note, that I had to modify emulators.cfg for A5200 by adding -machine_type 5200 argument since running A800 game would modify kat's config to 800. Any chance you could add this line to the future version of the installation script? -
@adriansos666 My mainreason for kat5200 is the support for analog controls and possibility to save per rom configuration.
I did not add kat5200 to the atari800 emulators.cfg because atari800 is more then adequate (in some points maybe even better) to handle this system.
But adding an entry to the emulators.cfg is easy enough to do for those not satisfied with atari800.
I've added the instructions to my documentation for those that want it.Zerojay makes his own decisions for his restopie extra's scripts , if you want changes to emulators you can contact him as well but last i read he was not all too eager supporting retropie 4.4 (stretch).
-
@future-child I see. No problem. I know how to add it and as I understand A800 is just a nice bonus. Thank you.
-
@future-child said in Kat5200 installer (experimental):
Zerojay makes his own decisions for his restopie extra's scripts , if you want changes to emulators you can contact him as well but last i read he was not all too eager supporting retropie 4.4 (stretch).
I'm only intending on supporting stretch, however it looks like stretch broke a lot of stuff in my repo and no one's figured out how to fix those issues yet.
-
@zerojay said in Kat5200 installer (experimental):
Stretch broke a lot of stuff in my repo and no one's figured out how to fix those issues yet.
Is here a topic referencing this ? Do you have any examples for packages that are broken on Stretch ?
-
-
Not that I know of. It looks like an issue with EGL and the glshim program I was using for 3d games.
-
@adriansos666 could you please share MD5 checksum for BIOS and M.U.L.E file you used? i tried many OSA and OSB files, multiple M.U.L.E. .atr files and kat5200 always hangs on start screen with just rainbow MULE graphics and moving sprites but no text at all at the bottom (no option for select number of players and game type selection is also not visible). same .atr under atari800/atari800-lr seems to be working good but from what i see those two emulators do not support more than 2 players and i need 4 player support.
-
@aeon_flux
I have the following checksums on kat5200-0.8.1 where M.U.L.E does what you describe, same checksums with Atari800 do work correct.5200.rom md5: 281F20EA4320404EC820FB7EC0693B38 atari800.rom md5: C07454070635C73B4BFF043122D31344 ATARIBAS.ROM md5: 0BAC0C6A50104045D902DF4503A4C30B ATARIOSA.ROM md5: EB1F32F5D9F382DB1BBFB8D7F9CB343A ATARIOSB.ROM md5: A3E8D617C95D08031FE1B20D541434B2 ATARIXL.ROM md5: 06DAAC977823773A3EEA3422FD26A703 M.U.L.E.atr md5: C06EF1C6223A5A32600C3FAB3EE5C02F
screenshot:
Seems like an emulator bug of some kind,
you can contact the autor of kat5200 here if you wish.i have contacted the author about this, if i receive a reply i will post an update.I've seen some code relating to
multi tapMultiJoy4 support in atari800 which would indicate support for four controllers, i'll see if i can find out if it actually works. -
@future-child i'm getting same screen as you attached. no text for game/number of players selection + sprite of plot is broken. it looks emulation is not working good for mule on kat5200. found single file (.com) version but it behaves same way as original disk image which is using 2 stage loading (.atr)
i tried atari800 as well with same ROM and game image - when i setup it for 800/OSA machine it shows option for 4 players on main screen but only two controllers are detected. i tried also multijoy4 but it is not detecting any controllers (not even single one).
-
@aeon_flux browsing in the source code of atari800 i came upon two comments indicating there should be support for four joysticks in atari800:
2015-06-02 Petr Stehlik <pstehlik@sophics.cz> * sdl/input.c: preliminary support for four real joysticks 2018-05-01 Petr Stehlik <pstehlik@sophics.cz> * implemented joyhat support for all four real joysticks (command line, configuration file and also the F1 TUI configuration). Original patch from Michal "Baktra" Kalous, with my fixes and clean up.
There is also (sdl) code initializing/reading the four joysticks but i am unable to find any code to configure settings for the extra two.
I am not able to test this myself as i have no additional controllers, you may want to try compiling the latest version of atari800 and start it with parameters
-joy0hat -joy1hat -joy2hat -joy3hat
added to the runcommand (or addSDL_JOY_2_USE_HAT=TRUE
andSDL_JOY_3_USE_HAT=TRUE
to the config file) and see what happens.
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.