DosBox gaming in retropie--Getting my 1995 cd Dos game to work in it?
-
Last time I tried to run Ignition I had to have CD mounted as well, this worked for me.
Create following script, name it OLDTIME.sh and place it into
/home/pi/RetroPie/roms/pc/OLDTIME/
(.sh is important, otherwise you won't see it in GUI). You will use this file to run the game!!!Copy paste this into OLDTIME.sh:
#!/bin/bash /opt/retropie/emulators/dosbox/bin/dosbox /home/pi/RetroPie/roms/pc/OLDTIME/OLDTIME.exe -exit -c "imgmount d /home/pi/RetroPie/roms/pc/OLDTIME/OLDTIME.iso -t iso"
-
Thanks guys!! I will read up and try what you've suggested and report back. Thanks for the detailed help, I appreciate it!!
-
You can also read through this topic:
https://retropie.org.uk/forum/topic/4783/howto-pro-pinball-timeshock-in-dosbox-on-rpi3It describes how I got Timeshock dos version running.
-
5 hours of trying today and nothing. Where exactly and how exactly do I write that .sh command? In dosbox? In Linux? In the retropie command screens? Can't figure the basics out. I have 12 other games working perfectly in dosbox on retropie but the Old Time Baseball game that demands a cd in a drive is giving me fits.
I've even edited the file that tells the game to check for a cd in the drive (deleted the command) before even loading it in to retropie. It still demands the cd! I've got it working on my pic without a cd (using the linked instructions in my original post)
so I know it's humanly possible. Every time I think I'm getting somewhere in retropie dosbox I can't type the character "" which I can on my pic, so it really limits my possibilities! It must not be allowed in emulation station. -
@joeljoel1947
Character is / -
You can write the .sh file on your computer (use notepad, for example) and transfer it with a program like Winscp to your Pi.
Read through the topic I referred you to in my previous post. You can use the same text in that .sh file except for the name of the game and the name of the game folder of course. The .sh file is very convenient , because it does the cd mounting for you, so you don't have to mount the 'cd' manually every time you want to start the game on your Pi. I just select the .sh file and the game starts.A quote from the other topic on what I did:
I used D-Fend reloaded to install the game first on my pc. (The only setting I had to change was the sound card: sound blaster pro.) Then I copied the installed contents to the empty folder pptime on my Retropie card. And I used Imgburn to create a bin and cue file from the game disc and added those two files to the folder. The last file I needed was the sh file. -
@joeljoel1947 pretty much what Bob said. just create the .sh file on your computer and then move to it to your Pi
-
@spiky
Thanks so much Bob and spiky!! I will give it another crack tonight! So freaking frustrating to be a noob!😜 -
@joeljoel1947 Don't worry about it. I don't really have a clue what it all means either. I just read how others get it to work and copy their steps. I just want to play the games. :-) I hope you can get your game working on the Pi!
-
@BobHarris still working on this. I created a .sh script file in notepad on my pc and put it in all the text you said. I then use my USB stick and transfer the whole game into retropie, including the .sh script.
When I go into oldtime now, the .sh script isn't visible, just the other 5-6 normal file folders that have always been there. Clicking on them all, none of them lead me to the .sh script to launch the game.
When I dig deeper in the retropie file manager, the .sh script is listed there inside the OLDTIME folder, but it's in a .sh.txt extension because I created it in notepad. Does that make a difference (possibly why I can't access it in retropie) and if so, how do I get rid of the .txt at the end? Maybe that's why it isn't showing up in my main OLDTIME game folder?
Just now I have created a new and separate FOLDER in OLDTIME on my PC and called OLDTIME.sh and in that folder I am putting the OLDTIME.sh.txt script in hopes that if it's in it's own folder I should be able to "get to" the .sh script at least on my pie to try clicking on it to launch the game. Because as it sits now, that .sh.txt script is "invisible" on my pie and can't be accessed in retropie to launch the game.
Any thoughts? Am I on the right path?
Thanks!
-
@joeljoel1947 yes, .txt is the problem. you have to get rid of it somehow. I usually connect to my pi using putty and do this kind of job like that. there are millions ways how to get rid of the txt extension. you can download notepad++ for example, it will let you save your file without extension.
-
Thanks! I shall press on today with that! What an adventure! 😜
-
-
@joeljoel1947
@Spiky
@BobHarrisWell I am stuck. Again. Downloaded notepad ++ and wrote the oldtime script and saved it as both a .sh and a .bash file (because I tried twice and once it saved as a .sh file and once as a .bash file all on its own) and put it into my old time folder In retro pie.
At least now, when I go into the oldtime folder in retropie I see them both---see pics below! They are there, and they are not .txt files anymore.
Problem is they don't show up or are recognized in the OLDTIME folder in retropie to launch from. And if they are the 2 OLDTIME things listed here, they do nothing. All those 2 do listed crash back to the Dosbox game menu.
I have a feeling the scripts are in the wrong place and "buried too deep" in folders to be recognized. Any thoughts by looking at these 2 menus? One shows the 8 or so folders I have to choose from to launch OLDTIME (as I said neither of those do anything) and the other clearly shows I have .sh and .bash files buried somewhere deep in the OLDTIME folder in retropie.
The only way I get anything going is clicking the setup folder in OLDTIME and at least it goes to the setup of the game, choosing the announcers and video and sound card, so like I know the thing at least loads, but then from there it wants me to insert the cd and obviously I can't do that.
I'll have to post the photos next when I get back to my pc to upload.
-
@joeljoel1947 if it crashes it only means that something is wrong. it could be invalid path defined in the sh file or something else. double check everything if it all match.
PS: also the sh file can be anywhere in the /roms/pc/ folder. Maybe rename it to something like TEST.sh for better orientation.
PPS: lets look at the script again, I will try to explain it all to make you understand it better
#!/bin/bash /opt/retropie/emulators/dosbox/bin/dosbox /home/pi/RetroPie/roms/pc/OLDTIME/OLDTIME.exe -exit -c "imgmount d /home/pi/RetroPie/roms/pc/OLDTIME/OLDTIME.iso -t iso"
- this is what your sh file content should look like/opt/retropie/emulators/dosbox/bin/dosbox
- this starts dosbox application-c "imgmount d /home/pi/RetroPie/roms/pc/OLDTIME/OLDTIME.iso -t iso"
-c command is executed before anything else is done. in this case, it mounts your iso file/home/pi/RetroPie/roms/pc/OLDTIME/OLDTIME.exe -exit
this is first parameter of dosbox application. it tells dosbox to run OLDTIME.exe in given directory. the -exit command is there to terminate dosbox once you quit the game (otherwise you would get back to dosbox terminal and have to type exit manually) -
-
-
@Spiky
Thanks so much!! I cannot even get my pictures to upload, of where exactly at I am with my problems!! lol! OMG! This is so pathetic! This website doesn't allow for quick pics!Photobucket (the 1990's place I'm trying to get a picture here to (lol) so everyone can see I am really doing what is told!) wants nothing to do with this website in an orderly fashion! I'm just used to my iphone and uploading a photo I take sent wherever! Not here! At least as far as I can tell.... :)
Good idea on the TEST.sh , at least then I'll know its a "new idea" and/or place to try! Cannot understand why I could potentially put it anywhere and I've put it everywhere but it still does not launch. Something bigger is amiss!
I seriously wish I could just put photos easily on this page (have no clue all the embedding that it takes, lol!) . If you saw what .sh stuff just for this one game I had going on everywhere it would rattle your cage, lol! Its probably the most copyrighted/unhackable Retro-Pie game (not that I'm hacking, I own the original PC cd-rom!!!!) of all time!!
Just keep trying!! Thanks all for the progress! I've gone from no game playing to---- no game playing!----- but at least I feel I'm making HUGE strides!!!
-
@joeljoel1947 Just copy the image in the clipboard and paste in the post area or use the 'image' placeholder to upload your image.
-
@joeljoel1947 don't lose faith, haha. I usually find this part of the process (configuration and stuff) more interesting than playing the actual game. I will eventually get the game, configure it and then send you everything you need. I should have enough time during the weekend.
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.