cannot start nigthly
Moderator: TTDPatch Moderators
- zero1000
- Transport Coordinator
- Posts: 373
- Joined: 17 Jul 2003 13:58
- Location: Munich area, Bavaria, Germany, Europe, Earth, Solar System, Milky Way
cannot start nigthly
Hi,
since some days I cannot start the TTDPatch nigthly anymore. It comes with the following error message. I have no idea what I have changed. No Crashlog. TTDLOADW.OVL was deleted manually by be and newly generated by the patch. The version is nightly-r1832.
Somebody any ideas what's wrong?
Thanks
zero1000
since some days I cannot start the TTDPatch nigthly anymore. It comes with the following error message. I have no idea what I have changed. No Crashlog. TTDLOADW.OVL was deleted manually by be and newly generated by the patch. The version is nightly-r1832.
Somebody any ideas what's wrong?
Thanks
zero1000
- Attachments
-
- Appl Error.gif (6.01 KiB) Viewed 4048 times
zero1000
Re: cannot start nigthly
Then follow directions ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- vvzero1000 wrote:No Crashlog.
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
- zero1000
- Transport Coordinator
- Posts: 373
- Joined: 17 Jul 2003 13:58
- Location: Munich area, Bavaria, Germany, Europe, Earth, Solar System, Milky Way
Re: cannot start nigthly
Hi Dale,
here is the screenshot of the olly debuger. Hopefully I catched the right exception, because the error occurs before the TTDLOADW.OVL is loaded completly, it happens before the title window comes up.
Thanks in advance for have a look on this.
regards
zero
here is the screenshot of the olly debuger. Hopefully I catched the right exception, because the error occurs before the TTDLOADW.OVL is loaded completly, it happens before the title window comes up.
Thanks in advance for have a look on this.
regards
zero
- Attachments
-
- Olly Dbg Screen.gif (45.35 KiB) Viewed 963 times
-
- ttdpatch.cfg
- (5.55 KiB) Downloaded 117 times
zero1000
Re: cannot start nigthly
This is caused by one or more of your GRFs. I'd guess that your vehicle GRFs are probably not part of this problem, but I don't know for sure.
In any case, please find the smallest set of GRFs that produces it and post your newgrf.cfg.
In any case, please find the smallest set of GRFs that produces it and post your newgrf.cfg.
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
- zero1000
- Transport Coordinator
- Posts: 373
- Joined: 17 Jul 2003 13:58
- Location: Munich area, Bavaria, Germany, Europe, Earth, Solar System, Milky Way
Re: cannot start nigthly
Thanks Dale,
seems that I have reached some limit for station sprites. If I comment out some of the station grf's it works. And it doesn't matter which I delete from the list.
regards
zero
seems that I have reached some limit for station sprites. If I comment out some of the station grf's it works. And it doesn't matter which I delete from the list.
regards
zero
zero1000
Re: cannot start nigthly
Lucky one!zero1000 wrote:Thanks Dale,
seems that I have reached some limit for station sprites. If I comment out some of the station grf's it works. And it doesn't matter which I delete from the list.
regards
zero
Since r1829 the game doesen't start for me either, no matter if I delete newgrf.cfg or not. So I assume, it's not a grf problem!?
Got a similar error message. Dale, can you have a look at it?
- Attachments
-
- image1.png
- crashlog
- (66.68 KiB) Downloaded 29 times
-
- ttdpatch.cfg
- (35.79 KiB) Downloaded 105 times
-
- error message
- image2.png (11.35 KiB) Viewed 3836 times
Re: cannot start nigthly
Bloody stupid breakage. It works for me it works for me it works for me.
For some reason, on some machines, r1829/1830 broke loading the texts. Even having found another bug in that code, I still can't understand how. If I can't figure out why in the near future, I guess I'll have to take it back out. There is at least a chance that tonight's nightly will fix it, though.
For some reason, on some machines, r1829/1830 broke loading the texts. Even having found another bug in that code, I still can't understand how. If I can't figure out why in the near future, I guess I'll have to take it back out. There is at least a chance that tonight's nightly will fix it, though.
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: cannot start nigthly
Unfortunately it doesn't! Just another crashlog ...DaleStan wrote:There is at least a chance that tonight's nightly will fix it, though.

