mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-12-18 01:15:52 +01:00
Remove .mihb fake extension (use .mic)
This commit is contained in:
parent
6157a86e3f
commit
b88e06cebe
@ -185,8 +185,10 @@ different internally (encrypted, different versions, etc) and not always can be
|
|||||||
- Sony VAG header (custom) [*VAG_custom*]
|
- Sony VAG header (custom) [*VAG_custom*]
|
||||||
- Sony VAG header [*VAG*]
|
- Sony VAG header [*VAG*]
|
||||||
- Acclaim Austin AAAp header [*AAAP*]
|
- Acclaim Austin AAAp header [*AAAP*]
|
||||||
- *vag*: `.vag .swag .str .vig .l .r .vas .xa2 .snd .svg`
|
- Sony VAG footer [*VAG_footer*]
|
||||||
|
- *vag*: `.vag .swag .str .vig .l .r .vas .xa2 .snd .svg .(extensionless)`
|
||||||
- *vag_aaap*: `.vag`
|
- *vag_aaap*: `.vag`
|
||||||
|
- *vag_footer*: `.(extensionless) .vag`
|
||||||
- Codecs: PSX HEVAG
|
- Codecs: PSX HEVAG
|
||||||
- **ild.c**
|
- **ild.c**
|
||||||
- Tose ILD header [*ILD*]
|
- Tose ILD header [*ILD*]
|
||||||
@ -199,15 +201,17 @@ different internally (encrypted, different versions, etc) and not always can be
|
|||||||
- **ea_schl.c**
|
- **ea_schl.c**
|
||||||
- Electronic Arts BNK header [*EA_BNK*]
|
- Electronic Arts BNK header [*EA_BNK*]
|
||||||
- Electronic Arts SCHl header [*EA_SCHL*]
|
- Electronic Arts SCHl header [*EA_SCHL*]
|
||||||
- *ea_schl*: `.asf .lasf .str .chk .eam .exa .sng .aud .sx .xa .strm .stm .hab .xsf .gsf .(extensionless)`
|
- *ea_schl*: `.asf .lasf .str .chk .eam .exa .sng .aud .sx .xa .strm .stm .hab .xsf .gsf .(extensionless) .r`
|
||||||
- *ea_schl_video*: `.uv .dct .mad .wve .vp6 .mpc .lmpc`
|
- *ea_schl_video*: `.uv .dct .mad .wve .vp6 .mpc .lmpc`
|
||||||
- *ea_bnk*: `.bnk .sdt .hdt .ldt .abk .ast .cat`
|
- *ea_bnk*: `.bnk .sdt .hdt .ldt .abk .ast .cat .(extensionless)`
|
||||||
- *ea_abk*: `.abk + .ast`
|
- *ea_abk*: `.abk + .ast`
|
||||||
- *ea_hdr_dat*: `.hdr + .dat`
|
- *ea_hdr_dat*: `.hdr + .dat`
|
||||||
- Subfiles: *vag*
|
- Subfiles: *vag*
|
||||||
- *ea_hdr_dat_v2*: `.hdr + .dat .mus .(external)`
|
- *ea_hdr_dat_v2*: `.hdr + .dat .mus .(external)`
|
||||||
- *ea_map_mus*: `.map .lin .mpf`
|
- *ea_map_mus*: `.map .lin .mpf`
|
||||||
- *ea_mpf_mus*: `.mpf + .(external)`
|
- *ea_mpf_mus*: `.mpf`
|
||||||
|
- *ea_msb_mus*: `.msb .msx`
|
||||||
|
- *ea_mpf_mus_main*: `(base) + .(external)`
|
||||||
- Codecs: EA_XA EA_XA_int EA_XA_V2 PCM8_int PCM16_int PCM8 PCM16LE PCM16BE PSX XBOX_IMA_int NGC_DSP VADPCM MPEG EA_MT ATRAC3
|
- Codecs: EA_XA EA_XA_int EA_XA_V2 PCM8_int PCM16_int PCM8 PCM16LE PCM16BE PSX XBOX_IMA_int NGC_DSP VADPCM MPEG EA_MT ATRAC3
|
||||||
- **caf.c**
|
- **caf.c**
|
||||||
- tri-Crescendo CAF Header [*CAF*]
|
- tri-Crescendo CAF Header [*CAF*]
|
||||||
@ -271,7 +275,7 @@ different internally (encrypted, different versions, etc) and not always can be
|
|||||||
- RIFF WAVE header (ctrl looping) [*RIFF_WAVE_MWV*]
|
- RIFF WAVE header (ctrl looping) [*RIFF_WAVE_MWV*]
|
||||||
- RIFX WAVE header [*RIFX_WAVE*]
|
- RIFX WAVE header [*RIFX_WAVE*]
|
||||||
- RIFX WAVE header (smpl looping) [*RIFX_WAVE_smpl*]
|
- RIFX WAVE header (smpl looping) [*RIFX_WAVE_smpl*]
|
||||||
- *riff*: `.wav .lwav .xwav .mwv .da .dax .cd .med .snd .adx .adp .xss .xsew .adpcm .adw .wd .(extensionless) .sbv .wvx .str .at3 .rws .aud .at9 .ckd .saf .ima .nsa .pcm .xvag .ogg .logg .p1d .xms .mus .dat .ldat .wma .lwma .caf .wax .voi`
|
- *riff*: `.wav .lwav .xwav .mwv .da .dax .cd .med .snd .adx .adp .xss .xsew .adpcm .adw .wd .(extensionless) .sbv .wvx .str .at3 .rws .aud .at9 .ckd .saf .ima .nsa .pcm .xvag .ogg .logg .p1d .xms .mus .dat .ldat .wma .lwma .caf .wax .voi .se`
|
||||||
- *rifx*: `.wav .lwav`
|
- *rifx*: `.wav .lwav`
|
||||||
- Codecs: AICA_int PCM32LE PCM24LE PCM16BE PCM16LE PCM8_U MSADPCM IMA PCMFLOAT MS_IMA AICA MPEG_custom XBOX_IMA MS_IMA_3BIT DVI_IMA L5_555 OGG_VORBIS ATRAC9 ATRAC3 MPEG MSADPCM_int
|
- Codecs: AICA_int PCM32LE PCM24LE PCM16BE PCM16LE PCM8_U MSADPCM IMA PCMFLOAT MS_IMA AICA MPEG_custom XBOX_IMA MS_IMA_3BIT DVI_IMA L5_555 OGG_VORBIS ATRAC9 ATRAC3 MPEG MSADPCM_int
|
||||||
- **nwa.c**
|
- **nwa.c**
|
||||||
@ -481,9 +485,11 @@ different internally (encrypted, different versions, etc) and not always can be
|
|||||||
- Radical .FAG Header [*FAG*]
|
- Radical .FAG Header [*FAG*]
|
||||||
- *fag*: `.fag`
|
- *fag*: `.fag`
|
||||||
- Codecs: PSX
|
- Codecs: PSX
|
||||||
- **ps2_mihb.c**
|
- **mib_mih.c**
|
||||||
- Sony MultiStream MIC header [*PS2_MIHB*]
|
- Sony MultiStream MIH+MIB header [*MIB_MIH*]
|
||||||
- *ps2_mihb*: `.mic .mihb`
|
- Sony MultiStream MIC header [*MIC*]
|
||||||
|
- *mib_mih*: `.mib + .mih`
|
||||||
|
- *mic*: `.mic .(extensionless)`
|
||||||
- Codecs: PSX
|
- Codecs: PSX
|
||||||
- **ngc_pdt.c**
|
- **ngc_pdt.c**
|
||||||
- Hudson .PDT header [*NGC_PDT*]
|
- Hudson .PDT header [*NGC_PDT*]
|
||||||
@ -1144,7 +1150,9 @@ different internally (encrypted, different versions, etc) and not always can be
|
|||||||
- *ea_hdr_sth_dat*: `.hdr + .sth .dat`
|
- *ea_hdr_sth_dat*: `.hdr + .sth .dat`
|
||||||
- **ea_eaac_mpf_mus.c**
|
- **ea_eaac_mpf_mus.c**
|
||||||
- Electronic Arts SNR+SNS header [*EA_SNR_SNS*]
|
- Electronic Arts SNR+SNS header [*EA_SNR_SNS*]
|
||||||
- *ea_mpf_mus_eaac*: `.mpf + .(external) .mus`
|
- *ea_mpf_mus_eaac*: `.mpf`
|
||||||
|
- *ea_msb_mus_eaac*: `.msb .msx`
|
||||||
|
- *ea_mpf_mus_eaac_main*: `(base) + .(external) .mus`
|
||||||
- **ea_eaac_tmx.c**
|
- **ea_eaac_tmx.c**
|
||||||
- Electronic Arts SNR+SNS header [*EA_SNR_SNS*]
|
- Electronic Arts SNR+SNS header [*EA_SNR_SNS*]
|
||||||
- *ea_tmx*: `.tmx`
|
- *ea_tmx*: `.tmx`
|
||||||
@ -1230,7 +1238,7 @@ different internally (encrypted, different versions, etc) and not always can be
|
|||||||
- **sthd.c**
|
- **sthd.c**
|
||||||
- Dream Factory STHD header [*STHD*]
|
- Dream Factory STHD header [*STHD*]
|
||||||
- *sthd*: `.stx`
|
- *sthd*: `.stx`
|
||||||
- Codecs: XBOX_IMA_int
|
- Codecs: PCM16LE XBOX_IMA_int
|
||||||
- **pcm_sre.c**
|
- **pcm_sre.c**
|
||||||
- Capcom .PCM+SRE header [*PCM_SRE*]
|
- Capcom .PCM+SRE header [*PCM_SRE*]
|
||||||
- *pcm_sre*: `.pcm + .sre`
|
- *pcm_sre*: `.pcm + .sre`
|
||||||
@ -1814,6 +1822,9 @@ different internally (encrypted, different versions, etc) and not always can be
|
|||||||
- Rockstar .VAS header [*VAS_ROCKSTAR*]
|
- Rockstar .VAS header [*VAS_ROCKSTAR*]
|
||||||
- *vas_rockstar*: `.vas`
|
- *vas_rockstar*: `.vas`
|
||||||
- Codecs: PSX
|
- Codecs: PSX
|
||||||
|
- **ea_sbk.c**
|
||||||
|
- Electronic Arts SBK header [*EA_SBK*]
|
||||||
|
- *ea_sbk*: `.sbk`
|
||||||
- **agsc.c**
|
- **agsc.c**
|
||||||
- Retro Studios AGSC header [*AGSC*]
|
- Retro Studios AGSC header [*AGSC*]
|
||||||
- *agsc*: `.agsc`
|
- *agsc*: `.agsc`
|
||||||
@ -1832,16 +1843,12 @@ different internally (encrypted, different versions, etc) and not always can be
|
|||||||
- assumed The Warriors Sony ADPCM by .wmus extension [*PS2_WMUS*]
|
- assumed The Warriors Sony ADPCM by .wmus extension [*PS2_WMUS*]
|
||||||
- *ps2_wmus*: `.wmus`
|
- *ps2_wmus*: `.wmus`
|
||||||
- Codecs: PSX
|
- Codecs: PSX
|
||||||
- **mib_mih.c**
|
|
||||||
- Sony MultiStream MIH+MIB header [*MIB_MIH*]
|
|
||||||
- *mib_mih*: `.mib + .mih`
|
|
||||||
- Codecs: PSX
|
|
||||||
- **mjb_mjh.c**
|
- **mjb_mjh.c**
|
||||||
- Sony MultiStream MJH+MJB header [*MJB_MJH*]
|
- Sony MultiStream MJH+MJB header [*MJB_MJH*]
|
||||||
- *mjb_mjh*: `.mjb + .mjh .mjb`
|
- *mjb_mjh*: `.mjb + .mjh .mjb`
|
||||||
- Codecs: PSX
|
- Codecs: PSX
|
||||||
- **ps2_mic.c**
|
- **mic_koei.c**
|
||||||
- KOEI .MIC header [*PS2_MIC*]
|
- KOEI .MIC header [*MIC_KOEI*]
|
||||||
- *mic_koei*: `.mic`
|
- *mic_koei*: `.mic`
|
||||||
- Codecs: PSX
|
- Codecs: PSX
|
||||||
- **seb.c**
|
- **seb.c**
|
||||||
@ -1855,7 +1862,7 @@ different internally (encrypted, different versions, etc) and not always can be
|
|||||||
- **rage_aud.c**
|
- **rage_aud.c**
|
||||||
- Rockstar AUD header [*RAGE_AUD*]
|
- Rockstar AUD header [*RAGE_AUD*]
|
||||||
- *rage_aud*: `.(extensionless) .ivaud`
|
- *rage_aud*: `.(extensionless) .ivaud`
|
||||||
- Codecs: PCM16BE PCM16LE XMA1 MPEG IMA_int
|
- Codecs: PCM16BE PCM16LE XMA1 MPEG_custom MPEG IMA_int
|
||||||
- **asd_naxat.c**
|
- **asd_naxat.c**
|
||||||
- Naxat .ASD header [*ASD_NAXAT*]
|
- Naxat .ASD header [*ASD_NAXAT*]
|
||||||
- *asd_naxat*: `.asd`
|
- *asd_naxat*: `.asd`
|
||||||
|
@ -340,7 +340,6 @@ static const char* extension_list[] = {
|
|||||||
"mi4", //fake extension for .mib (renamed, to be removed)
|
"mi4", //fake extension for .mib (renamed, to be removed)
|
||||||
"mib",
|
"mib",
|
||||||
"mic",
|
"mic",
|
||||||
"mihb",
|
|
||||||
"mnstr",
|
"mnstr",
|
||||||
"mogg",
|
"mogg",
|
||||||
//"m4a", //common
|
//"m4a", //common
|
||||||
|
@ -51,9 +51,8 @@ VGMSTREAM* init_vgmstream_mic(STREAMFILE* sf) {
|
|||||||
|
|
||||||
/* check extension */
|
/* check extension */
|
||||||
/* .mic: official extension
|
/* .mic: official extension
|
||||||
* (extensionless): The Urbz (PS2), The Sims 2 series (PS2)
|
* (extensionless): The Urbz (PS2), The Sims 2 series (PS2) */
|
||||||
* .mihb: assumed? */
|
if (!check_extensions(sf, "mic,"))
|
||||||
if (!check_extensions(sf, "mic,,mihb"))
|
|
||||||
return NULL;
|
return NULL;
|
||||||
if (read_u32le(0x00, sf) != 0x40) /* header size */
|
if (read_u32le(0x00, sf) != 0x40) /* header size */
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user