ROM Hack BAM model viewer?

RussiaSushi

Member
OP
Newcomer
Joined
Jun 18, 2011
Messages
21
Trophies
1
XP
1,948
Country
United States
Is there a viewer that can display BAM format models? I've found some in games like Persona Q and the Etrian Odyssey games, but have had no luck in finding a viewer. Ohana3DS Rebirth doesn't recognize them, by the way.
 
  • Like
Reactions: ArcPh1r3

Rayzark

giooig
Member
Joined
Nov 11, 2015
Messages
150
Trophies
0
Location
Roma
XP
140
Country
Italy
Is there a viewer that can display BAM format models? I've found some in games like Persona Q and the Etrian Odyssey games, but have had no luck in finding a viewer. Ohana3DS Rebirth doesn't recognize them, by the way.
try to convert them, you can find online converters.
 
D

Deleted User

Guest
*.BAM should be the Panda3D model format. I can go and dig around for an import script for Blender.
EDIT: Panda3D comes with an *.EXE called "bam2egg.exe", and once you've converted *.BAM to *.EGG you can convert that to something like *.FLT or *.X.
 
Last edited by ,

RussiaSushi

Member
OP
Newcomer
Joined
Jun 18, 2011
Messages
21
Trophies
1
XP
1,948
Country
United States
Unfortunately, Panda3D's bam2egg doesn't seem to be compatible with the 3DS's BAM models. It gives me an error like:
:loader(error): en001a.bam is not a valid BAM file.
Unable to read.

The only effect it seems to have on these files is creating a 0 byte .EGG file.
I tried this with several different BAM files from Persona Q and Etrian Odyssey IV, but none of what I tried was recognized. Not even the bam-info program could read them. (Gave the same error)
 
  • Like
Reactions: Deleted User
D

Deleted User

Guest
Unfortunately, Panda3D's bam2egg doesn't seem to be compatible with the 3DS's BAM models. It gives me an error like:
:loader(error): en001a.bam is not a valid BAM file.
Unable to read.

The only effect it seems to have on these files is creating a 0 byte .EGG file.
I tried this with several different BAM files from Persona Q and Etrian Odyssey IV, but none of what I tried was recognized. Not even the bam-info program could read them. (Gave the same error)
That's strange. I guess there might be a possibility that they're serialized or actually a different format entirely or something.
 

RussiaSushi

Member
OP
Newcomer
Joined
Jun 18, 2011
Messages
21
Trophies
1
XP
1,948
Country
United States
So after asking around on TCRF, a member informed me that the BAM files are actually containers for another 3DS model format: CGFX or BCH. These files are viewable in Ohana3DS Rebirth, but the BAM container itself is not. You have to extract the CGFX/BCH from the BAM file.
I managed to extract them by deleting everything before the CGFX string in the file using a hex editor, but there's probably an easier way to do this that I don't know of. My extraction method might not work for all of the BAM files, but it definitely works for a good number of them.
Maybe someone who's familiar with Every File Explorer could make a plugin for these files, if there isn't one already.
 
Last edited by RussiaSushi,
General chit-chat
Help Users
  • Sonic Angel Knight @ Sonic Angel Knight:
    Pork Provolone :P
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds yummy
  • K3N1 @ K3N1:
    Sweet found my Wii u PSU right after I ordered a new one :tpi:
  • JuanMena @ JuanMena:
    It was waiting for you to order another one.
    Seems like, your PSU was waiting for a partner.
  • JuanMena @ JuanMena:
    Keep them both
    separated or you'll have more PSUs each year.
  • K3N1 @ K3N1:
    Well one you insert one PSU into the other one you get power
  • JuanMena @ JuanMena:
    It literally turns it on.
  • K3N1 @ K3N1:
    Yeah power supplies are filthy perverts
  • K3N1 @ K3N1:
    @Psionic Roshambo has a new friend
    +1
  • JuanMena @ JuanMena:
    It's Kyle, the guy that went to school to be a Certified man Kisser.
  • Psionic Roshambo @ Psionic Roshambo:
    Cartmans hand has taco flavored kisses
  • A @ abraarukuk:
    hi guys
  • Iron_Masuku @ Iron_Masuku:
    Hello
  • Vetusomaru @ Vetusomaru:
    @SylverReZ find me ONE community that is free of drama and politics. even video games forums (like this one) have politics section. and for some reason gamers still take consoles/brands wars seriously. even as a kid i never took the console wars bait despite being a nintendo kid.
  • Vetusomaru @ Vetusomaru:
    one of the reasons i deleted all my social media accounts, reddit account (although i was rarely using it) etc was to get away from this shit.
  • SylverReZ @ SylverReZ:
    @Vetusomaru, Sadly, not all communities like to play nice. Forums are pretty much dying despite Discord amongst other social media being available.
  • Vetusomaru @ Vetusomaru:
    i only kept my twitter accounts and only because many of the artists i like share their art only/mostly at twitter.
  • Vetusomaru @ Vetusomaru:
    lots of discord groups (even the big ones) are also dead for some reason.
  • SylverReZ @ SylverReZ:
    Twitter is way too shittier.
  • Vetusomaru @ Vetusomaru:
    that's why i added some firefox addons to block shit like twitter trends.
  • SylverReZ @ SylverReZ:
    Discord, on the other hand, moderation tends to not be very nice in video game communities from what I had experienced.
  • Vetusomaru @ Vetusomaru:
    nah, discord is also a shithole. discord is good only if you have your own community with your own rules. or if you re lucky to find some groups that arent shitholes.
  • Vetusomaru @ Vetusomaru:
    as about forums, when i recently revisited some old forums i used to be regular and seeing how immature most members still are i was like "Yeap. Nothing of value has been lost.". Unfortunately it's the good, comfy forums that ended up dead or shut down, especially because of internet centralization.
    Vetusomaru @ Vetusomaru: as about forums, when i recently revisited some old forums i used to be regular and seeing how...