Skip to content

Commit

Permalink
TODO updates
Browse files Browse the repository at this point in the history
  • Loading branch information
grunt-lucas committed Sep 22, 2023
1 parent e8e320f commit 083fe66
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions Todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
+ attributes / behavior changes
+ allow user to specify default behavior value using CLI option `-default-behavior`
+ this option takes a string defined in the behavior header
+ also have `-default-terrain-type` and `-default-encounter-type`

+ More assign algorithms?
+ Maybe some kind of A*?
Expand All @@ -31,7 +32,8 @@
+ Assignment config discovery
+ default behavior: look for assign.cfg in the input folder, use those settings
+ if assign.cfg does not exist, warn the user and run the full assignment param search matrix
+ user can supply --save-assign-config option to force porytiles to search for a valid assign param and save it to input folder
+ this will be a default-on warning
+ user can supply --cache-assign-config option to force porytiles to search for a valid assign param and save it to input folder
+ we will also need a way to specify config params for the paired primary set when compiling in secondary mode
+ it is possible (and quite likely) that you will have cases where the primary set needs different params
+ there should be primary versions of the options: --primary-assign-algo=<ALGO>, etc
Expand Down Expand Up @@ -77,19 +79,16 @@

+ provide a way to input primer tiles to improve algorithm efficiency

+ `-manage-metatiles-with-porymap` skips generation of `metatiles.bin`
+ `-skip-metatile-generation` skips generation of `metatiles.bin`

+ `-manage-attributes-with-porymap` skips generation of `metatile_attributes.bin`
+ `-skip-attribute-generation` skips generation of `metatile_attributes.bin`

+ `dump-anim-code` command
+ takes input tiles just like `compile-X` commands
+ instead of outputting all the files, just write C code to the console
+ the C code should be copy-paste-able into `tileset_anims.h/c` and `src/data/tilesets/headers.h`
+ is it possible to generate the code and insert it automatically?

+ Refactor CLI parsing
+ many commands share the same set of options, or slight variations

+ `freestanding` mode for compilation
+ freestanding mode would allow input PNG of any dimension, would only generate a tiles.png and pal files
+ might be useful for some people who drew a scene they want to tile-ize
Expand All @@ -99,5 +98,8 @@

+ support custom masks and shifts for metatile attributes, see how Porymap does this

+ Refactor CLI parsing
+ CXXOpts lib may be helpful here

+ Support .ora files (which are just fancy zip files) since GIMP can export layers as .ora
+ https://github.com/tfussell/miniz-cpp

0 comments on commit 083fe66

Please sign in to comment.