VOGONS


First post, by ckorodenis

User metadata
Rank Newbie
Rank
Newbie

Hi,

I have a problem running the application on macos, Dosbox is running normally, I have also set the root directory correctly. Program under windows works perfectly without a problem. In windows, I run an application using a PS.bat file with this code

@echo off

C:
cd\
cd \f.3
if not exist C:\f.3\PS.3\USER.U97 copy C:\f.3\work\USER.U97 C:\f.3\PS.3\USER.U97
del C:\f.3\work\RUN*.TXT
START C:\f.3\PS.3\2.DAT\PS_RES.EXE
C:\f.3\DOSBox\DOSBox.exe -conf C:\f.3\DosBox\DosBoxPS.cfg

In macos I tried different variants, I tried to run PS.bat file in dosbox via context menu, but unsuccessfully. After editing the PS.bat file, you will occasionally receive an error that is not a DOS application. It always shows the boot procedure, but nothing turns on, it ends up in the Dosbox. Also, nothing happens after you edit a .bat file. Do you have any idea how to solve the problem? I can provide files, including codes.

Reply 2 of 6, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

You are trying to run Dosbox.exe in Dosbox?

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for OS X (10.4-10.14 ppc/intel 32/64bit) codesigned for gatekeeper
DOSBox SVN with SDL2 snapshot for OS X (10.7-10.14 intel 64bit) codesigned for gatekeeper

Reply 3 of 6, by ckorodenis

User metadata
Rank Newbie
Rank
Newbie

Line number 8

START C:\f.3\PS.3\2.DAT\PS_RES.EXE

can be removed from the code, under windows PS_RES.exe serves only as a file scan and backup service. It is not needed to run the application in DoxBox. The application will run under windows also using a modified PS.bat with code

@echo off

C:
cd\
cd \f.3
C:\f.3\DOSBox\DOSBox.exe -conf C:\f.3\DosBox\DosBoxPS.cfg

this code in the PS.bat file is absolutely enough for the application to run without error in DosBox on windows 😀

No, under windows I run the application only using PS.bat file, but unfortunately I do not know how to run the application under MacOS, so I tried every variant

I need some advice on how to edit the PS.bat file or how to run this application properly under MacOS.

Reply 4 of 6, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

You cannot use the batch file on OS X.
Look at the contents of the dosboxps.cfg.
Mount the folder that the cfg is in on OSX
(e.g. mount c /users/ckorodenis/desktop/ps)
and then change to c in Dosbox and run the exe that is referenced in the dosboxps.cfg

C:
Ps.exe

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for OS X (10.4-10.14 ppc/intel 32/64bit) codesigned for gatekeeper
DOSBox SVN with SDL2 snapshot for OS X (10.7-10.14 intel 64bit) codesigned for gatekeeper

Reply 5 of 6, by ckorodenis

User metadata
Rank Newbie
Rank
Newbie

In the dosboxps.cfg file, this code is written down in windows.

[autoexec]
# Lines in this section will be run at startup.
# You can put your MOUNT lines here.

mount C: C:\
C:
cd C:\f.3\ps.3
SET LANNODE=
SET DOSBOX=1
SET FANDOVRB=80
SET FANDWORK=C:\f.3\WORK\
SET FANDCAT=C:\f.3\PS.3\
C:\f.3\OK\OK /I /K /$ /E /0
C:\f.3\DPAKBD.COM /T20 /I
C:\f.3\UFAND PS
exit

On MacOS, I have modified the file to this code, the folder is located on the desktop

[autoexec]
# Lines in this section will be run at startup.
# You can put your MOUNT lines here.

mount C: /Users/Mir/Desktop/
C:
cd C:\f.3\ps.3
SET LANNODE=
SET DOSBOX=1
SET FANDOVRB=80
SET FANDWORK=C:\f.3\WORK\
SET FANDCAT=C:\f.3\PS.3\
C:\f.3\OK\OK /I /K /$ /E /0
C:\f.3\DPAKBD.COM /T20 /I
C:\f.3\UFAND PS
exit

The PS.exe file does not exist, I cannot determine which .exe actually runs under windows. There are many in the folder. Can I find out which .exe file runs DosBox in windows? When I run the PS.bat file?

Adding screeshot desktop in windows, after running PS.bat, DosBox opens and within one second the program starts correctly ... But I don't know what .exe is opening

Attachments

  • 03.png
    Filename
    03.png
    File size
    212.23 KiB
    Views
    120 views
    File license
    Fair use/fair dealing exception
  • 02.png
    Filename
    02.png
    File size
    291.3 KiB
    Views
    120 views
    File license
    Fair use/fair dealing exception
  • 01.png
    Filename
    01.png
    File size
    283.16 KiB
    Views
    120 views
    File license
    Fair use/fair dealing exception

Reply 6 of 6, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

Just put your modified code after c: in a batch file (ps3.bat) on your desktop.
When dosbox starts do
Mount c /users/mir/desktop
C:
Ps3.bat

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for OS X (10.4-10.14 ppc/intel 32/64bit) codesigned for gatekeeper
DOSBox SVN with SDL2 snapshot for OS X (10.7-10.14 intel 64bit) codesigned for gatekeeper