RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Emulate Specific Machine in Retropie MSX

    Scheduled Pinned Locked Moved Help and Support
    msxarabic msxal alamiyahax170sakhar
    36 Posts 5 Posters 6.6k 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.
    • G
      grant2258 Banned
      last edited by

      ok this is going to be a bit technical but it is doable for what you want to do. You can change the machine to what you want but there will be a few steps

      1. start the rom form the command prompt with strace (change your romname and path to what ever rom isint working right to find out what machine it is selecting.

      strace /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-bluemsx/bluemsx_libretro.so --config /opt/retropie/configs/msx/retroarch.cfg "/home/grant/RetroPie/roms/msx/ax370/abc_arabic.rom" 2>&1 | grep config.ini

      open("/home/grant/RetroPie/BIOS/Machines/MSX2+/config.ini", O_RDONLY) = 3
      open("/home/grant/RetroPie/BIOS/Machines/MSX2+/config.ini", O_RDONLY) = 3
      open("/home/grant/RetroPie/BIOS/Machines/MSX2+/config.ini", O_RDONLY) = 3
      open("/home/grant/RetroPie/BIOS/Machines/MSX2+/config.ini", O_RDONLY) = 3

      in this case its picking the msx2+ machine replace that config.ini with the MSX2 - Al Alamiah AX-370 or whatever mx2 config you want for that machine.

      you will get a segfault if one of the bios roms are missing this is a bug it should be telling you this info not segfaulting. So check all the bios filename case is right when changing it

      1 Reply Last reply Reply Quote 0
      • G
        grant2258 Banned
        last edited by grant2258

        i posted a issue on the github page about the segfault bug hopefully that will help some people out with a error when its bios related the user will know.

        You can pick any config you like the .rom extension will always pick msx2+ so just change that config to what you want the config to be. Its not ideal but its how you can make it do what you want to do. The config is just a path it can be any machine setup.

        https://github.com/libretro/blueMSX-libretro/issues/72

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

          Ok, Thanks you. I'll try it and tell you the results.

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

            In BlueMSX for windows I use MSX - Arabic machine which use three files according to the config file:

            0 0 0 0 84 "" ""
            0 0 0 4 66 "Machines/Shared Roms/MSXAR.rom" ""
            1 0 0 8 19 "Machines/Shared Roms/ARAB1.ROM" ""
            3 2 0 8 23 "" ""
            3 3 2 4 64 "Machines/Shared Roms/NATIONALDISK.rom" ""

            1 Reply Last reply Reply Quote 0
            • S
              Shinobi @grant2258
              last edited by

              @grant2258 I knew what machine was running from the BIOS name (select + x) screen and choosing your machine, so I replaced the config file for the machine running with Arabic MSX machine, the result was, when you choose a game ROM to play, it just goes Blank and returns again to game ROMs menu. BlueMSX won't allow you to change anything in it.

              1 Reply Last reply Reply Quote 0
              • G
                grant2258 Banned
                last edited by grant2258

                @shinobi said in Emulate Specific Machine in Retropie MSX:

                0 0 0 4 66 "Machines/Shared Roms/MSXAR.rom" ""
                1 0 0 8 19 "Machines/Shared Roms/ARAB1.ROM" ""
                3 2 0 8 23 "" ""
                3 3 2 4 64 "Machines/Shared Roms/NATIONALDISK.rom" ""

                you hit the segfault issue you probably getting no error and dont understand why it easy i checked you post before with your roms.
                ARAB1.ROM
                NATIONALDISK.rom
                MSXAR.ROM
                and your config
                0 0 0 4 66 "Machines/Shared Roms/MSXAR.rom" "" * case doesnt match
                1 0 0 8 19 "Machines/Shared Roms/ARAB1.ROM" ""
                3 2 0 8 23 "" ""
                3 3 2 4 64 "Machines/Shared Roms/NATIONALDISK.rom" ""
                0
                you ms2ar.rom case doesnt match each other

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

                  I played with filenames to make them match, any manipulation to MSX machine resulted in ir-bluemsx not working..
                  Actually I got tired from this, I tried openMSX on Raspbian and succeeded in launching Alamiah AX170 and AX350IIF machine (both Arabic), I put ROM games in (software) folder of openmsx, and when launching the cartridge from openmsx commandline it say (rom not found in this context) .. in the documentatin it is saying that default folder for game roms in (software) .. I 'll post this in msx.org since this is retropie forum...

                  thanks for your help, very appreciated.

                  1 Reply Last reply Reply Quote 0
                  • G
                    grant2258 Banned
                    last edited by

                    I got it working no problems this way. I did change all my filenames to lower case and the machine files as well to avoid any confusion. Windows wont rename your files properly. I did get it working for me it is your bios filenames causing the problem. You have to change the whole config file not just the slots :). I understand you being fed up with that it is frustrating for some.

                    do youself a favour though make your life easier rename all your bios files to lowercase on the pi machine no matter what emulator your using and change any bios references to lower case to avoid problems

                    cd ~/RetroPie/BIOS/Machines/Shared\ Roms/
                    rename 'y/A-Z/a-z/ if -f;' ./*

                    1 Reply Last reply Reply Quote 0
                    • G
                      grant2258 Banned
                      last edited by

                      this is the config you should have just paste it in if you decide you want it. This config assumes you renamed all the roms like above to lowercase

                      [Video]
                      version=TMS9929A
                      vram size=16kB

                      [CMOS]
                      Enable CMOS=0
                      Battery Backed=0

                      [Subslotted Slots]
                      slot 0=0
                      slot 1=0
                      slot 2=0
                      slot 3=1

                      [External Slots]
                      slot A=2 0
                      slot B=3 0

                      [FDC]
                      Count=2
                      [CPU]
                      Z80 Frequency=3579545Hz
                      [Board]
                      type=MSX
                      [Slots]
                      0 0 0 0 84 "" ""
                      0 0 0 4 66 "Machines/Shared Roms/msxar.rom" ""
                      1 0 0 8 19 "Machines/Shared Roms/arab1.rom" ""
                      3 2 0 8 23 "" ""
                      3 3 2 4 64 "Machines/Shared Roms/nationaldisk.rom" ""

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

                        Now thank you, because it worked. I renamed all to small letters. It was filenames issue.

                        now my problem is there is no sound. all is good volume is up 100%.

                        I appreciate your help. The reason behind this is that i want my son to use the educational software I used when I was a kid.

                        My son thanks you. although he is so little, but I'm preparing the system for him

                        I wish sound problem won't need formatting since i got alot of systems and roms in my retropie sd.

                        1 Reply Last reply Reply Quote 0
                        • G
                          grant2258 Banned
                          last edited by

                          no problems I looked at the source it seems i can add system to the cpp file. ill need to test this. Just to be clear if the system is in auto it nearly always defaults to msx+. Ill look at that when i have time if your comfortable compiling c source code ill look into add these arabic machines so you can pick them. Thats for another time though I need to look into this system more. Now you sound issue is it all emulators or just this particular system?

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

                            Sound worked, I forced sound output through HDMI since I use HDMI to VGA adapter.

                            How can I run the MSX without ROM cartridge (without game) .. Arabic MSX got a firmware of BASIC and Drawing program, etc...

                            I try this on my LAKKA SD card too

                            1 Reply Last reply Reply Quote 0
                            • G
                              grant2258 Banned
                              last edited by

                              just load the rom cart as a game

                              1 Reply Last reply Reply Quote 0
                              • L
                                lama
                                last edited by lama

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • D
                                  dubamh
                                  last edited by

                                  Would you please provide a summary of the steps you followed to make Arabic roms works correctly ?

                                  I have same issue and I have read your post many times and couldn't got the corrects steps .

                                  Please support .

                                  Thank you

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

                                    Got it .

                                    Thanks

                                    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.