Commit Graph

67 Commits

Author SHA1 Message Date
Johan Mattsson
a4cf015ca8
Fix potential index out of bounds 2023-10-30 01:16:26 +01:00
bnnm
bf218c08b4 cleanup: separate functions
move common functions to its own .h so it's clearer where are they used and don't get copied in all headers
2023-05-14 21:20:29 +02:00
bnnm
86dceb51e5 cleanup: tabs, etc 2023-01-20 17:30:17 +01:00
bnnm
501af6ad8c Fix hang on full loops with xma1 formats 2023-01-20 01:02:23 +01:00
modusc896d352
9944b04d32
this is the last one i promise
i just removed a single comment, nothing major here.
2022-02-01 21:39:06 -03:00
modusc896d352
77b5b46008
ubi_bao changes (8/?)
remove the sbao flag as file_type already does the job.
2022-02-01 21:21:46 -03:00
modusc896d352
c5e5c0c179
ubi_bao changes (7/?)
minor "fix".
2022-02-01 09:31:16 -03:00
modusc896d352
fd51df32be
ubi_bao changes (6/?)
atomic BAOs now open depending on whether or not said BAO has a "{id}.sbao" name on it.
it's still not perfect but (mostly) works.
2022-02-01 08:39:21 -03:00
modusc896d352
25497b99f3
ubi_bao changes (5/?)
rename variable to something more sensible
2022-01-31 21:31:09 -03:00
modusc896d352
211b2e7a37
ubi_bao changes (4/?)
implement a hack for games with %08x.sbao naming nomenclature for streamed BAOs.
(present in Shaun White Snowboarding and Prince of Persia 2008)
2022-01-31 21:19:45 -03:00
modusc896d352
5f20e3344d
ubi_bao changes (3/3)
try to explain what this new change means.
2022-01-31 20:34:59 -03:00
modusc896d352
6fcc0b4e3e
ubi_bao changes (2/2)
fix formatting issues
2022-01-30 14:48:34 -03:00
modusc896d352
9a4087eff7
ubi_bao changes
this is an attempt to add standard "atomic bao" nomenclature for "streamed BAOs". like %08x.bao/%08x.bao instead of (example) Common_BAO_0x5NNNNNNN, French_BAO_0x5NNNNNNN or Common_BAO_0x0NNNNNNN. this also applies to "memory BAOs" as well.

