ROM Hack BAM model viewer?

RussiaSushi

Member
OP
Newcomer
Joined
Jun 18, 2011
Messages
21
Trophies
1
XP
2,285
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
151
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
2,285
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
2,285
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,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: aeiou