IRC logs for #opendune on OFTC at 2010-02-19
⏴ go to previous day
09:44:00 <Xaroth|Work> ooh, it lives again o_O
10:07:50 <Xaroth|Work> ugh, i need a bed
10:11:51 <Xaroth|Work> no beds at work :/
10:15:14 <Xaroth|Work> I'm already at work
10:15:16 <Xaroth|Work> and yeh, he's home
10:24:45 <TrueBrain> bah, I want to play EVE, but it seems I am stuck for the next 2 days working on some project ... but sunday I go boarding, so that makes everything okay :p
10:25:25 <TrueBrain> whoho, libSDL for xbox360 :)
11:15:08 <DorpsGek> TrueBrain: 0.188153310105
11:15:20 <TrueBrain> well ... 18.8% != 19% is not close to 20% :p
11:20:31 <TrueBrain> sometimes it is hard to find a good palce for functions :(
11:27:51 <TrueBrain> @calc 0x6ce1 - x6CD3
11:27:51 <DorpsGek> TrueBrain: Error: invalid syntax (<string>, line 1)
11:27:54 <TrueBrain> @calc 0x6ce1 - 0x6CD3
11:28:09 <TrueBrain> @calc 0x6cef - 0x6CD3
11:30:31 <TrueBrain> @calc 0x10000 - 0xFC18
11:50:30 <Xaroth|Work> I want weeeeeeeekend :/
11:51:25 <TrueBrain> owh, I had this briliant solution for the MMO
11:51:36 <TrueBrain> Donut world! Rings! Solves my whole coordinate problem :)
12:14:58 <TrueBrain> there are 100 security questions :o
12:24:45 <DorpsGek> SVN: truebrain (r926) -Add: named 2 more functions
12:33:15 <TrueBrain> that is what she said
13:59:59 <DorpsGek> SVN: glx (r927) -Fix (r925): missing some multiplications in MPU_SetData()
14:04:24 <glx> I haven't noticed this small error when running the game :)
14:04:35 <glx> maybe because it was always using 0
14:19:31 <TrueBrain> I am working on Security_Main
14:20:03 <glx> that's why you found sscanf ?
14:20:29 <TrueBrain> although 'atoi' would have been enough
14:20:35 <TrueBrain> but it does sscanf("%d")
14:20:46 <TrueBrain> or at least .. that was the one sane thing I could think of seeing the parameters :p
14:41:52 <TrueBrain> the code allows security answers of 65536+ chars :p
14:43:23 <TrueBrain> owh, sorry, questions of 65536+ chars :p
15:00:42 <TrueBrain> uint32 loc1C = g_global->variable_76AC + length;
15:00:49 <TrueBrain> if (g_global->variable_76AC <= loc1C) {
15:07:10 <TrueBrain> uint32 tickWaitTill = g_global->variable_76AC + length * 4;
15:07:12 <TrueBrain> while (g_global->variable_76AC + 120 < tickWaitTill) {
15:07:15 <TrueBrain> if (g_global->variable_76AC < tickWaitTill)
15:07:20 <TrueBrain> is it me, or did I do something wrong?
15:08:54 <TrueBrain> 76AC is a counter btw
15:09:06 <TrueBrain> it waits for the length of the text, fine
15:09:12 <TrueBrain> but the + 120 makes it watch SHORTER, right?
15:13:43 <TrueBrain> the code really reads that .. and it really seems wrong
15:15:01 <TrueBrain> hmm .. that is most likely why I never saw the 'security wrong' screen
15:15:04 <TrueBrain> it is there VERY short
15:30:38 <TrueBrain> hmmm .. something goes wrong ... what .. that is the question now
15:31:05 <glx> hehe something goes wrong in my WIP too
15:32:04 <TrueBrain> it is very useful that more and more code is plain C, and can be modified freely :)
15:42:26 <TrueBrain> k .. += 2 instead of += 4 for a sp value
15:50:59 <TrueBrain> and the overlay completely fucking up
15:51:15 <glx> well it's more the pops in emu_ layer
15:52:58 <glx> when there are calls inside the C-ified function
15:53:25 <TrueBrain> argh!! I can't get this fixed :(
15:53:27 <TrueBrain> not the way I want it :p
15:55:17 <glx> and especially if the called function does things like emu_get_memory(emu_cs, ...) ;)
15:56:26 <TrueBrain> that is my issue, yes :)
15:57:52 <glx> I pop CS:IP in a temp csip in these cases
15:58:03 <TrueBrain> I had to load the overlay :p
15:58:57 <TrueBrain> and now .. I ahve things on the screen that are just weird
15:59:00 <TrueBrain> I think I ened dinner first
16:03:07 <DorpsGek> SVN: glx (r928) -Add: named and C-ified MPU_Play() and MPU_Stop()
16:05:20 <TrueBrain> how much more functions ?
16:07:57 <TrueBrain> ah ... I can't just call it, it has to do a few things first
17:06:42 <TrueBrain> is the other text :p
17:11:03 <TrueBrain> okay ... first normalization, done
17:11:05 <TrueBrain> now the next one ...
18:09:14 <Xaroth> wow, they actually improved the jump and warp sounds in eve
18:09:18 * Xaroth always played without sounds
18:15:07 <Xaroth> plagio crystals are 50m3 a piece
18:22:55 <TrueBrain> 100,000 m3 ... nice :p
18:23:08 <TrueBrain> I can help you with 3,000 :p
18:24:43 <Xaroth> going to get a mastodon
18:24:49 <Xaroth> see if i can get to around 20-25k space
18:24:55 <Xaroth> that means I can haul 400-500 at a time
18:27:33 <TrueBrain> if you need hlep, let me know :p
18:54:06 <Xaroth> hah, Onyx is 'tempted' to buy them to resell ;)
18:57:07 <TrueBrain> I am suprised Westwood didn't write a routine to do: GetFromBuffer, Decompress, Translate ...
19:27:45 <TrueBrain> k ... almost working, my security rewrite :)
19:30:55 <Xaroth> them security questions could use a disable flag as well :P
19:31:27 <TrueBrain> glx: any idea how to auto-detect if a .eng file is 'compressed' or not?
19:31:32 <TrueBrain> some are .. some are not ...
19:39:29 <TrueBrain> I see questions in the file I never ever seen before :p
19:39:39 <TrueBrain> 349 / 0x15D) What is the crew compliment of this unit?
19:39:40 <TrueBrain> 350 / 0x15E) trike.wsa
19:39:54 <TrueBrain> glx: I now did, if it finds a char > 0x80, it assumes compressed :)
19:41:03 <TrueBrain> but that really is due to the bad randomizer used
19:48:45 <TrueBrain> new langread.c online
19:51:51 <TrueBrain> texto.eng isn't decompressable via the known methods :(
19:59:17 <TrueBrain> in french, only 64 security questions exist :p
20:09:16 <TrueBrain> it helps to read the full string :p
20:18:40 <glx> hehe french security replies are probably the hardest :)
20:19:26 <glx> 10 / 0x0A) De quel type est cette structure?
20:19:26 <glx> 12 / 0x0C) foundation <-- not a french word ;)
20:21:09 <glx> and all the 'speed' questions are weird, asking for speed but the reply needs to specify the 'wheel' type too
20:21:22 <TrueBrain> most answers are weird
20:22:34 <glx> 300 / 0x12C) bombe … fragmentation h355 hs <-- yeah accents in a reply, should be fun too
20:23:33 <TrueBrain> I did the TranslateSpecial over all strings btw
20:23:40 <TrueBrain> but the charset of course is not supported by any browser
20:23:58 <TrueBrain> (over ALL the strings, compressed or not)
20:26:18 <TrueBrain> so it worked .. cool :)
20:27:01 <TrueBrain> appears to have failed for dune.fre
20:28:20 <TrueBrain> k, my check-if-decompress fails
20:28:25 <TrueBrain> no idea how to do it otherwise ...
20:31:07 <TrueBrain> dune.pak is not 'specially' prepared
20:31:25 <TrueBrain> so I have no clue how to auto-detect compression
20:33:11 <glx> yes dune.fre is not compressed :)
20:34:57 <TrueBrain> if 25% is > 0x80, it restarts with compression on
20:35:39 <TrueBrain> "Sei gegrüßt! Ich bin dein Mentat Cyril."
20:36:16 <TrueBrain> that works rather well :)
20:37:32 <TrueBrain> so ... now we always know the right answer :)
20:37:36 <TrueBrain> you can just look it up!
20:37:44 <TrueBrain> (not that it is easy, as youhave a picture you need to figure out :p)
20:38:23 <glx> the hardest part is to enter some chars ;)
20:43:44 <TrueBrain> werent they all stripped?
20:44:09 <TrueBrain> and I believe it was stripped before compare
20:44:54 <TrueBrain> I don't understand what is going on with credits
20:44:58 <TrueBrain> but what ever .. who cares :p
continue to next day ⏵