Misc Obtaining Data from an ISO with Predominantly .bin Files

vasculan

Member
OP
Newcomer
Joined
May 17, 2022
Messages
14
Trophies
0
Age
27
Location
Rock Quarry 1
XP
57
Country
United States
Right now, I am simply trying to extract audio and MIDI files from a LocoRoco2 ISO. I'm not looking to change the game or music just yet, I just want to access the files. While I was able to find some information, I am stuck.

Going through it on the computer reveals that, besides a folder in USRDIR of all the cutscenes, all that's inside of it is .bin files. I'm aware that a lot of the data should be in the EBOOT, so I checked that, the decrypted version obtained from PPSSPP, and the BOOT. Viewing these .bins in a hex editor shows directories where files should be stored, but I can't access the files I need.
 

rantex92

Well-Known Member
Member
Joined
Sep 28, 2021
Messages
491
Trophies
0
Age
30
XP
634
Country
Germany
Right now, I am simply trying to extract audio and MIDI files from a LocoRoco2 ISO. I'm not looking to change the game or music just yet, I just want to access the files. While I was able to find some information, I am stuck.

Going through it on the computer reveals that, besides a folder in USRDIR of all the cutscenes, all that's inside of it is .bin files. I'm aware that a lot of the data should be in the EBOOT, so I checked that, the decrypted version obtained from PPSSPP, and the BOOT. Viewing these .bins in a hex editor shows directories where files should be stored, but I can't access the files I need.
you will need to look into game extractors like Universal Extractor 2 RC4/dragon unpacker or magic unpacker but idk if they support psp games/bins since bin files arent always the same but sometimes you could get lucky with total commander and plugins

and yeah sadly there is no all in one program solution
 

vasculan

Member
OP
Newcomer
Joined
May 17, 2022
Messages
14
Trophies
0
Age
27
Location
Rock Quarry 1
XP
57
Country
United States
I did try using Universal Extractor after you suggested it. It did unpack the ISO, but like I said before the image file is full of bins. I assumed that I was supposed to try that on the individual .bin files as well? When I tried that, a few things happened:

  • For the decrypted PPSSPP version of the EBOOT, the program said that it couldn't be unpacked but that it likely came from an ELF file. The same happened when I tried this on the ISO's BOOT file.
  • For the Data .bin, the system mentioned that it recognized it as a game file, and listed a handful of titles. I'm grateful that they had a list, but none of them matched the one I'm working from. As a result, the program was unable to extract from it. This also happened when I tried it on the encrypted EBOOT.
I'll keep trying with different systems. I'm thinking of trying dragon unpacker next, but the game I'm working with isn't on the site's list of supported games, so I'm a little hesitant.
 
  • Like
Reactions: rantex92

vasculan

Member
OP
Newcomer
Joined
May 17, 2022
Messages
14
Trophies
0
Age
27
Location
Rock Quarry 1
XP
57
Country
United States
Dragon UnPACKer was next. It's true that on the website about 284 games were supported without having to use the Hyper Ripper, so I tried a vanilla run and a Hyper Ripper test. On a vanilla run, the system would not load the ISO, but examining the individual bins reveals that the system doesn't immediately recognize it (it supports CBINs).

The Hyper Ripper is another story. That has a few file formats it can sift through, so I tried it on the EBOOTS and BOOT and got nothing, but I tried it Data and it found one MOV. I forgot that how the files were stores might not match up to what the system is capable of finding. It didn't find any MIDI files and there were no WAV or MP3s it found that way either.
 
  • Like
Reactions: rantex92

sudeki300

Well-Known Member
Member
Joined
Nov 20, 2004
Messages
888
Trophies
0
XP
988
Country
United Kingdom
I used UMDGen before I came to ask on the forum. Examining it on that program gave just what I said: the cutscene files in one folder (as pmfs), and the rest as .bins in their respective folders. Is there an extra step I should take from there?
cant remember off the top of my head as it's been years since i used it, have you tried extracting the iso with winrar or renaming the .ISO to .ZIP and extracting in windows?
 

vasculan

Member
OP
Newcomer
Joined
May 17, 2022
Messages
14
Trophies
0
Age
27
Location
Rock Quarry 1
XP
57
Country
United States
cant remember off the top of my head as it's been years since i used it, have you tried extracting the iso with winrar or renaming the .ISO to .ZIP and extracting in windows?
Yes, I've done so, and It gave the same results. I should have done this before, but this is what I'm working with, for reference. (The screenshots use UMDGen because it was open at the time)
 

