Page 1 of 1

el matador

Posted: Tue Apr 19, 2016 12:14 pm
by Tosyk
Recently I got into el matador files and wanted to play with models. Can anyone check the files? Here's some samples:
http://www.mediafire.com/download/1ldmt ... /Agents.7z
also here's animation samples:
http://www.mediafire.com/download/d8c1h ... MATIONS.7z

Re: el matador

Posted: Tue Apr 19, 2016 1:00 pm
by shakotay2
weird format, the vertices look like x 02 y 02 z 02, FVF size is 55 for civil_woman.mdl_bin;
in the upper left corner it looks like the shape of the head:
civil_woman-mdl_bin.jpg

Re: el matador

Posted: Tue Apr 19, 2016 2:11 pm
by Tosyk
shakotay2 wrote:weird format, the vertices look like x 02 y 02 z 02, FVF size is 55 for civil_woman.mdl_bin;
in the upper left corner it looks like the shape of the head:
civil_woman-mdl_bin.jpg
thanks for your attention! is there any chance to compile this info into noesis script or something? ripper can't rip this game in t-pose unfortunately.

Re: el matador

Posted: Thu Apr 21, 2016 7:15 pm
by shakotay2
I don't see a reason why not. For python script u just need to skip one byte each after reading the x, y, z components of a vertex as floats. The problem is to find the suiting face indices.

well, when I spoke about python, I obviously meant blender python, because Noesis uses rapi.rpgBindPositionBufferOfs()
for example which needs a continuous vertex buffer and I don't have a clue how to provide it by easy means when there's a byte (02) inserted after each float.

But you could modify the maxscript sample I uploaded for L.A. Noir, using readFloat for the vertices and
fSeek stream (1) #seek_cur
to skip the annoying 02 byte.

Re: el matador

Posted: Mon Apr 25, 2016 11:56 am
by Szkaradek123
Hi
Here is blend file for import models and animations.
It requires to install Blender version 249b (32 bit) and Python 2.6.6.(32 bit).
Doubleclick file "Blender249.blend" and in Text Window press alt+p to run script.
Select file with *.mdl_bin to import model and for animation select file with *.anim_bin.

Re: el matador

Posted: Fri Apr 29, 2016 10:07 pm
by Tosyk
Szkaradek123, appreciate for your work!
please explane what need to change in the script to flip bones, meshes and animation by X axis on load into blender? right now left arm and its bone are on the right side and same with everything else.
thank you

Re: el matador

Posted: Sat Apr 30, 2016 5:24 am
by Szkaradek123
Hi
In 3D View Window select object "armature" and press ctrl+m and next key x .
Or from menu this window press Object=>Mirror=>X Local

Re: el matador

Posted: Sat Apr 30, 2016 7:56 pm
by StreamThread
Szkaradek123, most part of models, expecially static from "missions' models folder, not loading with:

"TypeError: range<> integer and argument expected, got NoneType", or "got str".

Re: el matador

Posted: Sat Apr 30, 2016 8:21 pm
by Szkaradek123
Hi
If you send not working files i can look at.

Re: el matador

Posted: Sun May 01, 2016 12:25 pm
by StreamThread
Szkaradek123 wrote:Hi
If you send not working files i can look at.
http://www.mediafire.com/download/vaw0p ... /MODELS.7z
Not loading almost all static models.

Re: el matador

Posted: Mon Jan 11, 2021 11:57 am
by Tosyk
Szkaradek123, can you still look into static models?