1.9.1 alpha progress

Get help, info, news and advice about the Transport Tycoon Deluxe patch.

Moderator: TTDPatch Moderators

Locked
SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Post by SHADOW-XIII »

here in windows version it works so it is only dos fault probably
what are you looking at? it's a signature!
SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Post by SHADOW-XIII »

Josef can you make 'loadallgraphics' off by default ??
what are you looking at? it's a signature!
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

I think we have enought crashlogs now,
Josef should know that the DOS Version 45 breakes.
User avatar
spaceman-spiff
Retired Moderator
Retired Moderator
Posts: 20634
Joined: 28 Jul 2002 07:08
Location: Belgium
Contact:

Post by spaceman-spiff »

eis_os wrote:I think we have enought crashlogs now,
Josef should know that the DOS Version 45 breakes.
You can never have enough :P
Well, back to work, lot's of it in the near future
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

Please send all new crashlogs about alpha 45 dos with the new game / scenario editor problem to Spaceman-Spiff :P

He likes reading Crashlogs, so you could give him something back for moderating the forums.
He is surely happy about your posts :P

*eg*
User avatar
spaceman-spiff
Retired Moderator
Retired Moderator
Posts: 20634
Joined: 28 Jul 2002 07:08
Location: Belgium
Contact:

Post by spaceman-spiff »

eis_os wrote:Please send all new crashlogs about alpha 45 dos with the new game / scenario editor problem to Spaceman-Spiff :P

He likes reading Crashlogs, so you could give him something back for moderating the forums.
He is surely happy about your posts :P

*eg*
Yes, please do, I will gather them and then send them to the patchman :wink:
Well, back to work, lot's of it in the near future
User avatar
Dinges
Tycoon
Tycoon
Posts: 2865
Joined: 07 Jan 2003 18:00
Location: Fryslân Boppe!
Contact:

Post by Dinges »

Too bad I deleted 134 crashlogs last time...
Dinges

Who is the other person in me?

my Blog (dutch) - my Last.fm profile

Owner of http://ttdgraphics.cjb.net/ ! Temp addr: http://ttdgraphics.owenrudge.com/
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

eis_os wrote:I think we have enought crashlogs now,
Josef should know that the DOS Version 45 breakes.
Yes, I know. But I still haven't found out why :(

It works fine on my computer, all versions...

Can someone please try to fiddle with the switches and/or newgrf.txt and find out what breaks it?
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

