IRC logs for #opendune on OFTC at 2009-10-24
            
03:43:00 *** glx has quit IRC
06:53:05 *** Yexo has quit IRC
11:18:18 <TrueBrain> morning
11:19:20 <Xaroth> o/
12:12:30 *** glx has joined #openDune
12:12:30 *** ChanServ sets mode: +v glx
12:12:48 <glx> hello
12:13:04 <TrueBrain> morning :)
12:13:10 <TrueBrain> glx: can you update LibEMU project for me? :)
12:13:37 <glx> maybe ;)
12:13:54 <TrueBrain> :) Thank you :)
12:13:59 <TrueBrain> we even have a bug report about it ... :o
12:14:35 <glx> hmm but project file seems ok for me
12:14:35 <TrueBrain> glx: please add in commit: (#6)
12:14:42 <TrueBrain> it misses int21.a and int21.h :)
12:15:09 <TrueBrain> Xaroth: any chance to make Mantis trigger a simple script on bug-create?
12:16:07 <glx> ha 2a not 21
12:16:22 <TrueBrain> euh, yes, sorry :)
12:16:44 <Xaroth> er, possible yes, how, dunno yet :P
12:17:18 <glx> strange it never failed to compile
12:18:12 <glx> maybe because int2a is not used by opendune
12:21:42 <DorpsGek> SVN: glx (r405) [LibEMU] -Fix (r404, #6): update MSVC project file
12:22:07 <TrueBrain> thank you glx :)
12:22:30 <TrueBrain> Xaroth: any idea why mantis did not pick up on r405?
12:23:11 <TrueBrain> because glx doesn't have an account or something?
12:25:04 <Xaroth> possibly, yes
12:25:21 <TrueBrain> glx: would you mind creating an account? :)
12:25:34 <TrueBrain> normally commits like that make a lovely ocmment at the bug, good to trace back things later on )
12:26:03 <TrueBrain> :)
12:27:22 <glx> done
12:27:55 <TrueBrain> E-Mail on New is active, yet I don't get mails on new bug :(
12:28:17 <TrueBrain> btw, Xaroth, I think we should start 3 mailing lists: announcement, development, and general (or what ever names)
12:28:34 <TrueBrain> where in development any traffic in mantis is also send (what you see in most projects)
12:28:42 <TrueBrain> or maybe a seperate list for it 'bugs' or what ever :)
12:28:45 <Xaroth> maybe because yer not on the project?
12:28:46 <TrueBrain> I always like that :)
12:29:18 <TrueBrain> Xaroth: as admin I can't set projects?
12:29:26 <Xaroth> apparently not :o
12:29:46 <TrueBrain> Weird! :)
12:29:51 <TrueBrain> Either way, such a maillist would solve it too :)
12:29:54 <TrueBrain> and much easier ;)
12:30:04 <glx> my account says Assigned Projects ,... OpenDUNE [developer] (public)
12:30:07 <TrueBrain> suggestions for maillist software? Mailman is expensive, but the only one I know :(
12:30:16 <TrueBrain> yup, I assigned you to it :)
12:30:24 <TrueBrain> but as administrator, you can't assign :(
12:30:49 <Xaroth> there, re-pushed the hook :)
12:30:59 <TrueBrain> I noticed :)
12:31:15 <TrueBrain> Maybe it should link the revisions too, as now it is not 100% clear to new users it is a SVN commit I guess
12:31:31 <TrueBrain> or maybe it should be prefixed with: SVN commit, or what ever
12:32:07 <Xaroth> hm
12:34:10 <Xaroth> $t_comment = "SVN Commit : " . $t_comment;
12:35:03 <TrueBrain> yippie :)
12:36:15 <TrueBrain> bbl, time to do a bit of shopping
12:36:36 <Xaroth> http://bugs.opendune.org/view.php?id=1 << as shown on last comment
12:38:31 <Xaroth> making it default to the svn user if the user is not found
12:38:37 <Xaroth> to prevent further occurances
13:08:13 <TrueBrain> nice job Xaroth
13:34:40 <Xaroth> :)
14:04:46 <TrueBrain> so there .. lets code!
14:14:18 <TrueBrain> emu_orw(&emu_ax, emu_get_memory16(emu_ss, emu_bp, -0x6));
14:14:20 <TrueBrain> if (emu_ax == 0) goto l__0C38;
14:14:22 <TrueBrain> hmm ..
14:14:25 <TrueBrain> ah, yes, the statement isvalid
14:14:28 <TrueBrain> just reads weird :)
14:14:29 <TrueBrain> nevermind :)
14:27:08 <TrueBrain> @base 16 10 a2
14:27:08 <DorpsGek> TrueBrain: 162
14:35:19 <TrueBrain> k .. I am at string 1EB2 .. glx / Xaroth, what do you think .. should I replace it with "SCEN%c%03d" or make it a const char, or keep using that memory reference?
14:38:00 <glx> well if you are converting the asm to C, I think you can use the string directly (as it is referenced only once)
14:38:29 <TrueBrain> will that also be useful when looking to the future?
14:38:47 <TrueBrain> sprintf(&emu_get_memory8(emu_ss, emu_bp, -0x22), g_global->string_1EB2, g_global->houseInfo[houseID].houseName[0], houseID);
14:38:51 <TrueBrain> is what it reads now :)
14:41:43 <glx> it's not houseID, it's scenarioID
14:41:50 <TrueBrain> euh, of course :p
14:43:20 <glx> hmm using string_1EB2 is good for now, but replacing with "SCEN%c%03d.INI" is a good idea too
14:43:35 <TrueBrain> well, that is my problem exactly :)
14:43:37 <TrueBrain> it is both acceptable :p
14:45:12 <glx> btw you should use a local variable for &emu_get_memory8(emu_ss, emu_bp, -0x22) ;)
14:45:25 <TrueBrain> I know :)
14:45:28 <TrueBrain> step by step :)
14:45:35 <TrueBrain> will take a few iterations before this function is readable
14:45:40 <glx> the problem being to know it's exact size
14:45:48 <TrueBrain> that is easy :)
14:45:56 <TrueBrain> 13 :)
14:46:11 <glx> then start with string_1EB2 then
14:46:34 <glx> it can be replaced in a later step
14:46:59 <TrueBrain> hmm .. I need something simple that converts a csip32 to a uint8 * :p
14:49:57 *** TinoDidriksen has joined #openDune
14:54:50 <TrueBrain> lol, I already wrote that :)
14:55:05 <TrueBrain> oh, no .. hmm .. doh
14:55:41 <SmatZ> d'oh
14:55:49 <glx> a wrapper using emu_get_memory8() ;)
14:55:57 <TrueBrain> morning SmatZ :)
14:56:09 <TrueBrain> return &emu_get_memory8(csip.s.cs, csip.s.ip, 0x0);, yes :p
14:58:19 <SmatZ> hello TrueBrain;)
15:02:46 <TrueBrain> somehow my 10 lines of rewrite fail :p
15:02:47 <TrueBrain> ghehe
15:02:58 <TrueBrain> oh, dah
15:16:30 <TrueBrain> I am wondering what the do ... this way of reading ini-files is very expensive and not required .. so I can rewrite it in a way it is much faster and simpler, but it means I need to take over file-handling ..
15:18:22 <Xaroth> TrueBrain: then leave it for now :)
15:19:39 <TrueBrain> but it is unreadable :p
15:32:18 <TrueBrain> 3 times I wrote scenario
15:32:19 <TrueBrain> 3 times wrong
15:32:24 <TrueBrain> and different
15:32:25 <TrueBrain> lol
15:37:38 <TrueBrain> hmm .. now I come to think of it .. I should not commit this code in trunk till the 1st of November :)
15:37:50 <TrueBrain> at best, it doesnt' do anything, but a good chance it makes the game less stable :p
15:38:12 <TrueBrain> maybe we should even remove all C code for that release, that it runs completely on the decompiled code
15:39:46 <Xaroth> heh
15:41:11 <TrueBrain> good idea / bad idea?
15:41:42 <Xaroth> I'd say C.
15:42:38 <TrueBrain> that is not a valid answer, please try again :p
15:42:44 <Xaroth> 42?
15:43:00 <Xaroth> keep the C, 0.1 doesn't have to be a stable release
15:43:15 <Xaroth> I don't think we can be certain of any form of stability until after we converted everything.
15:43:28 <TrueBrain> well .. as stable as possible .. as as we are 9 (according to topic) days from 0.1, it might not be the best time to introduce new blobs ;)
15:43:40 <Xaroth> 8, even
15:43:50 *** Xaroth changes topic to "Teaser-2 released || Websites *.opendune.org: www, forum, bugs, wiki, svn || T-8d"
15:43:55 <Xaroth> HAH i didn't forget the /topic
15:43:56 <TrueBrain> that was why I added that in between () :p
15:44:02 * TrueBrain gives Xaroth cake
15:44:05 <Xaroth> :)
15:46:11 <TrueBrain> @calc 0x8d09 - 0x8CFD
15:46:11 <DorpsGek> TrueBrain: 12
15:46:26 <Xaroth> 0xC
15:46:40 <Xaroth> er
15:46:42 <Xaroth> 0xB
15:46:48 <TrueBrain> no, C
15:46:56 <Xaroth> oh yeh
15:47:00 * Xaroth being stupid
15:48:35 <glx> you should learn basic hex values ;)
15:48:48 <Xaroth> I know my hex, I even had some exams in calculating in hex
15:48:53 <Xaroth> but not in the weekend :P
15:52:49 <TrueBrain> hmm .. something went wrong :p
15:53:03 <TrueBrain> eve n the simplest job can be hard :p
15:55:57 <Xaroth> off for dinner
15:56:04 <TrueBrain> g_global->scenario.mapSeed = (emu_ax << 16) + ((int16)emu_ax < 0) ? 0xFFFF : 0;
15:56:05 <TrueBrain> weird ...
16:02:33 <DorpsGek> SVN: truebrain (r406) -Fix: Scenario struct was wrong, named a few variables to their function, and add a easy wrapper
16:05:57 <TrueBrain> I am at line 400 of 2500 :p
16:05:59 <TrueBrain> lol
16:06:00 <TrueBrain> dinner time :)
17:15:56 <Xaroth> TrueBrain: found out how plugins work, will work on that tomorrow
17:16:04 <Xaroth> going to mates house to poker.
17:16:10 <TrueBrain> what plugin? :)
17:16:12 <TrueBrain> oeh, can I come too?
17:16:17 <Xaroth> er, sure?
17:16:28 <TrueBrain> my friends never play poker ... and when they do, they are too boring to play for more than 30 minutes or so :p
17:16:29 <Xaroth> and plugin for mantisbt
17:16:34 <TrueBrain> ah :)
17:16:35 <TrueBrain> great ;)
17:16:37 <TrueBrain> have a good evening
17:16:40 <Xaroth> heh, I doubt we'll play more than 1 game tho
17:16:45 <Xaroth> think next weekend will be more of a poker evening
17:17:31 <Xaroth> http://www.mantisbt.org/docs/master/en/developers/dev.plugins.building.html << and now to figure out how to catch EVENT_REPORT_BUG_DATA ...
17:17:41 <TrueBrain> ghehehehe :)
17:18:14 <Xaroth> o/
17:44:43 <Xaroth> hm
17:44:52 <Xaroth> @mate's place, trying to run opendune\
17:45:18 <Xaroth> This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem
17:45:21 <Xaroth> what.. the fook
17:46:22 <Xaroth> TrueBrain: you happen to know what that indicates?
17:46:27 <glx> hmm I saw that string on global.h
17:46:33 <glx> let me trace the call :)
17:46:54 <glx> anyway looks like invalid dune.cfg
17:47:11 <Xaroth> it's a windows error tho, not a console output :o
17:47:25 <Xaroth> but it does look like the config files have some parts missing o_O
17:47:51 <glx> msvc or gcc build ?
17:47:56 <Xaroth> msvc
17:48:10 <glx> you have sdl.dll ?
17:48:26 <Xaroth> yes
17:48:35 <Xaroth> 1.2.13.0, same as the one I used at home.
17:48:37 <Xaroth> I packed it along
17:49:06 <Xaroth> replaced files with the data file TrueBrain put on forum (which does work for me at home), still same
17:50:33 <glx> vista/win7 ?
17:50:37 <Xaroth> xp
17:50:46 <Xaroth> I compiled it on xp64 tho, can that be an issue?
17:50:55 <TrueBrain> if you compiled a 64bit version, yes :p
17:51:14 <Xaroth> iirc the msvc project was set to 32bit
17:51:27 <TrueBrain> can you send me the binaries you try to execute?
17:51:54 <Xaroth> http://devs.opendune.org/~xaroth/OpenDUNE_Doomcraft_Teaser_r384.zip
17:53:03 <TrueBrain> requires MSVCR90.dll
17:53:13 <TrueBrain> (which is weird :p)
17:53:18 <Xaroth> huh
17:54:28 <TrueBrain> and MSVCR90.dll is not really compatible with wine :p
17:54:38 <TrueBrain> glx: can you make a working binary for Xaroth? :p
17:54:39 <glx> works here
17:55:01 <TrueBrain> fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC90.CRT"
17:55:03 <TrueBrain> err:module:attach_process_dlls "MSVCR90.dll" failed to initialize, aborting
17:55:18 <TrueBrain> wine does not like both :p
17:55:18 <Xaroth> what i THINK, is that msvc failed to compile properly, and that it's relying on SDK files.
17:55:22 <glx> btw you didn't used latest libemu ;)
17:55:37 <TrueBrain> glx: r384 ;)
17:55:43 <Xaroth> what TB said :P
17:56:41 <TrueBrain> I guess I should start to make the compilefarm understand OpenDUNE :p
17:57:14 <glx> hmm my version uses MSVCR90.DLL too
17:57:28 * glx checks project config
17:57:30 <TrueBrain> glx: why doesn't it static compile it?
18:01:20 <glx> the question is more why does it need this runtime :)
18:02:55 <TrueBrain> because it isn;t compiled in staticly, I say ;)
18:03:58 <glx> oh it's because it linked to msvcrt.lib by default
18:04:32 <TrueBrain> I never understood why MSVC by default produces binaries which you can only run with certain DLLs supplied
18:07:58 <glx> hmm I need to find what is done about that for openttd, but not now
18:08:11 <glx> time to eat, then TV
18:08:22 <TrueBrain> enjoy :)
18:41:05 <TrueBrain> so how am I going to cheat campaign 9 to get it over quickly .. hmm ..
18:50:54 <TrueBrain> lol, ordered for 10k at SP :)
18:52:11 <TrueBrain> and ... I am out of money :p
18:52:13 <TrueBrain> lol
18:56:55 <TrueBrain> @base 10 16 174
18:56:55 <DorpsGek> TrueBrain: AE
18:57:39 <TrueBrain> @base 10 16 167
18:57:39 <DorpsGek> TrueBrain: A7
19:45:12 <DorpsGek> SVN: glx (r407) -Fix: use static version of MSVC runtime library
19:45:20 <TrueBrain> whoho :)
19:46:07 <DorpsGek> SVN: glx (r408) [LibEMU] -Fix: use static version of MSVC runtime library
19:47:17 <glx> of course, it's a C/C++ setting, not a linking setting
19:47:28 <TrueBrain> LOL! of course :s :p
19:48:14 <TrueBrain> carry-alls do their job VERY POOR :(
19:48:48 <glx> that's because it defines some preprocessors directive depending on runtime library version
19:57:42 <TrueBrain> I have had the same mouse for 8 years, never any RSI like complaints on my mouse hand .. now I have this mouse for less then a year, and I have troubles .... :s
20:02:54 <Xaroth> glx: so it's fixable? :P
20:04:05 <Xaroth> ah, nm, didn't notice the commits
20:04:36 <TrueBrain> k, Ordos down ..
20:04:38 <TrueBrain> 2 left :)
20:04:48 <glx> yes just recompile and it should run everywhere :)
20:21:14 <TrueBrain> Ram Free Error! Press any key to exit to DOS.
20:21:15 <TrueBrain> lol
20:23:37 <glx> I know this string :)
20:23:54 <glx> never saw it displayed though
20:38:26 <TrueBrain> H9 done :)
20:41:18 <TrueBrain> Quality Assurence by:
20:41:23 <TrueBrain> lol .. we call that beta testers nowedays ;)
20:42:03 <glx> you mean they don't exist now in commercial games ;)
20:42:16 <TrueBrain> that too :p
20:42:22 <glx> beta tester is the client
20:42:56 <TrueBrain> the credits keeps on playing :p
20:45:07 <TrueBrain> 8 new segments of code ...
20:45:18 <TrueBrain> no idea if that is a good thing or not, but they kept on popping back :p
20:46:40 <DorpsGek> SVN: truebrain (r409) [JIT] -Add: mapped another 281 functions (campaign 9, credits)
20:48:37 <DorpsGek> SVN: truebrain (r410) -Fix (r353): sort the project file, else it keeps on re-sorting on local modification time
20:49:18 <DorpsGek> SVN: truebrain (r411) -Update (r409): update decompiled code
20:49:26 <TrueBrain> and that unlocks H9 :)
20:49:29 <TrueBrain> now O9 and A9 .....
20:53:23 <TrueBrain> A9 has same map as H9
20:53:24 <TrueBrain> how boring
20:54:01 <TrueBrain> O9 too ... blegh
20:54:10 <TrueBrain> well .. some other day
21:37:18 <Xaroth> hm, glx, spose you can't do a compile for me?
21:38:05 <glx> hmm I can give you an exe, but I won't do a full pack
21:38:34 <Xaroth> only need exe
21:38:54 <Xaroth> got an entire package, including broken exe :P so if i can fix the exe, the package should work
21:40:53 <glx> http://glx.dnsalias.net:8080/opendune/opendune.zip
21:41:29 <glx> (r411)
21:41:35 <Xaroth> cheers :)
21:42:23 <Xaroth> hm
21:42:26 <Xaroth> it hangs when starting
21:43:18 <TrueBrain> libemu.dll is compiled in it? all data files are where they should?
21:43:44 <Xaroth> files are there
21:43:54 <Xaroth> teaser2 runs with it
21:43:56 <Xaroth> (the files)
21:44:02 <Xaroth> it generates crash.bin files tho
21:44:17 <TrueBrain> it can't hang and produce a crash.bin :)
21:44:35 <Xaroth> first time straight exit
21:44:37 <Xaroth> 2nd time hang
21:44:43 <Xaroth> 3rd-8th time hang
21:45:03 <Xaroth> 9th: crash report
21:45:04 <Xaroth> Program Termination: jumped to 01F7:1B11, which is not decompiled. The jump was triggered at ..\decompiled\cs__01F7.c:4493 The jump appears to originate from 01F7:1B4D.
21:45:06 <TrueBrain> I dunno .. windows sucks
21:45:54 <Xaroth> 9th time, hang again o_O
21:46:47 <TrueBrain> wine hangs too
21:48:59 <glx> hmm hangs here too (my fault probably)
21:49:17 <TrueBrain> Xaroth: http://devs.opendune.org/~truebrain/opendune.exe
21:49:21 <glx> used release libemu
21:50:00 <Xaroth> http://rawr.xaroth.nl/crashes/ in case it's of any use.
21:50:15 <TrueBrain> unpredictable, so no use, sorry
21:50:27 <glx> recompiling
21:51:14 <glx> done
21:51:17 <glx> same url
21:51:24 <glx> this one works
21:51:59 <glx> I forgot release libemu didn't work ;)
21:52:18 <glx> (or work too well/fast)
21:53:27 <Xaroth> TrueBrain: yours works too :)
21:53:59 <TrueBrain> gcc at least does what it should do ;) Make workable binaries for all Windows XP+ versions :p
21:54:16 <glx> 9x+ indeed ;)
21:54:29 <TrueBrain> well, I dunno if this binary works for 9x :p
21:55:12 <glx> unless we use too recent API functions, it should
21:55:21 <TrueBrain> good :)
21:55:30 <TrueBrain> we use no real API functions, so :p
21:55:54 <glx> and as it's not an unicode build
21:56:45 * Xaroth happeh
21:57:17 <Xaroth> posted the fix for the clan, so with a bit of luck some will try it :)
23:38:55 <Xaroth> hah, just got a beta invite to google wave