RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Amiga Integration Branch (fs-uae)

    Scheduled Pinned Locked Moved Ideas and Development
    fs-uae
    19 Posts 9 Posters 8.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • vbsV
      vbs
      last edited by vbs

      I gave integrating fs-uae a try. It shows Amiga games in the regular games list and they can be run directly from ES. I made an (experimental) branch here:
      https://github.com/verybadsoldier/RetroPie-Setup/tree/fs-uae-integration

      I am quite new to this so it would be great if someone could review it please? I was not sure at some points what the best way would be so I just gave it a try.
      Also if someone would like to give it a try it would be great to get some feedback. I am sure there is lots of stuff to tweak.

      Support of multi-disk games is currently missing! When starting disk 1 the start script should figure out the filenames of the other discs and automatically hand them over to fs-uae. I will try to hack a bash script that would do that.
      I am not very good at linux shell programming, having a Python startscript would not be ok I guess? Everything I saw so far in Retropie seemed bash-based.

      Cheers!

      1 Reply Last reply Reply Quote 1
      • T
        tien_huu_1408
        last edited by

        Thanks a lot for your work. How to use it step by step?

        vbsV 1 Reply Last reply Reply Quote 0
        • vbsV
          vbs @tien_huu_1408
          last edited by

          @tien_huu_1408
          I think the easiest (which also does not mess with your current git checkout) is:

          • Uninstall stock fs-uae using retropie_setup.sh
          • Download this file and this directory and place it in your directory RetroPie-Setup/fs-uae-integration/scriptmodules/emulators (replaces fs-uae.sh, the directory is new)
            https://raw.githubusercontent.com/verybadsoldier/RetroPie-Setup/fs-uae-integration/scriptmodules/emulators/fs-uae.sh
            https://github.com/verybadsoldier/RetroPie-Setup/tree/fs-uae-integration/scriptmodules/emulators/fs-uae
          • Install fs-uae regularly using retropie_setup.sh

          Keep in mind that fs-uae is currently not available on ARM platforms.

          A 1 Reply Last reply Reply Quote 0
          • T
            tien_huu_1408
            last edited by

            It means it cannot play on Raspberry Pi 3?

            1 Reply Last reply Reply Quote 0
            • vbsV
              vbs
              last edited by

              Yes, I am using x86 for this.

              1 Reply Last reply Reply Quote 0
              • vbsV
                vbs
                last edited by

                @Devs
                Would you accept a python module for parsing the disc filenames needed to properly handle Amiga multi disc games? I honestly feel incapable of coding it in bash. At least not in a way that is clean, robust und reusable.

                I have seen there actually are already python modules contained in Retropie:

                root@vbs-XS35:/home/vbs/RetroPie-Setup# find -name '*.py'
                ./scriptmodules/supplementary/runcommand/joy2key.py
                ./scriptmodules/supplementary/bluetooth/bluezutils.py
                
                1 Reply Last reply Reply Quote 0
                • T
                  tronkyfran
                  last edited by

                  Thanks a lot for your effort, I've been waiting for this a long time!!! :D

                  BuZzB 1 Reply Last reply Reply Quote 0
                  • BuZzB
                    BuZz administrators
                    last edited by BuZz

                    I would prefer not to use python for launching - joy2key is written in python because it is not possible to do what it does in bash (or sensible - it's a standalone app) - and the other python script is a 3rd party tool. I actually have some code in progress to launching games on uae4arm directly, it's just waiting for me to finish the multiple disk code. Once it is done I can adapt it for fs-uae or you could use part of it etc.

                    To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                    1 Reply Last reply Reply Quote 0
                    • BuZzB
                      BuZz administrators @tronkyfran
                      last edited by

                      @tronkyfran fs-uae was only added a day or two ago :-)

                      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                      1 Reply Last reply Reply Quote 0
                      • vbsV
                        vbs
                        last edited by

                        Ok, I hacked some bash code so multi-disk games should now be possible (updated in the branch in first post). It detects now if the initial filename contains "(Disk" and handles all files over to fs-uae that start with the same prefix (till "(Disk")).
                        It uses just one floppy drive though so disks have to be inserted "manually" if the game prompts for it (which is really easy in fs-uae).

                        I think it would be great to have a helper library that is able to parse TOSEC filenames in a generic way:
                        http://www.tosecdev.org/tosec-naming-convention

                        Looking forward to your multi-disk code BuZz, I'll try to incorporate it then!

                        1 Reply Last reply Reply Quote 0
                        • A
                          AmigaGamer @vbs
                          last edited by

                          @vbs said in Amiga Integration Branch (fs-uae):

                          Keep in mind that fs-uae is currently not available on ARM platforms.

                          Fs-uae used to compile and run fine on ARM, there was a GLES patch 3 years ago that worked on the PI. However the speed is unusable on a pi1 or pi2 (under 10fps) . I havent tried it on a pi3 but wouldnt hold much hope for a reasonable framerate. Hopefully this will be usable in the future
                          2.3.0 gles https://github.com/cnvogelg/fs-uae-gles
                          EAB discussion http://eab.abime.net/showthread.php?t=66934

                          1 Reply Last reply Reply Quote 0
                          • D
                            DarkLight
                            last edited by

                            hi guys i am having trouble using the Multi disk can you give a example of how the file name should appear for the script to work please

                            vbsV 1 Reply Last reply Reply Quote 0
                            • vbsV
                              vbs @DarkLight
                              last edited by

                              @DarkLight
                              It was changed so that you have to put all disks belonging to one game into a ZIP file. All disk files inside that ZIP will be passed to fs-uae.

                              1 Reply Last reply Reply Quote 0
                              • D
                                DarkLight
                                last edited by

                                thank you so much VBS and what a awsome feature reduce the rom list alot !! i manage to get IPF plugin working also :)
                                now to make this perfect ........does CD32 iso work???

                                vbsV 1 Reply Last reply Reply Quote 0
                                • vbsV
                                  vbs @DarkLight
                                  last edited by

                                  @DarkLight
                                  You are welcome :) Sorry, I can't tell about CD32.

                                  D 1 Reply Last reply Reply Quote 0
                                  • D
                                    DarkLight @vbs
                                    last edited by

                                    @vbs

                                    couldn't figure out how to get the CD32 iso to show up in Emulation station Amiga Rom list so I Zip the Iso and started it, got back not enough Memory I am guessing the memory default need to be changed but couldn't find the config file for it.

                                    I will leave this to the smart guys behind this perhaps they can work it out

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      Meldrak
                                      last edited by

                                      Hi, fs-uae working fine on my Ubuntu Retropie

                                      I've made some change to scripts to handle other kickstart and machine
                                      also made a change to fill all the floppy drive instead of the 1st one only

                                      by default retropie will launch fs-uae as a A500 with kickstart 1.3 and now,
                                      you can change it by rom for A600 with kickstart 2.0 or A1200 with kickstart 3.1
                                      so all rom should be normaly supported like this, exept CD32 (I will do it later)

                                      here my new scripts to add or modify in /opt/retropie/emulators/fs-uae/bin and /opt/retropie/configs/amiga/fs-uae

                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        movisman @Meldrak
                                        last edited by

                                        Sorry, bringing this thread back from the dead a bit!

                                        I have fs-uae running on my x86 build, by and large it actually works really well and integrates nicely into RetroPie. Being able to launch from .zip is nice too with multiple discs contained within.

                                        Just referencing the last post with the attached script, this is actually pretty useful as it loads up all the drives with up to 4 discs, instead of just putting disc 1 into DF0. If you have a A500, A600 and A1200 BIOS and they are named/placed accordingly, the custom emulators.cfg included can reference the individual scripts included in the attachment for each system (which are just variants of each other), allowing you to launch a 3.1 Kickstart for AGA games, but also you could load a 1.3 Kickstart for older A500 only games, much like you would with other emulators. CD32 isn't included in the set of scripts but it'd cool to add that in too.

                                        I was wondering, would one of the devs consider looking at this script and perhaps consider integrating some of it into the standard setup? Or maybe something similar but within a single .sh file? It would further enhance the RetroPie experience for the x86 Amiga emulator.

                                        Happy to test / assist where possible?

                                        Big fan of Amiga and FS-UAE does run really nicely in general, so it'd be cool to improve it further.

                                        If anyone knows how to map a hotkey+button to quit like RetroArch without having to use the FS-UAE launcher let me know! I haven't looked at this closely yet but I think you can put a line in one of the config files to at least configure a joystick button to quit, instead of using F12+Q or F12 and selecting the 'x' in the corner of the GUI.

                                        Thanks!

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          silver
                                          last edited by silver

                                          If you're interested, I've documented a slightly different way of achieving FS-UAE integration with EmulationStation here.

                                          The nice thing about my method is that multi-disk games work just fine and EmulationStation only shows you one game entry. This is because we directly query the local FS-UAE database for the details on the games you have.

                                          I'm slightly biased, but I think it works rather well - not only with Amiga games, but also with CDTV and CD32 games.

                                          Feedback always appreciated.

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post

                                          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.