#exult@irc.freenode.net logs for 11 Apr 2003 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[00:06:53] --> DarkeZzz has joined #exult
[00:15:25] --> Ember has joined #exult
[00:38:48] <-- DarkeZzz has left IRC (Read error: 110 (Connection timed out))
[01:01:07] --> matto has joined #exult
[01:01:17] <-- Matt_O has left IRC (Read error: 104 (Connection reset by peer))
[01:31:39] --> Kirben has joined #exult
[01:31:39] --- ChanServ gives channel operator status to Kirben
[01:38:34] <-- matto has left IRC (Read error: 104 (Connection reset by peer))
[02:56:15] --> sbx has joined #exult
[03:00:43] --- sbx is now known as sbx|afk
[03:28:29] --- sbx|afk is now known as SB-X
[04:50:40] --> EsBee-Eks has joined #exult
[04:51:01] <-- SB-X has left IRC (Killed (NickServ (Ghost: EsBee-Eks!~sbx@209.194.181.42)))
[04:51:05] --- EsBee-Eks is now known as SB-X
[06:06:22] --> EsBee-Eks has joined #exult
[06:06:34] <-- SB-X has left IRC (Killed (NickServ (Ghost: EsBee-Eks!~sbx@209.12.76.105)))
[06:06:36] --- EsBee-Eks is now known as sb-x
[06:33:54] --> Servus has joined #exult
[06:37:28] <Servus> my capslock/numlock/scrllock lights keep flashing every 30 seconds... hope i dont have a virus! ;-/
[06:40:43] --> ShadwChsr has joined #exult
[06:49:57] <-- ShadwChsr has left IRC ()
[07:20:35] <-- Servus has left IRC ()
[08:30:51] --> Quester has joined #exult
[08:33:20] <-- Ember has left IRC (brunner.freenode.net irc.freenode.net)
[08:34:28] --> Ember has joined #exult
[08:43:24] <-- sb-x has left IRC ("X-Chat [1.6.4]")
[08:52:40] <-- Quester has left IRC (Read error: 104 (Connection reset by peer))
[08:58:10] --> Quester has joined #exult
[09:12:32] --> Servus has joined #exult
[09:53:28] <-- Quester has left IRC ()
[09:56:43] <-- Servus has left IRC ()
[10:24:12] --> Fingolfin has joined #exult
[10:24:12] --- ChanServ gives channel operator status to Fingolfin
[10:57:23] --> armchair_avatar has joined #exult
[11:12:31] <-- armchair_avatar has left IRC ("bbl")
[11:31:15] --- Ember is now known as Darke
[11:31:18] --- ChanServ gives channel operator status to Darke
[12:01:35] <-- Fingolfin has left IRC ("42")
[14:20:35] <-- Kirben has left IRC ("System Meltdown")
[14:20:35] <-- Soul|LOVE has left IRC (Read error: 104 (Connection reset by peer))
[15:01:49] --> armchair_avatar has joined #exult
[15:04:10] --> wjp has joined #exult
[15:04:10] --- ChanServ gives channel operator status to wjp
[15:09:30] <wjp> hi
[15:10:19] <armchair_avatar> hi
[15:15:11] <Darke> Hi.
[15:25:46] <-- armchair_avatar has left IRC ("Client Exiting")
[16:09:26] * Darke decides that a pillow is softer then a keyboard and hops off to bed. Night!
[16:09:31] --- Darke is now known as DarkeZzz
[16:14:38] --> armchair_avatar has joined #exult
[16:58:11] --> Rixa has joined #exult
[16:58:21] <-- Rixa has left IRC (Client Quit)
[17:02:31] --> artaxerxes has joined #exult
[17:02:31] --- ChanServ gives channel operator status to artaxerxes
[17:02:34] <artaxerxes> yo
[17:02:56] <wjp> hi
[17:03:07] <artaxerxes> how are you?
[17:03:16] <wjp> kind of tired
[17:03:29] <artaxerxes> studies are ok?
[17:03:54] * wjp nods
[17:04:13] <artaxerxes> I've got a couple of news.
[17:04:20] <artaxerxes> First: about si-french
[17:04:48] <artaxerxes> I've just received another file from Dagon. Conclusion: 1 file each is left and I've done over 40% of mine
[17:04:57] <wjp> cool :-)
[17:04:58] <artaxerxes> (3 more to go in a word)
[17:05:08] <artaxerxes> I can't wait
[17:05:35] <artaxerxes> then, as I said earlier, I've tested the patch mechanism for the french translation and it works like a charm
[17:06:06] <artaxerxes> I put all the french stuff in the <patch> folder and boom, si is in french suddently
[17:06:21] <artaxerxes> (when you restart exult)
[17:07:02] <artaxerxes> There is just one bad part with that: whatever file you created in <patch> beforehand will be erased or ignored !
[17:07:48] <artaxerxes> That's why I posted this message on the forum. It would be awesome to separate the i18n from the patch mechanism to be able to use both
[17:09:00] <artaxerxes> additionally, I was wondering what steps I should take to access the .exult.cfg file and either retrieve or set the <patch> entry to know where the french text is
[17:09:20] <artaxerxes> french text is -> french text should be put
[17:10:58] * wjp hmms
[17:13:46] <wjp> did you look at cmanip?
[17:14:08] <artaxerxes> nope.
[17:15:27] <artaxerxes> looks useful! never saw it before! ;-)
[17:19:16] <artaxerxes> would modify add an entry if not present ?
[17:20:02] <wjp> add and modify are treated exactly the same internally :-)
[17:20:27] <artaxerxes> I see now... I'm looking at the source
[17:21:01] <artaxerxes> FIXME: Currently only sets it to 'null', since there is
[17:21:02] <artaxerxes> no 'remove' ability
[17:21:10] <artaxerxes> still correct ?
[17:21:59] <wjp> I think so
[17:22:37] <artaxerxes> would normally all exult users have the cmanip binary ?
[17:22:54] <wjp> no
[17:23:07] <artaxerxes> they should install exult_tools ?
[17:23:24] <wjp> yes
[17:23:38] <artaxerxes> do all linux users have necessarily cmanip?
[17:23:43] <wjp> no
[17:23:43] <artaxerxes> binary)
[17:23:58] <artaxerxes> there is no exult_tool for linux though
[17:24:06] <wjp> there is
[17:24:12] <artaxerxes> oh yes?
[17:24:34] <artaxerxes> ah yes!
[17:24:37] <artaxerxes> that's new!
[17:24:58] <wjp> well, it's been this way for over a year :-)
[17:25:04] <wjp> but cmanip isn't in there
[17:25:25] <artaxerxes> hmmm
[17:25:51] <artaxerxes> I guess I'll have to compile it myself and include it in my release
[17:26:08] <artaxerxes> I don't have a compiler for windows though
[17:26:35] <wjp> just 'borrow' the binary from the tools package
[17:27:51] <wjp> of course, getting the file out of ExultTools.exe may need windows or wine
[17:28:49] <artaxerxes> oh you mean, it is in exulttools.exe but not in linux tools ?
[17:29:16] <wjp> yes
[17:29:19] <wjp> don't ask me why :-)
[17:29:29] <artaxerxes> that's ok then. I'll tell the windows users to get the tools package and I'll include the linux binary in the package I'll release
[17:32:24] <artaxerxes> I guess I could also include the sources since it looks like it only includes cmanip.cpp, cmanip.h, Configuration.h and exult_constants.h
[17:32:38] <wjp> you need all of the conf/ dir for it
[17:33:16] <artaxerxes> ok
[17:33:23] <artaxerxes> no source then! ;-)
[17:33:24] <wjp> and files/ probably
[17:34:44] --> Sslaxx has joined #exult
[17:35:50] <artaxerxes> it there a way to know where the exult.cfg is found automatically ?
[17:36:01] <artaxerxes> Hi Sslaxx
[17:36:01] <-- Sslaxx has left IRC (Client Quit)
[17:36:16] <artaxerxes> Bye Sslaxx
[17:36:42] <wjp> the logic is in conf/Configuration.cc: read_config_file
[17:39:31] <artaxerxes> then why do you have to pass the config file in parameter?
[17:39:36] <artaxerxes> (for cmanip)
[17:40:20] <wjp> you can just pass "exult.cfg" there
[17:40:26] <wjp> it passes it to read_config_file
[17:41:54] * artaxerxes just tested it and nothing happen
[17:42:08] <artaxerxes> ./cmanip -v ~/.exult.cfg add test test
[17:42:45] <wjp> test isn't a valid key, probably
[17:42:46] <artaxerxes> ./cmanip ~/.exult.cfg -v add test test
[17:42:51] <wjp> try "config/test"
[17:43:20] <artaxerxes> excellent
[17:43:28] <wjp> ./cmanip exult.cfg -v add config/test test
[17:44:06] <artaxerxes> nice
[17:44:13] <artaxerxes> I did the following:
[17:44:28] <artaxerxes> ./cmanip exult.cfg -v add config/test testing2
[17:44:37] <artaxerxes> and it automatically took ~/.exult.cfg
[17:44:49] <wjp> as I said, it passes it to read_config_file
[17:44:59] <artaxerxes> thx, that's really helpful
[17:45:40] <wjp> on windows the situation is slightly different, since there's no default config file location for exult there
[17:45:43] <artaxerxes> too bad there is no command to simple read a key
[17:45:54] <artaxerxes> so it uses the registry, right ?
[17:45:58] <wjp> no
[17:46:03] <artaxerxes> oh
[17:46:05] <wjp> we don't use the registry
[17:46:10] <wjp> (well, the installer does, I think)
[17:46:16] <artaxerxes> bbl (meeting)
[17:46:27] <wjp> bbl too (dinner) :-)
[17:58:05] <artaxerxes> ucinternal.cc line 1666. I could add a <french> stuff there to leave the patch dir alone
[18:06:45] --> Soul|LOVE has joined #exult
[18:24:15] --> Dark-Star has joined #exult
[18:38:40] <-- armchair_avatar has left IRC ("Client Exiting")
[18:39:12] <wjp> back
[18:40:18] <artaxerxes> wb
[18:40:42] <artaxerxes> ucinternal.cc line 1666. I could add a <french> stuff there
[18:40:44] <artaxerxes> to leave the patch dir alone
[18:43:05] <wjp> that wouldn't handle text.flx, the fonts, and any other files
[18:44:45] <artaxerxes> I can still add it all! :-)
[18:45:24] <artaxerxes> if the format is identical, it won't be too hard to add the <french> stuff.
[18:45:50] <artaxerxes> I just need to be authorized to make the change, and thus I need to discuss of the exact wording used.
[18:46:23] <artaxerxes> such as <language><french>french_dir</french></language> or that kind of stuff.
[18:48:10] * wjp hmms
[18:53:49] <artaxerxes> brb
[18:54:01] <wjp> the question is how to do it so that you can support multiple languages with having to add code for each one
[18:59:54] <artaxerxes> <language><default>french</default><french>french_dir</french></language>
[19:00:07] <artaxerxes> <language><default>X</default><X>X_dir</X></language>
[19:02:41] <artaxerxes> s/default/active/ so that english is always used by default
[19:06:28] --> armchair_avatar has joined #exult
[19:10:19] <-- armchair_avatar has left IRC (Client Quit)
[19:17:08] <artaxerxes> #ifdef UNDER_CE// This is a bit of a hack for WinCE
[19:17:22] <artaxerxes> I did not know there was some CE code in exult!
[19:19:02] --> sbx has joined #exult
[19:20:46] <artaxerxes> do you know what #define NUM_FONTS (20) is for in fnames.h ?
[19:20:52] <artaxerxes> hi sbx
[19:21:51] <wjp> max number of fonts, I'd guess
[19:22:19] <wjp> hm, it isn't really used for anything important, though
[19:22:55] <sbx> hello
[19:23:10] <wjp> hi
[19:27:05] <artaxerxes> wjp: what do you think of this schema?
[19:27:31] <wjp> not sure
[19:28:10] <wjp> would the french dir override the 'real' patch dir?
[19:28:18] <wjp> or can you use both at the same time?
[19:28:44] <wjp> (and if the latter, which one has priority?)
[19:29:00] <wjp> how do we tie this in with a possible translation of exult.flx?
[19:29:01] <artaxerxes> patch should have priority.
[19:30:07] <artaxerxes> if exult.flx exists in <french> then we use this one!
[19:31:29] * wjp wonders how to implement multiple patch-like dirs properly
[19:31:31] <artaxerxes> correction: we read exult.flx as usual, and if exult.flx exists in <x> then we also read it
[19:32:07] <Soul|LOVE> soulnet.tk news update: http://soulnet.tk
[19:32:10] <sbx> would you really need multiple dirs?
[19:32:12] <artaxerxes> if you have a real patch dir, you know what you are doing, so it should be last
[19:32:17] <sbx> si-french is for the main si, from origin
[19:32:35] <sbx> its not expected to support user patches is it?
[19:32:40] <artaxerxes> why not?
[19:32:44] * sbx shrugs. :)
[19:32:48] <artaxerxes> I have a fonts.vga patch
[19:33:03] <artaxerxes> (which is different from si-french's fonts,vga)
[19:33:35] <sbx> consider the main static directory a base, then load anything in patch and merge or replace, then load anything in languagedir and merge or replace
[19:33:43] <artaxerxes> so exult loads static/fonts.vga, then <french>/fonts.vga then patch/fonts.vga
[19:33:50] <sbx> oops
[19:34:05] <sbx> switch language and game patch in my example then
[19:34:10] <artaxerxes> yup
[19:34:52] <artaxerxes> the only problem is that there are tons of changes to make: for each file that accepts a patch
[19:35:16] <sbx> for now youll just have to insert language patching between whats already in exult
[19:35:18] <artaxerxes> more code has to be put just before to load the language data
[19:35:25] <artaxerxes> yup
[19:35:31] <artaxerxes> that's what I was looking at
[19:35:40] <artaxerxes> L1666 from ucinternals.cc
[19:36:28] <artaxerxes> usecode/ucinternals.cc
[19:38:27] <wjp> lol... an ad on /. advertising "Linux 8.0"
[19:39:10] <artaxerxes> wjp: is it possible to read the name of the active language in the conf file and use this value as a key to retrieve the value of a language dir ?
[19:39:22] <artaxerxes> :-
[19:39:28] <artaxerxes> :-) I see it too!
[19:39:30] <wjp> of course
[19:40:01] <artaxerxes> what would then be wrong with the schema I proposed (beside the case where no active language is set?)
[19:40:40] <artaxerxes> s/?)/)?/
[19:41:57] <wjp> mostly a matter of how to implement it cleanly, I guess
[19:44:31] <artaxerxes> hmmmm there is a slight pb
[19:44:47] <artaxerxes> shapes/fontvga.cc @ L63
[19:45:03] <artaxerxes> const char *fname = U7exists(PATCH_FONTS) ? PATCH_FONTS : FONTS_VGA;
[19:45:23] <artaxerxes> it would be better if the format was identical to usecode
[19:45:30] <artaxerxes> (if it is possible!)
[19:46:07] <wjp> do we support reading a flex/vga file from two places? (one partly overriding the other?)
[19:47:27] <artaxerxes> gamewin.cc @ 478
[19:47:38] <artaxerxes> if (is_system_path_defined("<PATCH>") && U7exists(PATCH_TEXT)
[19:47:42] <artaxerxes> U7open(textflx, PATCH_TEXT)
[19:47:48] <artaxerxes> else
[19:47:52] <artaxerxes> U7open(textflx, TEXT_FLX);
[19:48:03] <artaxerxes> too bad.
[19:48:45] <artaxerxes> for some reason though I thought it was possible just to override one shp/flx file
[19:49:35] <artaxerxes> that will be a question for Ryan I guess.
[19:54:21] <artaxerxes> it raises another pb. If an original flex has 30 entries and a translated one shows only 1, should the original ones be overwritten by the empty entries of the translated one ?
[19:55:17] <artaxerxes> unless it is possible to precise a item number. Only override the entries with an item number
[20:05:09] <wjp> bbl
[20:05:58] <artaxerxes> k
[20:06:25] <-- laxdragon has left IRC ("ZZZZZzzzzzzzzzzzzzzz")
[20:07:30] <wjp> btw, the probable reason why we can override specific usecode functions, but not specific shapes, is that we pre-load all of usecode
[20:07:53] <wjp> I think most of the other files are read when they're needed
[20:08:27] <wjp> *gone*
[20:17:34] --> animeloe has joined #exult
[20:19:15] <-- Eclair has left IRC (Connection reset by peer)
[20:21:06] --- animeloe is now known as Eclair
[20:22:05] <artaxerxes> yp
[20:22:08] <artaxerxes> yo
[20:31:04] <-- sbx has left IRC (brunner.freenode.net irc.freenode.net)
[20:31:04] <-- artaxerxes has left IRC (brunner.freenode.net irc.freenode.net)
[20:31:04] <-- DarkeZzz has left IRC (brunner.freenode.net irc.freenode.net)
[20:31:04] <-- Eclair has left IRC (brunner.freenode.net irc.freenode.net)
[20:31:04] <-- wjp has left IRC (brunner.freenode.net irc.freenode.net)
[20:31:04] <-- Dark-Star has left IRC (brunner.freenode.net irc.freenode.net)
[20:31:04] <-- MakeGho has left IRC (brunner.freenode.net irc.freenode.net)
[20:31:21] --> artaxerxes has joined #exult
[20:31:21] --> sbx has joined #exult
[20:31:21] --> Dark-Star has joined #exult
[20:31:21] --> DarkeZzz has joined #exult
[20:31:21] --> MakeGho has joined #exult
[20:31:34] --> wjp has joined #exult
[20:31:34] --> Eclair has joined #exult
[20:37:44] <-- Eclair has left IRC (brunner.freenode.net irc.freenode.net)
[20:37:44] <-- wjp has left IRC (brunner.freenode.net irc.freenode.net)
[20:37:44] <-- sbx has left IRC (brunner.freenode.net irc.freenode.net)
[20:37:44] <-- artaxerxes has left IRC (brunner.freenode.net irc.freenode.net)
[20:37:44] <-- DarkeZzz has left IRC (brunner.freenode.net irc.freenode.net)
[20:37:44] <-- MakeGho has left IRC (brunner.freenode.net irc.freenode.net)
[20:37:44] <-- Dark-Star has left IRC (brunner.freenode.net irc.freenode.net)
[20:38:13] --> artaxerxes has joined #exult
[20:38:13] --> sbx has joined #exult
[20:38:13] --> Dark-Star has joined #exult
[20:38:13] --> DarkeZzz has joined #exult
[20:38:13] --> MakeGho has joined #exult
[20:38:25] --> wjp has joined #exult
[20:38:25] --> Eclair has joined #exult
[20:38:56] --- Eclair is now known as animeloe
[20:39:03] --- animeloe is now known as Eclair
[20:51:39] <artaxerxes> does anyone remembers reading the book entitled "DRINKING SONGS DUPRE TAUGHT ME" in SI ?
[21:19:14] <wjp> what quality does that one have?
[21:20:04] <wjp> 124 & 125?
[21:25:59] <wjp> my item DB doesn't seem to have any of those
[21:30:57] <artaxerxes> it is in the 0638.uc file
[21:32:13] <artaxerxes> I would assume it is 127
[21:32:26] <artaxerxes> 033E: 1F 7F 00 pushi007FH; 127
[21:32:45] <artaxerxes> 0341: 22 cmpeq
[21:32:46] <artaxerxes> 0342: 05 14 00 jne0359
[21:32:50] <artaxerxes> 0345: 1C 5B 26 addsiL265B; ~~ ~~VETRON'S GU
[21:33:07] <artaxerxes> oups
[21:33:10] <artaxerxes> my mistake
[21:33:11] <wjp> that's not 'DRINKING SONGS...'
[21:33:12] <wjp> :-)
[21:33:21] <artaxerxes> 125
[21:33:22] <wjp> it's in BG, but not in SI, AFAICT
[21:33:39] <wjp> 125 is volume 2
[21:34:01] <artaxerxes> impossible, this is written by Olon
[21:34:27] <wjp> it is?
[21:34:50] <artaxerxes> you had it right btw, 124 & 125
[21:35:05] <wjp> why is it written by Olon?
[21:35:28] --> armchair_avatar has joined #exult
[21:35:48] <artaxerxes> for one, it is not in BG's usecode and then Olon quotes it during the trial
[21:38:51] <wjp> hm, weird
[21:45:33] <wjp> I have to go; 'night
[21:45:38] <-- wjp has left IRC ("Zzzz...")
[21:46:28] <artaxerxes> bye
[21:46:46] <artaxerxes> I'm leaving too
[21:46:49] <-- artaxerxes has left #exult ()
[22:20:59] --> Fingolfin has joined #exult
[22:20:59] --- ChanServ gives channel operator status to Fingolfin
[22:37:42] <-- Soul|LOVE has left IRC (Read error: 104 (Connection reset by peer))
[22:57:55] --> Soul|LOVE has joined #exult
[23:21:21] --> [justin-- has joined #exult
[23:21:24] <-- Soul|LOVE has left IRC (Read error: 104 (Connection reset by peer))
[23:24:11] --- [justin-- is now known as Soul|LOVE
[23:28:53] <-- Fingolfin has left IRC ("42")
[23:38:32] --> Servus has joined #exult