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

Archive Today Yesterday Tomorrow
GemRB homepage

[00:35:45] <edheldil_> Autodetect: https://github.com/edheldil/gemrb/commit/d29cb18cff11bd3986cb69235222b7778ea05be0
[00:53:28] <-- edheldil_ has left IRC (Ping timeout: 240 seconds)
[01:31:27] --> _pickle has joined #GemRb
[03:33:34] <-- _pickle has left IRC (Remote host closed the connection)
[06:32:13] --> Bo_Thomsen has joined #GemRb
[06:38:26] <-- ar has left IRC (Ping timeout: 272 seconds)
[06:49:20] --> ar has joined #GemRb
[06:49:21] <-- ar has left IRC (Changing host)
[06:49:21] --> ar has joined #GemRb
[08:14:56] <-- Bo_Thomsen has left IRC (Quit: Leaving.)
[08:18:35] <edheldil> Good morning!
[08:20:14] --> lynxlynxlynx has joined #GemRb
[08:20:14] <-- lynxlynxlynx has left IRC (Changing host)
[08:20:14] --> lynxlynxlynx has joined #GemRb
[08:20:14] --- ChanServ gives channel operator status to lynxlynxlynx
[08:34:44] --> adominguez has joined #GemRb
[08:58:48] <-- adominguez has left IRC (Remote host closed the connection)
[09:10:43] --> adominguez has joined #GemRb
[09:34:24] <edheldil> Have you guys looked at the Autodetection code? Comments?
[09:34:54] <fuzzie> oh, right, gemrb is still on sf
[09:35:01] <fuzzie> so you don't show up in my nice github display
[09:35:16] <fuzzie> since i guess you just pushed this direct
[09:37:39] <edheldil> eh?
[09:37:49] <fuzzie> you didn't fork an existing repository here
[09:38:07] <edheldil> I think I forked SF one
[09:38:10] <fuzzie> you just took an existing one and pushed the whole thing to github
[09:38:28] <edheldil> ahh, right
[09:38:29] <fuzzie> and i guess github doesn't detect those as forks
[09:38:43] <fuzzie> anyway, i think this doesn't work because it doesn't work for HoW
[09:38:59] <fuzzie> getting python scripts to do the autodetection is a nice design
[09:39:41] <edheldil> Well, the HoW's lack of GUIScript made me rather frustrated :)
[09:39:55] <fuzzie> sure, but this is a pretty limited method anyway
[09:40:11] <fuzzie> hmm
[09:40:43] <fuzzie> i mean, a simple fix for that would be to just add another variable which returned the game type
[09:40:49] <edheldil> and since core->GetDictionary allows only ints, I will have to return the ret values in python variables :/
[09:41:15] <fuzzie> i think the 'nice' way to return values is to just add a GUIScript function, really :)
[09:41:45] <fuzzie> AddAutodetectCandidate(type, weight, [gamefeature flags]) or something
[09:42:32] <edheldil> but it would have to keep state for it ...
[09:42:50] <edheldil> gf flags? What for?
[09:43:02] <fuzzie> well, if you're adding this anyway, you might as well deal with that, i thought
[09:43:18] <fuzzie> some of the mods add engine hacks to the exe
[09:43:34] <fuzzie> and if you go ahead and write something which keeps state, a fix for that would be nice ;p but it's very unimportant
[09:44:26] <edheldil> so? The exe trickery should be in override
[09:44:39] <fuzzie> huh?
[09:45:14] <fuzzie> i mean, sure, you can detect it from the contents of override
[09:45:52] <edheldil> I am not against GUIScript fn, but I am unsure what it would bring apart of the string param :)
[09:45:54] <fuzzie> i mean, you mean, "we should force everyone to re-install gemrb-compat versions of the mods"? but they don't exist yet, and i am not really so hopeful
[09:46:29] <fuzzie> but it is completely unimportant, it was intended as an aside :)
[09:47:18] <fuzzie> having python do the work is considerably nicer than doing it via 2da files though
[09:49:15] <edheldil> I think I understand the gff reason now...
[09:50:21] <fuzzie> i didn't intend for you to actually add it
[09:50:37] <fuzzie> just thought it might be the kind of thing to bear in mind, which might be useful in the future :)
[09:51:07] <fuzzie> a more sensible thing would be if there was some way we could autodetect things like the resolution
[09:51:32] <edheldil> well, I won't add the detection, only the param=0
[09:51:36] <fuzzie> would avoid a lot of bug reports if gemrb could just work out itself which resolution the widescreen mod was applied for
[09:52:06] <fuzzie> but i think lynx is the expert there
[09:52:18] <edheldil> can't we? I thought that you give SDL suggestions and then check what it selected, but maybe it workd for color depth/fl only
[09:52:30] <edheldil> ahh, that ...
[09:53:51] <-- |Cable| has left IRC (Remote host closed the connection)
[09:54:08] <edheldil> well, you could add detection for that to the Autodetection scripts and call GemRB.SetWSMResolution() ... but I have no idea what exactlky is the problem, so ...
[09:54:23] <lynxlynxlynx> it could be done, the data files have a shorthand for the resolution in them
[09:54:27] <lynxlynxlynx> the name i mean
[09:55:41] <lynxlynxlynx> but iirc i also have to fix the mos generation to make it perfect
[09:56:06] <lynxlynxlynx> the detection is easy though, just check for cguiXXYY.chu in the usual paths
[09:56:20] <lynxlynxlynx> both numbers*100 make the resolution pair
[09:56:22] <edheldil> I specifically wanted to have autodetection happen after opening chitin.key, so you could get list of resrefs... Dunno if it's enough for WSM
[09:56:47] <lynxlynxlynx> wsm could be done earlier
[09:57:05] <lynxlynxlynx> at least the searching for candidates part
[09:57:25] <lynxlynxlynx> back to work, will check out your work later
[10:01:25] <edheldil> perhaps the Video driver initialization could be pushed after GUIScript's one, if it would help wsm
[10:03:16] <fuzzie> the video driver init *is* done after, i think?
[10:04:03] <fuzzie> i mean, not the Init(), but the actual initialisation
[10:04:28] <fuzzie> yes, it is done at the start of the main loop, in Main()
[10:10:39] <edheldil> ok, I haven't checked what's done in Init()
[10:11:03] <edheldil> Video::Init()
[10:11:05] <fuzzie> me neither, but it doesn't have the config file at that point i think, so it can't do too much :)
[10:12:03] <fuzzie> or, rather, not all of it
[10:12:15] <fuzzie> in any case, the resolution/etc only get passed in Interface::Main()
[10:12:17] <fuzzie> so you are safe!
[10:15:57] <edheldil> ok, I will redo the patch later today
[10:22:01] <fuzzie> well, don't redo too much! it mostly looks good
[10:45:38] <lynxlynxlynx> we detect how via files too (GUICommon) via the worldmap
[10:45:49] <lynxlynxlynx> it's probably biffed up though
[10:52:00] <edheldil> when the need arises, a function could be added to GUIScript to check for an existence of a resref
[10:52:45] <edheldil> zIDS.bif is from HoW, is not it?
[10:54:13] <lynxlynxlynx> don't know
[10:54:47] <lynxlynxlynx> favour how over plain iwd, it's a much better choice and it's hard to get just iwd nowadays
[10:55:22] <fuzzie> no shortage of people who manage to only install iwd, though
[11:38:55] <edheldil> persuade them to create manifests ;-)
[13:56:02] --> SiENcE has joined #GemRb
[15:14:51] <-- SiENcE has left IRC (Quit: @all: cya)
[16:06:34] <-- adominguez has left IRC (Ping timeout: 260 seconds)
[16:53:50] --> Maighstir has joined #GemRb
[17:17:49] --> adominguez has joined #GemRb
[18:17:36] <-- adominguez has left IRC (Quit: Saliendo)
[18:40:00] --> |Cable| has joined #GemRb
[18:45:37] --> Bo_Thomsen has joined #GemRb
[19:41:12] --> deepinthewoods has joined #GemRb
[19:50:04] <-- |Cable| has left IRC (Remote host closed the connection)
[19:52:24] --> Avenger has joined #GemRb
[19:52:24] --> |Cable| has joined #GemRb
[19:52:24] --- ChanServ gives channel operator status to Avenger
[19:52:42] <Avenger> hello
[19:53:18] <lynxlynxlynx> oj
[20:02:56] --> edheldil_ has joined #GemRb
[20:07:31] <lynxlynxlynx> grr, much of the net is down for us here now
[20:11:26] <Avenger> why?
[20:12:08] <lynxlynxlynx> no idea
[20:12:23] <lynxlynxlynx> it's not just me though
[20:12:43] <-- |Cable| has left IRC (Read error: Connection reset by peer)
[20:12:46] <lynxlynxlynx> foreign connection trouble
[20:13:03] <lynxlynxlynx> maybe they mistook us for libia
[20:14:41] <Avenger> whaa... ?
[20:15:02] <Avenger> i doubt you would get in trouble bout libya, unless your lines go through them :)
[20:15:56] --> |Cable| has joined #GemRb
[20:16:26] <-- Maighstir has left IRC (Read error: Connection reset by peer)
[20:16:32] <Avenger> btw, what do you think about these revolutions, it is quite interesting that the whole arab world suddenly wants democracy for themselves
[20:16:34] <Avenger> why now?
[20:16:46] --> Maighstir has joined #GemRb
[20:18:57] <lynxlynxlynx> no idea, i'm not up to speed
[20:25:22] <Avenger> maybe volunteer your site for this research : http://www.monkey.org/~labovit/blog/ :P
[20:41:49] <-- Avenger has left IRC (*.net *.split)
[20:41:51] <-- devurandom has left IRC (*.net *.split)
[20:41:52] <-- xrogaan has left IRC (*.net *.split)
[20:41:52] <-- wjp has left IRC (*.net *.split)
[20:50:03] --> wjp_ has joined #GemRb
[20:50:10] --> Avenger has joined #GemRb
[20:50:11] --- ChanServ gives channel operator status to Avenger
[20:50:43] --- wjp_ is now known as wjp
[20:50:54] --- ChanServ gives channel operator status to wjp
[20:51:43] <Avenger> so, we are in libya now?
[21:00:01] --> devurandom has joined #GemRb
[21:00:01] --> xrogaan has joined #GemRb
[21:05:19] <-- fuzzie has left IRC (*.net *.split)
[21:05:19] <-- |Cable| has left IRC (*.net *.split)
[21:05:20] <-- tomprince has left IRC (*.net *.split)
[21:05:25] <-- DrMcCoy has left IRC (*.net *.split)
[21:05:29] --> fuzzie has joined #GemRb
[21:06:19] --> |Cable| has joined #GemRb
[21:06:19] --> tomprince has joined #GemRb
[21:06:19] --> DrMcCoy has joined #GemRb
[21:10:48] <Avenger> ok, now the rest of the gametypes can enjoy iwd2's simplified duration feature
[21:10:57] --- ChanServ gives channel operator status to fuzzie
[21:11:07] <Avenger> i need this to better support pst hardcoded projectiles
[21:12:10] <-- Avenger has left IRC (Quit: ChatZilla 0.9.86 [Firefox 3.6.13/20101203075014])
[21:17:38] <CIA-29> GemRB: 03avenger_teambg * r3a81b310f2a4 10gemrb/gemrb/plugins/SPLImporter/SPLImporter.cpp: simplified duration support for non iwd2 games
[21:21:31] <CIA-29> GemRB: 03avenger_teambg * r40d421d0c87c 10ielister/ielister.cpp: spl fileformat update (gemrb specific fields)
[21:23:17] <CIA-29> GemRB: 03avenger_teambg * r5ff601090f2a 10gemrb/gemrb/override/pst/ (faerie.spl ffire.pro s015hwav.vvc): binary data for lesser revelation's projectile (faerie fire)
[21:25:29] <CIA-29> GemRB: 03avenger_teambg * r1593a0695aee 10dltcep/ (SpellProperties.cpp chitem.clw chitem.rc resource.h): dltcep support for simplified duration
[21:35:04] <edheldil_> Avenger, are you sure it is about democracy? I suspect that the result might be growth of islamism
[21:39:16] <tomprince> Those things don't need to be at odds with each other.
[21:49:06] <-- devurandom has left IRC (*.net *.split)
[21:49:07] <-- xrogaan has left IRC (*.net *.split)
[21:50:03] --> xrogaan has joined #GemRb
[21:50:03] --> devurandom has joined #GemRb
[23:02:39] <-- Bo_Thomsen has left IRC (Quit: Leaving.)
[23:09:57] <-- Maighstir has left IRC (Quit: ~ Trillian Astra - www.trillian.im ~)
[23:13:50] <edheldil_> I have pushed new version of Autodetection to github
[23:18:44] <-- lynxlynxlynx has left IRC (Remote host closed the connection)
[23:39:24] <-- edheldil_ has left IRC (Ping timeout: 272 seconds)