#nuvie@irc.freenode.net logs for 14 Mar 2004 (GMT)

Archive Today Yesterday Tomorrow
Nuvie homepage

[00:40:19] --> Kirben has joined #nuvie
[03:50:08] --> Yuv422 has joined #nuvie
[04:10:53] --> Sheng_Gradilla has joined #nuvie
[04:10:59] <Sheng_Gradilla> good evening :)
[04:31:14] <Yuv422> hi
[04:31:26] <Yuv422> How's things?
[04:36:24] <Sheng_Gradilla> pretty good
[04:36:41] <Yuv422> want me to fix nuvie to support the xm amiga songs?
[04:36:59] <Sheng_Gradilla> a little busy with things
[04:37:20] <Sheng_Gradilla> the amiga songs are not XM
[04:37:20] <Sheng_Gradilla> they are MOD
[04:37:45] <Yuv422> do they play with mikmod?
[04:37:49] <Sheng_Gradilla> oh, you mean modify the source for custom song support?
[04:37:53] <Yuv422> yes
[04:37:56] <Sheng_Gradilla> I fixed it for myself
[04:38:12] <Yuv422> yeah it shouldn't be hard
[04:38:17] <Sheng_Gradilla> about the amiga MODs, they don't play on mikmod
[04:38:28] <Yuv422> what about your xm files?
[04:38:30] <Sheng_Gradilla> I converted them to XM and uploaded somewhere
[04:38:37] <Yuv422> ah k
[04:39:22] <Sheng_Gradilla> those do play
[04:39:28] <Yuv422> cool
[04:39:37] <Yuv422> did you get your audio issues sorted out
[04:39:37] <Sheng_Gradilla> let me dig the URL
[04:39:50] <Sheng_Gradilla> nope
[04:39:50] <Yuv422> with the waveout fix.
[04:40:54] <Yuv422> set SDL_AUDIODRIVER=waveout
[04:41:02] <Yuv422> did you try that?
[04:42:44] <Sheng_Gradilla> I am having problems on Linux
[04:42:47] <Sheng_Gradilla> it's not the same way to fix it on linux
[04:42:47] <Sheng_Gradilla> Linux is different
[04:42:47] <Sheng_Gradilla> that won't work
[04:43:06] <Yuv422> ah k
[04:43:08] <Sheng_Gradilla> "export SDL_AUDIODRIVER=esd" fixes the problem for me
[04:43:23] <Yuv422> ah k
[04:43:55] <Yuv422> or setenv SDL_AUDIODRIVER=esd for tcsh shell ;-)
[04:44:09] <Sheng_Gradilla> yea
[04:44:18] <Yuv422> make that setenv SDL_AUDIODRIVER esd
[04:44:42] <Yuv422> OS X used to ship with tcsh as its default shell
[04:44:50] <Yuv422> now I think they use bash
[04:48:01] <Sheng_Gradilla> as for the modifications for the custom songs to play, all I did was open sound/SoundManager.cpp and comment the "if(music_enabled)" and everything inside, then uncomment the LoadCutomSongs part and add a musicPlayFrom("random"); on the line after it
[04:48:08] <Sheng_Gradilla> and enable sfx in the config file
[04:49:03] <Yuv422> how about we have a <music>custom|native</music> in the ultima6 config section
[04:51:08] --> SB-X has joined #nuvie
[04:51:16] <Yuv422> hi SB-X
[04:51:22] <SB-X> hi
[04:56:42] <Sheng_Gradilla> that's a good idea
[05:01:39] <Sheng_Gradilla> I thougt of doing it myself, but I would need to look at the code more deeply, and I lack the time these days
[05:01:39] <Sheng_Gradilla> hi SB-X :)
[05:01:40] <Sheng_Gradilla> I have to see how nuvie handles config stuff
[05:01:48] <Sheng_Gradilla> any of you knows ika?
[05:02:02] <Yuv422> ika? no what's that
[05:02:23] <Yuv422> I'm adding the config options in now
[05:02:29] <Sheng_Gradilla> it's a game development kit
[05:02:55] <Yuv422> ah k, no I've never heard of it
[05:07:36] <Sheng_Gradilla> it has a nice tileset format
[05:07:36] <Sheng_Gradilla> the spriteset format is nice as well
[05:07:36] <Sheng_Gradilla> both can be any size
[05:07:36] <Sheng_Gradilla> and 32 bit color
[05:07:43] <Sheng_Gradilla> nu5 will have support for those
[05:07:47] <Sheng_Gradilla> maybe after release 1.0, or maybe sooner
[05:07:53] <Sheng_Gradilla> my fellow teammate loves eyecandy and stuff, and I am sure he will be pushing for custom tilesets
[05:07:57] <Sheng_Gradilla> and I am sure a lot of people will do as well
[05:08:38] <Yuv422> how's nu5 going?
[05:09:04] <Sheng_Gradilla> we received a lot of help from nytegard
[05:09:15] <Yuv422> is ika crossplatform?
[05:09:26] <Yuv422> yeah I read some of the messages in the forum
[05:09:34] <Sheng_Gradilla> I don't know how crossplatform it is
[05:09:42] <Sheng_Gradilla> i have it on both Linux and Windows
[05:09:50] <Sheng_Gradilla> ika is GPLed
[05:10:38] <Yuv422> hopefully it runs on OS X. :)
[05:10:50] <Sheng_Gradilla> i don't know if it works outside x86s
[05:10:59] <Yuv422> :(
[05:11:07] <Sheng_Gradilla> I've known ika's devel for years
[05:11:24] <Yuv422> do you have a website URL?
[05:11:45] <Sheng_Gradilla> http://ika.sourceforge.net
[05:12:36] <Sheng_Gradilla> wait, that's empty
[05:12:40] <Yuv422> hmm no content at that address
[05:12:42] <Sheng_Gradilla> http://ikagames.com
[05:12:47] * Yuv422 looks
[05:13:08] <Sheng_Gradilla> the project is on sourceforge, but the site isn't :P
[05:13:31] <Sheng_Gradilla> I have not been able to compile the editor, only the game engine
[05:13:47] <Sheng_Gradilla> the editor requires wxWindows
[05:14:01] <Sheng_Gradilla> I have it, but get errors during compile
[05:14:27] <Sheng_Gradilla> problems with undefined stuff, if memory serves
[05:15:11] <Sheng_Gradilla> compiles fine with VC++, but chokes in Linux with g++
[05:16:11] <Yuv422> It's hard making code portable
[05:16:26] <Yuv422> and getting it to build on multiple compilers
[05:16:40] <Sheng_Gradilla> yea
[05:16:50] <Sheng_Gradilla> he has done a nice job anyways
[05:17:23] <Sheng_Gradilla> i helped him with some assertions that failed in Linux bot not in Windows
[05:18:03] <Yuv422> If I have more free time I miht try getting it going on OS X
[05:21:38] <Sheng_Gradilla> lets see...
[05:22:00] <Sheng_Gradilla> the tileset loading routine...
[05:23:09] <Sheng_Gradilla> f.Read(bpp); f.Read(&_width, 2); f.Read(&_height, 2); f.Read(&nTiles, 4); ...
[05:24:00] <Sheng_Gradilla> supports palette and 32 bit tilesets, any width and height
[05:24:31] <Sheng_Gradilla> that comes from common/vsp.cpp
[05:25:52] <Sheng_Gradilla> the sprites are 32 bit too, and they have built-in animation sequences for idle standing in 8 directions, as well as the walking in 8 directions
[05:26:18] <Sheng_Gradilla> the tilesets have built-in information about animated tiles as well
[05:39:26] <SB-X> how many tiles are in the u6 map in each direction
[05:39:28] <SB-X> ?
[05:39:31] <SB-X> i keep forgetting this
[05:39:36] <Yuv422> 1024
[05:39:52] <SB-X> thanks
[05:40:58] <SB-X> 8superchunks * 8chunks each * 16tiles each?
[05:41:13] <Sheng_Gradilla> wasn't it 4096x4096?
[05:41:23] <SB-X> thats u7
[05:41:39] <SB-X> i think
[05:41:58] <SB-X> exult marks the dead npcs as being at a high coordinate like that
[05:42:02] <Sheng_Gradilla> but the whole U6 world is 65536x65536 pixels if you take screenshots of all the world
[05:42:26] <SB-X> with one tile per pixel?
[05:42:47] <Sheng_Gradilla> nope
[05:43:06] <Sheng_Gradilla> 16 pixels is one tile
[05:43:14] <Sheng_Gradilla> 16x16 rather
[05:43:20] <Sheng_Gradilla> let me check
[05:43:30] <SB-X> i mean on the screenshot... ok so you mean if you get a picture of the world at "real size"
[05:43:31] <SB-X> it is 16
[05:44:17] <Yuv422> u6 == 8 super chunks * 16 chunks * 8 tiles
[05:44:29] <SB-X> oh, right
[05:44:37] <SB-X> I thought I was wrong about the tiles per chunk
[05:44:53] <Sheng_Gradilla> if i take a picture of the world real size, it is 65536x65536 pixels
[05:44:57] <Sheng_Gradilla> but let me confirm it
[05:45:13] <SB-X> and not 16384x16384?
[05:45:33] <SB-X> Either way I can fit it into a uint32, so it's all good. :)
[05:45:35] <Yuv422> 1024 * 16 = 16384
[05:46:10] <Sheng_Gradilla> making a whole dump of the map to an image...
[05:50:36] <Sheng_Gradilla> 268435456 bytes, TGA
[05:51:50] <Yuv422> yeah it's going to be big when uncompressed
[05:52:40] <Sheng_Gradilla> now loading
[05:52:41] <SB-X> and that is correct size for 16,384
[05:53:05] <SB-X> well if its 8bpp
[05:53:59] <SB-X> do you include actors & objects in that? i want a picture like that :)
[05:54:16] <Sheng_Gradilla> what system are you running?
[05:54:54] <SB-X> slackware 8.0
[05:54:55] <Sheng_Gradilla> it is a whole map, displaying the actual tiles
[05:55:07] <Sheng_Gradilla> you will need wine
[05:55:12] <SB-X> i couldnt load one that big
[05:55:14] <Sheng_Gradilla> do you know Ultimatrix?
[05:55:27] <SB-X> i have windows too
[05:55:30] <SB-X> yeah
[05:55:57] <Sheng_Gradilla> I used that to dump the image
[05:56:07] <Sheng_Gradilla> you have to close Ultimatrix first
[05:56:10] <SB-X> oh ok
[05:56:10] <Sheng_Gradilla> it is bugged
[05:56:30] <Sheng_Gradilla> if you don't close it, the last bytes in the file are not written
[05:57:50] <SB-X> thanks for the information
[05:58:01] <SB-X> does it do that for all games?
[05:58:11] <Sheng_Gradilla> yes
[05:58:35] <Sheng_Gradilla> I guess it is a bug in the file writing routines
[06:03:31] <SB-X> bbl
[06:03:33] --- SB-X is now known as sbx|afk
[06:07:43] <Sheng_Gradilla> 16384x16384
[06:07:43] <Sheng_Gradilla> pixelx
[06:07:49] <Sheng_Gradilla> 1024x1024 tiles
[06:08:40] <Sheng_Gradilla> you were right
[06:23:10] <-- wjp has left IRC (Remote closed the connection)
[06:23:42] --> wjp has joined #nuvie
[06:42:40] --> armav has joined #nuvie
[06:43:03] <Sheng_Gradilla> :)
[06:43:09] <Yuv422> hi armav
[06:43:35] <armav> hello
[06:47:24] <Yuv422> bbl
[06:48:39] <-- Yuv422 has left IRC ("[BX] The Invisible Man uses BitchX, you just can't see it!")
[07:27:44] <-- Sheng_Gradilla has left IRC ("zzz")
[10:09:15] --- sbx|afk is now known as SB-X
[10:09:28] <SB-X> im back
[12:34:03] <-- armav has left IRC ("Client Exiting")
[12:41:06] --> sbx has joined #nuvie
[12:47:06] <-- Kirben has left IRC ("System Meltdown")
[13:10:03] <-- SB-X has left IRC (Read error: 110 (Connection timed out))
[16:05:08] <-- sbx has left IRC (Read error: 113 (No route to host))
[18:54:48] --> SB-X has joined #nuvie
[18:56:11] <-- SB-X has left IRC (Client Quit)
[23:33:05] --> Kirben has joined #nuvie