martine icon indicating copy to clipboard operation
martine copied to clipboard

deltapacking example : Syntax error

Open VFD opened this issue 5 years ago • 9 comments
trafficstars

Wrong syntax :

martine -delta -df sprites/*.WIN -o delta -address "#D005"

missing "-m 0" Must be :

martine -delta -df sprites/*.WIN -m 0 -o delta -address "#D005"

VFD avatar Oct 14 '20 16:10 VFD

I'm stuck with this line after the one above:

prepare_delta -sprite sprites/m00.json -delta delta/*.json -out data.asm

VFD avatar Oct 14 '20 16:10 VFD

Wrong syntax :

martine -delta -df sprites/*.WIN -o delta -address "#D005"

missing "-m 0" Must be :

martine -delta -df sprites/*.WIN -m 0 -o delta -address "#D005"

yes another missing update in the documentation.

jeromelesaux avatar Oct 15 '20 09:10 jeromelesaux

I'm stuck with this line after the one above:

prepare_delta -sprite sprites/m00.json -delta delta/*.json -out data.asm

this command line allows to generate all data in one file. option -sprite means the first sprite frame file option -delta means the pattern of all json delta files option -out output file path

to get all json files format you need to add -json on Martine delta mode. I'll update the documentation.

jeromelesaux avatar Oct 15 '20 09:10 jeromelesaux

for instance you can check this bash script to understand all the workflow : https://github.com/jeromelesaux/autobahn-showcase/blob/master/data/exec.sh

jeromelesaux avatar Oct 15 '20 09:10 jeromelesaux

I mean that I've no "prepare_delta" on my computer (Windows 10). So no ASM generated. May be another program ? But don't know where to found it.

No "sprites/m00.json" found. JSON files are in the "delta" directory.

I'm writing Command shell on windows (*.cmd) to make the examples. One by one. If you want them I can send them to you.

VFD avatar Oct 15 '20 19:10 VFD

prepare_sprite is another application to parse the sprite and delta data and generate in one file. If you are interested in, I can compile it for windows. Tell me. (the source file is here https://github.com/jeromelesaux/martine/tree/master/resources/formatter/sprites)

jeromelesaux avatar Oct 16 '20 07:10 jeromelesaux

Yes. This will be nice for Windows users.

I'm not a programmer and I've no ressource to compile code.

VFD avatar Oct 16 '20 10:10 VFD

I added the prepare_delta and format sprite. They can be found here :

  • https://github.com/jeromelesaux/martine/blob/master/resources/formatter/sprites/format_sprite.zip
  • https://github.com/jeromelesaux/martine/blob/master/resources/formatter/delta/prepare_delta.zip

jeromelesaux avatar Oct 20 '20 16:10 jeromelesaux

I change my makefile to include those binaries into the package. The next release will come with them.

jeromelesaux avatar Nov 03 '20 12:11 jeromelesaux