VOGONS

Common searches


First post, by weylyn1

User metadata
Rank Newbie
Rank
Newbie

Hi,

I'm setting up a friend's computer with a bunch of old games, and I wanted to create a one-click solution for each of them (as if they were running natively).
I have the basic dosbox-0.74-3.conf, plus the following autoexec lines:

mount c ~/.dosbox/DOSROOT/GAMES/CCRA
C:\RA.EXE

This results in the game complaining about the lack of free space (says it requires 8,388,608 bytes free), so I added -fressize 80 (overkill, I know) to the end of the mount line. After saving the config and launching DOSBox, I get the same error, so I launched DOSBox from the command line with -noautoexec, ran mount c ~/.dosbox/DOSROOT/GAMES/CCRA, and then C:\RA.EXE, and it was working.
Next, I tried dosbox ~/.dosbox/DOSROOT/GAMES/CCRA -c "C:\RA.EXE", but this resulted in C:\RA.EXE being executed before mounting the C: drive. Then, I tried dosbox -c "mount ~/.dosbox/DOSROOT/GAMES/CCRA "-c "C:\RA.EXE", which lead me back to where I started, the free space issue. The same applies to the -fressize 80 variant.
What can I do to create a shortcut that'd run the game and only the game?

Reply 1 of 1, by weylyn1

User metadata
Rank Newbie
Rank
Newbie

I found the solution. I wrote RA.BAT with the following two lines:

mount d ~/.dosbox/DOSROOT/GAMES/CCRA #drive C: is ~/.dosbox
D:\RA.EXE

and ran

dosbox RA.BAT

This worked.