Commit Graph

126 Commits

Author SHA1 Message Date
Lephenixnoir f17d741d54
fxconv: fix CLI which was broken since 4d46661d3 2022-01-26 20:54:40 +01:00
Lephenixnoir 9e097109bc
cmake: allow assets at root of project in fxconv_declare_assets() 2022-01-05 19:15:35 +01:00
Lephenixnoir b777fe76f6
bump version to 2.7.0 2021-12-31 10:49:17 +01:00
Lephenixnoir bbf716b031
fxconv: resolve name_regex in the fxconv-metadata.txt API 2021-12-28 19:01:43 +01:00
Lephenixnoir 4d46661d3b
fxconv: expose fxconv-metadata.txt parsing functions in API 2021-12-28 18:37:40 +01:00
Lephenixnoir 6dae13007e
fxconv: "fix" palette remap with non-continous "P" image
Just take the holes and save less space
2021-12-23 21:14:41 +01:00
Lephenixnoir afc6d51217
fxsdk: add more fxg1a/mkg3a flags in generate_{g1a,g3a}() 2021-11-18 23:16:17 +01:00
Lephenixnoir cdeefa1de6
fxconv: fix conversion of char-spacing attribute 2021-11-04 14:46:40 +01:00
Lephenixnoir 317b82348f
fxconv: add support for {P4,P8}_{RGB565,RGB565A} for Azur 2021-10-23 16:45:58 +02:00
Lephenixnoir 68be7fe522
fxconv: allow section specification from fxconv-metadata.txt 2021-09-26 10:55:20 +02:00
Lephenixnoir 959cd2975c
bump version to 2.6.0 2021-08-30 21:08:00 +02:00
Lephenixnoir 942c39be4e
fxconv: allow any tree of referencing structures 2021-08-25 22:14:41 +02:00
Lephenixnoir bc7cd928f4
fxconv: add synonyms Structure=ObjectData and ptr=ref 2021-08-25 18:00:43 +02:00
Lephenixnoir 0fc48f3c4d
fxlink: avoid log spam when receiving video frames 2021-08-20 21:51:39 +02:00
Lephenixnoir c81f9cdba4
fxlink: add video capture with frames displayed in an SDL2 window 2021-08-11 01:44:40 +02:00
Lephenixnoir 05d35eb642
bump version to 2.5.2 2021-07-04 17:35:42 +02:00
Lephenixnoir a17eaabbd8
fxconv: allow adding symbols and ObjectData to ObjectData 2021-06-10 00:04:55 +02:00
Lephenixnoir fcc6f33f9b
fxconv: expose standard converters 2021-06-10 00:04:45 +02:00
Lephenixnoir c53a3fcdec
fxconv: return data in standard conversions
Instead of generating the ELF file right away. This makes these
functions brilliantly reusable.
2021-06-09 19:01:06 +02:00
Lephenixnoir 0acea3baf6
fxconv: allow output with assembly but no data 2021-06-09 17:58:11 +02:00
Lephenixnoir d24ae5eef9
bump version to 2.5.1 2021-06-02 12:17:23 +02:00
Lephenixnoir 64ebb69f9b
fxconv: import specifically importlib.util 2021-06-02 10:12:03 +02:00
Lephenixnoir ddf05cfadb
fxconv: allow adding bytearray to ObjectData 2021-06-02 09:21:54 +02:00
Lephenixnoir d0d71b2889
fxlink: do not show every bulk transfer 2021-05-28 21:49:08 +02:00
Lephenixnoir 33fb115ab7
bump version to 2.5.0 2021-05-25 21:19:55 +02:00
Lephenixnoir d2b6da5122
fxlink: add interactive mode to exchange data with gint 2021-05-25 20:57:22 +02:00
Lephenixnoir 30befdd2cf
cmake: automatically find libraries in FXSDK_PREFIX
This paves the way for out-of-compiler installs which might become a
relevant thing for packaging and dual gint/PrizmSDK users (if it ever
happens).
2021-05-25 20:57:22 +02:00
Lephenixnoir 6383e1a30e
README: ah, yes, the famous apt setup on Arch Linux 2021-05-10 23:33:58 +02:00
Lephenixnoir 55ed08abe5
cmake: lower minimum required version to 3.15
Version 3.15 introduces the <PREFIX>_KEYWORDS_MISSING_VALUES of the
cmake_parse_arguments() function, which is used in generate_g1a() and
generate_g3a(), so there is no way to bring it further down for free.
2021-05-10 15:25:47 +02:00
Lephenixnoir 29c7d46817
README.md: replace old command name for project creation 2021-05-10 08:41:19 +02:00
Lephenixnoir ed10e727df
fxconv: enable custom types in the fxconv-metadata.txt system
Set the custom type with "custom-type: your_type_name" (instead of using
--custom on the command-line).

