Commit Graph

60 Commits

Author SHA1 Message Date
red031000
14aaef3caf
Merge pull request #21 from Gudf/lz-pad-option
Add a flag to disable padding lz-encoded files
2025-05-11 17:51:36 +01:00
Gudf
1e62870c37 Add flag to disable padding lz-encoded files 2025-05-04 21:43:08 +02:00
red031000
cea615c941
update gitignore 2024-11-13 17:23:21 +02:00
red031000
f81c8e4913
fix bitdepth option 2024-11-12 09:55:41 +02:00
red031000
002719ec2a
Merge pull request #18 from ravepossum/kbec_size_pad
Update KBEC size to account for 4-byte aligment
2024-11-11 21:35:39 +02:00
RavePossum
6614272027 Update KBEC size to account for 4-byte aligment 2024-11-10 13:00:20 -05:00
red031000
7b048127ad
Merge branch 'nanr_taketwo' of https://github.com/joshua-smith-12/nitrogfx 2024-11-09 19:53:13 +02:00
red031000
ff4297898e
Merge pull request #16 from lhearachel/invert-png-palette
Add -invertsize switch to PNG -> NCLR pipeline
2024-10-28 18:46:52 +00:00
Rachel
7f334e6cc3 Add -invertsize switch to PNG -> NCLR pipeline 2024-10-28 11:37:56 -07:00
red031000
e8ea772119
Merge pull request #15 from joshua-smith-12/nclr_size_invert
support NCLR files with unusual inverted size field
2024-10-28 18:18:14 +00:00
Joshua Smith
17cb8623f4 apply padding to the correct animation result index when results are reused between sequences 2024-10-28 12:57:13 -05:00
Joshua Smith
8cc28326b7 support NCLR files with unusual inverted size field 2024-10-28 10:28:50 -05:00
Joshua Smith
112fce2031 add missing free for usedResults 2024-10-27 19:49:22 -05:00
red031000
11193e5aef
Merge pull request #11 from joshua-smith-12/ncer_multiple_oam
Add support for building NCER files with OAM count > 1, support for VRAM transfer data
2024-10-28 00:20:42 +00:00
Joshua Smith
4d1609732b undo changes to animationElement/animationType fields 2024-10-27 18:56:21 -05:00
Joshua Smith
ada2b83bc1 ensure to free new VRAM transfer data in NCER parser 2024-10-27 18:50:43 -05:00
red031000
bd3b638fc7
update cJSON to fix CVE-2024-31755 2024-10-27 05:26:26 +00:00
red031000
f4e3666719
Merge pull request #10 from lhearachel/nitro-fonts
Add support for font files used by Gen4 Pokemon
2024-10-27 04:57:17 +00:00
Rachel
76ba9f75e5 Normalize tabs to 4-width spaces 2024-10-26 21:47:50 -07:00
Rachel
b934160afb Restore backward lookback function, add -reverse option to LZ compression command 2024-10-23 20:49:54 -07:00
Joshua Smith
4433b68feb missed checking whether result was already used before increasing sequenceLen 2024-10-20 13:20:07 -05:00
Joshua Smith
d55fbd6ff4 update NANR parser to handle resultType better and handle padding 2024-10-20 12:51:53 -05:00
Joshua Smith
819153913a partitions -> vram transfer data, add struct/format to represent transfer data 2024-10-20 11:18:30 -05:00
red031000
f9a9fdc11b
fix missing newlines on error 2024-10-19 23:51:32 +01:00
red031000
94cfc7b214
Merge pull request #12 from joshua-smith-12/bugfix_cebk_blocksize
fix incorrect bounds checking for CEBK block
2024-10-20 00:49:46 +02:00
Joshua Smith
dcb714befc fix incorrect bounds checking for CEBK block 2024-10-17 14:07:07 -05:00
Joshua Smith
8d191dbb9a support partition data in NCER JSON format 2024-10-17 13:25:00 -05:00
Joshua Smith
fa38e17f0d NCER KBEC section size depends on OAM count 2024-10-17 11:14:08 -05:00
red031000
0d667dfb02
Merge pull request #8 from PikalaxALT/ncer_fix
Fix NCER LABL block parsing
2024-10-17 13:39:18 +02:00
Rachel
fc527bccbd Remove debug messages from font.c 2024-10-16 23:13:02 -07:00
Rachel
791ab44576 Update LZ encoding algorithm to iterate positively instead of negatively 2024-10-16 22:47:11 -07:00
Rachel
0a893d4d3e Add support for font files used by Gen4 Pokemon 2024-10-13 15:47:33 -07:00
PikalaxALT
9420452e83
Update Makefile 2024-08-09 13:59:47 -04:00
PikalaxALT
ae44344810
Update gfx.c 2024-08-04 21:45:04 -04:00
PikalaxALT
24188ee122 Fix NCER LABL block parsing 2024-08-02 18:56:53 -04:00
red031000
616bfba6f5
brace style 2024-03-11 02:08:31 +00:00
Akira Akashi
36d24cac79
Merge pull request #7 from lhearachel/patch-1
Update meson_options.txt to force native compilation
2024-03-08 17:47:42 +00:00
Rachel
eb2ba2cdbd
Update meson_options.txt to force native compilation 2024-03-08 09:46:27 -08:00
red031000
3284d0d547
add PMCP support and fix a few bugs 2024-02-03 01:28:36 +00:00
Akira Akashi
492688b25c
Merge pull request #6 from lhearachel/patch-2
Patch -palIndex option check
2024-01-31 00:40:25 +00:00
Rachel
ac83b43fca
Patch -palIndex option check 2023-09-09 01:27:39 -07:00
Akira Akashi
b660c02db6
Merge pull request #5 from turtleisaac/master
Refactored variable names for readability and added comments
2023-08-03 22:55:51 +01:00
turtleisaac
e803a91635 Replaced tilesPerRow with colsPerChunk 2023-08-03 16:15:58 -04:00
turtleisaac
7c492fbdc0 Replaced idxComponent1 and idxComponent2 with idxComponentY and idxComponentX, respectively 2023-08-02 10:53:06 -04:00
turtleisaac
e8365bca10 Refactored names for readability; added comments 2023-08-02 09:37:15 -04:00
Akira Akashi
d352bbef4c
Merge pull request #4 from Nomura-RH/master
Add override_find_program() to meson.build
2023-08-02 11:49:39 +02:00
Nomura
099f959c2e Add override_find_program() to meson.build 2023-08-02 11:44:46 +02:00
Akira Akashi
dca044e6c1
Merge pull request #3 from Nomura-RH/master
Fix cross-compiling in Meson with 'native' option on
2023-08-02 05:53:49 +02:00
Nomura
5f87d19857 Fix cross-compiling in Meson with 'native' option on 2023-08-01 21:52:47 +02:00
Akira Akashi
2b6695b0b7
Merge pull request #2 from Nomura-RH/master
Add meson build files
2023-08-01 18:11:24 +02:00