To inform you all, enhancegui is breaked while Josef made the code smaller. I have now tested I think around 4 different versions of my codebases. Josef seems mixed some registers. It's better you switch off the patch with off until we will fix it, or we use my orginal version of the code.
:(
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...
Image
User avatar
Oracle
Tycoon
Tycoon
Posts: 2138
Joined: 22 May 2003 09:59

Post by Oracle »

I've done some testing for alpha 45 (DOS) on my Win 98 computer. (Alpha 44 works fine.)

Changing the switches does not seem to make a difference - most on (except new rvs and planes) and all off seems the same but there may be some overlap with electrified railways and new ships as they have an impact on graphics.

Normally, with my usual newgrf.txt, TTD does not start due to a 'memory protection error', but varying the newgrf.txt file produces varying results, with crashes or hangs at different points. The attached zip file contains all my newgrf.txt files, the crashlogs for each of them (if there is one), a text file listing the results of each file/set of files and the cfg file used for testing.

Hope these are useful.
Attachments
newgrferrors.zip
(8.99 KiB) Downloaded 51 times
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

Oracle wrote:I've done some testing for alpha 45 (DOS) on my Win 98 computer. (Alpha 44 works fine.)

Changing the switches does not seem to make a difference - most on (except new rvs and planes) and all off seems the same but there may be some overlap with electrified railways and new ships as they have an impact on graphics.

Normally, with my usual newgrf.txt, TTD does not start due to a 'memory protection error', but varying the newgrf.txt file produces varying results, with crashes or hangs at different points. The attached zip file contains all my newgrf.txt files, the crashlogs for each of them (if there is one), a text file listing the results of each file/set of files and the cfg file used for testing.

Hope these are useful.
Unfortunately I can't reproduce any of these crashes. All of the files work fine for me. I do note that some of your newgrf.txt files start with an empty line. That forces alpha 45 to terminate processing of newgrf.txt at the empty line, so all your newgrf.txt files beginning with an empty line are equivalent to empty newgrf.txt files. In alpha 46, it'll at least complain that it can't find file "", instead of aborting silently...

However, even that worked fine for me. No crashes at all. Since TTDPatch doesn't actually load any graphics (because of the empty line), the fault can't be in the new .grf files. That makes it even more puzzling, because then the error would have to be in title.dat or something. I even tried the english language version of TTD (which you're using), but that made no difference either. Very strange.

Could you try alpha 45 on a fresh install of TTD? I'm curious if the problems stem from some changes to trg1.grf (e.g. the Euro character) perhaps.
eis_os wrote:To inform you all, enhancegui is breaked while Josef made the code smaller. I have now tested I think around 4 different versions of my codebases. Josef seems mixed some registers. It's better you switch off the patch with off until we will fix it, or we use my orginal version of the code.
:(
I'm terribly sorry. I'm very picky about wasted bytes in the assembly code, and when I see an opportunity to reducing the size, I can't resist. Unfortunately in doing so I broke enhancegui except when you have "enhancegui 0". I didn't even test it with anything but the default either, or I would have noticed.

It'll be fixed in alpha 46.
User avatar
Stylesjl
Tycoon
Tycoon
Posts: 1787
Joined: 11 Feb 2003 08:00
Location: NSW, Australia

Post by Stylesjl »

here is my config
Attachments
Ttdpatch.cfg
will this help?
(1.52 KiB) Downloaded 43 times
User avatar
Stylesjl
Tycoon
Tycoon
Posts: 1787
Joined: 11 Feb 2003 08:00
Location: NSW, Australia

Post by Stylesjl »

and crash log
Attachments
Crash023.txt
(1.2 KiB) Downloaded 43 times
User avatar
Stylesjl
Tycoon
Tycoon
Posts: 1787
Joined: 11 Feb 2003 08:00
Location: NSW, Australia

Post by Stylesjl »

I don't think its the switchs i tried installing lastest alpha on the other computer which is also DOS Version and the scenario editor still crashes
User avatar
spaceman-spiff
Retired Moderator
Retired Moderator
Posts: 20634
Joined: 28 Jul 2002 07:08
Location: Belgium
Contact:

Post by spaceman-spiff »

Do you always talk to yourself :?
Well, back to work, lot's of it in the near future
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

Good news: I managed to reproduce the crash.

It's morevehicles that's broken. If set to > 1, it crashes when starting a new game.

Bad news: I have absolutely no clue what broke this. I changed not a single byte related to morevehicles from alpha 44 to 45. I went through every line of changes, and there is none. Absolutely none.

I'm at a loss as to where to start looking now...
User avatar
Stylesjl
Tycoon
Tycoon
Posts: 1787
Joined: 11 Feb 2003 08:00
Location: NSW, Australia

Post by Stylesjl »

wow more veichles hold on..........
User avatar
Stylesjl
Tycoon
Tycoon
Posts: 1787
Joined: 11 Feb 2003 08:00
Location: NSW, Australia

Post by Stylesjl »

Yes thats right moreveichles did break it maybe something else interfered with the code of more veichles :?
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

It was the new loader, which made it necessary to patch one thing that was automatically patched before. That was tough to find...

But now...

Here's another quick update, mostly because of crashes in alpha 45. I hope they're fixed now. I've also worked on the electrified railways yet again, now pylons are shown properly inside not outside the bridges, and not shown on tubular bridges at all. Because of this, you have to yet again download a new elrails(w).grf file... sorry about that. But finally, the game actually notifies you if you have an outdated version :)

Also I broke Oskar's depot GUI code when integrating it, this is fixed now. You can add up the following numbers as parameters to enhancegui:
2 Make depot windows even bigger, show 8 more cars instead of 4
4 Make almost everything in the depot window act as trash can
Note that if you use this, be careful not to accidentally sell your vehicles!
8 Put trash can horizontally on bottom of the window

And finally, Marcin has fixed a bug which prevent new airports from being constructed in some towns where the player did not already own an airport.

All changes in 1.9.1 alpha 46 (May 25, 2003):
  • don't abort processing of newgrf(w).txt when an empty line is encountered
  • I broke Oskar's depot GUI code when integrating it, now it's fixed
  • show pylon for track piece under bridge
  • show pylon inside bridge, not outside
  • by Marcin: fix airport counting bug preventing the construction of airports in some towns where one didn't have any airports yet
  • rename small to smallico in windows.c or gcc complains (?)
  • fixed crash when starting new game in DOS version with morevehicles > 1
  • remove pylons from tubular bridge again
User avatar
Stylesjl
Tycoon
Tycoon
Posts: 1787
Joined: 11 Feb 2003 08:00
Location: NSW, Australia

Post by Stylesjl »

i downloaded it and the bug is fixed finally now i can use the scenario editor again 8) :bow:
Locked

Return to “General TTDPatch”

Who is online

Users browsing this forum: No registered users and 4 guests