IRC logs for #opendune on OFTC at 2009-10-17
            
00:00:20 <Xaroth> stationwalking, only with rocket turrets \o/
00:05:52 <Xaroth> Program Termination: jumped to 0972:10AB, which is not decompiled. The jump was triggered at ..\decompiled\cs__0972.c:2158
00:06:15 <Xaroth> I had 3 turrets up in his left base
00:06:24 <Xaroth> killed about all his defensive troops, hrr
00:18:51 <glx> TrueBrain: http://devs.opendune.org/~glx/crashes/ <-- some crash_<cs>_<ip>[_<line>].bin (so the origin cs:ip is known)
03:12:41 *** glx has quit IRC
07:36:08 *** Alberth has joined #openDune
07:58:29 <TrueBrain> morning all
08:02:40 <DorpsGek> SVN: truebrain (r313) [JIT] -Add: 1 more problem found by Xaroth
08:04:32 <Alberth> good morning
08:18:13 <DorpsGek> SVN: truebrain (r314) [JIT] -Add: mapped another 16 functions (crash-logs supplied by glx)
08:18:31 <DorpsGek> SVN: truebrain (r315) -Update (r313, r314): update decompiled code
08:18:36 <TrueBrain> there we go ..
08:19:23 <Alberth> nice!
08:19:55 <Alberth> I could play O3 yesterday entirely without crash :(
08:20:02 <Alberth> the program is getting too stable :p
08:21:21 <TrueBrain> hahaha :)
08:21:22 <TrueBrain> good ;)
08:57:04 <planetmaker> moin moin
08:57:12 <planetmaker> just compiling the stuff:
08:57:15 <planetmaker> decompiled/cs__01F7.c: In function ‘f__01F7_1AE8_0010_0EEE’:
08:57:17 <planetmaker> decompiled/cs__01F7.c:4361: warning: comparison is always true due to limited range of data type
08:57:19 <planetmaker> decompiled/cs__01F7.c: In function ‘f__01F7_1B73_0022_8ADB’:
08:57:20 <planetmaker> decompiled/cs__01F7.c:4439: warning: comparison is always false due to limited range of data type
08:57:35 <planetmaker> decompiled/cs__1FB5.c: In function ‘f__1FB5_0AEC_001B_A5E4’:
08:57:37 <planetmaker> decompiled/cs__1FB5.c:1349: warning: comparison is always false due to limited range of data type
08:57:38 <TrueBrain> we know planetmaker :)
08:57:45 <planetmaker> ok :-)
08:57:50 <TrueBrain> tnx anyway ;)
08:58:04 <TrueBrain> all warnings in decompiled/ can and should be ignored ;)
08:58:14 <planetmaker> he :-P
09:03:31 <planetmaker> is there a special procedure / place I should put libemu.so /.a ?
09:05:00 <TrueBrain> in the 'trunk' dir
09:05:09 <TrueBrain> (or in your library path, but the first is eaiser :p)
09:05:11 <TrueBrain> I symlinked it
09:05:48 <planetmaker> ok. thanks :-)
09:07:03 <planetmaker> ld: library not found for -lSDLMain <-- I guess I have to give make a library path?
09:07:14 <TrueBrain> make OSX:=1
09:07:17 <planetmaker> SDL is normally installed via macports and I called make OSX:=1
09:07:26 <TrueBrain> then it has the right paths programmed in for me
09:07:37 <TrueBrain> it adds -L/opt/<something>
09:07:46 <TrueBrain> but else: LDFLAGS="-L<blabla>" make OSX:=1
09:08:50 <TrueBrain> let me know what you needed to do to make it to work, then maybe I can make it easier ;)
09:12:27 <planetmaker> do I need libsdl or libsdl-devel?
09:12:40 <TrueBrain> in macports there is no such thing as -devel, not?
09:12:44 <TrueBrain> I only installed libsdl
09:12:48 <planetmaker> ok
09:13:01 <TrueBrain> but you should have libSDLmain.a in your /opt afterwards
09:13:09 <planetmaker> you can install libsdl-devel, though. But it conflicts with libsdl
09:13:18 <TrueBrain> haha, weird ...
09:13:34 <TrueBrain> run a 'find /opt | grep libSDL' ;)
09:14:28 <planetmaker> /opt/local/lib/libSDLmain.a
09:14:35 <TrueBrain> hmm .. so a typo I guess
09:14:41 <TrueBrain> make the libSDLMain to libSDLmain
09:14:42 <TrueBrain> ;)
09:15:15 <TrueBrain> (my mac runs case-insensitive ;))
09:15:23 <planetmaker> :-P
09:16:30 <planetmaker> that did the trick, yes :-) Nice!
09:16:57 <planetmaker> ok... now I need probably some original data files, right?
09:17:02 <DorpsGek> SVN: truebrain (r316) -Fix (r270): typo in libSDLmain, which made OSX fail on case-sensitive filesystems
09:17:06 <TrueBrain> is in my dev-space
09:17:14 <TrueBrain> http://devs.opendune.org/~truebrain/releases/
09:17:44 <planetmaker> ty
09:21:55 <planetmaker> where do I put it? Into trunk/data ?
09:22:05 <TrueBrain> the dir that says: put_your_data_files_here.txt ;)
09:22:28 <planetmaker> it says put_dune2_here.txt :-P
09:22:32 <TrueBrain> sorry ;)
09:23:43 <planetmaker> gah. Any way to abort the intro?
09:23:49 <planetmaker> (sorry, I'm asking and asking...)
09:23:50 <TrueBrain> touch data/onetime.dat
09:23:52 <TrueBrain> ;)
09:26:09 <planetmaker> :S
09:26:15 <planetmaker> key handling doesn't work...
09:26:21 <TrueBrain> not all keys, most do
09:26:22 <planetmaker> cursor keys not recognized.
09:26:36 <TrueBrain> on OSX, no :p Only numpad works ;)
09:26:47 <TrueBrain> (which OSX of course doesn't have)
09:26:51 <planetmaker> and I cannot click to place a concrete slab nor draw a rectangle to select units
09:27:08 <TrueBrain> euh, darling, you could never draw a rectangle to select units ;)
09:27:25 <TrueBrain> put you should be able to place slabs :)
09:27:25 <planetmaker> ok, then my memory is faulty :-)
09:27:41 <planetmaker> just clicking where I want it, right?
09:27:42 <TrueBrain> dune2 is very much: click click click click click :p
09:27:47 <TrueBrain> well, first click: Place
09:27:50 <TrueBrain> then you get the layout of the building
09:27:56 <planetmaker> yes
09:27:58 <TrueBrain> then click where you want it, if it doesn't have a X in it :p
09:28:04 <TrueBrain> (so very close to the CY :p)
09:28:12 <planetmaker> I'm there. there's a red/white alternating one-tile slab over the construction building
09:28:15 <planetmaker> I should move that
09:28:23 <TrueBrain> with the mouse, yes
09:28:29 <planetmaker> not working...
09:28:46 <TrueBrain> mouse in general, or?
09:29:07 <planetmaker> well. I could click the "place it" button
09:29:25 <planetmaker> but I cannot click options or mentat right now
09:29:32 <planetmaker> I could click "cancel" (placing)
09:30:24 <TrueBrain> k, testing it here ... but as far as I know, it works
09:31:02 <planetmaker> minimap doesn't accept clicks either
09:31:18 <planetmaker> now... strange.
09:31:23 <planetmaker> now it somewhat worked
09:31:48 <TrueBrain> all works fine here on my mac
09:32:18 <planetmaker> hm... now the mouse is trapped in the minimap...
09:32:39 <planetmaker> oh... command+click
09:32:53 <TrueBrain> that would be right click
09:32:59 <TrueBrain> which is used not so much in Dune2
09:33:38 <planetmaker> hm... now it works
09:33:41 <planetmaker> dunno why
09:34:20 <TrueBrain> me neither
09:34:24 <TrueBrain> as long as it works now ;)
09:39:17 <Xaroth> morning
09:41:51 *** SmatZ is now known as SmatZ2
09:42:00 <Xaroth> enow there's two of em :o
09:42:01 <planetmaker> it works nicely :-)
09:42:12 <TrueBrain> planetmaker: it is getting there ;)
09:43:27 *** SmatZ2 is now known as SmatZ
09:48:46 <planetmaker> :-) Completed first Harkonnen mission
09:48:59 <planetmaker> I always liked Harkonnen best. with the BIGGEST GUNS ;-)
09:49:10 <planetmaker> though attraides (blue) was nice, too
09:49:18 <planetmaker> nice sonic tanks
09:52:03 <planetmaker> hm... now there's issues again with "select next region". Doesn't seem to react...
09:53:14 <Alberth> pressing return helped with me
09:54:32 <TrueBrain> so I guess Xaroth is not the only one with that problem :)
10:00:05 <TrueBrain> here it now hangs on score thingy
10:00:35 <TrueBrain> and it really doesn't want to continue
10:00:37 <TrueBrain> nasty :)
10:00:51 <TrueBrain> so I guess another bug in the input code?
10:01:41 <planetmaker> and another:
10:01:44 <planetmaker> Program Termination: jumped to 22A6:0AD9, which is not decompiled.
10:01:46 <planetmaker> The jump was triggered at decompiled/cs__22A6.c:1277
10:01:47 <planetmaker> The jump appears to originate from 22A6:0AE5.
10:01:49 <planetmaker> Please send the file 'memory/crash.bin' to upstream developers.
10:01:52 <TrueBrain> upload the crash.bin
10:02:06 <TrueBrain> that will happen 'a lot' and is a good thing :)
10:03:03 <TrueBrain> Xaroth: Remote IP address:&#32;10.42.42.8 <- it is still doing that :(
10:07:55 <planetmaker> TrueBrain: http://www.openttdcoop.org/files/pm/crash.bin
10:10:49 <DorpsGek> SVN: truebrain (r317) -Remove: the C version of the input/mouse handler seems to give more problems then it solves, so revert back to decompiler output for now
10:13:57 <Alberth> http://paste.openttd.org/217428 link errors
10:16:13 <DorpsGek> SVN: truebrain (r318) -Add: named most input/mouse functions we already identified
10:19:20 <DorpsGek> SVN: truebrain (r319) [JIT] -Add: 1 more problem found by planetmaker
10:19:55 <planetmaker> :-) seems like I should re-compile
10:19:55 <DorpsGek> SVN: truebrain (r320) -Update (r319): update decompiled code
10:20:07 <TrueBrain> Alberth: I assume r318 fixed your link errors?
10:20:33 <Alberth> No :(
10:21:05 <planetmaker> Program Termination: jumped to 3FF1:039D, which is not decompiled.
10:21:07 <planetmaker> The jump was triggered at decompiled/cs__B503.c:636
10:21:09 <planetmaker> The jump appears to originate from B503:0398.
10:21:13 <Alberth> http://paste.openttd.org/217431
10:21:19 <DorpsGek> SVN: truebrain (r321) -Fix (r317): add files when they re-appear
10:21:27 <planetmaker> uploading new crash.bin :-)
10:22:02 <Alberth> planetmaker: if you do it the other way around, tb cannot be too quick in downloading
10:22:21 <planetmaker> uploaded ;-)
10:22:27 <planetmaker> you're perfectly right, Alberth :-)
10:24:26 <Alberth> problem solved, thanks
10:24:32 <DorpsGek> SVN: truebrain (r322) [JIT] -Add: 1 more problem found by planetmaker
10:24:43 <DorpsGek> SVN: truebrain (r323) -Update (r322): update decompiled code
10:24:49 <TrueBrain> this is good for revisions :p Ghehe :)
10:24:54 <TrueBrain> Alberth: tnx for noticing ;)
10:24:55 <planetmaker> hehe :-)
10:25:03 <Alberth> there is no point in starting a game in this way :)
10:25:10 <TrueBrain> there is always a point :)
10:25:17 <TrueBrain> the chances that you will run into the same problem are kind of small :)
10:29:44 <Xaroth> TrueBrain: mantis?
10:29:51 <TrueBrain> Xaroth: yes
10:29:56 <Xaroth> k
10:29:59 <Xaroth> i'll look at it
10:30:04 <Xaroth> did you see the wiki changes i did?
10:30:05 <TrueBrain> thank you! :)
10:30:07 <TrueBrain> no :(
10:30:12 <Xaroth> go look then :P
10:30:17 <TrueBrain> oh, pretty :)
10:30:18 <TrueBrain> hehe
10:30:28 <TrueBrain> well, the mainpage looks stupid now
10:30:29 <Xaroth> more.. dune-esque
10:30:54 <Xaroth> stupid as in, the main pane is too short?
10:30:59 <TrueBrain> too ugly :p
10:31:20 <Xaroth> ugly in what way :P
10:31:56 <TrueBrain> dunno .. maybe it is just the green colour :p Or what is the background :)
10:32:23 <Xaroth> the background is the color of the building pane in dune
10:32:32 <TrueBrain> ah
10:32:43 <TrueBrain> and there isn't enough info on the wiki :p Ghehe :)
10:32:59 <Xaroth> that's not a design issue, that's an information issue :P
10:32:59 <planetmaker> damn... where do I get the answers to the copy protection?
10:33:12 <TrueBrain> http://dune2k.com/Duniverse/Games/DuneII/Manual
10:36:22 <planetmaker> Program Termination: jumped to 41D2:01C4, which is not decompiled.
10:36:24 <planetmaker> The jump was triggered at decompiled/cs__B527.c:292
10:36:26 <planetmaker> The jump appears to originate from B527:0187.
10:36:27 <planetmaker> and crash.bin uploaded / updated
10:37:01 <planetmaker> level 2 just is not in for me yet it seems ;-)
10:52:41 <TrueBrain> I have a poor memory for urls ... :p
10:59:20 <TrueBrain> in other words: planetmaker, can you also give me the url again? :)
11:07:10 <Alberth> (12:08:56 PM) planetmaker: TrueBrain: http://www.openttdcoop.org/files/pm/crash.bin <-- here you are
11:07:28 <TrueBrain> tnx :)
11:07:43 <planetmaker> [12:07] <planetmaker> TrueBrain: http://www.openttdcoop.org/files/pm/crash.bin
11:07:52 <Xaroth> Alberth wins
11:07:52 <planetmaker> hm.. slow :-P
11:08:29 <Alberth> and I gave a 8 minute head start :p
11:08:44 <planetmaker> tsk :-)
11:08:55 <planetmaker> I meanwhile uploaded yet another crash - this time to the bug tracker
11:09:19 <planetmaker> this game seriously needs autosave ;-)
11:10:00 <planetmaker> and no: I couldn't give a better bug description ;-)
11:10:00 <TrueBrain> yup, it does
11:10:39 <TrueBrain> I do :)
11:14:05 <planetmaker> fix them, fix them ;-)
11:14:52 <TrueBrain> busy with daytime job :)
11:19:47 <Xaroth> TrueBrain: added a crude sollution in the config file
11:19:55 <Xaroth> so should fix mantis
11:29:43 <TrueBrain> hehe, well, as long as it works, I am happy :)
11:47:45 *** glx has joined #openDune
11:47:45 *** ChanServ sets mode: +v glx
11:48:05 <glx> hello
12:00:36 <DorpsGek> SVN: glx (r324) -Update: MSVC project was forgotten again
12:02:48 <TrueBrain> oops
12:02:50 <TrueBrain> sorry glx :)
12:10:05 <Xaroth> lol
12:12:57 <glx> http://glx.dnsalias.net:8080/opendune/functions.diff
13:26:41 <planetmaker> grr.. ."unable to create more" ;-)
13:28:42 <Alberth> attack!
13:28:50 <planetmaker> :-)
13:44:14 <glx> http://devs.opendune.org/~glx/crashes/ <- more crashes :)
13:44:42 <glx> B4B8_1DAF without hacking (just press cancel in load game from intro)
14:42:07 <Alberth> Program Termination: jumped to 1A34:2E81, which is not decompiled.
14:42:07 <Alberth> The jump was triggered at decompiled/cs__1A34.c:5820
14:42:07 <Alberth> The jump appears to originate from 1A34:2E7C.
14:42:07 <Alberth> entering a building (and probably not failing :p )
14:42:23 <Alberth> http://devs.openttd.org/~alberth/crash.bin
14:51:12 <TrueBrain> you guys keep me busy :p
14:51:49 <Alberth> you should spawn a few mre TB's :)
14:51:57 <Alberth> s/mre/more/
14:52:54 <DorpsGek> SVN: truebrain (r325) -Add: named 2 more functions (glx)
14:56:13 <TrueBrain> Xaroth: Mantis doesn't replace \n with <br> in overview .. VERY annoying. Any suggestions?
14:57:50 <Xaroth> got an exact page?
14:57:55 <Xaroth> can always squeeze in a nl2br :)
14:58:29 <TrueBrain> bug 4
14:59:00 <DorpsGek> SVN: truebrain (r326) [JIT] -Fix (#3): 1 more problem found by planetmaker
15:00:10 <DorpsGek> SVN: truebrain (r327) [JIT] -Fix: 1 more problem found by planetmaker
15:00:25 <Xaroth> o_O
15:01:28 <TrueBrain> wow, Alberth, your crashlog is gold :)
15:02:03 <Alberth> good :)
15:02:21 <DorpsGek> SVN: truebrain (r328) [JIT] -Fix: 1 more problem found by Alberth
15:05:03 <Alberth> euh 'confirm email address' ? what the heck?
15:05:14 <TrueBrain> where/what/why?
15:05:46 <Alberth> registering for the forum
15:05:59 <TrueBrain> you need to confirm your email address, yes, that is not so weird, is it?
15:06:20 <Xaroth> anti-spam, Alberth
15:06:40 <Alberth> apparently
15:07:20 <DorpsGek> SVN: truebrain (r329) [JIT] -Add: mapped another 8 functions (crash-logs by glx)
15:07:48 <DorpsGek> SVN: truebrain (r330) -Update (r326, r327, r328, r329): update decompiled code
15:13:12 <Alberth> thannks for the update
15:13:59 <TrueBrain> tnx for the reports ;)
15:14:15 <TrueBrain> glx / planetmaker: if I am correct, that were all provided crash-logs :)
15:14:39 <planetmaker> you're welcome. We'll see and try to get new ones ;-)
15:15:17 <TrueBrain> please do :)
15:23:55 <TrueBrain> Xaroth: lol, also funny in #4, is that it took #1 as bug-id ;) Ghehe :)
15:26:06 <Xaroth> TrueBrain: that's due to the text in it
15:26:14 <Xaroth> it identifies #id
15:26:24 <TrueBrain> I understand why it happens, it still is funny :)
15:26:28 <Xaroth> anyways, fixed.
15:26:35 <Xaroth> now got nl2br
15:26:43 <TrueBrain> whoho! You are the best :)
15:26:51 <Xaroth> :)
15:39:55 <glx> oh I forgot to upload 2 crashes
15:42:08 <Alberth> Program Termination: jumped to 1A34:2F26, which is not decompiled.
15:42:08 <Alberth> The jump was triggered at decompiled/cs__1A34.c:5892
15:42:08 <Alberth> The jump appears to originate from 1A34:2EF3.
15:42:08 <Alberth>
15:42:34 <Alberth> another successful capturing?
15:42:52 <Alberth> of a silo, this time
15:42:58 <glx> hehe
15:43:04 <glx> stop capturing stuff ;)
15:43:30 <TrueBrain> stored
15:45:19 <Alberth> just flattening the buildings is easier, indeed :p
15:47:14 <Alberth> first a bit of food
15:53:28 <SmatZ> hehe
15:53:35 <SmatZ> enjoy, Alberth
16:01:20 <DorpsGek> SVN: truebrain (r331) [JIT] -Fix: 1 more problem found by Alberth
16:03:03 <DorpsGek> SVN: truebrain (r332) [JIT] -Add: mapped another 5 functions (srash-logs by glx)
16:03:24 <DorpsGek> SVN: truebrain (r333) -Update (r331, r332): update decompiled code
16:06:16 <Xaroth> TrueBrain: Did you get my crashlog from last night?
16:06:29 <Xaroth> nm, i see you did
16:07:31 <Xaroth> 2.14mb :o
16:44:17 <TrueBrain> no idea what you talk about, but good for you :)
16:44:19 <TrueBrain> ghehe
18:56:25 <TrueBrain> lately, the JIT fucks up too often ... I am having a harder and harder time to finish the game
18:59:45 <TrueBrain> fuck it ... harkonnen mission is ALSO the same scenario :(
18:59:49 <TrueBrain> bug, or is it always like that?
19:22:00 <glx> which mission?
19:25:47 <TrueBrain> A6, O6, H6
19:27:33 <glx> .ini are different
19:27:39 <TrueBrain> the map-seeds too?
19:27:44 <glx> yes
19:27:50 <TrueBrain> for all 3 choices?
19:28:56 <glx> 27, 122, 203 for A6, O6, H6
19:29:13 <planetmaker> Program Termination: jumped to 014C:104E, which is not decompiled.
19:29:15 <planetmaker> The jump was triggered at decompiled/cs__B4A2.c:868
19:29:17 <planetmaker> The jump appears to originate from B4A2:06AC.
19:29:47 <glx> planetmaker: the only useful stuff id the crash.bin ;)
19:29:51 <TrueBrain> glx: I have the same map, but the bases are SLIGHTLY different
19:30:44 <planetmaker> crash.bin @ http://www.openttdcoop.org/files/pm/crash.bin
19:30:54 <planetmaker> glx: I know :-)
19:31:00 <planetmaker> Upload has limited speed, though ;-)
19:31:02 <TrueBrain> downloaded
19:31:36 <planetmaker> but I'm making progress: mission 5 :-)
19:31:39 <planetmaker> And army is growing
19:31:43 <glx> me needs to find address of SCEN%c%03d.INI
19:31:44 <planetmaker> :-P
19:31:50 <TrueBrain> wow, I need to hurry .... :p
19:32:32 <TrueBrain> again my whole input is fucked ... grr .. and I forgot to save :(
19:34:12 <planetmaker> :S
19:37:49 <TrueBrain> stupid worm, ate 2 harvesters AGAIN
19:39:37 <glx> ok found the string, 0x1EB2
19:40:07 <glx> pushed in f__B4B5_0000_0014_F092()
19:40:25 <glx> but I return to the tv :)
19:40:33 <TrueBrain> enjoy :)
19:50:24 <TrueBrain> come on .. not again :(
19:51:52 <DorpsGek> SVN: truebrain (r334) [JIT] -Add: mapped another 20 functions (campaign 6, begin of campaign 7)
19:53:09 <TrueBrain> planetmaker: euh, your crashlog is weird ... very weird in fact :s
19:53:36 <planetmaker> it might have to do with the pick-up planes
19:53:53 <TrueBrain> it jumps to an instruction BEFORE where the executable is loaded
19:54:10 <TrueBrain> so I am going to invalidate your crash, and hope it was because of the known memory corruption running his rounds :)
19:54:21 <planetmaker> uhm?
19:54:42 <TrueBrain> planetmaker: you didn't notice the memory corruption yet? Random pixels turning red and white?
19:54:46 <TrueBrain> random mouse clicks?
19:54:52 <TrueBrain> random icons all over the place?
19:55:13 <DorpsGek> SVN: truebrain (r335) -Update (r334): update decompiled code
19:56:41 <TrueBrain> in other words: somewhere in my emulator there is a bug, but I have no clue where, as I can't reproduce it 1-2-3 .. it always happens randomly
19:57:08 <planetmaker> yes, I noticed the sometimes random colours
19:57:41 <TrueBrain> it seems your crash was caused by the same .. bad luck :)
19:58:28 <planetmaker> :S
19:59:37 <TrueBrain> we are still pre-0.1 ;)
19:59:50 <TrueBrain> but I am suprised you can make it to H5 without too much trouble ...
19:59:54 <planetmaker> of course :-)
20:00:20 <planetmaker> well... too much trouble is relative. I guess I had more than half a dozen crashes... different ones :-)
20:00:22 <planetmaker> but yeah
20:00:31 <TrueBrain> you reported .. 5 now?
20:00:40 <planetmaker> and hangs
20:00:41 <TrueBrain> which is nothing to what Alberth had to report in his first day of playing :)
20:00:43 <planetmaker> but yeah
20:00:47 <planetmaker> :-)
20:00:56 <TrueBrain> so we are getting there :)
20:01:03 <TrueBrain> glx is doing an amazing job on figuring out core functions
20:01:10 <TrueBrain> Xaroth is battling tile-xy :)
20:01:31 <TrueBrain> I am just parsing crash-logs :p
20:01:36 <Alberth> I had 3 in 15 minutes the first time iirc :)
20:01:52 <planetmaker> hehe
20:05:30 <planetmaker> grr... hang again. In the "build this" screen
20:05:57 <TrueBrain> seems to happen more often on OSX, but I had it too today
20:06:18 <TrueBrain> problem is that the timer requests a lock on malloc(), and the main 'thread' is just closing up a file (which locks free())
20:06:33 <TrueBrain> somehow this is 'bugger' and the locks and switch-thread system are interlocked
20:06:36 <TrueBrain> causing a deadlock :s
20:06:50 <TrueBrain> we should replace the timer ASAP ...
20:08:58 <planetmaker> hang in selecting a race to play. Backtrace: http://paste.openttd.org/217435
20:09:28 <TrueBrain> nothing weird there
20:09:41 <TrueBrain> so I wouldn't know why it would hang
20:09:51 <planetmaker> well. black screen. Nothing happens. 100% cpu
20:10:00 <TrueBrain> no idea
20:10:02 <planetmaker> anything I can do to shed light on it?
20:10:12 <planetmaker> :O
20:10:19 <planetmaker> on continue the programme exits
20:10:34 <planetmaker> oh well
20:11:49 <TrueBrain> I really have no clue
20:13:07 <glx> f__01F7_111F_001A_B513() is something like sprintf
20:28:44 <planetmaker> Program Termination: jumped to 1A34:2DDE, which is not decompiled.
20:28:46 <planetmaker> The jump was triggered at decompiled/cs__1A34.c:5777
20:28:48 <planetmaker> The jump appears to originate from 1A34:2DD8.
20:29:58 <planetmaker> [21:30] <planetmaker> crash.bin @ http://www.openttdcoop.org/files/pm/crash.bin <-- there, updated
20:31:29 <planetmaker> hm... again. want the savegame?
20:31:35 <TrueBrain> nope
20:32:38 <DorpsGek> SVN: truebrain (r336) [JIT] -Fix: 1 more problem found by planetmaker
20:32:58 <DorpsGek> SVN: truebrain (r337) -Update (r336): update decompiled code
20:33:00 <TrueBrain> tada
20:33:34 <planetmaker> :-)
20:43:03 <Alberth> good night
20:43:07 <TrueBrain> night Alberth :)
20:43:13 <planetmaker> night Alberth q
20:43:17 <planetmaker> -q :-P
20:43:37 *** Alberth has left #openDune
20:49:49 <TrueBrain> I am still slightly puzzled why O6, A6 and H6 all had the same map
20:52:19 <planetmaker> why not?
20:52:32 <TrueBrain> I thought they were all different
20:52:57 <TrueBrain> so it might be a bug in my emulator
20:53:06 <TrueBrain> but the enemy base fits perfectly, so ..
20:53:35 <planetmaker> dunno anymore. But I believe having the same map is plausable
20:58:38 <glx> TrueBrain: try to trace what happens in f__B4B5_0000_0014_F092() as this function uses string 0x1EB2 ("SCEN%c%03d.INI")
20:59:20 <glx> it calls f__01F7_111F_001A_B513() which is something like sprintf
21:00:23 <TrueBrain> haha, 1 function :)
21:01:09 <planetmaker> http://pastebin.ca/1625825 <-- does that bt tell you something?
21:01:13 <planetmaker> hang again.
21:01:43 <TrueBrain> nope
21:01:50 <TrueBrain> looks completely normal to me
21:01:58 <glx> though if your house and the enemy house are correct (O6 vs A, H6 vs O, A6 vs H) the scenario are correctly loaded
21:02:33 <TrueBrain> glx: exactly .. so that means the seeds should be equal too? Or maybe some magic with the house happens ..
21:02:35 <TrueBrain> weird anyway
21:03:11 <planetmaker> the house does change how things work - iirc my Dune2 times correctly
21:03:38 <TrueBrain> glx: btw, I guess at 38DA/C is the pointer to the scenario data ;)
21:03:42 <TrueBrain> and at E the length of it :)
21:04:10 <TrueBrain> although 38DE is marked as csip32, it really isn't .. it appears a 16bit variable (length)
21:04:13 <TrueBrain> as it is used for memset
21:04:36 <TrueBrain> glx: can you confirm that? (as you made it a csip32 ;))
21:04:44 <glx> anyway strings for ini stuff (BASIC, WinFlags, ...) are after 0x1EB2
21:04:53 <TrueBrain> cs__B4B5.c:255 shows it is a 16bit
21:06:03 <TrueBrain> global:8CFD has E6 of scenario bytes ...
21:06:45 <TrueBrain> glx: B4B5 never calls 01F7:111F directly?
21:07:45 <glx> hmm indeed, 38DE seems to be a simple uint16, same for 38E0
21:07:53 <TrueBrain> k, tnx :)
21:10:06 <glx> ha right B4B5 calls 01F7:378D which then calls 01F7:111F
21:10:19 <TrueBrain> ah ;)
21:10:30 <TrueBrain> does 378D also open the file?
21:10:44 <glx> no
21:10:54 <TrueBrain> that does suprise me :p
21:11:44 <glx> opening is done with f__1FB5_15B5_0015_6A00() chain
21:11:57 <TrueBrain> as there has to be a char-analyzer which feeds the rest
21:15:17 <glx> analyser should be called from B4B5 ("BASIC" is 0x1EC1)
21:16:23 <glx> hmm I'd say parser is in ovl__34FC :)
21:16:48 <glx> ,...emu_push(emu_ds);
21:16:48 <glx> ,...emu_ax = 0x1EC7;
21:16:48 <glx> ,...emu_push(emu_ax);
21:16:48 <glx> ,...emu_push(emu_ds);
21:16:49 <glx> ,...emu_ax = 0x1EC1;
21:16:49 <glx> ,...emu_push(emu_ax);
21:16:51 <glx> ,...emu_push(emu_cs); emu_push(0x00C6); emu_cs = 0x34FC; ovl__34FC(0);
21:17:12 <glx> many things like that with the first AX being different in B4B5
21:17:26 <TrueBrain> k, clear :)
21:17:48 <glx> so probably something like get first_ax param in second_ax section
21:18:15 <TrueBrain> get_ini functions :)
21:20:27 <glx> I'll map the strings later (still tv time)
22:05:01 <TrueBrain> good night all
22:24:42 <Xaroth> good night TrueBrain
23:14:28 *** Yexo has joined #openDune