FireEmblemUniverse / ColorzCore

A rewriting of Core.exe for EA.
GNU General Public License v3.0
7 stars 7 forks source link

Add program options for adding include and tool search directories #34

Closed StanHash closed 5 years ago

StanHash commented 5 years ago
Core A FE8 -I:Some/Include/Path -T:Some/Tool/Path [...]

This adds two (four) new commandline options: -I:Path (or --include:Path) and -T:Path (or --tools:Path). The former adds a path for searching included files in, the latter adds a path for searching tools in.

To get this to work, I had to rework some internals a bit:

Closes #32.

Crazycolorz5 commented 5 years ago

Is it possible to have an -IT:path that behaves like -I:path -T:path ?

Also do we wanna rethink the colon syntax while we're here? lol.

StanHash commented 5 years ago

Do you want me to add support for -I <path> stuff (and same for all other options with argument) in this?

Crazycolorz5 commented 5 years ago

Maybe in a different issue, if it becomes an issue. : notation is kinda bad and eh, but changing it would break things so nah. It's a rock and a hard place.