this change was necessary due to the existence of scimitar_new.bms, which handles forge files rather differently as far as sound files are concerned. more specifically, it goes deeper into the BAO files themselves.
2022-01-30 14:47:18 -03:00
bnnm
f6a48926b7 Add .pk/spk variation [Michael Jackson TE (X360)] 2022-01-30 13:32:48 +01:00
bnnm
9bd3574548 Fix some .pk DSP in Ubi BAO [We Dare (Wii)] 2021-12-06 13:17:00 +01:00
modusc896d352
776c168257
ubi_bao.c
documentation update, nothing major.
2021-11-29 14:29:41 -03:00
modusc896d352
fad5224bb9
ubi_bao.c
do some documentation update on ubi_bao.c
2021-11-28 20:48:57 -03:00
bnnm
cf36348b77 add extra user logs 2021-08-26 19:39:58 +02:00
bnnm
3dde7b8af4 Fix some Ubi BAO [Just Dance (Wii)] 2021-08-22 13:15:37 +02:00
bnnm
bfd1d28745 cleanup: misc 2021-07-29 22:46:34 +02:00
bnnm
38360275a5 Cleanup 2021-06-20 10:33:28 +02:00
bnnm
692b76f460 Cleanup 2021-02-17 18:56:31 +01:00
Detective
6450c55392
small ubi_bao patch
added more languages [Shaun White Skateboarding (X360)]
2021-02-03 16:53:47 -03:00
bnnm
2938ca8b6e Fix some Ubi BAO [Assassin's Creed (X360)] 2021-01-31 19:57:22 +01:00
bnnm
a2716b8e7d Add Ubi BAO variation [Beowulf (X360/PS3)] 2021-01-03 16:03:28 +01:00
bnnm
450281dafd Allow segments of different number of channels 2020-11-22 19:00:01 +01:00
bnnm
a51008ad5a Fix some Ubi BAO [Avatar (Wii), Drawsome (Wii)] 2020-09-04 22:54:03 +02:00
NicknineTheEagle
01291013cc Ubi BAO: Fixed layers with varying sample rate 2020-06-10 21:52:15 +03:00
NicknineTheEagle
b227c450d3 Minor doc 2020-05-22 19:20:32 +03:00
NicknineTheEagle
4871498bd0 Ubi BAO: Fixed prefetched sounds with 0 streamed size 2020-05-17 17:54:13 +03:00
NicknineTheEagle
5f77ca2660 Ubi BAO: Added a new version [Splinter Cell: Conviction (X360)] 2020-05-17 17:23:13 +03:00
bnnm
0dfe352c7b Improve streamfile float reading 2019-11-02 20:12:12 +01:00
bnnm
abbe2ae80f Use libvorbis instead of FFmpeg 2019-10-20 19:50:35 +02:00
bnnm
84038b0fea Improve raw ATRAC3 decoding accuracy and cleanup 2019-08-26 22:58:43 +02:00
bnnm
22c3266727 Improve RIFF ATRAC3/plus decoding accuracy 2019-08-25 20:46:29 +02:00
bnnm
1e58d91c41 Extra doc 2019-06-15 13:21:23 +02:00
RIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIDGE RACERRRRRRRRRRRRRRRRRRRRRRRRRRRRR
8b9c0e56ef
minor comment addition 2019-04-18 16:14:48 -03:00
RIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIDGE RACERRRRRRRRRRRRRRRRRRRRRRRRRRRRR
95adca72cb
add more language filenames [ubi_bao.c]
indeed, this is just unconfirmed for now but hear me out - if you look through the Assassin's Creed exe out of each platform the game was released on (Windows version has just two exe that consists of all code in the game) you'll see that there are a total of 10 spoken languages that are being referenced in the exe.

i chose the Windows version of the game 'cuz every single detail in there isn't encrypted somehow within these two exe files(as in, those that end with Dx9 and Dx10, respectively).
2019-04-18 16:13:02 -03:00
bnnm
1fd320bfcd Fix Ubi SB sample/layer bugs [SC HD (PS3), RS:Vegas (PSP), GRAW (X360)] 2019-03-21 22:26:04 +01:00
bnnm
19c10e014c Add Czech_BAOs 2019-03-03 19:53:59 +01:00
bnnm
312eb4ed76 Fix BAO sample rate in some cases [Assassin's Creed] 2019-02-25 19:45:10 +01:00
bnnm
dc22b3d955 Add some BAOs and v6 IMA [Ghost Recon Future Soldier (PC/PS3)] 2019-02-22 23:51:40 +01:00
bnnm
8056ba37f4 Update doc 2019-02-17 20:53:02 +01:00
bnnm
0e379a4e28 Fix some more BAOs 2019-02-15 18:36:45 +01:00
bnnm
ccca7ad949 Fix BAO layer/sequences and add .cpk and more games 2019-02-09 23:43:50 +01:00
bnnm
493e207c40 Add atomic BAO [Assassin's Creed (PS3/PC)] 2019-02-03 01:47:59 +01:00
bnnm
fc8911b68a Prepare BAO layers/sequences 2019-01-27 23:42:42 +01:00
bnnm
62813ec4d2 Fix broken .pk subsongs [Scott Pilgrim (PS3)] 2019-01-13 23:26:04 +01:00
bnnm
9e1e4464b0 Improve Ubi BAO (.pk) parsing speed 2019-01-01 23:21:08 +01:00
bnnm
eaa176864c Simplify debug off_t casting for easier build
Also reorder some custom opus funcs that don't depend on ffmpeg
2018-12-01 18:52:30 +01:00