NBA Live 19 PS4 SBS/SBR

Codecs, formats, encoding/decoding of game audio, video and music
kli_k95
Posts: 5
Joined: Sat Jul 02, 2022 3:35 am

NBA Live 19 PS4 SBS/SBR

Post by kli_k95 »

Hello there,
this game have a SBS/SBR combination which vgmstream doesn't play for some reason, even putting the files in the same directory. Any help would be grateful because I'm looking forward to listen to the streetball music. Thanks. https://drive.google.com/drive/folders/ ... sp=sharing
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: NBA Live 19 PS4 SBS/SBR

Post by BloodRaynare »

Looks encrypted/compressed to me. Are you sure the files you didn't forgot to decrypt/decompress the game files first? TBH I never dealt with PS4 game files so I wouldn't know.
kli_k95
Posts: 5
Joined: Sat Jul 02, 2022 3:35 am

Re: NBA Live 19 PS4 SBS/SBR

Post by kli_k95 »

BloodRaynare wrote:Looks encrypted/compressed to me. Are you sure the files you didn't forgot to decrypt/decompress the game files first? TBH I never dealt with PS4 game files so I wouldn't know.

That's decompressed from the game .big file. I did the same thing in PS4 version of Live 18 and worked. I dont know but maybe EA encrypted the files this time. Thanks for looking at the files anyway.
kli_k95
Posts: 5
Joined: Sat Jul 02, 2022 3:35 am

Re: NBA Live 19 PS4 SBS/SBR

Post by kli_k95 »

BloodRaynare wrote:Looks encrypted/compressed to me. Are you sure the files you didn't forgot to decrypt/decompress the game files first? TBH I never dealt with PS4 game files so I wouldn't know.


Good news! I managed to play the files through hex editing and making the 48 00 00 0C 1B 00 BB offset (the files are EA Layer 3) and renaming it to .sps. But I have a question, could someone here make a batch/quickbms script to make the proccess of splitting the files less painful? I would be grateful really.
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: NBA Live 19 PS4 SBS/SBR

Post by BloodRaynare »

Can you give the screenshots of the content of the file you've modified with hex editor?
kli_k95
Posts: 5
Joined: Sat Jul 02, 2022 3:35 am

Re: NBA Live 19 PS4 SBS/SBR

Post by kli_k95 »

BloodRaynare wrote:Can you give the screenshots of the content of the file you've modified with hex editor?


Deleted the other data and maked this the first offset and renamed it to sps and vgmstream played the file just fine. The 48 00... repeats again in another offset and just goes on.
razzledazzle
Posts: 2
Joined: Sat Jun 18, 2022 8:30 am

Re: NBA Live 19 PS4 SBS/SBR

Post by razzledazzle »

kli_k95 wrote:
BloodRaynare wrote:Looks encrypted/compressed to me. Are you sure the files you didn't forgot to decrypt/decompress the game files first? TBH I never dealt with PS4 game files so I wouldn't know.
Good news! I managed to play the files through hex editing and making the 48 00 00 0C 1B 00 BB offset (the files are EA Layer 3) and renaming it to .sps. But I have a question, could someone here make a batch/quickbms script to make the proccess of splitting the files less painful? I would be grateful really.
Thanks for this info! Here are two scripts that I tested with NBA Live 18 (not 19, but I'm guessing they use the same format).

The first script splits your "48 00 00 0C 1B 00 BB" hex offset to do what you want, SBS to SPS:

sbs-to-sps.bms:

Code: Select all

#48 00 00 0C 1B 00 BB
findloc OFFSET binary "\x48\x00\x00\x0C\x1B\x00\xBB"
do
    goto OFFSET
    get DUMMY long
    findloc NEXT_OFFSET binary "\x48\x00\x00\x0C\x1B\x00\xBB" 0 ""
    if NEXT_OFFSET == ""
        get SIZE asize
    else
        math SIZE = NEXT_OFFSET
    endif
    math SIZE -= OFFSET
	string NAME p "%08x.sps" OFFSET
   	log NAME OFFSET SIZE
    math OFFSET = NEXT_OFFSET
while NEXT_OFFSET != ""
This will create a ton of files. I don't really recommend this one.

Here's a second script I wrote that splits by the "SBle" text offset and will rename the files from .sbs to .sbr:

sbs-to-sbr.bms:

Code: Select all

findloc OFFSET string "SBle"
do
    goto OFFSET
    get DUMMY long
    findloc NEXT_OFFSET string "SBle" 0 ""
    if NEXT_OFFSET == ""
        get SIZE asize
    else
        math SIZE = NEXT_OFFSET
    endif
    math SIZE -= OFFSET
	string NAME p "%08x.sbr" OFFSET
   	log NAME OFFSET SIZE
    math OFFSET = NEXT_OFFSET
while NEXT_OFFSET != ""
This is better as it groups all related music files together.

However, it appears that both scripts will only play the shorter clips and not longer ones. Maybe there is another offset to use for the bigger tracks.
Nick092004
Posts: 9
Joined: Tue Sep 27, 2022 5:12 am

Re: NBA Live 19 PS4 SBS/SBR

Post by Nick092004 »

Hello, can you write a bms command in the dat archive file in my post, if you can help, thank you very much in advance, the name of the post is reyno elemental, sounds.dat
Nick092004
Posts: 9
Joined: Tue Sep 27, 2022 5:12 am

Re: NBA Live 19 PS4 SBS/SBR

Post by Nick092004 »

by the way, where can i download vg stream program