VOGONS


Shortcut Question

Topic actions

First post, by guest_ds

User metadata

Hi, I'm trying to make a shortcut to a game called Rayman Learning Center.
But I have to type a series of commands to get it to work, and I am wondering if there is a way I could get to the game immediately.

I usually have to type either:

mount d e:\ -t cdrom
d:
install

OR:

mount d e:\ -tcdrom
mount c c:\rlc1
c:
eduus1

Is there a way to make a shortcut that leads me directly to eduus1?
eduus1 shows up as a SAV and a CFG file on my computer but on Dosbox it shows up as a batch file.

Reply 1 of 6, by IIGS_User

User metadata
Rank Oldbie
Rank
Oldbie

For me, it looks like these commands are ready for the [AUTOEXEC] section of the DOSBox configuration file.

Klimawandel.

Reply 2 of 6, by guest_ds

User metadata

Thank you very much.

What if I want to run other games in the future? Does that mean I need to change the autoexec lines every time I switch between games?

Reply 3 of 6, by eL_PuSHeR

User metadata
Rank l33t++
Rank
l33t++

Another approach would be creating a customized copy of dosbox.cfg and put it in the game's folder. Afterwards you can create a shortcut invoking DOSBox with that config file.

E.g. dosbox.exe -conf d:\games\game1\game1.cfg {you can rename dosbox.cfg to something shorter or something you like}

It will tell DOSBox to use customized config file located at that folder. Thus, you can have all neccesary options under the AUTOEXEC section for each game.

Intel i7 5960X
Gigabye GA-X99-Gaming 5
8 GB DDR4 (2100)
8 GB GeForce GTX 1070 G1 Gaming (Gigabyte)

Reply 4 of 6, by guest_ds

User metadata

Thank you, I got it to work on both issues!
But whenever I quit the game, the command prompt comes back on, with "Thank you for playing Rayman!" and C:> pops up. Is there a way for my DOS to automatically type "exit" AFTER I quit the game?

Reply 5 of 6, by eL_PuSHeR

User metadata
Rank l33t++
Rank
l33t++

Put an exit command afterwards or inside a bat file if that's what's used for invoking a game.

Intel i7 5960X
Gigabye GA-X99-Gaming 5
8 GB DDR4 (2100)
8 GB GeForce GTX 1070 G1 Gaming (Gigabyte)