in that case, you probably need to make one entry per file extension, so the build-pkg.exe does not try to read those folders as files.Hael wrote:Heya, thanks I really appreciate the help. I'm being an idiot it seems.
so ive tested things with a bunch of different control files and think ive spotted the problem.
everytime i pack things in a directory that doesn't contain a subdirectory, the program works fine.. however if there is a subdirectory in there, it reads the directory like a string?? and mucks up (which then messes up everything else)
eg
deflate:"data/%"
deflate:"fonts/%"
deflate:"atlas/people/%"
works and packs correctly, however
deflate:"atlas/%"
gives the following error
Failed to read from atlas/people while writing package: Unexpected EOF
everything is in my home directory:
eg
build-pkg.exe
control-file.txt
extract-pkg.exe
ftl.dat (when its built)
and the directories
atlas, audio, data, fonts, img
so you should be able to do something like that:
Code: Select all
deflate:"atlas/%.tex"
deflate:"atlas/%.txt"
deflate:"atlas/people/%.tex
...