But I figured out that the crash is caused by "newcargos on". Switchin' it off, it works fine.
Any ideas?
- Attachments
-
- CRASH000.TXT
- (1.58 KiB) Downloaded 123 times
Re: cannot start nigthly
Is there anyone who can reproduce this bug and is interested in debugging it? Some programming knowledge will be helpful, but is not required. Ability to run OllyDBG is required. (The procedure is the same as the for debugging a crash with Olly, up to the point where you take the screenshot. I'll walk you through from there.)
If so, please find me on IRC, or reply here if it'll be a few days before you'll be available.
If so, please find me on IRC, or reply here if it'll be a few days before you'll be available.
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: cannot start nigthly
After some thought and work, and assuming it's what Patchman guesses it is, and I hope it is, it should be possible to get the necessary information by following these instructions. Yes, this is long, but hopefully it will give me the information I need to fix the problem.
Proceed as for debugging with Olly, using the alternate instructions on the wiki. You will get a window that looks something like 1.png.
If the status bar again starts with "Hardware breakpoint":
If the status bar instead starts with "Illegal instruction":
If, at any point, you get the message "TTDPatch not loaded properly", you pressed a key in the TTDPatch window, and caused TTDPatch to close. Close Olly and restart from the very beginning, being careful not to close TTDPatch until after you have collected all the screenshot(s).
Proceed as for debugging with Olly, using the alternate instructions on the wiki. You will get a window that looks something like 1.png.
- Click in the red-outlined area. This is the dump, and will be referred to as such from now on.
- Type <ctrl-G>
- Confirm that the pop-up dialog box's title is "Enter expression to follow in Dump". If "in Dump" is missing, or it says "in Stack", go back to step 1 and try again.
- Type "esi-2", without the quotes, and click OK.
- Right-click on byte the in the upper left-hand corner of the dump, here marked with a blue outline.
- From the pop-up menu, select Breakpoint->Hardware, on write->Byte.
- Type <ctrl-F2>, click OK (the entry point warning again), press <F9>.
You will now see a screen that looks like 2.png. Note that the status bar (all the way at the bottom) starts with "Hardware breakpoint". - Find the address in white on black in the upper left (here, "00537B8E"), and make sure that the top of the next column is "F3:A4", as shown. If not, submit screenshot and hie yourself over to IRC.
- Click in the Dump panel, type <ctrl-G> As before, check the popup's title.
- Type "edi", again without the quotes, and click OK. (Note: It's eDi this time, not eSi.)
- Press <F8>.
- Right-click anywhere in the dump pane, and select Backup->Create backup.
- Press <F9>.
If the status bar again starts with "Hardware breakpoint":
- Take a screenshot.
- Press <F9>. If the status bar still starts with "Hardware breakpoint", take another screenshot. Repeat this step until the status bar starts with "Illegal instruction".
- Submit all screenshot(s). Hopefully there will only be one.
If the status bar instead starts with "Illegal instruction":
- Scroll up in the Dump until the "ASCII" column no longer appears to contain mostly readable text.
- Scroll down until you find something in red, instead of the usual grey.
- Right click on first (top-most, or left-most of any that are equally high) red byte, either in the "Hex dump" column or in the "ASCII" column, and proceed from step 6, above. When you submit the screenshot(s), mention that you had to do this.
If, at any point, you get the message "TTDPatch not loaded properly", you pressed a key in the TTDPatch window, and caused TTDPatch to close. Close Olly and restart from the very beginning, being careful not to close TTDPatch until after you have collected all the screenshot(s).
- Attachments
-
- 1.PNG (43.93 KiB) Viewed 963 times
-
- 2.png
- (43.76 KiB) Downloaded 30 times
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: cannot start nigthly
OK, scratch all that. This is fixed, as of r1852. TTDPatch was trying to store up to 2109 pieces of data in an array that could only hold 2048, so the custom texts got overwritten, and that made them quite exceedingly broken.
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: cannot start nigthly
@Dale: I'm sorry for the delayed reply on your detailed instructions.
As you said, the problem has been fixed by r1852. Thank you for your very good work!
As you said, the problem has been fixed by r1852. Thank you for your very good work!
Who is online
Users browsing this forum: No registered users and 19 guests