[00:24:28] --> Kirben has joined #exult
[00:24:28] --- ChanServ gives channel operator status to Kirben
[02:01:19] --> Colourless has joined #Exult
[02:01:19] --- ChanServ gives channel operator status to Colourless
[03:28:44] <-- Colourless has left IRC ("...")
[07:09:40] --- Darke|afk is now known as Darke
[09:43:58] --> Fingolfin has joined #exult
[09:47:36] <Darke> Greetings.
[09:50:44] --- Fingolfin is now known as Fingolfin|afk
[09:50:48] <Fingolfin|afk> hi and bye =)
[10:05:29] * Darke snickers. Bye!
[10:15:09] --- Fingolfin|afk is now known as Fingolfin
[10:31:49] --- Fingolfin is now known as Fingolfin|afk
[11:03:15] --- Fingolfin|afk is now known as Fingolfin
[12:15:29] * Darke yawns and decides that it is time for himself to 'afk'. *grin* Night!
[12:15:42] --- Darke is now known as Darke|afk
[12:44:44] --> Colourless has joined #Exult
[12:44:44] --- ChanServ gives channel operator status to Colourless
[12:45:08] <Colourless> greetings
[13:53:08] <-- Fingolfin has left IRC ("42")
[14:52:53] <-- Kirben has left IRC (Read error: 110 (Connection timed out))
[16:12:15] --> wjp has joined #exult
[16:12:15] --- ChanServ gives channel operator status to wjp
[16:12:24] <wjp> hi
[16:12:37] <Colourless> hi
[18:09:53] <-- Colourless has left IRC ("gone")
[18:56:56] --- artaxerxes|zombi is now known as artaxerxes
[18:57:25] <artaxerxes> hi
[18:57:55] <artaxerxes> I've got news
[19:02:33] <artaxerxes> test
[19:03:08] <artaxerxes> well, make a sign when you are not afking anymore
[19:03:16] <wjp> hi
[19:03:35] * wjp makes a sign, saying "I'm back!", and hangs it above artaxerxes' head
[19:03:47] <artaxerxes> ;)
[19:03:50] <artaxerxes> I've got news
[19:04:22] <artaxerxes> I'm just finished polishing "mock_up", a tool to convert a BMP into a u7map using a colour<->u7chunk mapping
[19:04:41] <artaxerxes> much faster to make maps with it
[19:04:47] <wjp> hm, sounds interesting
[19:05:22] <artaxerxes> you draw a 192x192 BMP file (8 bpp) and you create a mapping file: colour = u7chunk and hop you have a new map
[19:05:47] <artaxerxes> limited to 255 different colours/u7chunks of course
[19:06:14] <artaxerxes> I've made a tar.gz if you want to peek at it
[19:06:59] <wjp> you probably should put it online somewhere and mail the url to the ML
[19:07:05] <wjp> I'm sure Jeff would like to hear about it
[19:07:09] <artaxerxes> he did
[19:07:21] <artaxerxes> I've sent it to him about 2 min ago
[19:07:26] <wjp> k :-)
[19:07:46] <artaxerxes> if the tool works well enough, he'll try to integrate it to ES
[19:08:36] <artaxerxes> let me post it to my sf webspace...
[19:08:45] * artaxerxes brb with a link
[19:10:15] <artaxerxes> si-french.sf.net/mock_up.tar.gz
[19:18:16] <wjp> a couple of ideas:
[19:18:38] <wjp> how about mapping a set of chunks to a colour, where it randomly picks a chunk from the set
[19:19:07] <wjp> (for adding some variety to grassland/desert/etc..)
[19:19:54] <wjp> also, it would be very useful if borders are automatically done with the right chunks
[19:20:28] <wjp> i.e., you define 8 chunks for the border between land and sea, and it automatically uses the correct chunks on that border
[19:20:59] <wjp> (or 8 sets of chunks, if you combine it with the first comment)
[19:21:38] <wjp> and possibly the same kind of automatic chunk-choosing for things like small streams or roads
[19:27:02] <artaxerxes> I know what you mean but will be a bit tough. There is no edge detection in my code. Just a simple: "what colour is that pixel? What is this colour mapped to? Where in the u7map does it go? Put it there."
[19:27:34] <artaxerxes> I guess I could make another in-between prog that analyses what's around
[19:32:23] <wjp> yeah, it'll be quite hard to do well, I think, but it would be a great help
[19:44:30] <artaxerxes> bbl
[19:54:52] * wjp just implemented mouse wheel support in the shape/chunk/combo lists in ES
[20:00:10] <artaxerxes> sweet
[20:00:16] <artaxerxes> and, back, btw
[20:09:18] --> Dark-Star has joined #exult
[20:12:36] <artaxerxes> wb
[20:12:49] <artaxerxes> I'm gonna work on the algorithm for that to work
[20:12:58] <artaxerxes> can't promise anything though
[20:14:03] <wjp> hi Dark-Star
[20:16:45] <Dark-Star> hi wjp, artaxerxes
[20:27:37] --> Fingolfin has joined #exult
[20:28:18] <wjp> hi
[20:28:27] <Fingolfin> hiya
[20:28:29] --- ChanServ gives channel operator status to Fingolfin
[20:28:58] <artaxerxes> hi
[21:31:28] <wjp> time for me to go
[21:31:29] <wjp> g'night
[21:31:35] <-- wjp has left IRC ("Zzzz...")
[21:39:05] <artaxerxes> anyone knows the difference between a combo and a group ?
[21:44:12] <artaxerxes> never mind. I understand now
[21:44:59] <artaxerxes> a combo is like a self-made setting if you use it often, like everytime you have a bed, you put a cover on top and a dresser on its left.
[21:45:44] <artaxerxes> while a group is also an arbitrary grouping of shapes but that don't necessarily will be drawn as a setting.
[22:33:18] <-- Dark-Star has left IRC ()
[23:47:30] --> SB-X has joined #exult
[23:47:46] <SB-X> hello
[23:47:49] <SB-X> artaxerxes?
[23:50:05] <artaxerxes> yup?
[23:50:14] <artaxerxes> hi
[23:50:56] <SB-X> your new tool sounds really impressive!
[23:51:09] <SB-X> if i had time i would try it, but i dont even have exult or ES built now
[23:51:36] <artaxerxes> :)
[23:51:43] <SB-X> i had a similiar idea but opposite, it would be to convert the u7 map to a bitmap that could replace the map gump
[23:51:45] <artaxerxes> took 2 days to make it.
[23:51:55] <artaxerxes> that's actually easier
[23:52:30] <artaxerxes> the most difficult part is to decide on which colour to pick to represent a chunk
[23:52:32] <SB-X> for custom games
[23:52:38] <SB-X> hmm
[23:52:42] <SB-X> you have to do it all manually?
[23:52:57] <artaxerxes> I'm talking about your idea
[23:53:20] <SB-X> i figure you can average the colors of the tiles
[23:53:32] <artaxerxes> for me, you draw a 192x192 map using less than 255 colours. Then you map colour (in hex) to a chunk number.
[23:53:45] <artaxerxes> and yes, it is manual
[23:54:03] <artaxerxes> but it's not hard to pump a file with 5 lines in it!
[23:54:30] <artaxerxes> d/l my source and look at the mappings.txt file and you'll see what I mean
[23:54:37] --> Kirben has joined #exult
[23:54:37] --- ChanServ gives channel operator status to Kirben
[23:54:41] <artaxerxes> hi Kirben
[23:54:48] <SB-X> i have the source but i didnt look at it yet :)
[23:54:50] <SB-X> ih
[23:54:52] <SB-X> hi
[23:54:55] <Kirben> Hi
[23:55:14] <artaxerxes> it's a very simple prog... as I said it took me 2 days to make.
[23:55:33] <artaxerxes> the hardest part was to calculate the offset in u7map based on the (x,y) coordinates
[23:55:49] <artaxerxes> and reading the mappings from a file
[23:56:03] <SB-X> because the format of u7map is strange?
[23:56:10] <artaxerxes> SO strange!
[23:56:54] <SB-X> heh
[23:57:22] <artaxerxes> the map is a made of 12x12 clusters. A cluster is made of 16x16 chunk.
[23:57:39] <SB-X> btw a group in ES is just so you have similiar types of shapes in a list together so you can say "oh i need a fence, ill look in the fences group"
[23:57:45] <artaxerxes> anyways, the formula if you are interested is:
[23:57:55] <SB-X> i read about the map when i used u7run but havent looked into it
[23:58:17] <SB-X> oops
[23:58:19] <SB-X> i mean u7edit
[23:58:25] <SB-X> or whatever that DOS program was
[23:59:31] <artaxerxes> offset = 256 * sizeof(chunk) * (x div 16 + (y div 16)*12) + sizeof(chunk) * (x mod 16 + (y mod 16)*16)
[23:59:41] <artaxerxes> with sizeof(chunk) = 2 char