IRC logs for #opendune on OFTC at 2011-11-04
            
01:13:17 *** glx has quit IRC
06:34:16 *** Sonarpulse has joined #openDune
07:09:12 *** Sonarpulse has quit IRC
15:18:13 *** glx has joined #openDune
15:18:13 *** ChanServ sets mode: +o glx
15:19:16 <glx> hello
15:32:21 <Xaroth|Work> o/
15:38:34 <svuorela> hmm... that deadlock is not rare at all
15:57:43 <TrueBrain> I still blame your ALSA driver :P
15:57:52 <TrueBrain> disable voices, and it should be gone :)
16:01:52 <svuorela> but the voices is part of the gameplay
17:13:56 *** Alberth has joined #openDune
17:13:56 *** ChanServ sets mode: +o Alberth
17:38:44 <glx> http://svn.opendune.org/~glx/temp.patch should be enough
17:42:07 <Alberth> I believe you immediately :)
17:45:04 <DorpsGek> SVN: glx (r2545) -Fix (#94): validate index before accessing an array
17:45:42 <DorpsGek> Bugs: http://bugs.opendune.org/view.php?id=94 :: New Status: closed (fixed)
17:46:10 <TrueBrain> nice glx :)
17:53:31 <svuorela> glx: looks right to me. actually more right than what I provided :)
17:53:48 <svuorela> that crash fixer
18:57:49 <DorpsGek> Bugs: http://bugs.opendune.org/view.php?id=95 :: Bug Created :: memory corruption when playing the 'level 9 intro video'
18:59:13 <svuorela> sorry :)
20:31:21 <glx> I never played this video :)
20:31:28 <glx> only the intro and the final
20:32:03 <glx> do you have a savegame at end of level 8 ?
20:35:05 <Alberth> http://devs.opendune.org/~truebrain/savegames/
20:36:05 <svuorela> glx: I have. how do I share it ? or is truebrain's enough ?
20:36:41 <glx> I'll use TrueBrain's one :)
20:39:38 <glx> confirmed
20:39:56 <DorpsGek> Bugs: http://bugs.opendune.org/view.php?id=95 :: New Status: confirmed (open)
21:11:54 <glx> ok I know what's wrong, but not why yet
21:13:23 <glx> silly string system :)
21:22:23 <glx> ok r2456 is the cause
21:28:12 * Alberth was reading old openttd dev channel logs from 2009 also discussing string problems :)
21:29:00 <glx> dune2 uses many files for strings
21:30:04 <glx> of course since r2456 animations use only 1 file, bad luck level 4 and level 8 animations uses another one :)
21:30:49 <Alberth> otherwise it would be too easy :)
21:30:51 * glx will need to read the diff to determine how to fix
21:31:07 <Alberth> good luck and good night
21:32:25 *** Alberth has left #openDune
22:21:01 <TrueBrain> glx: which ones do l4 and l8 use?
22:21:11 <glx> dune
22:21:19 <TrueBrain> lol ..
22:21:21 <TrueBrain> that is just silly
22:21:25 <glx> but I have an idea
22:22:32 <TrueBrain> good; I have none :D
22:24:11 <glx> http://svn.opendune.org/~glx/temp.patch
22:25:22 <TrueBrain> missing space
22:25:37 <TrueBrain> but this works on the big assumption that the L4+L8 strings are a higher ID ..
22:25:39 <TrueBrain> tricky
22:25:54 <TrueBrain> but funny enough, codewise, it is all perfectly fine
22:27:17 <TrueBrain> btw, is the duplicated code needed?
22:27:22 <TrueBrain> ah, it is
22:27:24 <TrueBrain> nevermind that :)
22:27:30 <TrueBrain> so yeah, you miss a space in (uint16 *) :P
22:27:38 <glx> yeah looks like dune2 overwrote global strings with intro string
22:27:41 <TrueBrain> rest is perfectly fine :) And if it solves the issue, that is just pure luck :D
22:28:21 <glx> but I don't see how it worked
22:28:59 <glx> oh I see
22:29:39 <glx> load INTRO, play intro, load NULL, play till end game, load INTRO, play endgame animation
22:29:52 <TrueBrain> they too are good in cheating ;)
22:31:43 <glx> one day I'll try to load all strings in one place :)
22:31:54 <TrueBrain> you promise? :P
22:32:03 <glx> one day :)
22:34:09 <DorpsGek> SVN: glx (r2546) -Fix (r2456, #95): mid-game animations don't pick the subtitles from INTRO
22:34:30 <DorpsGek> Bugs: http://bugs.opendune.org/view.php?id=95 :: New Status: closed (fixed)
22:37:16 <glx> hmm and I think there's another problem in r2456 if strings are compressed
22:38:47 <svuorela> hah. kicked emperors ass. took a bit longer than expected :)
22:43:05 <glx> intuition confirmed
22:45:48 <TrueBrain> do tell?
22:46:58 <glx> intro text is wrong for french
22:47:20 <TrueBrain> how come?
22:47:28 <glx> accents
22:47:51 <TrueBrain> so?
22:48:39 <glx> hmm but in debugger it seems right
22:50:14 <glx> so the problem is in display
22:50:23 <glx> not on loading
22:51:17 <glx> all accentued chars are broken on display
22:51:49 <glx> I guess I should check how fonts stuff is loaded ;)
23:04:03 <glx> ok it's a signed/unsigned problem it seems
23:32:03 <glx> stupid signed char :)