VOGONS


First post, by rfnagel

User metadata
Rank Oldbie
Rank
Oldbie

I recently installed DOSBox and my copy of Transport Tycoon Deluxe on an old laptop that I've refurbished.

PC Specs are: Dell Inspiron 600, Intel Pentium M(obile) 1.6GHz CPU, 1GB RAM, Mobile Intel 915GM/GMS,910GML Express graphics chipset.

Anyhow, I had a frequent problem when I'd start the game whereby the game would crash with the error message "Fatal Error TNT.10049: Ran out of stack buffers" and totally lock up DOSBox (requiring a CTRL+F9 to terminate DOSBox).

BTW, in my DOSBox configuration I have "memsize=31", "xms=true", "ems=true", "umb=true" (which are the settings that I use for my custom "generic" DOSBox configuration file that I use for most EVERYTHING).

Anyhow, I discovered though that I could start DOSBox in windowed mode, start the game, and then ALT+ENTER to but DOSBox (and the game) into fullscreen mode... no crashes or error messages like that. Although, if I put DOSBox back into windowed mode and then ALT+TAB to another running WinDoZe application, 90% of the time I had the same problem (the above error message, and a totally locked up DOSBox).

But.... I THINK I found a solution/workaround to this:

Transport Tycoon Deluxe (as well as the original Transport Tycoon) uses the TNT DOS Extender built into the game for it's memory managment. A command-line parameter that I stumbled upon for the TNT DOS Extender is "-NOPAGE" (which I THINK prevents the TNT DOS Extender from using a memory paging file).

Anyways...

When starting Transport Tycoon Deluxe like this (in my "DOSBox.conf" file for the game):

TTDX.EXE -NOPAGE

...NO crashes/lockups whatsover when starting DOSBox (and the game) in fullscreen mode, and also when ALT+TABBING to another running WinDoZe application 😀

One problem though, this doesn't seem to work for "TTDPatch" ( http://www.ttdpatch.net ), as apparently the "TTDPATCH.EXE" executable doesn't pass command-line parameteres to the game itself.

Anyhow, I figured that someone might wanna know 😀 Also, I THINK that this should work for the original Transport Tycoon ("TYCOON.EXE") as well (as it ALSO uses the TNT DOS Extender).

(Edit) P.S. I don't suppose that anyone knows of a way to force TTDPATCH to pass that "-NOPAGE" command-line parameter to Transport Tycoon Deluxe?

Last edited by rfnagel on 2014-01-05, 21:59. Edited 2 times in total.

Rich ¥Weeds¥ Nagel
http://www.richnagel.net

Reply 2 of 5, by rfnagel

User metadata
Rank Oldbie
Rank
Oldbie
truth5678 wrote:

Problem is described in the Guides subforum: DOSBOX and DPMI. Thank you for your soundfont work, too. 😀

Many thanks for the heads-up about that message thread, and you're quite welcome for the SoundFont stuff! 😀 😀

Rich ¥Weeds¥ Nagel
http://www.richnagel.net

Reply 3 of 5, by rfnagel

User metadata
Rank Oldbie
Rank
Oldbie
RichNagel wrote:

One problem though, this doesn't seem to work for "TTDPatch" ( http://www.ttdpatch.net ), as apparently the "TTDPATCH.EXE" executable doesn't pass command-line parameteres to the game itself.

RichNagel wrote:

(Edit) P.S. I don't suppose that anyone knows of a way to force TTDPATCH to pass that "-NOPAGE" command-line parameter to Transport Tycoon Deluxe?

PROBLEM SOLVED! 😀

After a LOT of useless Googling, I figured this one out on my own... In your custom "DOSBox.conf" file that runs TTD (as well as TTO):

SET GOTNT=-NOPAGE

...under the "[autoexec]" (before TTDPatch's executable is run).

Works like a champ, and can be used WITHOUT TTDpatch as well (negating the need for the "TTDX.EXE -NOPAGE" command-line parameter) 😀

Rich ¥Weeds¥ Nagel
http://www.richnagel.net

Reply 4 of 5, by truth_deleted

User metadata

Another possible solution here(?): http://www.dosbox.com/comp_list.php?showID=2102&letter=T ; "running the install.exe file in the Transport Tycoon folder and changing the default sound mapper for effecs and music".

Another post about GUS, TTD, and that error: Transport Tycoon Deluxe + GUS = Stack buffer shortage?.

Also, the patch author has incremental builds (2011 is most recent): http://nightly.ttdpatch.net/latest/.

I wonder if this alternative DOS extender (HDPMI32.EXE) will also work: http://www.japheth.de/Download/HX/HXRT217.zip. Perhaps it could be loaded in memory beforehand.

Reply 5 of 5, by rfnagel

User metadata
Rank Oldbie
Rank
Oldbie
truth5678 wrote:

Another possible solution here(?): http://www.dosbox.com/comp_list.php?showID=2102&letter=T ; "running the install.exe file in the Transport Tycoon folder and changing the default sound mapper for effecs and music".

From what I've seen while testing, it doesn't really matter what you select for sound effects and music devices... I'm thinking that it just might have been a random (good) glitch that the poster experienced.

truth5678 wrote:

Another post about GUS, TTD, and that error: Transport Tycoon Deluxe + GUS = Stack buffer shortage?.

Yeah, I found that message thread during my Google searches of the forums... no solution in that thread, though.

truth5678 wrote:

Also, the patch author has incremental builds (2011 is most recent): http://nightly.ttdpatch.net/latest/.

The problem isn't with TTDPatch, but rather Transport Tycoon itself (as the TTDPatch overlay loader still calls Tranport Tycoon's overlay file ("TYCOON.OVL"), which the TNT DOS extender is embedded in.

truth5678 wrote:

I wonder if this alternative DOS extender (HDPMI32.EXE) will also work: http://www.japheth.de/Download/HX/HXRT217.zip. Perhaps it could be loaded in memory beforehand.

Actually, I found that one as well while Googling. I WAS going to try that one as a last ditch effort, but then discovered that the game(s) worked just fine when setting the environment variable "SET GOTNT=-NOPAGE" before running the game, or TTDPatch 😀

Rich ¥Weeds¥ Nagel
http://www.richnagel.net