Bay 12 Games Forum
Dwarf Fortress => DF Modding => Topic started by: Mechanixm on April 11, 2023, 07:23:28 pm
-
For example, this tile_page reference to item_weapons.png with a page dimension in pixels of 96x672.
[TILE_PAGE:WEAPONS][FILE:images/item_weapons.png][TILE_DIM:32:32][PAGE_DIM_PIXELS:96:672]
Is there an upper limit to this Page Dimension size? Could I create a pixel sheet with page dimensions of like 3200x3200 and still be able to reference the graphic in the 99:99 cell without issue?
-Mech
-
There's no hardcoded limit in the code, but I've previously had issues with too-large tile pages crashing.
-
I wouldn't be surprised if it's hardware limited, so it may be inconsistent across devices. Not sure what a safe minimum is these days, but I probably wouldn't go over 4096x4096.
-
I figure I don't need anything larger than 1280x1280.
Thanks for the replies.