Commit Graph

6828 Commits

Author SHA1 Message Date
bnnm
5c08e60f8a Remove Camelot .bcstm loop hack 2024-08-18 23:30:58 +02:00
bnnm
bbba3b367e Add .ntx extension [GTA3 (Android)] 2024-08-18 23:17:26 +02:00
bnnm
64432fc311 doc 2024-08-18 23:16:51 +02:00
bnnm
d04e8d571a cleanup: calloc some stuff 2024-08-18 23:11:02 +02:00
bnnm
09746b5253 cleanup: fix leak 2024-08-18 21:30:52 +02:00
bnnm
98f795a7d2 cleanup: fix leak + sbuf stuff 2024-08-18 19:42:07 +02:00
bnnm
03d8cb5329 cleanup: api stuff 2024-08-18 17:50:55 +02:00
bnnm
01661a0d99 cleanup: blocked layout stuff 2024-08-18 15:19:13 +02:00
bnnm
d253f90d25 cleanup: layouts 2024-08-18 01:14:32 +02:00
bnnm
b5dffc9556 cleanup: layouts 2024-08-17 23:34:30 +02:00
bnnm
1f97c2aeb7 cleanup: render stuff 2024-08-17 12:05:17 +02:00
bnnm
1169b68b99 cleanup: move code 2024-08-12 01:11:52 +02:00
bnnm
06db5fca76 cleanup: xa30 2024-08-11 19:54:13 +02:00
bnnm
7ab622d335
Merge pull request #1571 from bnnm/api-misc6
- Add HCA keys
- Fix some custom/buggy .dsp
- foobar: tweak file info
- cleanup
2024-08-11 02:04:01 +02:00
bnnm
edcffe05c4 Fix some custom/buggy .dsp 2024-08-10 23:48:36 +02:00
bnnm
0709ad1d87 Add HCA keys 2024-08-10 23:46:33 +02:00
bnnm
6e5b041761 doc 2024-08-10 23:46:26 +02:00
bnnm
f605e69a69 cleanup: disable some msvc warnings 2024-08-10 23:43:58 +02:00
bnnm
a8163717d2 cleanup: misc 2024-08-10 23:43:41 +02:00
bnnm
0cb37f0dc7 cleanup: foobar misc + tweak file info 2024-08-10 23:26:53 +02:00
bnnm
373329adab cleanup: renames 2024-08-09 00:15:08 +02:00
bnnm
2bd2c3e5e9 cleanup: misc meta stuff 2024-08-09 00:14:14 +02:00
bnnm
6628099255 cleanup: fix minor compiler warnings 2024-08-08 00:24:40 +02:00
bnnm
cfcca4e662 cleanup: fix minor compiler warnings 2024-08-07 23:39:57 +02:00
bnnm
122de356c1 cleanup: move layout helpers 2024-08-07 23:25:41 +02:00
bnnm
e987ef2d47 cleanup: fix minor compiler warnings 2024-08-07 23:13:12 +02:00
bnnm
9b485ac735 cleanup: rename possibly reserved var 2024-08-07 23:07:24 +02:00
bnnm
4e19ecb051 cleanup: adx validations 2024-08-07 22:40:36 +02:00
bnnm
8515d2beee cleanup: fix util 2024-08-07 22:36:35 +02:00
bnnm
21b3067a7c cleanup: wpd, ws_aud 2024-08-07 22:36:14 +02:00
bnnm
637273bcd9 cleanup: move defs around 2024-08-07 22:35:38 +02:00
bnnm
8160794db5
Merge pull request #1569 from bnnm/api-misc5
- Fix broken .TMX files [Need for Speed Undercover (PC)]
- cleanup
2024-07-28 19:00:10 +02:00
bnnm
31140a0c08 cleanup: fix include 2024-07-28 18:54:53 +02:00
bnnm
c333b20260 cleanup: fix include 2024-07-28 18:46:30 +02:00
bnnm
d777998602 Fix broken .TMX files [Need for Speed Undercover (PC)] 2024-07-28 18:41:29 +02:00
bnnm
f28cd1ada9 cleanup: remove jansson dependency 2024-07-28 18:40:05 +02:00
bnnm
3edb6e71d6 cleanup: replace jansson 2024-07-28 18:24:40 +02:00
bnnm
e6a2bec8c2 cleanup: stdio sf test flag 2024-07-28 17:40:12 +02:00
bnnm
81b341c448 cleanup: api tweaks 2024-07-28 17:39:50 +02:00
bnnm
f0897c7868 cleanup: internal stuff 2024-07-28 17:30:38 +02:00
bnnm
9b81496c77 cleanup: cli stuff 2024-07-28 17:29:43 +02:00
bnnm
b9bea931a8 cleanup: txtp 2024-07-27 18:39:38 +02:00
bnnm
add7800544 cleanup: bool flags 2024-07-27 15:30:32 +02:00
bnnm
1d0e57583c cleanup: move stuff 2024-07-27 15:22:21 +02:00
bnnm
14419cce34 cleanup: fix potential dereference 2024-07-27 14:43:50 +02:00
bnnm
d98e1c854f cleanup: api misc 2024-07-27 14:42:43 +02:00
bnnm
e79e0bad3f
Merge pull request #1567 from modusc896d352/ongakukan-adp-v3
fix some ongakukan .adp
2024-07-26 21:04:06 +02:00
modusc896d352
3fa266364e fix some ongakukan .adp, part II
upped diff "beyond than" checks to 14 to allow some other adp file to actually work.
2024-07-25 20:03:59 -03:00
modusc896d352
3145f7ebe4 fix some ongakukan .adp
at least one adp file from midousuji-sen was found to have a "fact" chunk at offset 0x24 instead of the usual 0x26. this caused vgmstream to not play said file at all.

not only does this commit fixes this, it also adds additional checks to the "adp_ongakukan" meta.

this includes the introduction of the "diff" variable whose purpose is to subtract the difference between expected_size and pcm_size. meta will now only proceed if diff is between 0 and 2 (sorta).

as for the "fix" itself, it required the introduction of the "fact_offset" variable.

fact_offset adds both fmt_offset and fmt_size so that "fact" chunk signature can be read (and checked against adp file within the meta) properly instead of always requiring "fact" to be at 0x26.

fact_offset is also checked if it goes below 0x24 and above 0x28.
2024-07-25 19:06:14 -03:00
bnnm
808a3233a8
Merge pull request #1564 from bnnm/api-misc4
api misc4
2024-07-25 20:26:39 +02:00