martine
martine copied to clipboard
deltapacking example : Syntax error
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"
I'm stuck with this line after the one above:
prepare_delta -sprite sprites/m00.json -delta delta/*.json -out data.asm
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.
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.
for instance you can check this bash script to understand all the workflow : https://github.com/jeromelesaux/autobahn-showcase/blob/master/data/exec.sh
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.
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)
Yes. This will be nice for Windows users.
I'm not a programmer and I've no ressource to compile code.
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
I change my makefile to include those binaries into the package. The next release will come with them.