A couple of small bugs, or, rather, nuisances I stumbled upon debugging my scripts.
Strings built using the same code look different (note the reverse slash):
182352 32 objects\00000999_0x00000418_PARAMETERIN(2) "FadeIn/Out"
182384 68 objects/00001000_0x00000419_BEHAVIOR(8) "GotoScene"
Both are constructed using string NAME p= "objects/%08d_0x%08x_%s(%d)" i C_ID TYPE C_TYPE
I have no idea why it happens exactly when i==1000.
Tried to export images to tga using this code, is there another (faster) way?
# planar to RGBA conversion, really slow
for k = 0 < PLANE_SIZE
set OFS k
for p = 0 < PLANES
goto OFS MEMORY_FILE5
get C byte MEMORY_FILE5
put C byte MEMORY_FILE4
math OFS += PLANE_SIZE
Also are there any plans on built-in conversion to png?
There is a possibility to use Quickbms along with Far Manager's MultiArc plugin (see custom.ini).
Quickbms-powered interactive MultiArc feels and looks just great (give it a try).
But in order to work, quickbms should be able to unpack files without paths.
Probably it can be done with ARG1, but it would need to change all scripts.
I tried to specify a single output file "quickbms -f <filename> -O <filename_without_path>".
Finds out quickbms still creates (empty) directory trees, probably it's not needed with this option.Upd:
also maybe it's possible to add a "less verbose", quiet option (-q?), that would only list files without copyright and coverage lines (frankly, I need it because MultiArc can't handle stderr and stdout separately and doesn't support redirection).