VOGONS

Common searches


First post, by sterling

User metadata
Rank Newbie
Rank
Newbie

My dos program is trying to load a binary file. It works in WinXP's command prompt, but in DOSBox on Linux it says "invalid file format". I suspect DOSBox is performing text conversion on the file because it has an extention (.QLB) that it doesn't recognize as a binary file.

Is this the case? If so, what can I do?

PS: the program is QuickBASIC 4.5, it's an old dos compiler that some games were written in.

Reply 1 of 4, by parapente

User metadata
Rank Newbie
Rank
Newbie

First of all I don't think it has anything to do with linux. It would be better if you tried dosbox in windows so you can compare the results. Secondly dosbox, unlike the real dos, handles all files as binaries (correct my if I'm wrong) so no text convertion is being done on the files. However there have been other people getting exactly the same error as you when trey are trying to run some apps/games so it must be some sort of unsupported feature that causes this error.