Kat5200 installer (experimental)
-
@future-child just kat5200
-
@adriansos666 how do you mean "just kat5200" ?
If it was a question about what emulator the script installs, then yes it's just kat5200 (and a few dependencies), however it's been modified a bit.
This version has been modified to have the debug hotkey (F1) disabled and controller START + SELECT harcoded to exit the emulator.If you meant something else, please enlighten me.
-
@future-child Sorry, originally I missread your post. What
I ment was that I did reinstall kat5200 only. I didn't reinstall whole Retropie. -
@future-child Hey bud,
I finally got this installed and working. I had to remove it and re-install it. Then I had to hook up the keyboard/mouse to properly configure it for the first time and find the roms/bios files. It only took about a minute on the PI Zero instead of the hour or more before a failure that occurred when I didn't specify the directories.
I was wondering how the configuration files would work for this system though? I'd like to map out and configure the controls the same way I was able to do them for the Atari800 and I reflected in the spreadsheet. https://docs.google.com/spreadsheets/d/1VhS4f3RFCzkPeOpyVYaWno3-Ls0EjJnj_I9WjKfvnuI/edit#gid=0
I'm not sure if I'm ever going to re-configure all of the games, but I did want to try to configure the ones that we never got working 100% in Atari800, such as Pole Position and Kaboom!
Can I use the same templates that we used for Atari800, or do you have a sample kat5200 controller template that I could use to write the new configurations from?
Would this still be the way to get the alternate configurations to work?:
At this point the emulator does not support specifying config files.
Future versions should have this option according to it's developer.
The following is a way to get around this until a new version is available:
edit emulators.cfg and make a new entry with changed emulator name and config file name (i.e. add the following line):config1 = "cp -f /opt/retropie/configs/atari5200/config1.db3 /home/pi/.kat5200/kat5200.db3 ;/usr/loc/bin/kat5200 %ROM%"
-
@used2berx This method , while it still works, is no longer needed.
You can save your settings per rom (crc based) in the ui.
After launching the rom, press 'escape'to enter the menu.
Select 'File'-> 'Launcher' and on the 'Profiles' tab de-select 'Use default' , choose the desired profile and press 'OK'
Next time it will launch the rom with the saved settings. -
@future-child You said this method works, but "is no longer needed".
Why is it no longer needed? If I don't use it, the emulator only launches the default config no matter what game I choose. I'm just confused by the line where you said this wasn't needed anymore.
-
@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 ?
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.