HOWTO: Pro Pinball: Timeshock! in Dosbox on Rpi3
-
I cheered too soon. The music is working great now, but there is no speech, no sfx and no mechanical sound (all at maximum level in the in game settings). I changed up the quality settings on sound but that had no effect.
I also included the Timeshock config file in the shell script:#!/bin/bash
/opt/retropie/emulators/dosbox/bin/dosbox -conf "home/pi/RetroPie/roms/pc/pptime/dosboxTimeshock.conf" -c "mount c /home/pi/RetroPie/roms/pc/pptime" -c "imgmount d /home/pi/RetroPie/roms/pc/pptime/pptime.cue -t iso" -c "c:" -c "PINBALL.EXE" -c "exit"But this also had no effect on the sound issue.
The sound effects do seem to be in there. When I go to settings and choose one of the four test speech sound presets, then nothing happens. But when I hit the 'configuration' option and then back out of that menu again, I hear the sound effect looping, repeating every split second (so only a small part of the sound fragment). Then I turn it off, but the sound only stops after I've been into the configuration menu again. So it seems to be quite messed up.Any ideas on this?
p.s. When I launch this gog version in Windows 10 the sound effects work just fine.
-
thanks for the help. Now i can load the game but when i start the match loads to 95% and the game closes.
"#!/bin/bash
/opt/retropie/emulators/dosbox/bin/dosbox -conf "home/pi/RetroPie/roms/pc/pptime/dosboxTimeshock.conf" -c "mount c /home/pi/RetroPie/roms/pc/pptime" -c "imgmount d /home/pi/RetroPie/roms/pc/pptime/pptime.cue -t iso" -c "c:" -c "PINBALL.EXE" -c "exit""
this don't work for me :( and how can i configure my arcade joystick ? -
@luchogrox
Probably you have not yet changed the graphics. When they are set too high, then the game crashes during loading. Follow the settings of the first post and it should work (except for the sound effects).
I prefer a keyboard for pinball so I have not looked at how to enable a joystick, but there are some guides if you google. -
@BobHarris thanks for the help ! this fixed my problem. with ctrl+f1 i can configure my arcade pad... the only problem now is the sound... thanks for the help :D
-
Greetings!
I have followed the instructions exactly and still getting the - Internal error: Error 3 initialising CDROM routines. Please help.
I tried the script the BobHarris suggested to no avail. Bob, please confirm that is the script character for character because I am new to writing scripts. I also want to confirm that I have changed all the 'case' issues so detailed instructions there are welcome as well. Would the case issues cause the error I am getting?
I am creating the pptime.sh file in my text editor (Notepad++); is this the correct procedure? Like I stated earlier, I typed it exactly as shown above:
/opt/retropie/emulators/dosbox/bin/dosbox
-c "@mount c $HOME/RetroPie/roms/pc/pptime"
-c "@imgmount d $HOME/RetroPie/roms/pc/pptime/pptime.cue -t iso"
-c "@c:"
-c "@pinball"Should the path be $HOME/pi/RetroPie... (I tried that too with no avail)
Also, is the directory referenced in step 6 really /pic? Or is it /pc? I created a /pic directory and placed the .sh files there as well with the same results.
Any help here will be greatly appreciated.
Cheers,
Dan
-
I am creating the pptime.sh file in my text editor (Notepad++); is this the correct procedure?
You can accomplish this many ways but this should work. Notepad++ is a great program to use!
Like I stated earlier, I typed it exactly as shown above:
If you're in Windows, you should just copy and paste the code. No need to type lol.
Just at a quick glance at your code, you're missing all the backslashes at the end of each line.
/opt/retropie/emulators/dosbox/bin/dosbox \ -c "@mount c $HOME/RetroPie/roms/pc/pptime" \ -c "@imgmount d $HOME/RetroPie/roms/pc/pptime/pptime.cue -t iso" \ -c "@c:" \ -c "@pinball"
Should the path be $HOME/pi/RetroPie... (I tried that too with no avail)
In this case, I believe that $HOME is the same as
/home/pi/
Also, is the directory referenced in step 6 really /pic? Or is it /pc?
It should be /pc (like in a PC game) and again, just copy and paste from the original post. Then you shouldn't have any typos.
-
For people who create several dosbox .sh file it is bad practice to make the games folder the c drive. Several games need to use the seperately installed soundblaster drivers for audio. You should set the pc folder as the c drive and change the directory to the games folder. You will want to install the soundblaster drivers once in the pc folder. If you are missing sounds you might have chosen irq 5 instead of 7 in audio setup. You should usually go with whatever settings it auto finds. You cant choose whatever you want. You need to use the sounblaster drivers. I havent installed this games so i am not sure if you had to go through it. If you havent, there is probably a file called setup.exe. That file lets you set things like audio and music. You need to make sure they are all set to soundblaster. Also you want it to self exit. Not all games will auto exit even with the exit setting. Do not add the exit option until you have it working. Otherwise it might auto exit right after you boot it and you wont see the error. So this is how the .sh file should look:
/opt/retropie/emulators/dosbox/bin/dosbox
-c "@mount c $HOME/RetroPie/roms/pc"
-c "@imgmount d $HOME/RetroPie/roms/pc/pptime/pptime.cue -t iso"
-c "@c:"
-c "cd/pptime"
-c "@pinball"
-c "exit" -
Thanks for the responses. I am still getting the same message after trying some of the suggestions.
I have deleted the /pic directory and have placed the .sh file in the pc directory.
I've added the backslashes (actually I copy/pasted the complete script as suggested by backstander)
I tried the script offered by edmaul69 (copy/paste).
I'm still getting the Error 3 initialising CDROM routines.
I'm also not sure I have addressed all the 'case' issues. Could this be the problem causing this error?
-
@DRB
I noticed that this person is getting the same error for the same game on the Android version of DOSBox
http://www.tomdupont.net/2013/01/how-to-play-gog-games-on-android-with.html?showComment=1369282450689#c2049814093514628018Also Pro Pinball: The Web has a similar issue because it "uses some funky method for the CD check that dosbox doesn't support." I wonder if this is the same with Timeshock!
https://www.dosbox.com/comp_list.php?showID=3587&letter=PHere's some more information about the error:
http://www.vogons.org/viewtopic.php?t=10786 -
OK, I've made progress, but still cannot get the script to work. I can launch DOSBox and mount the C: drive to /home/pi/RetroPie/roms/pc/pptime
Then I can get the CDROM mounted with the following line:
C:\ imgmount d /home/pi/RetroPie/roms/pc/pptime/pptime.cue -t isoThen I can launch and play the game via C:\ pinball.exe
Here's where I need help...
How can I properly translate those commands to create the .sh file? -
@DRB you didnt post any caps, but if there are caps in any of the names you need to fix them in this info. this is what you need to put in the .sh file.then you need to give your .sh files 0777 permissions. you used "-t iso" so i posted that. however to truly make it a cdrom drive, i believe it should be "-t cdrom -fs iso"
#!/bin/bash /opt/retropie/emulators/dosbox/bin/dosbox -c "imgmount d /home/pi/RetroPie/roms/pc/pptime/pptime.cue -t iso" -c "mount c /home/pi/RetroPie/roms/pc" -c "c:" -c "cd/pptime" -c "pinball.exe" -c "exit"
-
Thanks edmaul69, I will try this later today. I have a couple clarifying questions though.
- What are 0777 permissions and how do I do that?
- With regard to the -t iso, that is exactly how I typed it when it worked.
- What does the -c do?
- I noticed that you didn't include the backslashes (/) at the end of each command; is that an issue? One of the other repliers above noted that I didn't add them to one of the scripts that I tried.
- Can your script be copy/pasted exactly as is or should each new line start with -c?
- To address your questions about the caps; what I typed is what worked exactly. The only caps were in RetroPie.
Thanks for the help. I will try this later and report back.
-
@DRB put it exactly how i have it. No seperate lines no backslashes. I have made hundreds of .sh files this way. They all work. As far as caps, when you make an .sh file caps matter. You need to make sure the pptime folders and pptime.exe match what is in this file
-
What are 0777 permissions and how do I do that?
That number represents what the Linux system uses for file attributes. 777 just makes it so anybody can execute a file. Here's how I'd change the attributes to executable (from the command line):
chmod +x /home/pi/RetroPie/roms/pc/pptime.sh
With regard to the -t iso, that is exactly how I typed it when it worked.
@edmaul69 is pretty much the DOSBox guru around here so I'd listen to him!
What does the -c do?
Basically it just tells DOSBox to use what follows as a command to execute in DOS.
I noticed that you didn't include the backslashes (/) at the end of each command
You only use the backslashes if you want to continue code on the next line. If you use @edmaul69's example and put it all on one line then you don't need the backslashes.
Can your script be copy/pasted exactly as is or should each new line start with -c?
Yes, @edmaul69's script can be copied and pasted exactly.
To address your questions about the caps; what I typed is what worked exactly. The only caps were in RetroPie.
@edmaul69 was just try to emphasize that file & directory name case is important in Linux (case sensitive). Windows is not case sensitive so most users new to Linux get confused about that.
-
Alright guys, I really appreciate you putting up with my [very steep] learning curve. I understand the caps issue with Linux and all caps issues are correct. Unfortunately I do not know what to do with the following line suggested by @backstander
chmod +x /home/pi/RetroPie/roms/pic/pptime.sh
I have created a proper .sh file with a copy/paste from @edmaul69 's post but it still doesn't work (as suspected until I know what to do with the above line of code.)
Thanks again in advance for your help!
-
@DRB said in HOWTO: Pro Pinball: Timeshock! in Dosbox on Rpi3:
chmod +x /home/pi/RetroPie/roms/pic/pptime.sh
Are you accessing the .sh with a pc? If you are using something like winscp you can right click on the file and choose properties. Then change permissions from 0644 to 0777 and save. Then it will work. Also
chmod +x /home/pi/RetroPie/roms/pic/pptime.sh
Says pic instead of pc. You need to change it to:
chmod +x /home/pi/RetroPie/roms/pc/pptime.sh
-
@edmaul69 @DRB
My bad. I have updated my original post. I was copying and pasting something from earlier on this thread and I must had got pic but yes it should be pc!Unfortunately I do not know what to do with the following line suggested by @backstander
Using WinSCP might be the easiest route for you. The 2nd way is you can exit EmulationStation by pressing F4 and drop into a command line on your Raspberry Pi with an attached USB keyboard. 3rd way is to SSH in using a program like PuTTY.
-
@backstander - thaks for the reply and clarification on the /pic vs. /pc.
With regard to entering the command, I am familiar with the F4 and PuTTY to get to a command prompt and that is what I wanted to confirm. Once at the command prompt, do I just enter the command anywhere? Or do I need to first navigate to a particular directory?
I navigated to /home/pi/RetroPie/roms/pc and entered the line: chmod +x /home/pi/RetroPie/roms/pc/pptime.sh in the bash terminal, but nothing seems to happen.
I installed WinSCP and found the permissions that you mentioned and changed it to 0777 (it was not at 0644 to start with).
I still get the same error.
-
Once at the command prompt, do I just enter the command anywhere? Or do I need to first navigate to a particular directory?
I navigated to /home/pi/RetroPie/roms/pc and entered the line: chmod +x /home/pi/RetroPie/roms/pc/pptime.sh in the bash terminal, but nothing seems to happen.You can type it just like it is because it already has the directory location in it but first navigating to that directory won't hurt anything. I don't think it gives any feedback unless there was an error. If you didn't see anything after it is run then I would assume it worked.
I installed WinSCP and found the permissions that you mentioned and changed it to 0777 (it was not at 0644 to start with).
Do you remember what number it was originally? Just curious.
I still get the same error.
Are you using the gog.com version of Pro Pinball Timeshock?
-
Unfortunately I don't remember the original number before I put in 0777. I thought about that right after changing it.
Yes, I am using the gog.com version of the 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.