DOS r2264 fails to run under DOSBox
Moderator: TTDPatch Moderators
DOS r2264 fails to run under DOSBox
I just downloaded DOS r2264 and it fails to run under DOSBox with the error: TTDPatch: Failed to find string #0000 at 0024E454, found 02/01 at 00173E80 for oldfinishclosewindow in patchwindow2
Result: [Error!]
Result: [Error!]
Formerly known as r0b0t_b0y2003, robotboy, roboboy and beclawat. The best place to get the most recent nightly builds of TTDPatch is: http://roboboy.users.tt-forums.net/TTDPatch/nightlies/
Re: DOS r2264 fails to run under DOSBox
Does it say "Result: [OK]" (I think) if you start it as "ttdpatch -!T+v+"? (without the quotes, of course)
It won't actually start this way, though.
Also, please post your ttdpatch.cfg and, if possible, figure out the most recent version that did work.
It won't actually start this way, though.
Also, please post your ttdpatch.cfg and, if possible, figure out the most recent version that did work.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Re: DOS r2264 fails to run under DOSBox
No it does not say Result: [OK]. It gives me Result: [Error!] plus the same message plus FAILED to collect version information.
- Attachments
-
- TTDPATCH.CFG
- (37.07 KiB) Downloaded 226 times
Formerly known as r0b0t_b0y2003, robotboy, roboboy and beclawat. The best place to get the most recent nightly builds of TTDPatch is: http://roboboy.users.tt-forums.net/TTDPatch/nightlies/
-
- OpenTTD Developer
- Posts: 351
- Joined: 03 Oct 2006 18:26
- Location: Prague, Czech Republic
- Contact:
Re: DOS r2264 fails to run under DOSBox
I have the same problem-
last working revision r2154
first broken r2160
"ttdpatch -!T+v+" doesn't help
I deleted ttdpatch.cfg and ttdload.ovl before starting ttdpatch, with no effect.
last working revision r2154
first broken r2160
"ttdpatch -!T+v+" doesn't help
I deleted ttdpatch.cfg and ttdload.ovl before starting ttdpatch, with no effect.
- Attachments
-
- ttdpatch.png (23.6 KiB) Viewed 7307 times
Re: DOS r2264 fails to run under DOSBox
OK, now I'm just more confused.
If 2154 works and 2160 does not, that means that either 2159 or 2160 broke it, but neither looks even vaguely suspicious.
Furthermore, that memory address makes no sense whatsoever; it's not in a location that I would consider patching, and the code there (in the IDA DB) does not match the codefragment that Patch says it finds.
One more thing to check while I'm trying to wrap my brain around this: Does it still happen with no newgrfs?
If 2154 works and 2160 does not, that means that either 2159 or 2160 broke it, but neither looks even vaguely suspicious.
Furthermore, that memory address makes no sense whatsoever; it's not in a location that I would consider patching, and the code there (in the IDA DB) does not match the codefragment that Patch says it finds.
One more thing to check while I'm trying to wrap my brain around this: Does it still happen with no newgrfs?
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Re: DOS r2264 fails to run under DOSBox
I got DOS TTDP r2160 to fail in DOSBox with no GRFs except for ttdpbase.grf
Formerly known as r0b0t_b0y2003, robotboy, roboboy and beclawat. The best place to get the most recent nightly builds of TTDPatch is: http://roboboy.users.tt-forums.net/TTDPatch/nightlies/
Re: DOS r2264 fails to run under DOSBox
http://svn.ttdpatch.net/trac/changeset/2159#file8
Might that have something to do with it?
@Robotboy, SmatZ
For testing purposes, perhaps try running it with enhancegui turned off...
Might that have something to do with it?
@Robotboy, SmatZ
For testing purposes, perhaps try running it with enhancegui turned off...
Ex TTDPatch Coder
Patch Pack, Github
Patch Pack, Github
Re: DOS r2264 fails to run under DOSBox
I tried turning it off and it still didn't work. I had to manually add the line at the bottom.
Formerly known as r0b0t_b0y2003, robotboy, roboboy and beclawat. The best place to get the most recent nightly builds of TTDPatch is: http://roboboy.users.tt-forums.net/TTDPatch/nightlies/
Re: DOS r2264 fails to run under DOSBox
Remember that various patches can enable other patches (internally), such is the case of enhance gui.
I imagine quite a few other patches enable it as a dependency...
[Edit] Only newstations will turn on enhancegui in this way.
~ Lakie
I imagine quite a few other patches enable it as a dependency...
[Edit] Only newstations will turn on enhancegui in this way.
~ Lakie
TTDpatch Developer 2005 - 2010 ~ It all started because of shortened vehicle not loading correctly, now look where I've gone with it!
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
Re: DOS r2264 fails to run under DOSBox
Turning newstations off fixed the issue.
Formerly known as r0b0t_b0y2003, robotboy, roboboy and beclawat. The best place to get the most recent nightly builds of TTDPatch is: http://roboboy.users.tt-forums.net/TTDPatch/nightlies/
-
- OpenTTD Developer
- Posts: 351
- Joined: 03 Oct 2006 18:26
- Location: Prague, Czech Republic
- Contact:
Re: DOS r2264 fails to run under DOSBox
I managed to run TTDP r2305 with "allnoconfig", eg. "ttdpatch -W ttdpatch.cfg", that created config with all settings "off". It crashed with page fault "randomly" (not every time, sometimes I managed to start new game, sometimes it even crashed dosbox).
Attached config causes the game to crash as shown in the attached screenshot, enabling cargodest causes the original problem - TTDP doesn't even start. I will try to run TTDP on a real hardware, as this can be caused by imperfect DOSBox emulation.
Attached config causes the game to crash as shown in the attached screenshot, enabling cargodest causes the original problem - TTDP doesn't even start. I will try to run TTDP on a real hardware, as this can be caused by imperfect DOSBox emulation.
- Attachments
-
- TTDPATCH.CFG
- config that allows me to run TTDP, but often crashed with page fault
enabling cargodest makes it fail to even start - (32.2 KiB) Downloaded 247 times
-
- crash with attached config
- r2305.png (383.83 KiB) Viewed 7193 times
-
- dosbox.cfg
- dosbox config - it doesn't let me attach dosbox.conf
- (9.69 KiB) Downloaded 235 times
Re: DOS r2264 fails to run under DOSBox
I tried starting TTDPatch using r2306 using my old CFG that worked with the first broken version but now it doesnt, it is TTDPATCH.cfg attatched below. I then ran TTDPATCH using "TTDPATCH -W test.cfg -C test.cfg" this worked and I did not get a page fault for multiple minutes.
- Attachments
-
- TEST.CFG
- (32.2 KiB) Downloaded 255 times
-
- TTDPATCH.CFG
- (37.09 KiB) Downloaded 193 times
Formerly known as r0b0t_b0y2003, robotboy, roboboy and beclawat. The best place to get the most recent nightly builds of TTDPatch is: http://roboboy.users.tt-forums.net/TTDPatch/nightlies/
Re: DOS r2264 fails to run under DOSBox
DOS TTDP r2306 fails to run on MS-DOS5 on real hardware. I get the same nessage before TTD loads.
Formerly known as r0b0t_b0y2003, robotboy, roboboy and beclawat. The best place to get the most recent nightly builds of TTDPatch is: http://roboboy.users.tt-forums.net/TTDPatch/nightlies/
Re: DOS r2264 fails to run under DOSBox
Is there any more information I can provide to help get this fixed?
Formerly known as r0b0t_b0y2003, robotboy, roboboy and beclawat. The best place to get the most recent nightly builds of TTDPatch is: http://roboboy.users.tt-forums.net/TTDPatch/nightlies/
Re: DOS r2264 fails to run under DOSBox
Any news on this? I've the same problem with "pure dos" on my k6.
Who is online
Users browsing this forum: No registered users and 5 guests