TXD and ZTools

Whoops, you have misunderstood.

The files AMFV.DAT are Z-code files. You just have to rename them to have a .Z5 extension.

(Actually most of them are .Z3, but WinFrotz won’t care if you get that wrong.)

TXD creates a assembly listing of the Z-code. It’s not runnable without a lot of extra work.

4 Likes

What Andrew said.

If you care about getting the really correct extension: Open the dat file in a hex editor (I use HxD on Windows). The very first byte of the file holds the Z-machine version, typically 3, 4 or 5.

Change the extension to z + this number.

2 Likes

What everybody above said + you don’t need to rename the file, you can open it as it is. Just change the filter in the bottom right corner. (Also, AMFV is z4, not z5).

5 Likes

In answer to the second part of your question, just redirect the output to a file. You can do this from the command line or a batch file (or equivalent if not using Windows). Something like this:

txd.exe -a temp.z5 >temp.txt
1 Like