Attachments

  • Directory 1.PNG
    Directory 1.PNG
    109.7 KB · Views: 15
  • Directory 2.PNG
    Directory 2.PNG
    129.2 KB · Views: 16

sudeki300

Well-Known Member
Member
Joined
Nov 20, 2004
Messages
888
Trophies
0
XP
988
Country
United Kingdom
Yes, I've done so, and It gave the same results. I should have done this before, but this is what I'm working with, for reference. (The screenshots use UMDGen because it was open at the time)
i have no trouble finding the music file in BoF3, they will be atrac3 files,see below:

1652907036000.png
 

sudeki300

Well-Known Member
Member
Joined
Nov 20, 2004
Messages
888
Trophies
0
XP
988
Country
United Kingdom
Yes, I've done so, and It gave the same results. I should have done this before, but this is what I'm working with, for reference. (The screenshots use UMDGen because it was open at the time)
try using the layout tab to locate where the audio files are:

1652907853312.png
 

vasculan

Member
OP
Newcomer
Joined
May 17, 2022
Messages
14
Trophies
0
Age
27
Location
Rock Quarry 1
XP
57
Country
United States
Layout tab only shows one AT3 file, and that I think that's the menu music. No other AT3 files show up. The game itself has all its files and music working, so I just assume it's compressed into the EBOOT, but sifting through the ISO gives me just that.
 

Attachments

  • Directory 3.PNG
    Directory 3.PNG
    282.6 KB · Views: 15

rantex92

Well-Known Member
Member
Joined
Sep 28, 2021
Messages
491
Trophies
0
Age
30
XP
634
Country
Germany
Layout tab only shows one AT3 file, and that I think that's the menu music. No other AT3 files show up. The game itself has all its files and music working, so I just assume it's compressed into the EBOOT, but sifting through the ISO gives me just that.
so you still couldnt find any other music tracks? are there some .psarc/arc files sometimes those are use as archieve hence the name playstationarchieve (.psarc)
 

ChiefReginod

Well-Known Member
Member
Joined
Jun 11, 2016
Messages
558
Trophies
0
Location
California
XP
1,872
Country
United States
The BIN extension basically means nothing. It could be an executable, a packed file, compressed, text, audio, video, etc. On top of that, even if you know for a fact that it's packed, there are a million and one different container formats and they're usually designed for the needs of specific games (although some developers reuse the same formats for multiple games).

Most likely even if you find a way to extract the audio, it will be in some obscure format. People spend a lot of time and energy adding support for various proprietary audio formats to plugins like Game Emu Player and vgmstream. There's a good chance someone has already ripped the soundtrack for the game you mentioned. You're unlikely to find any MIDI files, however.
 
  • Like
Reactions: rantex92

vasculan

Member
OP
Newcomer
Joined
May 17, 2022
Messages
14
Trophies
0
Age
27
Location
Rock Quarry 1
XP
57
Country
United States
Thank you. Now I do see that looking through the .bin files willy nilly was a bad idea since I didn't even know what to look for. But in the future, if I did try to look through an ISO with a lot of .bins like this one, would it be better to use something like quickbms on it?
 

rantex92

Well-Known Member
Member
Joined
Sep 28, 2021
Messages
491
Trophies
0
Age
30
XP
634
Country
Germany
Thank you. Now I do see that looking through the .bin files willy nilly was a bad idea since I didn't even know what to look for. But in the future, if I did try to look through an ISO with a lot of .bins like this one, would it be better to use something like quickbms on it?
iirc you will need the correct skript for bms there should be one for psp on xentax/zenhax
 

ChiefReginod

Well-Known Member
Member
Joined
Jun 11, 2016
Messages
558
Trophies
0
Location
California
XP
1,872
Country
United States
Thank you. Now I do see that looking through the .bin files willy nilly was a bad idea since I didn't even know what to look for. But in the future, if I did try to look through an ISO with a lot of .bins like this one, would it be better to use something like quickbms on it?
As far as unpacking the ISO goes, it doesn't make a difference what tool you use. You'll get the same files from it.

QuickBMS is useful for unpacking various packed file formats. So, if any of the BIN files are actually container files, it could be useful. But as said, you would still need a script for that particular format since it varies per game.

One thing to try is to open the BIN files in a hex editor and check the first few bytes. Look up "file signatures", aka "magic words" or "magic bytes." Sometimes you can determine what the file actually is from this identifier.
 
  • Like
