Kuribo64
Views: 19,981,981 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
04-16-24 11:40 PM
Guest:

0 users reading NSMB2 -- the BBID files | 1 bot

Main - NSMB2 hacking - NSMB2 -- the BBID files Hide post layouts | New reply


Arisotura
Posted on 04-07-16 11:28 PM (rev. 4 of 04-08-16 12:04 AM) Link | #69527
in Sound/BgmInfoData


relate to the bahps, trying to find out what the fuck they're about


seem to be divided in 4 parts: header, block 0, block 1, block 2 (whatever they're about)

the file is always 0x244 bytes long (parts are respectively 0x4, 0x100, 0x40, 0x100 bytes long)


header (4 bytes)
00: ???
01: ?? always zero
02: number of entries in blocks 0 and 1
03: ?? always 4


block 0:
4 bytes per entry
bahp positions in samples

block 1:
one byte per entry
bahp type(??), values: 01, 02, 03, 04

block 2:
oddball shit, all the files have it filled with the same pattern repeating, 40 44 48 4C

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

TheSaturnyoshi
Posted on 04-07-16 11:30 PM Link | #69528
Interestingly, you can delete the folder containing them entirely and the only consequence is that you don't get to see the enemies dance.

Arisotura
Posted on 04-07-16 11:53 PM (rev. 3 of 04-08-16 12:03 AM) Link | #69530
well yeah, block 0 is the positions of the events, I tried laying them on a graph and it pretty much fits


block 1 must be dance type or something -- observed values are: 01, 02, 03, 04

in the Sabaku file, consecutive bahps use values 01 then 03, lone bahps use 02 and 04 (except the bahp in the beginning which uses 03)


also, the block0 positions are in samples (sample rate is typically 32000Hz)

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Arisotura
Posted on 04-08-16 03:00 PM (rev. 2 of 04-08-16 03:01 PM) Link | #69543
maybe the first byte in the file is the song ID or something


so far:
ATHLETIC: 71
ATHLETIC_FAST: 88
CHIJOU: 64
CHIJOU_FAST: 78
CHIKA: 61
CHIKA_FAST: 74
KAZAN: 78
KAZAN_FAST: 90

.. nope, there are dupes, derpo





here's a null BBID file: https://kuribo64.net/get.php?id=yJD1ylYgzhiNHyyq

try replacing a song with a custom one, and replacing the associated BBID with this one

(might need fixing the first byte in the file, but dunno)

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

RicBent
Posted on 04-09-16 08:46 PM Link | #69604

Nope, not working for replacing the grassland theme.

____________________
GitHub - YouTube - NSMBHD

TheSaturnyoshi
Posted on 04-09-16 09:28 PM Link | #69615
The BBID files aren't related to why custom music isn't working. Even swapping the BCSTM and BBID of a song with those of a vanilla song causes it to crash.

Arisotura
Posted on 05-04-16 12:39 PM Link | #70357
We need to investigate BigRedSound.bcsar. It has strings that refer to the BGM songs. Pretty sure there's more to it.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

TheSaturnyoshi
Posted on 05-04-16 08:30 PM Link | #70364
I've already tried changing them to other file names, and while it loads the files I change it to, it still crashes all the same.

explos
Posted on 10-17-16 01:38 PM (rev. 2 of 10-17-16 01:43 PM) Link | #78844
Explos

Not sure if anyone is still interest in the bbid files, but I found this while searching through the depths of the internet.

Wait, nm this was already listed in the main post.

shibboleet
Posted on 10-19-16 02:02 AM Link | #78936
0x244 byte rule is false, STRM_BGM_CHIJOU breaks this with 0x580.

____________________
a


Main - NSMB2 hacking - NSMB2 -- the BBID files Hide post layouts | New reply

Page rendered in 0.044 seconds. (2048KB of memory used)
MySQL - queries: 26, rows: 213/213, time: 0.013 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.