ToME: the Tales of Maj'Eyal
http://forums.te4.org/

Where are terrain tile, object, character... graphics stored
http://forums.te4.org/viewtopic.php?f=40&t=48396
Page 1 of 1

Author:  Norphi [ Thu Nov 16, 2017 5:07 pm ]
Post subject:  Where are terrain tile, object, character... graphics stored

Hi,
I'm currently experimenting with building a module. The example module is a bit sparse and the wiki seems a little bit out of date, so for getting started I'll probably heavily copy from the main campaign module and just rewrite the parts I need /e.g. races/classes/talents, quests and lore). Note, that I'm still using the files provided by the example module, I just copy the parts I'm currently working on to avoid the accumulation of legacy code.

Currently I'm trying to change to graphics. The Hulk module mentioned by the wiki uses gfx/terrain/* for storing the terrain tiles. The main campaign just states stuff like terrain/grass.png, yet, I could not locate a terrains folder. Searching (...$ find . -name *.png) for png files also got me nowhere, thus, I'm obviously missing something... :?
Also, I'd like to use the graphics from the main campaign without copying the files (I don't like redundancy, why have it stored twice if it is the same graphic?).

Thanks in advance!

(if this thread appears twice, sorry I got logged out while posting, couldn't find it and recreated it.)

Author:  HousePet [ Fri Nov 17, 2017 12:44 am ]
Post subject:  Re: Where are terrain tile, object, character... graphics st

The main module is broken into 3 parts. I think there is a gfx one.

Author:  darkgod [ Fri Nov 17, 2017 9:00 am ]
Post subject:  Re: Where are terrain tile, object, character... graphics st

Yeah main game is split 3 modules mostly because it makes the binary patcher more efficient.
Asfor files, they indeed live in /data/gfx/ and in tome's case because of historic reasons some are in /data/gfx/shockbolt/

Author:  Norphi [ Sun Nov 19, 2017 8:22 pm ]
Post subject:  Re: Where are terrain tile, object, character... graphics st

Ah yes, the weird format explains why my bash query didn't find anything (also turned out that for this purpose grep would have been the better choice but that's a different story).

Ok, thing is solved. Also I just found the note on copying regarding the gfx stuff.

Would something like using the tome-gfx if the .team file is present, or not bothering with tiles at all and using ascii, if it is not still be ok with the gfx licensing?

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/