I checked the file and it looks compressed. Any way to decompress these files for editing these models?
https://mega.nz/#!nw5TzIyK!l1Vv7r1Lzs3S ... t8uD_qgSXo
Black & Bruised (NGC) - .mdl mesh and .ani motion files
-
MarioSonicU
- advanced
- Posts: 74
- Joined: Thu Jun 25, 2015 11:26 pm
- Has thanked: 9 times
- Been thanked: 1 time
- Bigchillghost
- double-veteran

- Posts: 797
- Joined: Tue Jul 05, 2016 9:37 am
- Has thanked: 27 times
- Been thanked: 788 times
Re: Black & Bruised (NGC) - .mdl mesh and .ani motion files
The used algorithm seems to be LZO.
May you find peace in this puzzle-solving game.
when you get helped.
- An Imitable Workflow for Reverse Engineering a Game Model
- Advanced Mesh Reaper
- Reverse Model Wireframe
when you get helped.- Bigchillghost
- double-veteran

- Posts: 797
- Joined: Tue Jul 05, 2016 9:37 am
- Has thanked: 27 times
- Been thanked: 788 times
Re: Black & Bruised (NGC) - .mdl mesh and .ani motion files
Got it. It's lzo1x.
Use this BMS script to decompress the files.
Use this BMS script to decompress the files.
You do not have the required permissions to view the files attached to this post.
May you find peace in this puzzle-solving game.
when you get helped.
- An Imitable Workflow for Reverse Engineering a Game Model
- Advanced Mesh Reaper
- Reverse Model Wireframe
when you get helped.-
MarioSonicU
- advanced
- Posts: 74
- Joined: Thu Jun 25, 2015 11:26 pm
- Has thanked: 9 times
- Been thanked: 1 time
Re: Black & Bruised (NGC) - .mdl mesh and .ani motion files
Thanks, but now that they are uncompressed, what programs should i use to open them and convert them to useable formats?Bigchillghost wrote:Got it. It's lzo1x.
Use this BMS script to decompress the files.
https://mega.nz/#!6hRyVaTC!r0-Icffj3dS3 ... 3XYVfp9iNQ
- shakotay2
- MEGAVETERAN

- Posts: 3461
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 955 times
- Been thanked: 1876 times
Re: Black & Bruised (NGC) - .mdl mesh and .ani motion files
Who knows?MarioSonicU wrote:Thanks, but now that they are uncompressed, what programs should i use to open them and convert them to useable formats?
My idea is to use hex2obj for getting point clouds in a first step but you need to understand the idea and have patience:
You do not have the required permissions to view the files attached to this post.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."
-
Szkaradek123
- mega-veteran

- Posts: 293
- Joined: Wed May 05, 2010 8:21 pm
- Location: Poland Głogów
- Has thanked: 21 times
- Been thanked: 619 times
Re: Black & Bruised (NGC) - .mdl mesh and .ani motion files
I have luck to get faces , but not for uv and rest.
http://www.mediafire.com/view/igaja2rla ... norama.jpg
Here is a model of Holly.
I you want to import models use installed Blender version 2.4.9b
http://download.blender.org/release/Ble ... indows.exe
http://www.mediafire.com/view/igaja2rla ... norama.jpg
Code: Select all
import newGameLib
from newGameLib import *
import Blender
def indicesToFaces(indicesList):
StartDirection = -1
id=0
f1 = indicesList[id]
id+=1
f2 = indicesList[id]
FaceDirection = StartDirection
faceList=[]
while(True):
id+=1
f3 = indicesList[id]
FaceDirection *= -1
if (f1!=f2) and (f2!=f3) and (f3!=f1):
if FaceDirection > 0:faceList.append([(f1),(f2),(f3)])
else:faceList.append([(f1),(f3),(f2)])
f1 = f2
f2 = f3
if id==len(indicesList)-1:break
return faceList
def mdlParser(filename,g):
g.endian='>'
while(True):
A=g.i(2)
if A[1]==0:break
t=g.tell()
g.word(16)
if A[0]==2:#mesh section, 1-image section
B=g.i(5)
g.word(16)
g.word(16)
g.word(16)
mesh=Mesh()
off=g.tell()
g.seek(t+B[1])
for m in safe(B[0]):
mesh.vertPosList.append(g.short(3))
mesh.vertNormList.append(g.short(3))
mesh.vertUVList.append([])
g.seek(off)
for m in safe(B[2]):
C=g.i(19)
tm=g.tell()
g.seek(t+C[16])
while(True):
flag=g.B(1)[0]
if flag==152:
count=g.H(1)[0]
for n in safe(count):
index1,index2=g.H(2)
u,v=g.B(1)[0],g.B(1)[0]
mesh.vertUVList[index1]=[u,v]
if g.tell()==t+C[15]+C[16]:break
g.seek(t+C[18])
while(True):
flag=g.B(1)[0]
if flag==152:
list=g.H(g.H(1)[0])
faces=indicesToFaces(list)
mesh.faceList.extend(faces)
if g.tell()==t+C[18]+C[17]:break
g.seek(tm)
mesh.draw()
g.seek(t+A[1])
g.debug=True
g.tell()
def Parser(filename):
sys=Sys(filename)
if sys.ext=='ucp':sys.parseFile(mdlParser,'rb',log=0)
Blender.Window.FileSelector(Parser,'import','*.ucp files')Here is a model of Holly.
I you want to import models use installed Blender version 2.4.9b
http://download.blender.org/release/Ble ... indows.exe
You do not have the required permissions to view the files attached to this post.
