#exult@irc.freenode.net logs for 19 Mar 2003 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage

[00:00:33] <Yuv422> hmm let me check.
[00:01:51] <Yuv422> hmm just leftover from some earlier stuff I was doing in nuvie.cpp
[00:03:24] <Dark-Star> ok, there's one false warning MSVC gives in Text.cpp, it says that Text::drawScreen (the first one) is recursive in all code paths, that's not entirely correct I guess :)
[00:04:16] <Dark-Star> although I think you don't actually need the first version because you can always call the second version with s.c_str() by hand...
[00:04:29] <Yuv422> true
[00:06:12] <Dark-Star> conf/XMLTree.cpp needs util.h which is not in CVS, I guess you might have forgotten to check it in?
[00:06:48] <Yuv422> hmm let me check.
[00:07:06] <Dark-Star> and conf/XMLNode.cpp needs an #include <cassert> for "assert(...)" to work
[00:09:04] <Dark-Star> bool ObjManager::ObjManager::loadObjs() {...} ??? *grin*
[00:09:39] <Yuv422> heheh whoops
[00:10:55] <Yuv422> funny gcc didn't pick that up.
[00:15:45] --> Kirben has joined #exult
[00:15:45] --- ChanServ gives channel operator status to Kirben
[00:15:55] <Dark-Star> btw I think you should use "cstdio" instead of "stdio.h", "cmath" instead of "math.h" and "string" instead of "string.h" as includes
[00:16:25] <Yuv422> ah k
[00:17:10] <Yuv422> I should probably get rid of the malloc and free calls too. :)
[00:17:20] <Yuv422> replace them with new delete.
[00:17:20] <Kirben> Cleaning up nuvie source code ?
[00:17:26] <Yuv422> yeah
[00:17:34] <Dark-Star> well, that's not _that_ important, sometimes malloc() and free() can be quite useful even in c++
[00:17:47] <Kirben> The main int seems to be wrong, at least according to sdl.
[00:18:01] <Dominus> hi Kirben
[00:18:11] <Kirben> Hi
[00:18:12] <Kirben> http://www.libsdl.org/faq.php?action=listentries&category=4#48
[00:18:29] <-- Fingolfin has left IRC ("42")
[00:18:31] <Kirben> Tried to get nuvie to compile on win32 last night
[00:18:32] <Dark-Star> talking about main and SDL... why do I always have to "#undef main" to get SDL programs to link??
[00:19:01] <Kirben> Dark-Star: see link above
[00:19:23] <Yuv422> Is that because main is a define in SDL?
[00:19:33] <Yuv422> to SDL_Main
[00:19:38] <Yuv422> so somthing like it
[00:19:53] <Kirben> yes I think so.
[00:20:14] <Yuv422> I'm actually using the cocoa sdl bits.
[00:20:48] <Dark-Star> I keep getting "undefined reference to _main", not "...to SDL_main"
[00:20:56] <Yuv422> in the PBBuild directory.
[00:21:15] <Dark-Star> and if I link with SDLmain then I get a lot of warnings about twice declared symbols and stiff
[00:21:25] <Dark-Star> s/warnings/errors
[00:21:33] <Dark-Star> s/stiff/stuff
[00:21:40] * Dark-Star hits keyboard
[00:24:42] <Dark-Star> so I guess it's no good idea to #undef main ?
[00:25:35] <Yuv422> ;)
[00:27:00] <Kirben> Also win32 doesn't like bool define in u6def.h which seems to be used even though bool is already type defined.
[00:27:31] <Yuv422> yeah might rip that stuff out.
[00:28:13] <Kirben> I got nuvie to compile but always crashed on startup so could be more issues.
[00:28:18] <Dark-Star> MSVC7 doesn't complain there. but since it's not needed it's ok to remove it :)
[00:28:49] <Yuv422> you'll need to fix the path to the nuvie.cfg file and add the path to u6.
[00:29:04] <Dark-Star> ... and I can't get that main() issue resolved. I think I'll stick to #undef'ing main since that has always worked for me :-)
[00:31:12] <Kirben> Yes, I altered nuvia.cpp and added . path to nuvia.cfg but crashed after that point. gdb was unhelpful.
[00:31:42] <Yuv422> ah k
[00:32:37] <Yuv422> I really should add some more debug messages. :)
[00:34:52] <Dark-Star> hmmm... I got as far as "surface pitch = 320" and then I got "assertion failed". Now might be a good time to search for my U6 disks ;-)
[00:35:13] <Yuv422> ;)
[00:35:31] <Yuv422> oh it needs a savegame created. :)
[00:36:03] <Kirben> That is as far as I get too, with u6 data files.
[00:36:08] <Yuv422> I should write a little util to generate the save game state from the lzobjblk file
[00:36:31] <Dark-Star> Yuv422: that would be helpful, because I don't know it U6 runs in XP...
[00:36:44] <Kirben> u6 runs well in xp
[00:37:17] <Dominus> and with dosbox you even get a nice pc-speaker emulation :-)
[00:38:50] <Yuv422> hehhe sound is along way off for nuvie. ;)
[00:39:33] <Dark-Star> hmm... now I get "cW != next_free_codeword!" ... does that mean I need a savegame? ;-)
[00:39:54] <Kirben> I only get that far with gdb.
[00:40:16] <Yuv422> looking for PC speaker access in the original shouldn't be too hard.
[00:40:25] <Kirben> should save game data be in same directory as other data files ?
[00:40:28] <Dominus> I guess the music of u6 shouldn't be that much of a problem (there is a plug-in for winamp that does play it), sfx should be a lot harder if not impossible
[00:40:57] <Kirben> could use amiga sound effects
[00:41:17] <Kirben> would be cool if speech from fm towns versions could be used :)
[00:41:19] <Dominus> oh, that would be awesome :-)
[00:41:26] <Yuv422> or simulate the pc speaker after watching what ultima6 does under a debugger.
[00:41:59] <Yuv422> the save game data should be in a directory
[00:42:04] <Yuv422> savegame/
[00:42:12] <Yuv422> under the utima6 dir
[00:42:12] <Dominus> Kirben: yes, that speech would be great
[00:43:28] <Yuv422> :)
[00:43:34] <Yuv422> one step at a time. ;)
[00:43:39] <Dark-Star> hmmm... I can't get U6 to run on windows. I get past the introduction and when the game should start I get "DISK ERROR!!! Function 5, Code6.." or something...
[00:43:46] <Dominus> I hope you take notes :-)
[00:44:04] <Kirben> ok, I guess crash must be caused by something else.
[00:45:13] <Yuv422> savegame data is only used in the ObjManager class
[00:45:20] <Yuv422> can you get to that point?
[00:47:42] <Kirben> not sure, all i get in stoud.txt is:
[00:47:43] <Kirben> surface pitch = 320
[00:47:43] <Kirben> cW != next_free_codeword!
[00:47:49] <Kirben> when using gbd
[00:48:02] <Kirben> all gdb says is Program exited with code 037777777777
[00:48:17] <Yuv422> which file was it trying to unpack?
[00:49:17] <Kirben> How to tell ?
[00:49:39] <Yuv422> bt up to the top of U6Lzw.
[00:49:49] <Yuv422> it should pass the filename there.
[00:50:15] <Yuv422> oh lzw.c isn't used btw.
[00:50:25] <Kirben> Thats the problem, I can't get a back trace, just says 'no stack'
[00:50:34] <Kirben> compiled with -g3
[00:51:32] <Yuv422> hmm
[00:52:01] <Yuv422> lets see which file is decoded first.
[00:52:45] <Kirben> I'm using Ultima 6 from Ultima Collection CD if it makes any difference.
[00:52:58] <Yuv422> maybe.
[00:53:23] <-- ShadwChsr has left IRC (Read error: 54 (Connection reset by peer))
[00:53:54] <Dark-Star> well, I traced it into U6lzw::decompress_file() now, seems the first file should be "maptiles.vga"
[00:54:05] <Yuv422> yeah that's right
[00:54:25] <Dark-Star> BUT...
[00:54:47] <Dark-Star> the parameters seem pretty messed up.
[00:55:10] <Dark-Star> filename is some garbage string and destination_length is 3435973836 ...
[00:55:10] <Yuv422> what are they?
[00:55:19] <Yuv422> hmm not good
[00:55:36] <Yuv422> could be a problem with fseek
[00:55:50] <Yuv422> have a look in U6File.cpp/h
[00:56:01] <Dark-Star> so the problem seems in "TileManager::loadTiles" either in "lzw = new U6Lzw()" or "config->pathFromValue()
[00:56:40] <Yuv422> what do you get back from config->pathFromValue?? is it a proper path?
[00:57:40] <Dark-Star> nope, it's garbage there already
[00:58:15] <Yuv422> after that call has finished?
[00:58:50] <Dark-Star> yes. wait a second, I have an idea...
[01:00:44] <Dark-Star> hmmm...
[01:01:22] <Yuv422> ...
[01:01:47] <Dark-Star> memory trashing I guess... the constant "config/ultima6/gamedir" gets overwritten somehow, config->pathFromValue() recieves a garbage string as first argument already
[01:02:33] <Yuv422> that's not good. :(
[01:03:47] <Dark-Star> yes, especially since these errors are very quite to track down ...
[01:04:07] <Yuv422> try putting the new lzw() after the config call
[01:04:14] <Yuv422> maybe it's doing the trashing.
[01:04:18] <-- Matt_O has left IRC ("Client exiting")
[01:05:02] <-- Dominus has left IRC ("enough for now")
[01:06:58] --> Matt_O has joined #exult
[01:07:02] <Dark-Star> nope, that didn't fix it...
[01:09:13] <Yuv422> heheh just found another hard coded file
[01:09:23] <Yuv422> in GamePalette
[01:10:46] <Yuv422> maybe config isn't a valid class instance at that point?
[01:12:17] <Dark-Star> it should be
[01:13:18] <Dark-Star> hmmmm
[01:14:06] <Dark-Star> I think we can forget what we just discussed. Seems like MSVC was lying to me, the strings are quite ok. sorry :-)
[01:14:30] <Yuv422> :)
[01:14:57] <Yuv422> thought I had a serious overflow bug for a bit there. ;)
[01:15:28] <Dark-Star> yeah, but it seemed more and more that the bug was in the Configuration class and I know that can't be :-)
[01:15:53] <Yuv422> well that's ripped straight out of pentagram. :)
[01:16:27] <Dark-Star> I know :-) so it's trying to decomp maptiles.vga and fails, because the next config->pathFromValue() for objtiles.vga never gets called
[01:17:18] <Yuv422> ok
[01:17:21] <Dark-Star> maybe you're reading words from disk in the wrong byteorder?
[01:17:38] <Yuv422> should be endian independant.
[01:17:43] <Yuv422> but that could be the case.
[01:17:59] --> wjp has joined #exult
[01:17:59] --- ChanServ gives channel operator status to wjp
[01:18:02] <wjp> hi
[01:18:16] <wjp> Yuv422: I have no time to stay (2:15am... need to be in bed...), but:
[01:18:24] <Yuv422> but the decomp stuff was originally ported from nodlings stuff which was little endian.
[01:18:26] <Yuv422> hi wjp
[01:18:29] <wjp> I could get nuvie to compile with only a few minor mods on linux
[01:18:34] <Yuv422> :)
[01:18:46] <wjp> util.h was missing, but creating an empty one seemed to work
[01:18:56] <Yuv422> yeah not needed.
[01:18:59] <wjp> you include nuvie.h as Nuvie.h somewhere
[01:19:02] <Dark-Star> yes, I commented out the #include ...
[01:19:08] <Yuv422> ok I'll fix that. :)
[01:19:21] <wjp> and I had some issues with main()
[01:19:23] <Yuv422> I was trying to find the case include :)
[01:19:43] <wjp> I renamed nuvieMain() to main(), and included SDL.h in main.cpp
[01:19:47] <Yuv422> was it because it was char **argv instead of char *argv[]??
[01:19:47] <wjp> and that seemed to work
[01:19:54] <wjp> no, that was ok
[01:19:56] <Yuv422> ah k
[01:20:00] <wjp> just renaming + including SDL.h did it
[01:20:13] <wjp> didn't try to run it yet, as I didn't have U6 data files at the uni where I tried
[01:20:19] <Yuv422> yeah I call nuvieMain from another file in the PBBuild dir
[01:20:31] <Yuv422> so coca SDL can set some things.
[01:20:35] <Yuv422> cooca
[01:20:37] <Yuv422> cocoa
[01:20:40] <Yuv422> ;)
[01:20:46] <wjp> SDL.h does the same through some #define's, IIRC
[01:21:47] <Yuv422> right Nuvie.h changed to nuvie.h in main.c
[01:21:50] <Yuv422> main.cpp
[01:23:02] <wjp> and now I should really go to bed :-)
[01:23:04] <wjp> 'night
[01:23:10] <Yuv422> night
[01:23:12] <-- wjp has left IRC ("Zzzz...")
[01:23:17] <Yuv422> thanks for the info
[01:24:43] <Dark-Star> hmm I guess it doesn't help you if I told you which cW is != which next_free_codeword, right? :)
[01:25:00] <Dark-Star> i.e. cW = 3533, next_free_codeword=3046
[01:25:05] <Yuv422> hehe not my code.
[01:25:23] <Dark-Star> yeah, guessed that. I'm not good in LZW coding either...
[01:25:59] <Yuv422> maybe you've got a problem in either the stack class or the dictionary class?
[01:32:06] <Dark-Star> just to be sure, could you do an MD5 sum of maptiles.vga?
[01:32:21] <Yuv422> sure
[01:32:46] <Yuv422> MD5 (maptiles.vga) = a1113d8a52a7f04c5b73f36bc9c21a3f
[01:33:08] <Dark-Star> ok, that's one possibility down :-(
[01:33:28] <Dark-Star> seems the lzw code is either not portable or buggy somehow.
[01:34:38] <Yuv422> It is probably the U6File class
[01:34:58] <Yuv422> have a look at the seek() method
[01:35:10] <Yuv422> this is probably not behaving as it should.
[01:35:20] <Yuv422> as it uses fseek.
[01:35:35] <Yuv422> which might be implemented differently on win32.
[01:37:15] <Dark-Star> wohooo
[01:37:22] <Dark-Star> you were almost right :)
[01:37:49] <Dark-Star> the problem is in U6Lzw::decompress_file, which openes the file in "r" mode instead of "rb"
[01:38:02] <Yuv422> ah. :)
[01:38:35] <Yuv422> hmm I should probably use fstreams over fopen et al any way :)
[01:39:00] <Yuv422> you'll need to fix the palette issue too. :)
[01:39:08] <Yuv422> as it is hard coded in. :(
[01:39:17] <Dark-Star> fstreams have caveats too. actually they have the same problem, you need to open files explicitly in binary mode on windows
[01:39:52] <Yuv422> well I guess we can ifdef that in. :)
[01:40:06] <Dark-Star> it's safe to do on other platforms too
[01:40:30] <Yuv422> yeah might as well just "rb" all the time then. :)
[01:40:43] <Dark-Star> Exult does this also, only with fstreams. there you must specify "ios::binary". I guess binary is the default on unix/linux/macos but not on windows
[01:40:46] <Yuv422> so was the fopen failing?
[01:41:14] <Yuv422> or just losing the last bit from each byte?
[01:41:35] <Dark-Star> no, some read() was failing and resulted in bad bytes, 0xff I guess
[01:42:06] <Dark-Star> if you don't open files in binary mode, windows won't read past 0x00 bytes and spit out 0xff on all subsequent reads
[01:42:08] <Kirben> several files are missing new line at end of file too.
[01:42:50] <Yuv422> does that matter in windows?
[01:43:03] <Dark-Star> AFAIK not
[01:43:14] <Dark-Star> at least it doesn't matter here (MSVC7)
[01:43:22] <Dark-Star> but we're not through yet. now it reads all files up to "basetile" and then crashes (again)...
[01:43:40] <Kirben> just produces a stack of warnings under gcc3
[01:43:41] <Dark-Star> hehe ok it's only me, I forgot another "rb" :)
[01:43:56] <Dark-Star> yes, gcc is very picky about that
[01:45:15] <Dark-Star> wow, that's a lot of files you need to open there ...
[01:45:27] <Yuv422> hehhe yeah
[01:45:43] <Yuv422> and in the original most of the data was read in as needed. :)
[01:47:30] <Dark-Star> where do I get the u6pal file from?
[01:47:43] <Dark-Star> I don't seem to have it here...
[01:47:46] <Yuv422> in the ultima6 basedir
[01:47:53] <Dark-Star> hmmm...
[01:48:02] * Dark-Star looks onto his disks again
[01:48:17] <Dark-Star> hmm there it is, I wondered why it didn't get copied...
[01:49:43] <Yuv422> lots of files to load in the savegame/ dir. ;)
[01:53:39] <Dark-Star> what size should the "map" file be?
[01:54:19] <Yuv422> 32256 Jan 19 2000 map
[01:54:34] <Dark-Star> that might explain something. mine is 0 bytes :-/
[01:54:40] <Dark-Star> could you DCC me yours?
[01:54:54] <Yuv422> have you installed u6?
[01:55:02] <Yuv422> do you have a savegame dir
[01:55:06] <Dark-Star> and, while you're at it, your savegame/ dir, too ?
[01:55:10] <Yuv422> with files in it?
[01:55:10] <Dark-Star> hehe... nope :)
[01:55:13] <Yuv422> ah k
[01:55:45] <Dark-Star> maybe the bad "map" file was the reason I couldn't run U6 in Win
[01:55:54] <Dark-Star> s/maybe/obviously
[02:01:38] <Kirben> hmm what other changes are need to run ?
[02:02:40] <Dark-Star> I think the "r"->"rb" are the only ones, in addition to the usual MSVC7 stuff. and, of course, you need a _working_ copy of U6 :-)
[02:03:53] <Yuv422> and the GamePalette path.
[02:04:04] <Kirben> Changes I made are http://members.optusnet.com.au/wormmon/test.patch
[02:04:29] <Kirben> Makefile is http://members.optusnet.com.au/wormmon/Makefile.mingw
[02:04:40] <Yuv422> righto I'll patch them in.
[02:05:14] <Kirben> no rush, still doesn't work here.
[02:05:21] <Yuv422> ah k
[02:05:52] <Dark-Star> someone once told me that it's better not to use symbols that start with one or 2 underscores as include-guard, but I don't know if that might actually cause trouble or something
[02:06:20] <Yuv422> ah k what did they suggest instead?
[02:06:39] <Dark-Star> I was told that all #defines that start with underscores should be reserved for the system/implementation. I simply use #define MYFILE_H
[02:07:19] <Kirben> Should *.c files be part of nuvie ?
[02:07:40] <Yuv422> nope
[02:07:45] <Yuv422> nothing in tools
[02:07:59] <Yuv422> and lzw.c
[02:08:29] <Kirben> Dark-Star: did I miss anything in patch ?
[02:09:21] <Dark-Star> most of the "r"->"rb" changes, it's more than two :)
[02:09:44] <Kirben> ah
[02:09:46] <Dark-Star> they're scattered all over the place, just try and grep for them :-)
[02:09:54] <Yuv422> hehe
[02:20:09] <Kirben> I think I got them all now but still crashes
[02:20:40] <Yuv422> including GamePalette
[02:21:55] <Kirben> ah that path is really bad.
[02:22:11] <Yuv422> ;)
[02:22:23] <Kirben> Yes!!!
[02:22:23] <Yuv422> yeah I forgot that one.
[02:22:25] <Kirben> works
[02:22:28] <Yuv422> :)
[02:22:49] <Yuv422> excellent!
[02:23:13] <Kirben> uploaded updated patch
[02:27:04] <Yuv422> getting it now
[02:29:53] <Dark-Star> need to get some sleep, it's 3:30 A.M. here now ;-)
[02:30:08] <Dark-Star> bye
[02:30:11] <Yuv422> cya Dark-Star
[02:30:15] <-- Dark-Star has left #exult ()
[02:31:02] <Yuv422> be back later.
[02:45:55] <Kirben> Uploaded final makefile and patch (Missed one newline).
[02:46:51] --> artaxerxes has joined #exult
[02:46:51] --- ChanServ gives channel operator status to artaxerxes
[02:46:54] <artaxerxes> yo all
[02:48:15] <Yuv422> hi
[02:48:40] <Yuv422> I'm going to write a little app to extract all the conversations from U6. :)
[02:49:05] <Yuv422> thought you might be interested. :)
[02:49:21] <Kirben> Yuv422: Would you be interested in nuvie win32 snapshots ?
[02:49:44] <Yuv422> sure
[02:50:00] <Yuv422> might want to wait till it gets a little more end user friendly though :)
[02:50:16] <Kirben> well Exult started out the same
[02:50:24] <Yuv422> true.
[02:51:05] <Kirben> btw nuvie window title is still just sdl_app
[02:51:13] <artaxerxes> awesome!
[02:51:14] <Kirben> and gpl license is missing.
[02:51:26] <Kirben> the 'copying' file I mean
[02:51:32] <Yuv422> Yeah I'll have to add that.
[02:51:43] <Yuv422> and fix the title.
[02:51:59] <artaxerxes> oh, Yuv422 you are the guy who's making nuvie ?
[02:52:03] <artaxerxes> neato!
[02:52:07] <Yuv422> yup
[02:52:13] <artaxerxes> all the best dude!
[02:52:18] <Yuv422> thanks
[02:52:30] <Kirben> bbl need food
[02:52:35] <artaxerxes> btw, I've just posted a message in the forum about what I think is a new easter egg
[02:53:22] <artaxerxes> what gave you the idea to make nuvie ?
[02:53:31] <Yuv422> exult :)
[02:53:53] <Yuv422> oh and how hard it is to run u6 on my mac. :)
[02:54:02] <artaxerxes> I've played u6 from start to finish many a times. If you need help for testing, I'd be glad to help you out
[02:54:07] <artaxerxes> ;)
[02:54:21] <artaxerxes> dosbox wouldn't do it?
[02:54:37] * artaxerxes thinks maybe dosbox is x86 only
[02:54:46] <Yuv422> dosbox has major graphical issues with u6 on the mac. :(
[02:55:14] <Yuv422> u6 works in Bochs. but it slooow.
[02:55:31] * artaxerxes nods
[03:00:51] <Yuv422> nice easter egg. I wonder if it is accessable from within the game?
[03:01:24] <artaxerxes> pretty fun to stumble across those things actually
[03:01:38] <artaxerxes> maybe wjp's database can tell us.
[03:02:19] <Yuv422> There is a big one in the Martian Dreams surface map. :)
[03:02:34] <artaxerxes> another one that's funny: edmund, archer par excellence (in french originally)!
[03:02:45] <artaxerxes> the head?
[03:02:52] <artaxerxes> the martian head?
[03:03:15] <Yuv422> some text written in tiles.
[03:03:37] <artaxerxes> ahhh
[03:03:41] <artaxerxes> interesting
[03:05:06] <Yuv422> The French patch must be pretty close to completion now :)
[03:05:32] <artaxerxes> vvery
[03:05:43] <artaxerxes> I'm doing the signs right now
[03:05:46] <artaxerxes> 3 more books
[03:05:51] <artaxerxes> and 3 more SS conversations
[03:06:01] <artaxerxes> and we're done the first translating batch
[03:06:11] <Yuv422> :)
[03:06:28] <artaxerxes> then there will be the proofreading to be totally finished!
[03:06:36] <artaxerxes> as well as shapes
[03:07:12] <Yuv422> You must know SI better than most now! ;)
[03:08:04] * artaxerxes snikers
[03:08:23] <Yuv422> I've yet to study the conversations in U6 closely but they look to be in a fairly simple format.
[03:08:34] <artaxerxes> I'll have to go pick up my wife at the gym in 8 minutes
[03:08:53] <Yuv422> righto.
[03:08:54] <artaxerxes> I'm really curious to find out how they stored the conversations
[03:09:06] <artaxerxes> and how the text engine worked to
[03:09:09] <artaxerxes> s/to/too
[03:09:26] <Yuv422> only ascii text :(
[03:09:33] <Yuv422> no acented chars :(
[03:09:58] <artaxerxes> oups
[03:10:17] <artaxerxes> that will need to get supported for the french translation of U6!! :)
[03:10:41] <Yuv422> yeah I'm sure we could work something out ;)
[03:11:01] <Yuv422> but there is alot of ground work to be done on the game engine first.
[03:11:12] <Yuv422> like schedules.
[03:11:36] * artaxerxes nods
[03:12:00] <artaxerxes> I liked the fact you could impersonate one character of your team at will
[03:12:26] <Yuv422> yeah. running around a sherry was cool.
[03:12:34] <Yuv422> +s
[03:12:42] <artaxerxes> gotta go
[03:12:45] <Yuv422> cya
[03:12:56] <artaxerxes> we'll catch on later
[03:13:04] <-- artaxerxes has left IRC ("using sirc version 2.211+KSIRC/1.1")
[03:31:02] --> artaxerxes has joined #exult
[03:31:02] --- ChanServ gives channel operator status to artaxerxes
[03:31:05] <artaxerxes> back
[03:31:11] <Yuv422> wb
[03:31:29] <Yuv422> I'm just commiting everyone's changes into the cvs.
[03:32:01] <artaxerxes> cool
[03:32:33] <artaxerxes> did ya read Clock Nova's [very last]comment on the forum ? What's your opinion ?
[03:35:05] <Yuv422> he does have a point
[03:35:20] <Yuv422> I personally didn't find the interface all that bad.
[03:35:34] <Yuv422> but I only ever used the keyboard.
[03:36:27] <Yuv422> I will try to improve the interface. I guess I was mainly talking about the map size in my last post.
[03:36:32] <artaxerxes> I used keyboard for action and mouse for inventory
[03:36:40] <artaxerxes> br
[03:36:46] <artaxerxes> I mean brb
[03:36:50] <Yuv422> l
[03:36:52] <Yuv422> k
[03:36:53] <Yuv422> ;)
[03:38:05] <artaxerxes> b
[03:38:14] <artaxerxes> so many acronyms
[03:38:32] <Yuv422> do you think a larger map size would spoil the game plot?
[03:38:53] <Yuv422> it could make the dungeons to easy?
[03:39:15] <Kirben> Yes, if it is mucher easier ot see ahead.
[03:39:15] <artaxerxes> you've got a point
[03:39:29] <artaxerxes> maybe some fog of war when you are in dungeons
[03:40:09] <Yuv422> yeah
[03:41:30] <artaxerxes> should be toggable though
[03:42:43] <Yuv422> of course. ;)
[03:43:03] <artaxerxes> while we're at it, a new look for the spellbook could be appropriate
[03:43:35] <Yuv422> U7 style?
[03:43:58] <artaxerxes> maybe
[03:44:36] <artaxerxes> what's your plans for sound?
[03:45:07] <Yuv422> heheh try to recreate the pc speaker sounds via debugging the sound code in the original game.
[03:45:52] <artaxerxes> ouch
[03:46:02] <Yuv422> any other ideas?
[03:46:28] <artaxerxes> I'm no artist so I can't speak
[03:47:00] <Yuv422> the midi music should be easy to implement as it's format is known.
[03:48:15] <artaxerxes> how long you've been playing with nuvie?
[03:48:31] <Yuv422> about a week.
[03:48:39] <Yuv422> ;)
[03:48:48] <artaxerxes> impressive
[03:49:15] <artaxerxes> you've created quite a stir with this announcement
[03:49:31] <Yuv422> all of the hard work in decoding the map files has been done for me. :)
[03:50:02] <Yuv422> looks like alot of people still like U6 :)
[03:50:13] <artaxerxes> oh yeah
[03:50:22] <artaxerxes> one of my favourites
[03:50:40] <Yuv422> mine too, hence the remake. ;)
[03:50:57] <Yuv422> one of the first games I ever bought.
[03:51:07] <artaxerxes> signs and post usecode function finished!
[03:51:26] <Yuv422> I only got it because it ran on my old hercules monitor.
[03:51:28] <Yuv422> cool
[03:52:14] <Yuv422> is french your first lang?
[03:52:17] <artaxerxes> I remember the first time I saw it running. My brother fought hard against the autoexec.bat and the config.sys to get enough memory and when I saw the result, I had to pick up my jaw from the floor
[03:52:20] <artaxerxes> yup
[03:52:39] <artaxerxes> I guess you can tell!
[03:53:03] <Yuv422> it was less than impressive on my herc monitor in green on green. ;0
[03:53:18] <Yuv422> no your english is good.
[03:53:20] <artaxerxes> :)
[03:53:25] <Yuv422> probably better than mine.
[03:53:39] <artaxerxes> thx. I live in Canada now and my wife is english, so it helps!
[03:53:51] <artaxerxes> what's your country of origin?
[03:54:00] <Yuv422> Australia
[03:54:21] <artaxerxes> that explains why you're still connected at this very late hour! ;)
[03:54:36] <Yuv422> yeah 2:54PM here
[03:54:51] <artaxerxes> one game I'd really like to see ported on linux is Dune
[03:55:10] <artaxerxes> I've started to hack the data files but it is really tough
[03:55:11] <Yuv422> are you in the french speaking part of canada?
[03:55:16] <artaxerxes> nope
[03:55:18] <artaxerxes> Toronto
[03:55:30] <artaxerxes> and I'm originally from France
[03:55:41] <Yuv422> was that the original dune game?
[03:55:42] <Yuv422> ah k
[03:56:21] <artaxerxes> yes, the original, where you play Paul and play more or less according to the movie
[03:57:21] --> ShadwChsr has joined #exult
[03:57:38] <artaxerxes> hi
[03:57:57] <artaxerxes> another canadian ! :)
[03:58:34] * Yuv422 is envious of your ski resorts.
[03:58:52] <artaxerxes> france or canada ?
[03:59:01] <Yuv422> canada.
[03:59:14] <Yuv422> I hear there is some good skiing in france too.
[03:59:39] <Yuv422> skiing in australia is quite average. ;)
[03:59:41] <ShadwChsr> I'm a BCer ;)
[04:00:32] <artaxerxes> it'd be the place to surf though. Not all is lost!
[04:00:54] <Yuv422> true. lots of nice beaches here.
[04:01:31] <Kirben> Is it normal for nuvie to quit as soon as key (Other than arrows) is pressed ?
[04:04:24] <Yuv422> yes
[04:04:56] <Yuv422> haven't sorted the event system out yet.
[04:05:01] <artaxerxes> gotta go for the day (night)
[04:05:08] <artaxerxes> see ya all later
[04:05:11] <Yuv422> cya
[04:05:16] <Kirben> cya
[04:05:19] <-- artaxerxes has left IRC ("using sirc version 2.211+KSIRC/1.1")
[04:11:54] <Kirben> Why are there two dict.c,lzw,c and stack.c files in cvs ?
[04:12:16] <Yuv422> two?
[04:12:47] <Kirben> in files and in tools dirs.
[04:13:08] <Yuv422> ah the ones in files can be removed
[04:13:21] <Yuv422> and tools is just a stand alone decompressor.
[04:33:39] <Yuv422> just removed all references to BOOL, TRUE and FALSE.
[04:37:17] <-- Matt_O has left IRC ("rebooting")
[04:49:39] --> Matt_O has joined #exult
[06:04:54] <-- ShadwChsr has left IRC (Read error: 104 (Connection reset by peer))
[06:05:20] <Kirben> conf/XMLTree.cpp still tries to include util.h
[06:05:39] <Yuv422> hmm should be a comment.
[06:05:42] <Yuv422> let me check
[06:06:30] <Yuv422> must have missed that one
[06:08:02] <Yuv422> ok that should be changed now.
[06:09:13] <Kirben> and mingw makefile was older version, want me to dcc ?
[06:22:02] <Kirben> Have you thought of an icon yet ?
[06:22:15] <Kirben> Can find some really good looking Ultima icons at http://www.sircabirus.com/pages/icons.html
[06:22:32] <Kirben> We used Ultima 4 icon from there for xu4.
[06:24:15] <Kirben> Or should it be more general icon due to extra world games ?
[06:25:06] <Yuv422> hehe something ankh related?
[06:26:13] <Kirben> Well Exult's already used ankh icon..
[06:26:32] <Yuv422> yeah I know. I won't use an ankh.
[06:27:36] <Yuv422> maybe I should use a modified false prophert icon.
[06:31:28] <Kirben> Could try emailing Sir Cabirus with request, if you have idea of what you want exactly.
[06:39:53] * Yuv422 sits quietly, listening to the nice music from the ultima icons webpage.
[06:48:17] <Yuv422> hmm a full screen map looks nice. :)
[06:49:10] <Yuv422> just change the line to game_map->set_windowSize(20,12);
[06:49:17] <Yuv422> in Game.cpp
[06:58:48] <Kirben> Ultima music is always amazing.
[06:59:20] <Yuv422> :)
[06:59:24] <Yuv422> be back in a bit
[07:05:27] --> ShadwChsr has joined #exult
[07:15:41] <Kirben> hmm why do you keep the long path to u6pal ?
[07:19:58] <Yuv422> it should be gone
[07:20:22] <Yuv422> whoops
[07:20:27] <Yuv422> ;)
[07:22:07] <Kirben> Also wouldn't it be best to change /Users/eric/Projects/Ultima6/nuvie/nuvie.cfg to just nuvie.cfg for default config path ? since former only exists on your system and later seems better option until proper checking is added.
[07:22:52] <Kirben> Just check for config file in same directory as nuvie I mean
[07:23:34] <Yuv422> true I just had it that way because the nuvie executable is in a strange place on Mac OS X.
[07:23:39] <Yuv422> I'll change that too.
[07:26:37] <Yuv422> done
[07:51:49] <Yuv422> do you know a good program to display a diff of two binary files?
[07:55:14] <Kirben> no
[07:55:45] <Kirben> I noticed nuvie doesn't seem to animate all water correctly.
[07:56:02] <Yuv422> yeah there is two kinds of tile animation.
[07:56:08] <Kirben> The small parts of rivers don't animate.
[07:56:33] <Yuv422> the edges of the water are ment to be a composite of a static tile and an animated tile.
[07:56:41] <Yuv422> I've yet to implement that.
[07:57:42] <Yuv422> I think I just get the shore tile then an animation mask and combine with a water tile. either that or I palette cycle the shoreline water. ;)
[09:22:54] <-- ShadwChsr has left IRC ()
[09:42:32] --> wjp has joined #exult
[09:42:32] --- ChanServ gives channel operator status to wjp
[09:42:37] <wjp> hi
[09:42:43] <Yuv422> hey
[09:43:20] * wjp is getting a compile error in U6Lzw.cpp: 140: `TRUE' undeclared
[09:43:48] <Yuv422> hmm. is this from the current cvs?
[09:43:55] <wjp> couple of minutes ago
[09:44:07] <Yuv422> must have missed that one.
[09:44:25] <wjp> gcc complains about no endline at the end of TileManager.cpp too, btw
[09:45:09] <wjp> after s/TRUE/true/ it compiles
[09:45:20] <Yuv422> :)
[09:45:30] <Yuv422> but does it run? ;)
[09:45:54] <wjp> no idea... still no U6 data files here :-)
[09:46:08] <wjp> (it does run, but it segfaults quite soon)
[09:51:40] <Yuv422> those changes are in cvs now wjp. thanks. :)
[09:52:16] * wjp nods; a clean make works now
[09:56:07] <Yuv422> I'm working on NPC's at the moment.
[09:56:36] <Yuv422> looks like J.P. Morris has some usefull info on the subject. :)
[09:56:49] <wjp> class in 3 minutes... I should go
[09:56:58] <Yuv422> k cya.
[09:57:00] <wjp> bye
[09:57:01] <-- wjp has left IRC ("gtg")
[10:09:03] --> Dark-Star has joined #exult
[10:09:18] <Dark-Star> Hi
[10:11:38] <Dark-Star> Yuv422, are you there?
[10:11:58] <Dark-Star> check out http://dark-star.homeftp.org/images/u6bug.png and see if you can spot the bug :-)
[10:13:40] <Dark-Star> it only happens when you scroll to this x-coordinate. if you scroll one tile more to the left, it disappears and everything looks right again
[10:27:23] <Yuv422> hi Dark-Star
[10:27:32] <Yuv422> yeah I'm aware of this issue
[10:27:52] <Yuv422> it's to do with objects that are greater than one tile.
[10:29:04] <Yuv422> be back in a bit
[10:50:47] --- Dark-Star is now known as Dark-Star|afk
[11:31:52] <Yuv422> Dark-Star|afk: fixed that issue now.
[12:54:59] <Yuv422> Well I'm off.
[12:55:02] <Yuv422> cya
[12:55:05] <-- Yuv422 has left IRC ("BitchX: causing all sorts of havok!")
[13:09:41] --> Colourless has joined #Exult
[13:09:41] --- ChanServ gives channel operator status to Colourless
[13:10:12] <Colourless> hi
[13:10:30] * Colourless is only kind of here. expect responces to be delayed
[13:29:46] <-- Kirben has left IRC ("System Meltdown")
[14:13:22] <Colourless> hmm, we seem to be missing a rabiit
[14:13:28] <Colourless> and a rabbit too
[14:19:49] --> Darke has joined #exult
[14:19:49] --- ChanServ gives channel operator status to Darke
[14:20:33] * Darke yays and finally has his adsl connection back! After 4 days of *unbelievably* swift Telstra service! If you don't notice that's sarcasm, you need to fix your sarcasm detector!
[14:20:43] <Colourless> :-)
[15:06:02] <Colourless> i should go
[15:06:06] <-- Colourless has left IRC ("casts invisibility")
[15:09:11] --- Dark-Star|afk is now known as Dark-Star
[15:10:51] * Darke pouts and missed tormenting Colourless 'cause he was reading his Massive Pile 'O Email. Ah well, will just have to do it next time. *nod*
[16:09:31] <-- Darke has left IRC (calvino.freenode.net irc.freenode.net)
[16:09:51] --> Darke has joined #exult
[16:25:42] <-- Darke has left IRC (Read error: 110 (Connection timed out))
[16:50:48] --> Fingolfin has joined #exult
[16:50:48] --- ChanServ gives channel operator status to Fingolfin
[16:51:59] <Fingolfin> yo
[17:13:16] <-- Dark-Star has left IRC (Read error: 60 (Operation timed out))
[17:59:00] --> wjp has joined #exult
[17:59:00] --- ChanServ gives channel operator status to wjp
[17:59:19] <wjp> unbelievable... another person who managed to download the mirror page instead of the actual file :-)
[17:59:28] <wjp> oh, and hi :-)
[18:04:15] <Fingolfin> hi :-)
[19:36:39] <-- wjp has left IRC ("bbl")
[20:15:10] <-- Rixa has left IRC (Remote closed the connection)
[21:35:21] --> ShadwChsr has joined #exult
[21:41:25] --> matto|wookin has joined #exult
[22:09:49] <-- ShadwChsr has left IRC (Read error: 104 (Connection reset by peer))
[22:21:17] --> ShadwChsr has joined #exult