Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AUTOBOOT.DBP should allow forward slashes for command switches; it does not currently #531

Open
SpiralBrad opened this issue Sep 8, 2024 · 3 comments

Comments

@SpiralBrad
Copy link

SpiralBrad commented Sep 8, 2024

Current behavior: AUTOBOOT.DBP does not allow forward slashes for command-line parameters.

Expected behavior: AUTOBOOT.DBP allows the use of forward slashes for command-line parameters.

(Using DOSbox-pure 0.9.9)


Essentially, I am trying to have an AUTOBOOT.DBP for Wolfenstein 3-D that runs it with the /GOOBERS cheat parameter.

Command-line parameters DO work for other games; for example, Tetris Classic lets you specify video and sound parameters on the command-line, and launching without ANY parameters causes it to prompt you.

An AUTOBOOT.DBP for Tetris Classic that contains: C:\TETRISC\TETRISC.EXE will prompt you. If it contains
C:\TETRISC\TETRISC.EXE V A, it does not prompt, and uses VGA and AdLib, as you specified them. This confirms that AUTOBOOT.DBP does allow command-line parameters. (This does not seem to be documented.)

For Wolfenstein 3-D, if AUTOBOOT.DBP contains C:\WOLF3D\WOLF3D.EXE /GOOBERS, all that happens is a blinking cursor and nothing happens further; no errors or anything. The proper behavior seems like it should launch just fine. I am unsure what causes the blinking cursor.

@SpiralBrad
Copy link
Author

Cheers, @schellingb!

@alexb3d
Copy link

alexb3d commented Sep 11, 2024

You can run wolf3d -goobers or wolf3d goobers with the same result.

The "/" parameter is intended for Batch files.

Additionally, you can create a GOOBERS.BAT file and write inside WOLF3D /GOOBERS, (or any of the above) place it next to the executable and start that batch with the AUTOBOOT. This works for any game.

@alexb3d
Copy link

alexb3d commented Sep 11, 2024

A trick.

With the 'echo xxx >file.txt ' command you can create a simple one-line batch, without exiting PURE.

At Command Line C:> (and with Game Focus set to On) is written:

echo CHESS /COMP >CGACOMP.BAT

Press enter to save, the file is created in the game save.zip and can be started from PUREMENU.

Captura de pantalla de 2024-09-11 19-00-57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants