Views: 9,014,483 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
12-18-18 05:34 AM
Guest:

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

Main - NSMB2 hacking - NSMB2 -- the BBID files New reply


StapleButter
Posted on 04-07-16 07:28 PM (rev. 4 of 04-07-16 08:04 PM) 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

tonks

TheSaturnyoshi
Posted on 04-07-16 07: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.

StapleButter
Posted on 04-07-16 07:53 PM (rev. 3 of 04-07-16 08:03 PM) 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

tonks

StapleButter
Posted on 04-08-16 11:00 AM (rev. 2 of 04-08-16 11:01 AM) 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: http://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

tonks

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

Nope, not working for replacing the grassland theme.

____________________
GitHub - YouTube - NSMBHD

TheSaturnyoshi
Posted on 04-09-16 05: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.

StapleButter
Posted on 05-04-16 08:39 AM 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

tonks

TheSaturnyoshi
Posted on 05-04-16 04: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 09:38 AM (rev. 2 of 10-17-16 09:43 AM) 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-18-16 10:02 PM Link | #78936
0x244 byte rule is false, STRM_BGM_CHIJOU breaks this with 0x580.

____________________
a


Main - NSMB2 hacking - NSMB2 -- the BBID files New reply

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