Page 1 of 3

[project] Tileset repair

Posted: Sat Apr 02, 2016 3:40 pm
by tangar
As Necklace of the Eye frontend project is suspended due problems with compilation, lets try to repair primordial TomeNet tile set.

From in-game chat with Mikaelh we know that:
- the old graphics code allows you to specify a unique tile for every terrain feature, item or monster

- problem: we've added so many items and monsters that it would require a massive effort to update the old code (1000+ items and 1000+ monsters currently).

- also some code changes would probably be required in addition to updating database cause the client is not currently compiled with graphics support and it would probably be completely broken if it was enabled
Database with graphics codes could be found at source code (client+server): lib/user/graf-win.prf

1) First of all we need to compile client with graphics enabled. Right now its unknown - would old code work or not. Who could try to do it?
2) After we are sure that graphics engine is ok, we need to fill database with new items&monsters. Anyone knows how to do it? EX:
# Unknown Amulet
U:40:0x83/0x9E
What is what there?

Please help! TomeNET needs YOU! :)

Re: [project] Tiles set repair

Posted: Mon Apr 04, 2016 6:13 pm
by Lightman
1) upload monster and item text files into proper databases

2) identify items without a tile

3) List required tiles by what the items look like in ascii. eg. D=dragon Z=hound

4) Get the required images from a free online tile set with a reasonable license agreement.

5) paste the images across

6) assign the missing images to their monsters and items

7) test. release. upload. get help from user community

8) diversify images. dragon needs greener version and redder version etc.

9) offer as an enhancement to the dev team

Re: [project] Tiles set repair

Posted: Mon Apr 04, 2016 11:28 pm
by tangar
As I wrote in 1st message, there is already database at file lib/user/graf-win.prf . It has unique format, like "U:40:0x83/0x9E". If we create a new one, it wouldn't be easy to convert it.

First what do we need - to compile client with tiles-system. Even with old database. We need to understand - is old graphic engine works at all or not.

Re: [project] Tiles set repair

Posted: Tue Apr 05, 2016 1:25 pm
by Lightman
First what do we need - to compile client with tiles-system. Even with old database. We need to understand - is old graphic engine works at all or not.
Agreed
As I wrote in 1st message, there is already database at file lib/user/graf-win.prf . It has unique format, like "U:40:0x83/0x9E". If we create a new one, it wouldn't be easy to convert it.
I have already uploaded the monster database into Excel.
I would need to do the same for graf-win or whereever the references to the images exist.

I am reasonably confident I can find a way to cross-reference them and then calculate the missing images.

We do badly need a compilation of tomenet with tiles. We may need a default tile that looks like a '?' to test the build. Then we can identify the ?s

Re: [project] Tiles set repair

Posted: Tue Apr 05, 2016 11:11 pm
by tangar
Please share monster database at excel :) Lets share all our work there

Re: [project] Tiles set repair

Posted: Wed Apr 06, 2016 12:40 pm
by Lightman
I'll skype it over to you sometime.

Maybe tonight.

Re: [project] Tiles set repair

Posted: Wed Apr 06, 2016 4:45 pm
by tangar
I think its better to upload all development files to public resources, because:

1) more people could join work
2) if some of use forsake this project - our results wouldn't be lost; so people in future could use our work
3) its in spirit of open-source :)

Maybe Google Drive?

Re: [project] Tiles set repair

Posted: Thu Apr 07, 2016 2:40 pm
by Lightman
I Skyped it over to you.

Do whatever you please with it as long as it is legal.

Re: [project] Tiles set repair

Posted: Thu Apr 07, 2016 3:33 pm
by tangar
I wasn't able to receive your file in skype. I suppose its would be easier if you upload it by yourself :) Its not really more complicated then send it via skype :mrgreen:

Re: [project] Tiles set repair

Posted: Thu Apr 07, 2016 4:56 pm
by Lightman
Ok.