[03:02:32] <servus> I know Pascal :P
[03:02:47] <servus> I looked through that Pascal GameWizard for help on my Ultima VII 3D map viewer
[03:05:04] <sbx|afk> hi servus
[03:05:21] --- sbx|afk is now known as sbx
[03:05:21] <sbx> oops
[03:06:19] <servus> Harro
[03:06:30] <sbx> that's good
[03:06:45] <sbx> do you want to look at abp's game?
[03:07:44] <servus> p is previteras?
[03:08:40] <sbx> i guess
[03:08:58] <sbx> yes I think so
[03:09:39] <servus> Then I've seen it
[03:10:00] <sbx> the code
[03:10:29] <servus> Oh, no, haven't seen it
[03:13:14] <sbx> but you want to?
[03:14:14] <[exile]> can I ask a stupid question?
[03:14:25] <[exile]> the source, does that include the uncompiled usecode?
[03:15:07] <sbx> hi
[03:15:20] <sbx> no
[03:15:24] <[exile]> ok
[03:15:48] <servus> Why do I want to, though? :P
[03:15:53] <[exile]> so with patches, etc, how does Exult know to use, say, lordbritish.uc in your patch directory rather than the one hard coded into the game?
[03:16:14] <[exile]> I've been inspired by the quests + interactions patch, finally going to use some of this material that I've been writing :)
[03:16:39] <sbx> servus: I don't really care to either.
[03:17:34] <sbx> lordbritish.uc would contain the function number(s) in it, and when those functions are called the ones in that file will be used instead of the originals
[03:20:06] <sbx> oh, you'd have to compile it of course
[03:21:48] <[exile]> ok, that's cool
[03:21:57] <[exile]> what about editing/writing books that are found in the game?
[03:22:42] <[exile]> so, does that mean you have to re-write every single npc if you wanted to add something? (i.e. how do I find the original lordbritish.uc stuff, or do I have to rewrite this whole conversation from scratch, with flags?)
[03:23:59] <[exile]> i'm looking at doing something similar to Alun's patch just to begin with
[03:24:08] <sbx> I havn't worked with ExultStudio in a long time, I wonder if it has a "book editor"? Those are part of the usecode too. (there is one or a few functions for every book in the game)
[03:24:25] <[exile]> i suppose you get a lot of people in here with lofty ambitions :)
[03:25:16] <servus> ExultStudio never worked with me
[03:25:32] <sbx> You can decompile it into something roughly C-like with UCXT when you know the function number, unfortunately that tool was never finished so its only readable and can't be recompiled.
[03:25:51] <sbx> you can also use 'wud' if you want to read assembly-like script
[03:26:03] <[exile]> but then you have to rebuild the individual functions/npcs/objects yourself?
[03:26:06] <[exile]> think I've got it now
[03:26:42] <[exile]> why isn't the native usecode that Exult uses available? or does it just use the original one from the ULTIMA7/SERPENT dir?
[03:27:37] <sbx> its the usecode that comes with the games
[03:27:54] <sbx> windows taskbar is acting up
[03:31:00] <Colourless> Exult uses the usecode from the original game
[03:31:29] <[exile]> Sorry for the crappy questions :/
[03:32:18] <Colourless> usecode files in the patch dir augment or replace usecode from the original game
[03:32:19] <[exile]> Heh, ExultStudio crashes before it can even load
[03:33:03] <[exile]> Colourless: is it possible to extract the original usecode so you can base a patch on some of it? I don't feel like rewriting a lot of redundant stuff, obviously
[03:34:07] <[exile]> I should say, what's the easiest way? I know it can be done
[03:34:44] <Colourless> you can use wud and wuc and fiddle with the bytecodes. Or you can attempt to use ucxt to uncompile the usecode which sort of works and then use ucc to recompile with modifications
[03:35:13] <Colourless> there really isn't any 'easy' way
[03:35:27] <[exile]> sorry: why would you need to recompile again if the patch usecode is just plain text?
[03:35:43] <Colourless> usecode isn't plain text
[03:35:59] <sbx> unless Darke finishes ucxt!
[03:36:00] <Colourless> it's a compiled bytecode
[03:36:07] <[exile]> this is probably where i'm getting confused then
[03:36:16] <[exile]> i'm just basing my assumptions off other patches
[03:36:30] <Colourless> other patches need to be compiled to be used
[03:36:48] <[exile]> i.e. in that quests + interactions patch, there's a lot of files i.e. finnigan.uc
[03:37:03] <[exile]> i can obviously edit those and those edits propogate when I start a new game
[03:37:29] <[exile]> but there's no compiling done user-side...right?
[03:37:36] <[exile]> :confused:
[03:37:37] <Colourless> yes there is
[03:37:42] <Colourless> you are running the program ucc?
[03:37:56] <[exile]> no
[03:38:22] <[exile]> I just chucked it into the exult directory and put it in the cfg file and it worked
[03:38:29] <[exile]> oh wait
[03:38:31] <[exile]> shit.
[03:38:34] <[exile]> forget that
[03:38:48] <[exile]> told you I was stupid :)
[03:39:19] <[exile]> I see that I was just mucking around with the src, rather than the compiled usecode
[03:40:16] <[exile]> Yeah, yeah, /kb me now :)
[03:49:17] <[exile]> Got it working now. Much better. Thanks.
[04:04:17] <servus> Hlodarke
[04:14:39] <[exile]> Quite a few Aussies in here, I see..heh
[07:05:20] <sbx> hi ]exile[
[07:12:59] <sbx> bye ]exile[ and [exile]
[07:31:32] * servus just did another :wq in cht
[07:31:33] <servus> chat*
[07:53:21] <sbx> just give up and make it your .signature already
[07:53:29] <sbx> and quit message
[08:01:00] <servus> :wq?
[08:01:43] <servus> Good idea. Too bad I never leave :p
[08:51:23] <servus> Night
[08:51:41] --- servus is now known as servuswq
[08:53:33] <sbx> :wq!
[08:53:33] <sbx> cya
[10:47:49] --- sbx is now known as sbx|afk
[12:54:18] <Fl00der> hi
[13:42:22] <Baastuul> QuAtScH~!
[20:57:25] --- Colourless is now known as Cless|ZzzZzzZ