#gemrb@irc.freenode.net logs for 23 Feb 2011 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage


[00:08:16] <-- deepinthewoods has left IRC (Ping timeout: 240 seconds)
[00:20:33] --> deepinthewoods has joined #GemRb
[00:51:16] <-- Demitar has left IRC (Quit: Ex-Chat)
[07:32:29] --> lynxlynxlynx has joined #GemRb
[07:32:29] <-- lynxlynxlynx has left IRC (Changing host)
[07:32:29] --> lynxlynxlynx has joined #GemRb
[07:32:29] --- ChanServ gives channel operator status to lynxlynxlynx
[07:51:38] <-- wjp has left IRC (*.net *.split)
[07:51:38] <-- Gekz has left IRC (*.net *.split)
[07:53:35] --> wjp has joined #GemRb
[07:53:35] --> Gekz has joined #GemRb
[08:08:13] --> Bo_Thomsen has joined #GemRb
[08:24:16] <-- wjp has left IRC (*.net *.split)
[08:24:16] <-- Gekz has left IRC (*.net *.split)
[08:24:20] <-- devurandom has left IRC (*.net *.split)
[08:24:21] <-- xrogaan has left IRC (*.net *.split)
[08:24:25] <-- |Cable| has left IRC (*.net *.split)
[08:24:25] <-- tomprince has left IRC (*.net *.split)
[08:24:27] <-- Bo_Thomsen has left IRC (*.net *.split)
[08:24:28] <-- DrMcCoy has left IRC (*.net *.split)
[08:24:28] <-- lynxlynxlynx has left IRC (*.net *.split)
[08:24:29] <-- deepinthewoods has left IRC (*.net *.split)
[08:24:29] <-- ar has left IRC (*.net *.split)
[08:24:31] <-- edheldil has left IRC (*.net *.split)
[08:24:35] <-- fuzzie has left IRC (*.net *.split)
[08:24:38] <-- CIA-29 has left IRC (*.net *.split)
[08:30:30] --> Bo_Thomsen has joined #GemRb
[08:30:30] --> lynxlynxlynx has joined #GemRb
[08:30:30] --> deepinthewoods has joined #GemRb
[08:30:30] --> devurandom has joined #GemRb
[08:30:30] --> xrogaan has joined #GemRb
[08:30:30] --> DrMcCoy has joined #GemRb
[08:30:30] --> tomprince has joined #GemRb
[08:30:30] --> |Cable| has joined #GemRb
[08:30:30] --> fuzzie has joined #GemRb
[08:30:30] --> ar has joined #GemRb
[08:30:30] --> edheldil has joined #GemRb
[08:30:30] --> CIA-29 has joined #GemRb
[08:33:45] --> adominguez has joined #GemRb
[08:35:50] <-- Bo_Thomsen has left IRC (Quit: Leaving.)
[08:36:01] --> wjp has joined #GemRb
[08:36:01] --> Gekz has joined #GemRb
[09:19:55] <-- adominguez has left IRC (Ping timeout: 240 seconds)
[09:23:10] --> adominguez has joined #GemRb
[09:23:22] --> adominguez_ has joined #GemRb
[09:36:42] <-- |Cable| has left IRC (Remote host closed the connection)
[10:07:53] <-- adominguez has left IRC (Quit: Saliendo)
[10:07:58] <-- adominguez_ has left IRC (Quit: Saliendo)
[10:08:30] --> adominguez has joined #GemRb
[10:56:39] --> Demitar has joined #GemRb
[11:18:02] <edheldil> I have updated the autodetection code per fuzzie's suggestion, go have a look
[11:22:42] <fuzzie> your strncpy is unsafe
[11:23:29] <fuzzie> and if you're going to cause failure on identical weights, maybe at least print a warning?
[11:24:42] <fuzzie> it looks like a nice solution now, anyway
[11:25:34] <wjp> game autodetection? nice
[11:27:28] <wjp> hm, looks like I should add some extra remotes to my local repo
[11:37:21] <edheldil> do we have strncpy replacement?
[12:03:54] <fuzzie> you could just force-terminate it at [99]
[12:21:48] * wjp often misses strlcpy
[13:46:50] <lynxlynxlynx> --word-diff=color ftw
[13:53:03] <edheldil> hmm?
[14:00:50] <lynxlynxlynx> for git
[14:01:21] <lynxlynxlynx> at minimum git log and diff understand it
[14:09:14] --> edheldil_ has joined #GemRb
[14:15:28] --> spike411 has joined #GemRb
[15:51:16] <edheldil> new patch at Hithub
[15:51:21] <edheldil> Github
[16:08:03] <-- edheldil_ has left IRC (Ping timeout: 272 seconds)
[16:31:29] <lynxlynxlynx> edheldil: can't the python autodetection code be shared? most of it is the same
[16:34:08] <wjp> in scummvm (one type of) detection is handled by each game specifying a list of some characteristic files/sizes belonging to that game
[16:34:23] <wjp> these lists are then processed by a common detector
[16:35:11] <wjp> (and it also includes md5's of the first 5kB-or-so of the files)
[16:35:47] <fuzzie> well, scummvm has the advantage of not supporting modded games
[16:36:14] <-- spike411 has left IRC (Quit: Manga & anime pokec na Jabberu: manga.cz@conf.netlab.cz)
[16:37:12] <fuzzie> but a list of characteristic resources or something would work well for gemrb, just seems that edheldil's code is good for a first implementation without limiting what could be improved on the python side later
[16:42:00] <edheldil> exactly, the mods are problematic
[16:43:22] <edheldil> whoever does the actual detection, is of course free to implement lists and common code :)
[16:46:26] <-- tomprince has left IRC (Ping timeout: 268 seconds)
[16:46:26] --> Maighstir has joined #GemRb
[16:46:46] --> tomprince has joined #GemRb
[16:46:48] <edheldil> it is possible, if needs arises, to implement tests for resrefs, but hopefully files will be Good Enough(tm) for now
[16:51:44] --> Avenger has joined #GemRb
[16:51:44] --- ChanServ gives channel operator status to Avenger
[16:51:50] <Avenger> hi
[16:52:47] <Avenger> about gametype detection: i think there are files that cannot be avoided in any mod, like var.var in pst
[16:53:30] <Avenger> find files that are specially tied to a gametype (i mean, they are needed for a gf bit set by the gametype)
[16:54:18] <Avenger> then document these files, if the detection is not 100% in a modded game, it is not a problem anyway, we do autodetection if gametype was not detected
[17:16:32] <edheldil> well, var.var was easy, but I am not sure about e.g. iwd vs. how
[17:18:37] <edheldil> anyway, do you think the current state of the patch is good enough to commit to sf, or do you have other suggestions? Should I improve the scripts first or someone will do it in due time?
[17:31:18] <Avenger> if i had to write this, i would have written it in a simpler form, no scripting, just a simple file reference and an associated gametype
[17:31:53] <Avenger> lets see what's the difference between iwd and how
[17:32:06] <fuzzie> i asked for it to be scripted
[17:32:15] <fuzzie> because this way, we can autodetect everything
[17:32:31] <fuzzie> and someone can always make the python load a 2da and check file references in it
[17:33:06] <fuzzie> but we can also do all kinds of other autodetection stuff, like automatic detection of which resolution the widescreen mod was installed with
[17:33:44] <Avenger> turn.spl doesn't exist in our iwd override :P
[17:33:49] <Avenger> well, that's a bug
[17:34:24] <Avenger> scharge.spl is also missing
[17:34:57] <Avenger> actually turn.spl is in shared too, so i dunno which is the correct one
[17:36:14] <Avenger> prtl_*spl files are also missing, though, iwd needs them
[17:37:06] <Avenger> hmm even gemprjtl.ids ?
[17:38:18] <Avenger> the main difference between how and iwd is the animations, i guess, detecting a specific how avatar animation bam is good enough
[17:39:39] <Avenger> something with chmb1
[17:40:42] <Avenger> this is not entirely decisive, because tob also has them
[17:40:45] <Avenger> but iwd don't
[17:41:18] <Avenger> but we have the difference because of these files, so the detector is fine to be based on them
[17:43:16] <Avenger> tracking.2da exists in how an not in iwd too
[17:45:57] <Avenger> music.2da is only in the bis branch, the bioware branch has songlist
[17:47:18] <Avenger> xplist is only in bg2 and tob
[17:48:13] <Avenger> its equivalent in iwd/how/iwd2 is exptable
[17:48:43] <Avenger> so i guess, having 3 files for each gametype is decisive enough
[17:56:42] <-- Demitar has left IRC (Quit: Ex-Chat)
[18:03:48] <Avenger> http://gemrb.sourceforge.net/wiki/doku.php?id=gametypes
[18:04:17] <Avenger> the levels are cummulative, so first run level1, if it fails, everything is lost
[18:25:10] --> |Cable| has joined #GemRb
[18:34:35] <-- adominguez has left IRC (Quit: Saliendo)
[19:36:04] <-- Avenger has left IRC (Quit: ChatZilla 0.9.86 [Firefox 3.6.13/20101203075014])
[20:07:50] <CIA-29> GemRB: 03avenger_teambg * rbbd3e23e2716 10gemrb/gemrb/override/iwd/ (gemprjtl.ids prtl_cl.spl prtl_op.spl scharge.spl): missing files from iwd
[20:09:05] <CIA-29> GemRB: 03avenger_teambg * r2c37fdcc6ffb 10gemrb/gemrb/override/pst/ (goinvul.pro goinvul.spl): globe of invulnerability
[20:25:06] --> edheldil_ has joined #GemRb
[20:29:21] <CIA-29> GemRB: 03avenger_teambg * rb2e2d1f42e37 10gemrb/gemrb/plugins/AREImporter/AREImporter.cpp: fixed another bit (now the saving) of the area script bug
[20:32:18] <-- deepinthewoods has left IRC (Ping timeout: 272 seconds)
[20:45:37] --> deepinthewoods has joined #GemRb
[20:59:58] <-- |Cable| has left IRC (Read error: Connection reset by peer)
[21:01:36] --> |Cable| has joined #GemRb
[21:41:40] --> Demitar has joined #GemRb
[21:48:42] --> Maighstir_ has joined #GemRb
[21:50:21] --> tomprinc1 has joined #GemRb
[21:51:22] <-- Demitar has left IRC (*.net *.split)
[21:51:24] <-- devurandom has left IRC (*.net *.split)
[21:51:25] <-- xrogaan has left IRC (*.net *.split)
[21:51:45] <-- tomprince has left IRC (*.net *.split)
[21:51:45] <-- Maighstir has left IRC (*.net *.split)
[21:51:46] <-- DrMcCoy has left IRC (*.net *.split)
[21:52:19] <-- tomprinc1 has left IRC (Client Quit)
[21:52:43] --> tomprince has joined #GemRb
[21:54:14] --> Demitar has joined #GemRb
[21:54:14] --> devurandom has joined #GemRb
[21:54:14] --> xrogaan has joined #GemRb
[22:11:40] --> DrMcCoy has joined #GemRb
[22:22:08] --> DocMcCoy has joined #GemRb
[22:29:31] <-- DrMcCoy has left IRC (*.net *.split)
[22:31:25] <-- CIA-29 has left IRC (*.net *.split)
[22:35:38] --> CIA-36 has joined #gemrb
[22:35:39] --> ChanServ has joined #gemrb
[22:35:39] <-- ChanServ has left #GemRb
[22:37:55] <-- DocMcCoy has left IRC (Changing host)
[22:37:55] --> DocMcCoy has joined #GemRb
[22:38:02] --- DocMcCoy is now known as DrMcCoy
[22:50:00] --> Bo_Thomsen has joined #GemRb
[23:03:39] <edheldil_> Another version of the patch :)
[23:21:11] <-- Maighstir_ has left IRC (Read error: Connection reset by peer)
[23:47:39] <-- lynxlynxlynx has left IRC (Remote host closed the connection)
[23:52:56] <-- Bo_Thomsen has left IRC (Quit: Leaving.)