VOGONS


Illegal command: win

Topic actions

First post, by Guest

User metadata

I did everything the guide told me to, but when I try to run the setup.exe file to install my game (PYST), it says Illegal command: win. Any idea how to fix this?

Reply 1 of 11, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

well it means you have a game with a windows installer.

(so probably a windows game)

try looking for an install.exe

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 11, by HunterZ

User metadata
Rank l33t++
Rank
l33t++

Strange that a program would try to run Windows though - maybe that's how they did it back then...

Reply 4 of 11, by Freddo

User metadata
Rank Oldbie
Rank
Oldbie

Then it's not a DOS game, is it?

What game are you trying to install?

Reply 5 of 11, by Guest

User metadata

The game is PYST, it says when I try to install it the system file is not suitable to run MS-DOS and Microsoft Windows applications.

Reply 6 of 11, by `Moe`

User metadata
Rank Oldbie
Rank
Oldbie

HunterZ, it was common in Win 3.0/3.1 days. Programs that needed windows would simply start it by calling "win <exename>" (from the MZ stub executable, just like win9x programs print some kind of "you need windows" message).

And that actually worked. Win 3.0/3.1 could run a single executable directly that way. I recall being annoyed when programs _didn't_ use such a stub but just said "you need windows". Damn I'm feeling old 😀

Reply 8 of 11, by HunterZ

User metadata
Rank l33t++
Rank
l33t++

Pyst is a Windows game (well, I don't know if I'd even call it a game, from what I've read of it). DOSBox is a DOS emulator. You can't run Windows games in DOSBox (yet).

Reply 10 of 11, by HunterZ

User metadata
Rank l33t++
Rank
l33t++

Maybe try running the installer/setup program in Win95 compatability mode?

Reply 11 of 11, by CraigG

User metadata
Rank Member
Rank
Member

And you were saying, HunterZ 😉

Athlon 64 3000+ stock
MSI NForce 4 K8N Neo Platinum
2Gb RAM
nVidia Geforce 6800GT stock clocks
SBLive! Platinum + Audigy ZS2 Drivers
WinXP Pro SP2