libretro / dosbox-svn

GNU General Public License v2.0
6 stars 17 forks source link

Automatic image loading? #73

Open reignerdeustcher opened 3 years ago

reignerdeustcher commented 3 years ago

I want to have the cd image to load automatically when i launch games, is there a way to do this?

reignerdeustcher commented 3 years ago

🙄🙄🙄

realnc commented 3 years ago

Other than making a conf file for the game, there is currently no way I know of. The conf file only needs an [autoexec] section in it, nothing else. You'd mount the folder you want to use as the C drive there with the mount command, then mount the CD image as the D drive with the imgmount command. Here's for example my Simon the Sorcerer.conf file for that game:

[autoexec]
mount c SIMON -freesize 1024
imgmount d "SIMON_THE_SORCERER.ISO" -t cdrom
c:
call simon.bat
exit

I keep the ISO file and the conf file in the same folder, and in that folder I have a subfolder called SIMON where the game was installed in DOS.

If the game must be started through a BAT file (simon.bat in this case), start that BAT file with the call command. If the game is started through an EXE or COM file, you don't use call, you just start it directly.

reignerdeustcher commented 3 years ago

Other than making a conf file for the game, there is currently no way I know of. The conf file only needs an [autoexec] section in it, nothing else. You'd mount the folder you want to use as the C drive there with the mount command, then mount the CD image as the D drive with the imgmount command. Here's for example my Simon the Sorcerer.conf file for that game:

[autoexec]
mount c SIMON -freesize 1024
imgmount d "SIMON_THE_SORCERER.ISO" -t cdrom
c:
call simon.bat
exit

I keep the ISO file and the conf file in the same folder, and in that folder I have a subfolder called SIMON where the game was installed in DOS.

If the game must be started through a BAT file (simon.bat in this case), start that BAT file with the call command. If the game is started through an EXE or COM file, you don't use call, you just start it directly.

thanks