The converter.py in the current directory is still auto-detected as a
custom converter, but that won't work with CMake (which builds with the
build folder as current directory). Instead, a new option --converters=
with a semicolon-separated of Python files has been added. Use
fxconv_declare_converters() from the fxSDK-provided Fxconv module to
declare them programatically in CMake.
2021-05-04 17:38:28 +02:00
Lephenixnoir ff6d3c2199
cmake: provide the noudisks2 configuration 2021-04-28 22:31:40 +02:00
Lephenixnoir 7804ccf000
bump version number 2021-04-27 16:21:12 +02:00
Lephenixnoir 3322b18ccd
update README 2021-04-27 15:42:36 +02:00
Lephenixnoir 654ea8fa26
fxlink: basic implementation of the bulk transfer mode 2021-04-27 15:42:02 +02:00
Lephenixnoir d09ad9dd17
cmake: fix replacement pattern that finds sh-elf-objcopy
The previous one would fail if "gcc" was in the install path.
2021-04-17 15:59:35 +02:00
Lephenixnoir 42bc49b89a
cmake: use PkgConfig to find libpng
The FindPNG module fails catastrophically on Mac OS because it searches
for the library and header independently, and ends up pulling a
completely unrelated header from a random framework.
2021-04-11 20:27:25 +02:00
Lephenixnoir 2c6a46963d
fxlink: replace __VA_OPT__ with the ugly paste hack
Good job Clang, you really messed up that one.
2021-04-10 22:57:31 +02:00
Lephenixnoir 1ad9079d90
fxg1a, mkg3a: change argument order for musl compatibility
The musl getopt does not swap arguments and requires every option to
precede every non-option. Do that in the CMake functions generate_g1a()
and generate_g3a().
2021-04-10 07:42:31 +02:00
Lephenixnoir c059e2395d
fxlink: new tool with features from libusb and (optionally) UDisks2 2021-04-03 11:58:30 +02:00
Lephenixnoir 1a295958ee
use CMake to build the fxSDK 2021-04-03 11:39:26 +02:00
Lephenixnoir 6415476fe3
cmake: disable default x86/x64 flags on OSes that provide them 2021-03-06 11:50:52 +01:00
Lephenixnoir c3d9b53758
fxsdk: forward errors during make 2021-01-31 19:06:21 +01:00
Lephenixnoir 0db7ae9e2b
cmake: detect compiler install path in a LANG-agnostic way 2021-01-30 23:01:28 +01:00
Lephenixnoir 8259e2dfc8
fxconv: add a generic name_regex parameter to simplify naming 2021-01-29 14:29:36 +01:00
Lephenixnoir 2596a53c6b
(irrelevant fixes) 2021-01-29 14:29:25 +01:00
Lephenixnoir 8eed69b7a0
fxsdk: do not build if CMake fails 2021-01-28 22:15:41 +01:00
Lephenixnoir 51e60fcf06
cmake: add a utility to find simple libraries 2021-01-28 22:15:41 +01:00
Lephenixnoir 74766f381b
fxsdk: enable missing options on new projects 2021-01-27 22:21:39 +01:00
Lephenixnoir 0902fdc904
cmake: provide a function to set up assets' language and dependencies 2021-01-27 20:32:34 +01:00