62 Commits

Author SHA1 Message Date
Jan
6f31e8cc29
chore: fix compilation issues with x64 2025-04-06 18:02:47 +01:00
Jan
fa249b0bd3
test: add unit test for IPakCreator 2025-01-08 21:05:11 +00:00
Jan
83d13aa166
chore: fix loading and writing code for T6 2025-01-01 18:14:41 +01:00
Jan
be6c30c503
refactor: rework search paths 2025-01-01 18:14:39 +01:00
Jan
0a423937f0
fix: stop removing extensions of soundalises and guessing their extension later 2024-10-12 18:54:50 +01:00
Jan
5cc52c42cd
refactor: image and obj data loading 2024-09-26 07:22:35 +02:00
Jbleezy
d558a4e075 Use concat instead of replace_extension for guess sound filename function 2024-09-23 00:31:36 -07:00
Jan
ae73f81a80
chore: address code review comments 2024-09-18 23:01:13 +02:00
Jbleezy
d21c6aef4d Find a file for the sound path including extension 2024-09-15 21:20:55 -07:00
Jan
239001e6f2
refactor: use std ranges functions where applicable 2024-03-24 20:49:15 +01:00
Jan
132cccb971
refactor: use new line character instead of std::endl 2024-03-24 20:24:22 +01:00
Jan
1b13f1f1b4
refactor: only use sizeof with parenthesis 2024-03-24 19:56:06 +01:00
Alex
d807743447 do not add duplicate sounds to the sab files 2024-02-23 23:14:52 -05:00
Jan
4591787989
chore: drop third party lib for reading flac header 2024-02-10 16:38:20 +01:00
Jan
05ce73049d
chore: small code cleanups 2024-02-10 10:52:02 +01:00
Jan
45689a29a1
chore: make SoundBankEntryInfo a class without constructors 2024-02-10 10:01:55 +01:00
Alex
2478a1355f code review changes 2024-02-09 11:39:51 -05:00
Alex
42c4068d2a add flac decoding to correctly add flac sounds to sound banks 2024-02-09 10:49:55 -05:00
Alex
9254e25b22 fix loaded sound banks and generating streamed sound banks 2024-02-02 16:48:23 -05:00
Alex
386f941d61 add comment 2024-02-02 11:29:15 -05:00
Alex
c3590a911c dont build sabl if unable to find sound files 2024-02-02 11:28:21 -05:00
Alex
bc1ebfc3bc .flac extension 2024-01-26 13:31:36 -05:00
Alex
7af802ff24 more linux build errors 2024-01-26 13:07:50 -05:00
Alex
e2f8892278 clang formatting 2024-01-26 13:05:07 -05:00
Alex
a020de6f80 SoundBankWriter code 2024-01-26 12:14:47 -05:00
Clang Format
6b4f5d94a8
Reformat code with clang format 2023-11-19 21:07:21 +00:00
Jan
51899d4a69 Dump T6 sound PCM data as wav 2023-10-26 22:54:20 +02:00
Jan
9b35b90a28 Fix IPak reading error message having incorrect text 2023-10-15 22:11:38 +02:00
Jan
abbb697d7c Add data writing for IPaks 2023-10-15 18:12:23 +02:00
Jan
2d0ef40335 Remove unused IPakBlock non-bits fields 2023-10-15 14:50:14 +02:00
Jan
78196cd6f6 Improve code documentation of IPakEntryReadStream 2023-10-15 14:23:26 +02:00
Jan
8514378465 Write IPak base skeleton without data 2023-10-07 19:41:54 +02:00
Jan
4e8d1806cc t6 alias dumping stuff 2021-04-11 09:04:58 +02:00
Jan
e6a10fb992 fix iw3 gcc compatibility 2021-04-15 18:35:36 +02:00
Jan
15c896862c fix soundbank conversion warning 2021-04-14 18:40:34 +02:00
Jan
3cda71d1e7 Dump SoundBank asset data files 2021-04-05 18:50:42 +02:00
Jan
29e5898c2b Get rid of implicit size conversion warnings in ipak entry read stream 2021-03-19 16:41:04 +01:00
Jan
83080db991 Include filesize when opening a file with searchpaths 2021-03-13 10:27:18 +01:00
Jan
e6a91c0305 add linker basis 2021-03-08 12:46:27 +01:00
Jan
1a45cf2107 Fix more gcc compilation issues 2021-03-03 09:12:27 -08:00
Jan
1cd06668e0 Replace FileAPI with c++ streams and std::filesystem 2021-03-03 14:04:35 +01:00
Jan
464f8231df IWD code style changes 2020-10-17 15:15:17 +02:00
Jan
395c139681 Use map for IWD entries to speed up finding entries by name 2020-10-17 14:59:36 +02:00
Jan
a1c965a4c0 Dump iw4 images 2020-10-16 15:57:39 +02:00
Jan
80deff450d ObjLoading: Load common ipaks depending on SP/MP/ZM for every zone and make sure to not double load them 2020-02-10 23:02:44 +01:00
Jan
53b03c1fdb ObjLoading: Fix loading the wrong chunkbuffer window data when trying to shift chunkbuffer 2020-02-10 14:17:28 +01:00
Jan
43fa845839 ObjLoading: Add possibility to go back to the beginning of a IPakEntryReadStream 2020-02-09 10:01:09 +01:00
Jan
4baca81210 ObjLoading: Implement IPakEntryReadStream as a linear stream 2020-02-09 09:51:57 +01:00
Jan
7b3b527ece ObjLoading: Fix not including algorithm header even though using find_if 2020-02-09 01:27:20 +01:00
Jan
eaa64665d6 ObjLoading: Fix Ipak entry size not specifying the filesize but the difference between start pos and end pos 2020-02-09 01:22:27 +01:00