Raspberry Pi 4

For information, Recalbox IS NOT compatible with Raspberry Pi 4 yet.
Pour information, Recalbox N'EST PAS encore compatible avec le Raspberry Pi 4.

The Recalbox Team.

DOSBox Issues



  • Hi everybody,

    I am a former retropie user and I used to play some DOS games using that system. To keep things organized, I used to put inside the "dos" folder only the bash script to run the game and in another folder called "dospc" I used to put the folder with the game files.

    My script for Retropie looked like this (Extreme Pinball script):

    #!/bin/bash
    /opt/retropie/emulators/dosbox/bin/dosbox -c "mount c /home/pi/RetroPie/roms/dospc" -c "c:" -c "cd extp.pc" -c "extreme.exe"

    With this approach, I was able to run the game without any issues.

    Now that I moved to recalbox, I would like to take a similar approach. So, I placed my game (extp.pc) in a folder called "dospc" and inside the "dos" folder I created the bash script.

    However, recalbox doesn't show the bash script in the DOS library. On top of that, I am only able to run the game if I open the game .exe so it will open DOSBox where I can type the following commands to run the game:

    mount c /recalbox/share/roms/dospc/extp.pc
    ๐Ÿ˜„ - c
    extreme

    Do you guys know what am I missing?
    Are bash scripts supported by recalbox?
    How do I open DOSBox without clicking in the game executable?

    Your help will be much appreciated.

    Regards,


  • Global moderator
    Team

    Hello

    for recalbox , read the readme.txt in dos folder.
    and check tutorial : https://github.com/recalbox/recalbox-os/wiki/How-to-use-DOSBox-to-emulate-DOS-games


  • Banned

    @danielfs please read wiki there is a page about dosbox and how to launch games

    Recalbox is not retropie though, so you'll have to follow instructions, not sure you will be able to do it like you did on retropie



  • Wow, you guys are quick! Thanks for that.

    I tried the link and readme directions as well but it didn't worked.

    Inside the dos folder placed my game folder (extp.pc)
    I updated the dosbox.bat file inside the extp.pc folder with the following content:

    ๐Ÿ˜„
    EXTREME.EXE

    I rebooted recalbox and selected the EXTREME.EXE but it loads DOSBox and show this:

    Z:> set ROOT=/recalbox/share/roms/dos/extp.pc/EXTREME.EXE
    Z:>

    Now if I type in the command line:
    mount c /recalbox/share/roms/dospc/extreme.pc
    ๐Ÿ˜„ - c
    extreme

    The game starts. What am I missing here?

    Thanks


  • Banned

    @danielfs
    Just put EXTREME.EXE in dosbox.bat and wonder happens ๐Ÿ˜‰


  • Banned

    @dragu it's what he did already ...


  • Banned

    @danielfs try to see where you are at first line of dosbox.bat after ๐Ÿ˜„ with :

    c:
    chdir
    pause
    extreme.exe
    

  • Banned

    @danielfs said :

    I rebooted recalbox and selected the EXTREME.EXE but it loads DOSBox and show this:

    Z:> set ROOT=/recalbox/share/roms/dos/extp.pc/EXTREME.EXE
    Z:>

    I don't know how you managed to do that but EmulationStation UI should only display extp.pc or even extp and you should select that, certainly not your exe which shouln't even appear at all.

    Did you modify es_systems.cfg ?


  • Banned

    @voljega
    If the game is started in ES, he automatically switch to the folder and mount it as ๐Ÿ˜„
    I dont have nothing else in my dosbox.bat's, with exception from a menu selection for certain games.


  • Banned


  • Banned

    @dragu I know but read his message ye already did what you told him to do


  • Banned

    @danielfs said in DOSBox Issues:
    @voljega

    Now that I moved to recalbox, I would like to take a similar approach. So, I placed my game (extp.pc) in a folder called "dospc" and inside the "dos" folder I created the bash script.

    And this exactly is his error, he must put the folder extp.pc under the existing /recalbox/share/roms/dos/extp.pc and not build own configuration in Recalbox.


  • Banned

    @dragu can you at least try to read his second message ?


  • Banned

    @voljega
    Yes, I readed. And updating the gamelist was not there ๐Ÿ™‚
    And not at all, I understand this confused instruction

    mount c /recalbox/share/roms/dospc/extreme.pc
    

    ???


  • Banned

    @dragu nobody said anything about updating a gamelist.... I'll let you to to your reading problems :))


  • Banned

    @voljega
    It is finally very simple, beginners to Recalbox arrive easy .

    1. Create a folder xxx.pc in the existing /roms/dos/ folder
    2. Put your game files into xxx.pc
    3. Create a dosbox.bat file inside /dos/xxx.pc with XXX.EXE inside
    4. Update your gamelist
    5. Enjoy.


  • This post is deleted!


  • I was going to post more photos but my message was flagged as spam.

    To sum up:

    • I have the folders in the right place, the dosbox.bat refers to the executable, and the gamelist.xml is updated
    • EmulationStation UI is listing the game folders and inside them the executables. My es_systems.cfg allows only exe as extension (<extension>.exe .EXE</extension>)
    • As sugested, I changed my dosbox.bat to include the following lines:
      ๐Ÿ˜„
      chdir
      pause
      extreme.exe
      But when I select extp > extreme from EmulationStation UI, it opens DOSBox and presents the following message:
      ...
      Z:>set ROOT=/recalbox/share/roms/dos/extp.pc/extreme.exe
      Z:>
      Again, using the command line I can start the game.

    Any clues?

    Regards,
    Daniel


  • Banned

    @danielfs
    Dont try to build RECALPIE. es_systems.cfg is a file, you should not touch.


  • Banned

    @danielfs said in DOSBox Issues:

    EmulationStation UI is listing the game folders and inside them the executables. My es_systems.cfg allows only exe as extension (<extension>.exe .EXE</extension>)

    NO NO NO NO leave this file as it was originally, do not touch it, it's not the exe that should be launched by Emulation Station.

    So put it back like it was, just create your game dir, create a dosbox.bat in it, restart your recalbox or refresh the list of games, and the game will appear, just select it and it should work.

    What you did is absolutely not listed in any instructions so please follow the instructions without doing any extra modification


Log in to reply
 

Want to support us ?

112
Online

78.7k
Users

20.2k
Topics

148.0k
Posts