IRC logs for #opendune on OFTC at 2010-04-30
⏴ go to previous day
12:24:42 <tneo> if I run svn up && make I get:
12:24:54 <tneo> Conflict discovered in 'src/config.c'.
12:24:54 <tneo> Select: (p) postpone, (df) diff-full, (e) edit,
12:26:02 <glx> did you change your config.c ?
12:27:03 <TrueBrain> tneo: svn revert src/config.c
12:27:04 <glx> I guess you enabled some of sound/music/voice in the config
12:27:07 <TrueBrain> and use a dune.cfg with sound enabled :)
12:27:24 <TrueBrain> owh, 'svn up' again after revert
12:27:26 <Xaroth|Work> TrueBrain: tf is theirs-full, so that just replaces it
12:27:34 <Xaroth|Work> saves having to revert
12:27:47 <tneo> yes i changed to get sound by your instructions :-)
12:28:02 <TrueBrain> Xaroth|Work: it seems he has a slightly older version of SVN by the looks, which does not support that :)
12:28:11 <TrueBrain> tneo: and we fixed that more nicely now :)
12:28:30 <glx> now if dune.cfg is set to use a driver (any type from install) it will switch to the supported one
12:30:18 <tneo> subversion 1.6.6-1.1.4 (x86_64)
12:31:38 <tneo> what is the pastebin url again?
12:41:41 <TrueBrain> tneo: did you do: svn revert src/config.c? :)
12:41:49 <TrueBrain> I think there are some >>>, as subversion tends to do :(
12:43:13 <TrueBrain> line 2 is weird ...
12:43:18 <TrueBrain> it does not read what it should read
12:44:06 <TrueBrain> maybe: make clean && make
12:44:35 <TrueBrain> cc -g -Wall -Wextra -Wno-unused-label -Wno-multichar -ansi -pedantic -O1 -foptimize-sibling-calls -c src/config.c -o objs/src/config.o -I include/
12:44:38 <TrueBrain> is what the line should read
12:44:47 <TrueBrain> or in fact: [Compiling] src/config.c
12:48:11 <TrueBrain> rm -rf objs Makefile.dep opendune
12:48:17 <TrueBrain> weird that your shell fails ..
12:48:21 <glx> objs/(copy).o <-- makes no sense
12:48:27 <tneo> i'll just delete all :-P
12:48:35 <TrueBrain> glx: indeed, it does not
12:49:38 <glx> src/config <-- that's weird too
12:50:15 <tneo> how do I do an initial svn ?
12:50:24 <tneo> when i haven't got anything?
12:50:30 <TrueBrain> svn checkout svn://svn.opendune.org/trunk opendune
12:50:40 <glx> try "svn resolved -R ." and "svn up"
12:50:58 <glx> just in case an unresolved conflict prevented the update
12:51:19 <glx> (even if diff shows nothing)
12:52:45 <glx> and maybe you have "src/config (copy).c"
12:53:39 <TrueBrain> glx: only sane explination :)
12:55:32 <TrueBrain> glx: so I guess we should add "" somewhere :p dunno where ..
12:56:43 <tneo> nothing just placed advandced factory
13:08:00 <TrueBrain> maybe in gdb you can give a trace when it gets stuck?
13:24:27 <glx> I guess it's somewhere in libEMU
13:59:29 <glx> in gdb after the crash type 'bt'
14:00:37 <tneo> o TrueBrain said to run gdb ./opendune which i did
14:01:06 <glx> yes he said running in gdb so you can get the trace with 'bt' :)
14:01:08 * tneo needs to read better :-p
14:01:40 <glx> but as it happened already twice for you, it should happen again ;)
14:02:21 <glx> 0x000000000057402c in Unit_Move (unit=0x7ffb84, distance=<value optimized out>) at src/unit.c:1598
14:02:35 <glx> we know where it's called
14:06:46 <tneo> glad you find it obvious ;-)
14:11:12 <glx> it is a stupid mistake I made :)
14:18:03 <DorpsGek> SVN: glx (r1106) -Fix (r1025, #37): don't try to get selected Unit when none is selected
15:33:47 <tneo> hmm i think there is a bug with the caryalls
15:33:57 <tneo> i construct them, but they disappeap
15:37:43 <TrueBrain> glx: mantis oddity: when resolving, you need to select 'close', as else the bug remains open (but marked as resolved)
15:38:18 <TrueBrain> and nice catch tneo :)
15:40:43 <glx> but there's a reopen button
15:42:48 <TrueBrain> as admin you can also just reclose it ... very weird ...
15:42:56 <TrueBrain> never understood that of mantis ...
15:43:08 <glx> resolved are closed indeed
18:53:28 <TrueBrain> glx: carry-alls still do not function properly
18:54:15 <glx> but it was fixed (or at least looked like it)
18:54:29 <TrueBrain> building one is most fun
18:54:33 <TrueBrain> it flies out of the screen immediatly
18:54:37 <TrueBrain> things are not being picked up
18:54:46 <TrueBrain> it still has issues placing it down
18:56:02 <TrueBrain> loading another savegame from ingame crashes ...
19:01:55 <TrueBrain> 1000 works, 1030 fails
19:01:59 <TrueBrain> that at least narrows it down
19:06:21 <TrueBrain> just I wish it was not 1025
19:08:24 <TrueBrain> that is why I wish it was not 1025
19:13:39 <glx> hmm I think there's an error in 1025 anyway
19:13:41 <TrueBrain> glx: please try to be more careful with ifs .. I know they are a pain in the ass, what is a && and || .. so maybe keep tons of if-statements in the first version, and add && / || later :p Well .. I am sure I will fuck up a few more too, but okay :)
19:14:04 <TrueBrain> if (unit->flags.s.byScenario || unit->linkedID == 0xFF) { <- should be &&
19:14:40 <TrueBrain> yeah, then the carry-alls return :)
19:14:53 <TrueBrain> finding this was easy :p That if-block is the only piece that takes care of such code :)
19:15:17 <TrueBrain> but okay ... that doesn't fix all problems ... it appears they still don't pickup something they should be :p
19:15:29 <tneo> isn't there a cheat for easy credits?
19:15:32 <TrueBrain> sonic waves no longer do damage :(
19:15:53 <TrueBrain> owh, it does, just not to other sonic wave tanks
19:16:11 <TrueBrain> dunno if that is normal :p
19:16:16 <TrueBrain> and no, no easy money cheat
19:16:24 <tneo> normally it destroys everything
19:16:54 <TrueBrain> my trikes do not appear ... hmm ...
19:17:14 <DorpsGek> SVN: truebrain (r1107) -Fix (r1025): || -> &&
19:18:27 <TrueBrain> k, dosbox does the same for sonic wave
19:19:33 <TrueBrain> and, the light factory bug is there too
19:19:45 <TrueBrain> so tneo, we are not aware of any bugs :)
19:20:02 <TrueBrain> in other words: get to work :p :p
19:23:16 <TrueBrain> wait, that is my job ..
19:23:17 <tneo> caryall wants to drop on enemy units
19:25:50 <TrueBrain> it wants to, but does it also? Or does it move away after a short while?
19:26:07 <tneo> it waits until i move my unit in the area
19:28:47 <TrueBrain> so for some reason the destination tile is invalid .. hmm ..
19:30:10 <TrueBrain> tneo: seems to be a random oddity, also happening in original
19:30:18 <TrueBrain> that is, I can't find any proof of it being otherwise :)
19:30:41 <TrueBrain> carry-alls were always a bit broken, so we have to be careful not to overread something into it :)
19:30:42 <tneo> no reason not to squash it ;-) :-P
19:30:47 <TrueBrain> but please do let me know when it happens more often
19:31:03 <TrueBrain> yeah, a real fix is not that easy, as we hav eno idea what controls that part (yet) :p
19:31:52 <TrueBrain> their script stuff is nice and all, but makes tracing such problems a bitch :p
19:32:17 <tneo> hehe, well seen the track record with ottd you'll manage eventually :-)
19:32:42 <TrueBrain> manage we will always :) Just in what time ... ;)
19:34:29 <glx> especially when we can't name script functions ;)
19:35:06 <glx> maybe we need a script decompiler
19:35:21 <TrueBrain> well, a few we can name
19:35:27 <TrueBrain> like the Unit_GetInfo seems pretty obvious to me :)
19:36:01 <glx> it used to be broken btw ;)
19:36:38 <glx> there was a rounding error
19:37:00 <tneo> i thought atreides had some kind of agreement with those worms and weren't attacked in the original
19:38:17 <glx> tneo: I remember my units being eaten by worms
19:39:30 <glx> only paul atreides has an agreement with sandworms ;)
19:39:55 <glx> but that's in dune, not dune2
19:41:11 <glx> btw we need more regular testers ;)
19:41:31 <glx> too many conversions without real intensive testing
19:42:48 <tneo> guess i'm about the only one
20:17:34 <tneo> answering questions are all incorrect, though it is the correct answer
20:18:11 <TrueBrain> will check in a sec, that is easy to validate :p
20:32:43 <tneo> then can you tell me the answers to the questions I was asked?
20:33:16 <tneo> what kind of armament is this (deviator) >> Missile Launcher
20:33:16 <tneo> what type of vehicle is this (quad) >> Light Attack Vehicle
20:33:16 <tneo> what type of vehicle is this (raider) Quick Strike Vehicle
20:34:34 <TrueBrain> light attack vehicle
20:35:58 <tneo> a deviator doesn't have guns :-|
20:36:49 <TrueBrain> owh, deviator, read it wrong
20:37:12 <tneo> i gave the answer as given above
20:39:29 <TrueBrain> I always type lowercase, maybe that is the issue
20:40:04 <tneo> can't type capitals in it
20:40:39 <TrueBrain> oops, wrong window :)
20:40:56 <TrueBrain> will trace it a bit tneo
20:41:24 <tneo> let me give it another shot
20:43:02 <glx> IIRC you can type capital and without spaces
20:43:04 <tneo> let me verify the answers with you TrueBrain
20:43:36 <glx> answers are in the the file I linked ;)
20:44:40 <tneo> but then you need to know image thingies :-\
20:44:57 <TrueBrain> yeah, bit of a pickle
20:45:20 <glx> but names are not hard to decipher
20:46:00 <glx> btw there is no "kind" in the questions ;)
21:12:32 <tneo> never knew you get a second change in level 7, forgot to close dune and failed the mission :-P
21:29:39 <TrueBrain> tneo: done testing? Found anything else weird?
21:38:53 <TrueBrain> glx: can you release the windows binaries?
21:39:26 <DorpsGek> SVN: truebrain (r1108) -Add: prepare for 0.3 release
21:39:46 <DorpsGek> SVN: truebrain (r1109) -Release: 0.3
21:43:00 <TrueBrain> fuck, in static, linux is giving me issues ...
21:47:11 <TrueBrain> I have an issue here ... hmm ..
21:47:18 <TrueBrain> what was it again when this happened .. can't rmemeber ...
21:47:46 <TrueBrain> tries to jump to 0070:0078
21:48:16 <TrueBrain> ah, a second time it did work
21:48:44 <glx> ok intro passed with music and voices
21:49:02 <glx> I give you the exe and you make the zip ?
21:49:33 <DorpsGek> SVN: truebrain (r1110) -Add: bump version for trunk
21:51:27 <TrueBrain> this time remembered to convert the text files for windows :p
21:52:02 <TrueBrain> fuck, conflict on OSX ..
21:52:07 <glx> hmm I'm not sure about sdl version (it seems I upgraded in february)
21:52:43 <TrueBrain> just give me your latest DLL
21:53:28 <TrueBrain> okay, on my list to test for next time, OSX static
21:53:34 <TrueBrain> this should have been fixed before the release
21:54:37 <TrueBrain> PPC fails, missing stdarg.h
21:55:46 <planetmaker> who cares about ppc? ;-)
21:55:57 <planetmaker> I guess only very few still use / have those
21:56:00 <TrueBrain> well, it would be nice if it works :p
21:56:09 <planetmaker> worth the extra hassle?
21:56:12 <TrueBrain> although ... now I come to think of it ...
21:56:16 <TrueBrain> libemu is not BE compatible
21:56:29 <TrueBrain> so the fact that it compiles .... means absolutely NOTHING
21:56:49 <planetmaker> the default definition of "universal" for OSX 10.6 is i386 and x86_64
21:56:54 <glx> didn't you make it BE compatible for the weird hardware ?
21:57:00 <TrueBrain> did fix compiling btw :)
21:57:05 <TrueBrain> glx: yeah, but the fix is too ugly to be true
21:57:27 <TrueBrain> I store the last read/write via emu_get_memory16
21:57:45 <TrueBrain> and use some trickery on the enxt request to emu_get_memory to BE/LE swap :p
21:59:46 <TrueBrain> hmm ... I think the 0.2 release never had i686
22:01:01 <DorpsGek> SVN: truebrain (r1111) -Fix: don't be silly, PPC won't work for OpenDUNE in its current stage
22:03:02 <TrueBrain> packing and uploading ...
22:04:45 <TrueBrain> please verify glx :)
22:04:49 <TrueBrain> planetmaker: can you try the mac version for me?
22:05:14 <planetmaker> sure. svn version?
22:05:53 <planetmaker> hm, macos as zip? ;-)
22:06:08 <TrueBrain> yeah ... dmg was giving minor issues
22:06:14 <TrueBrain> still haven't bothered to make it to work
22:06:19 <TrueBrain> feel free to make a layout for it :)
22:06:29 <glx> nice 0.3 is smaller than 0.2
22:07:49 <planetmaker> EMU] [ INT21:3D ] Requesting mode '20' which is not completely supported. <-- Am I doing sth wrong?
22:07:59 <TrueBrain> planetmaker: normal
22:08:03 <TrueBrain> but it should just start
22:08:08 <planetmaker> Abnormal program termination
22:08:09 <TrueBrain> (when you have the data files there :p)
22:08:10 <planetmaker> [EMU] INT 0x21 AL 0x4C application termination
22:08:13 <TrueBrain> copy the darn datafiles :)
22:08:38 <TrueBrain> for 0.4 it might be a good target to cover the wrongness in data files
22:08:41 <TrueBrain> like other version and stuff
22:08:46 <glx> hmm maybe we should provide dune.cfg (it's not in the data)
22:09:03 <TrueBrain> glx: hmm .. might be a good idea
22:09:08 <glx> The setup program must be run first.
22:09:08 <glx> Zuerst muß das Setup-Programm betrieben werden.
22:09:08 <glx> Le programme de configuration doit d'abord ├¬tre lanc├®.
22:09:10 <TrueBrain> maybe even better, ditch dune.cfg for 0.4 :p
22:09:30 <TrueBrain> but if you give me a dune.cfg, I add it to the packages for this version
22:12:07 <glx> (impossible to generate using install)
22:12:11 <planetmaker> I propose to make the error message regarding missing data files a bit more human readable
22:12:23 <TrueBrain> planetmaker: yeah, will do that :)
22:12:26 <TrueBrain> and tnx for testing
22:12:33 <TrueBrain> owh, and tneo, you too, thank you very much for testing :)
22:12:39 <TrueBrain> next time we will make it a bit less last-minute :p
22:12:50 <glx> tneo: feel free to test more :)
22:13:10 <TrueBrain> new package uploaded
22:13:17 <TrueBrain> glx: can you confirm I did it correct and the dune.cfg is there?
22:13:28 <planetmaker> Hm... it exits with "Thank you for playing Dune II"
22:13:39 <planetmaker> shouldn't that be s/Dune II/OpenDune/ ?
22:13:52 <glx> planetmaker: original strings are used
22:14:00 <planetmaker> yes, I'm aware of that :-)
22:14:18 <glx> and it's a dune2 message, not our
22:14:20 <planetmaker> nothing which is written in granite ;-)
22:15:10 <TrueBrain> but it should be changed nevertheless ;)
22:15:23 <TrueBrain> is the dune.cfg in the package?
22:15:39 <glx> I'm still on first version of the package :)
22:17:01 <TrueBrain> k, amd64 works fluent :)
22:17:11 <TrueBrain> of course missing the skip-intro ..
22:17:24 <glx> hmm strange, I should not be able to skip intro
22:18:10 <glx> oh I have onetime.dat in data zip
22:18:31 *** ChanServ sets mode: +v Yexo
22:18:35 <TrueBrain> sound works too for i386
22:19:01 * SmatZ can't wait for sound for him (amd64)
22:19:10 <TrueBrain> just I can't test it :(
22:19:27 <SmatZ> hmm I guess I should read the manual
22:19:31 <SmatZ> because it doesn't work
22:19:57 <TrueBrain> you started a timidity to do the MIDI?
22:20:06 <TrueBrain> Found MIDI output: TiMidity port 0
22:20:09 <TrueBrain> the game says at startup
22:21:41 <TrueBrain> for some reason my 64bit process is taken by some in-between layer kicking an error
22:21:43 <TrueBrain> pulseaudio most likely
22:23:02 <TrueBrain> okay ... fed2k, forum, frontpage, changelog, #openttd .. did I miss anything .. I believe not :p
22:23:10 *** DorpsGek sets mode: +o TrueBrain
22:23:18 *** DorpsGek sets mode: -o TrueBrain
22:23:22 <glx> grr voices don't always init correctly
22:23:36 <TrueBrain> glx: something for 0.4 to fix in all perfectness :)
22:23:48 <TrueBrain> glx: please also commit dune.cfg
22:23:55 <TrueBrain> (as trunk/data/dune.cfg)
22:24:02 <glx> yeah skip original drivers ;)
22:25:12 <DorpsGek> SVN: truebrain (r1112) [0.3] -Fix: some last-minute release fixes
22:25:20 <TrueBrain> to keep the 0.3 branch in sync with the releases :)
22:26:27 <SmatZ> "over your silo capicity most of the time," (enhancement.txt)
22:26:37 <SmatZ> is "capicity" valid word?
22:26:49 <glx> can't you read that before ????
22:26:56 <DorpsGek> SVN: truebrain (r1113) -Add: add a default configuration 'dune.cfg' to the data directory, which should help the average user starting OpenDUNE
22:27:29 <DorpsGek> SVN: truebrain (r1114) -Fix: spelling error in enhancement.txt (SmatZ)
22:27:46 <SmatZ> sorry, been busy with many things :(
22:27:50 <TrueBrain> not going to make 0.3.1 for that :p
22:28:34 <TrueBrain> see the time you had to notice?! :p
22:29:29 <TrueBrain> wow, we really did a lot in 0.3 ...
22:29:39 <TrueBrain> thought LoadFile was already in 0.2 ...
22:29:59 <SmatZ> you are doing great work :)
22:30:05 <TrueBrain> LoadFile is used and published in SDL
22:30:13 <TrueBrain> which fucking sane library uses such name
22:30:19 <SmatZ> you are fixing bugs original DUNE developers did :-p
22:30:38 <TrueBrain> either way, conflicts with OpenDUNE .. fixed it by renaming it temporary
22:30:42 <glx> SmatZ: those are called enhancements ;)
22:30:42 <TrueBrain> needs a better fix ;)
22:31:12 <TrueBrain> k .. wanted to go to bed at 23:00 .. failed ..
22:31:16 <TrueBrain> so going to try it now :p
22:31:32 <SmatZ> good night, TrueBrain :)
22:31:35 <TrueBrain> tnx all once again for such a lovely release :)
22:31:39 <planetmaker> was worth the time :-)
22:32:10 <TrueBrain> will make a checklist for next release
22:32:15 <TrueBrain> to avoid last-minute issues like these :p
22:32:34 <TrueBrain> but okay ... 10 more weeks before that is going to happen :)
22:32:48 <planetmaker> it'd be a good idea to write it now, though ;-)
22:32:55 <planetmaker> now you know what went wrong :-P
22:33:44 <SmatZ> [00:32:59] <planetmaker> now you know what went wrong :-P <== /me wonders what would you type without 'w'
23:15:28 *** ChanServ sets mode: +o glx_
23:17:12 *** glx is now known as Guest1926
continue to next day ⏵