move fxg1a/ -> fxgxa/ to prepare implementing fxg3a

pull/7/head
Lephenixnoir 6 months ago
parent 0fd94fd894
commit ec39aa5cde
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
  1. 16
      CMakeLists.txt
  2. 6
      README.md
  3. 0
      fxgxa/dump.c
  4. 0
      fxgxa/edit.c
  5. 0
      fxgxa/endianness.h
  6. 0
      fxgxa/file.c
  7. 0
      fxgxa/fxg1a.h
  8. 0
      fxgxa/g1a.h
  9. 0
      fxgxa/icon.c
  10. 0
      fxgxa/main.c
  11. 0
      fxgxa/util.c

@ -24,10 +24,18 @@ set(BIN "${CMAKE_CURRENT_BINARY_DIR}")
add_compile_options(-Wall -Wextra -std=c11 -Og -g -D_GNU_SOURCE)
# fxg1a
add_executable(fxg1a fxg1a/dump.c fxg1a/edit.c fxg1a/file.c fxg1a/icon.c
fxg1a/main.c fxg1a/util.c)
target_include_directories(fxg1a PUBLIC fxg1a/)
add_executable(fxg1a fxgxa/dump.c fxgxa/edit.c fxgxa/file.c fxgxa/icon.c
fxgxa/main.c fxgxa/util.c)
target_include_directories(fxg1a PUBLIC fxgxa/)
target_link_libraries(fxg1a PkgConfig::libpng)
target_compile_definitions(fxg1a PRIVATE -DFXGXA_FORMAT_G1A)
# fxg3a
add_executable(fxg3a fxgxa/dump.c fxgxa/edit.c fxgxa/file.c fxgxa/icon.c
fxgxa/main.c fxgxa/util.c)
target_include_directories(fxg3a PUBLIC fxgxa/)
target_link_libraries(fxg3a PkgConfig::libpng)
target_compile_definitions(fxg3a PRIVATE -DFXGXA_FORMAT_G3A)
# fxsdk
add_custom_command(OUTPUT "${BIN}/fxsdk.sh"
@ -58,6 +66,8 @@ install(DIRECTORY fxsdk/assets DESTINATION share/fxsdk)
install(DIRECTORY fxsdk/cmake/ DESTINATION lib/cmake/fxsdk)
# fxg1a
install(TARGETS fxg1a)
# fxg3a
install(TARGETS fxg3a)
# fxconv
install(PROGRAMS fxconv/fxconv-main.py TYPE BIN RENAME fxconv)
install(FILES fxconv/fxconv.py TYPE BIN)

@ -88,6 +88,12 @@ don't need to worry about it, but here are the main commands:
* `fxg1a -r`: Repair control bytes and checksums for broken files
* `fxg1a -x`: Extract icon into a PNG file
**G3A file generation** with `fxg3a`
`fxg3a` is very similar to `fxg1a`, but generates and edits g3a files instead.
These files are used for fx-CG 10/20/50 programs. The main commands are
identical.
**Asset conversion** with `fxconv`
`fxconv` is a programmable asset converter that converts images, fonts and

Loading…
Cancel
Save