Emulate Specific Machine in Retropie MSX
-
@shinobi if this doesn’t work change it back but can you change ARABIC.rom to ARABIC.ROM ? Linux is case sensitive and it is possible it is looking for it in all caps.
-
does select +x let you change the bios options ? if it doesnt ill download the emulator and look for the roms. That is a good point about filename case posted before
-
@edmaul69 I'll try it and change the name and see what will happen although that I am now sure that BlueMSX for retropie and Lakka (all is retroarch) I think the supported machines are listed when you press select+x (quick menu) and they are limited and not like PC when you choose your machine.
-
@grant2258 .. you can change the BIOS when accessing quick menu (select + x) I tried it in Lakka and retropie..the choices are limited to MSX, MSX2, MSX2+ and turboMSX
Lakka adds (ColecoVision, Sega SG and Sega SC, SpectraVideo SV) ..
That is, the support is limited to the machines in the list although BlueMSX needs all BIOSes in Machine folder to work..Where can I send message to BlueMSX people to tell them to add support to Arabic Machines..??
-
Try select + x when the system is running. Check see if you the option is there once the emulator is running. This is not a system i have used in real life so am struggling to understand how it setup. From what I gather you want to start a msx or msx2 and load it with an arabic bios instead of an english one. If you get no joy with select + x in game (when the emulator is running) post a issue on the github page in the issues.
-
@grant2258 I appreciate your help although that you are not familiar with MSX.
Arabic MSX emulation contains two files: the bios and the rom. I could run the Arabic ROM by loading it as a cartridge, but this will result in problems in keyboard interaction, keys won't work since it's not normal. the normal thing is to load the bios and rom and the default MSX machine which contain two files MSX.ROM and PILIPSDISK.ROM. What I did is load this and then choose MSX arabic ROM and a cartridge, as I said it run the MSX Arabic interface but problems with input. Also, there a problem that there are not two slots for cartridges in BlueMSX for Retroarch, only one, so even if I load MSX Arabic ROM and a cartridge, still I can't add the Arabic educational software in the other slot, since there is not other slot. -
since im not sure how this all works i looked it up a little. From what i undestand youll need to download the config for the machine you want to download from the website and have the roms ready. I start on the windows version and then look at the lr-msx blue what specific machine is it your wanting for arabic
Al Alamiah AX-100 / AX-150 / AX-170 / AX-200 / AX-350II / AX-350IIF / AX-370
let me know whic one and ill start looking into it. Ill need to find the roms ect
-
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
- 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) = 3in 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
-
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.
-
Ok, Thanks you. I'll try it and tell you the results.
-
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" "" -
@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.
-
@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 -
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.
-
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;' ./* -
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" "" -
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.
-
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?
-
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
-
just load the rom cart as a game
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.