Reactions: rantex92

vasculan

Member
OP
Newcomer
Joined
May 17, 2022
Messages
14
Trophies
0
Age
27
Location
Rock Quarry 1
XP
57
Country
United States
As far as unpacking the ISO goes, it doesn't make a difference what tool you use. You'll get the same files from it.

QuickBMS is useful for unpacking various packed file formats. So, if any of the BIN files are actually container files, it could be useful. But as said, you would still need a script for that particular format since it varies per game.

One thing to try is to open the BIN files in a hex editor and check the first few bytes. Look up "file signatures", aka "magic words" or "magic bytes." Sometimes you can determine what the file actually is from this identifier.
I know from looking at the DATA.bin and the BOOT.bin that the former begins with GPRS, while the latter begins with ELF.
 

vasculan

Member
OP
Newcomer
Joined
May 17, 2022
Messages
14
Trophies
0
Age
27
Location
Rock Quarry 1
XP
57
Country
United States
I did find a pseudo solution to the specific problem I had: courtesy of this post by TheSandKid, it advised to look through the debugger of PPSSPP and create a dump file from it, or to use PSound and find and convert the music from there. I'd still like to be able to learn how to find the music files within the original ISO and its bin files, but this is a good start.
 

ChiefReginod

Well-Known Member
Member
Joined
Jun 11, 2016
Messages
558
Trophies
0
Location
California
XP
1,872
Country
United States
Even though you seem more interested in the technical nitty gritty of ripping music from PSP games, I just thought I'd mention that there IS a dump of this particular soundtrack out there if you look around.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Dark_Phoras @ Dark_Phoras:
    Maybe I haven't eaten proper spanish food yet, but I tried paella and tortilla and never again
    Gift
  • mthrnite @ mthrnite:
    and awesome, masters of the culinary arts, they can make good stuff outta next to nothing, it's amazing
    Gift
  • Dark_Phoras @ Dark_Phoras:
    Crema catalana is a very tasty dessert, I dare say
    Gift
  • mthrnite @ mthrnite:
    well i think southern desserts are very special, quite fond of banana puddin
    Gift
  • mthrnite @ mthrnite:
    and chocolate eclair pie, and anniversary cake, shit makes you fat in minutes tho
    Gift
  • Dark_Phoras @ Dark_Phoras:
    Banana pudding looks good, it reminds me of tiramisu and bolo de bolacha
    Gift
  • mthrnite @ mthrnite:
    tiramisu rocks
    Gift
  • KenniesNewName @ KenniesNewName:
    I'm out of ranch D:
    Gift
  • Gift
  • KenniesNewName @ KenniesNewName:
    Lol $300 for the win600 get fucked anbernic
    Gift
  • Veho @ Veho:
    That's not that bad.
    Gift
  • Veho @ Veho:
    Initial reviews of the prototype model say it's a decent gaming thingy.
    Gift
  • KenniesNewName @ KenniesNewName:
    Yeah but we all know what people will say
    Gift
  • KenniesNewName @ KenniesNewName:
    Spend the extra $100 for GabesDick
    Gift
  • Veho @ Veho:
    Extra $100 and then an extra $200 for shipping and then wait a year to get it? Nah.
    Gift
  • KenniesNewName @ KenniesNewName:
    It's a decent price for over seaers I guess 250 woulda been better
    Gift
  • Veho @ Veho:
    I don't know how much shipping costs these days, $200 seemed outragoues enough as it is.
    Gift
  • Veho @ Veho:
    But it's not unlikely that it's more nowadays.
    Gift
  • Veho @ Veho:
    Anyway, fuck all that, I'll wait for a cheap Qualcomm phone and then stick Windows 11 on it.
    Gift
  • KenniesNewName @ KenniesNewName:
    My s22+ should be here Wednesday 8 gen 1 looks like a beast
    Gift
  • KenniesNewName @ KenniesNewName:
    8+gen1 is already thing lol
    Gift
  • Skelletonike @ Skelletonike:
    I'm still happy with my BS3
    Gift
  • KenniesNewName @ KenniesNewName:
    Lol google still has my nexus 4 order way back from 2013
    Gift
  • Skelletonike @ Skelletonike:
    google also has all your kinky tastes recorded
    Gift
  • KenniesNewName @ KenniesNewName:
    That's too much data for google
    Gift
    KenniesNewName @ KenniesNewName: That's too much data for google