First post, by Don Jonz
Hi,
I had a problem with the installation of "Nascar Racing 2", but I think this is a general bug in DOSBox.
The install routine of that game creates a new batch file named n2.bat.
If I run install in pure DOS I get the following (correct) n2.bat:
smackply F:\intro.smk /U1
nascar2 %1 %2 %3 %4 %5 %6 %7 %8 %9
If I run install in DOSBox I get this n2.bat (the game doesn't start with this file):
smackply F:\intro.smk /U1
nascar2 %F: %C: %install % % % % % %
This is the install batch-file that creates the files above.
Note: That install.exe only returns three variables (see example-line).
@echo off
if %3 == install goto install
echo If you wish to install NASCAR Racing 2 on your system,
echo please run the INSTALL.EXE program.
goto exit
rem usage: inst from_drive to_drive install
rem example: inst d: c: install
:install
%2
copy %1\nascar2\hmidet.386
[cut - copies all files]
echo smackply %1\intro.smk /U1 > %2n2.bat
echo nascar2 %%1 %%2 %%3 %%4 %%5 %%6 %%7 %%8 %%9 >> %2n2.bat
:exit
Looks like DOSBox doesn't handle that "%%" properly.