starter-pack icon indicating copy to clipboard operation
starter-pack copied to clipboard

Enhancement: Make ASCII graphics pack not include so many files

Open jecowa opened this issue 8 years ago • 4 comments

Back before you used a script, the contents of the ASCII graphics pack were kept to a minimum; now they contain complete raws. I'm guessing this was meant to be a temporary implementation while you were still trying to get everything in the script working initially.

I thought you might consider making it so that the script doesn't put so much stuff in the ASCII graphics pack, or at least maybe delete the "raws" folder afterwards.

For an example of the format you used before, you can refer to the ASCII graphics pack included with Dwarf Fortress 40_24 Starter Pack r19. It came with only 5 files:

  • art/font license.txt
  • art/font.ttf
  • init/colors.txt
  • init/d_init.txt
  • init/init.txt

jecowa avatar Oct 23 '16 10:10 jecowa

Gah, thanks for pointing this out. I've had a todo note for minimising graphics for a while, but it's better to have an open issue.

  • [ ] minimise graphics packs as part of build process
  • [ ] copy the minimum possible for PyLNP under graphics/ASCII - I think just the init files, as font.ttf if now handled by PyLNP if missing?

PeridexisErrant avatar Oct 23 '16 11:10 PeridexisErrant

As far as the init files, just those three.

It looks like it's working fine without a "font.ttf" or "mouse.png" in the graphics pack in PyLNP v0.12a as long as those files exist in the baselines.

Also, I'm not sure how it's working for you without the any PNG files in your /LNP/graphics/ASCII/data/art/ folder. It's definitely requiring those for me. I think PyLNP ignores my /LNP/Baselines/df_43_03/data/art/ folder except for the "font.tff" and "mouse.png". Edit: Oh, I see you have three default tilesets in your /LNP/tilesets/ folder

jecowa avatar Oct 23 '16 12:10 jecowa

While on the subject of minimizing stuff, I think this is the minimum baseline:


/df_./data/art/font.ttf (only if not included in some graphics packs) /df_./data/art/mouse.png (only if not included in some graphics packs)

/df_./data/init/colors.txt /df_./data/init/d_init.txt /df_./data/init/init.txt /df_./data/init/interface.txt (needed to allow users to switch keybind configs)

/df_./data/speech/

/df_./raw/graphics/ (just the empty folder is fine) /df_./raw/objects/*

/df_.*/sdl/ (just the empty folder is fine)


Caution: these were determined through trial and error, and I only just discovered the "interface.txt" being needed. There may be others that are important too that aren't listed.

jecowa avatar Oct 23 '16 12:10 jecowa

I didn't notice this until now, but one thing that I've seen is that a large number of Taffer screenshots "in the wild" have graphics raw files. It's always a little sad to see, because the screenshots end up so garbled looking and the user probably doesn't even know they're messed up.

I mention it here because I strongly suspect that they use the Starter Pack: ASCII graphics pack need to use the default RAWs in some fashion.

nc-z avatar Aug 01 '17 16:08 nc-z