The Forum is up for sale: XeNTaX Forum looking for new owner
Monster Hunters (PSP)
-
Darkhowlings
- mega-veteran

- Posts: 184
- Joined: Mon Sep 01, 2014 8:33 am
- Has thanked: 66 times
- Been thanked: 7 times
Monster Hunters (PSP)
I've read around and for what I found they're some tools for extract models from those games (1,2,Unite,3rd). I read often they're tools for extract stuff from the Data.BIN of the game, even found tools for extract them, but no matter what I do I cannot make them work.
I've found tools here:
https://github.com/codestation/mhtools
https://github.com/svanheulen/mhff
I've found one that are .Py tools, but I don't know how made work those .Py, neither with CMD, .Bat or even double click it
If someone know a way to actually extract model of the PSP version, I would appreciate that it guide me on the good way.
I'm more interesting on extract one model of the Monster Hunter Freedom Unite, one that its a DLC, But that the game has it on his data (I've use cheat in the game and the model comes as "Dummy" Named).
Sorry if my own English its broken.
I've found tools here:
https://github.com/codestation/mhtools
https://github.com/svanheulen/mhff
I've found one that are .Py tools, but I don't know how made work those .Py, neither with CMD, .Bat or even double click it
If someone know a way to actually extract model of the PSP version, I would appreciate that it guide me on the good way.
I'm more interesting on extract one model of the Monster Hunter Freedom Unite, one that its a DLC, But that the game has it on his data (I've use cheat in the game and the model comes as "Dummy" Named).
Sorry if my own English its broken.
-
herbert3000
- veteran
- Posts: 145
- Joined: Wed Jun 02, 2010 4:53 am
- Has thanked: 20 times
- Been thanked: 149 times
- Contact:
Re: Monster Hunters (PSP)
From the mhff ReadMe: All of these scripts require Python 3.x
You'll need a Java Development Toolkit (JDK) to compile the source code of the mhtools.
Or try this one: mhtools.jar (please reply if it works - since I don't own the game, I can't test it)
You'll need a Java Development Toolkit (JDK) to compile the source code of the mhtools.
Or try this one: mhtools.jar (please reply if it works - since I don't own the game, I can't test it)
-
Darkhowlings
- mega-veteran

- Posts: 184
- Joined: Mon Sep 01, 2014 8:33 am
- Has thanked: 66 times
- Been thanked: 7 times
Re: Monster Hunters (PSP)
I gonna try with that one, thanks. And I wasn't aware one need another program for make .jar, no matter how I search around on Goggle, but it never say how.herbert3000 wrote:From the mhff ReadMe: All of these scripts require Python 3.x
You'll need a Java Development Toolkit (JDK) to compile the source code of the mhtools.
Or try this one: mhtools.jar (please reply if it works - since I don't own the game, I can't test it)
I cannot test it asap, for don't have the enough time, but if work or not, I gonna let you know.
I do know it need the Python 3.x, but I did install the 3.1 or sort like that, but it just open it and close it, neither on CMD way or doing a bat.
But, I gonna try to search more.
For now, thanks buddy
- shakotay2
- MEGAVETERAN

- Posts: 4231
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1139 times
- Been thanked: 2222 times
Re: Monster Hunters (PSP)
started the pmo.py in blender 2.69 -> CTD, strange.Darkhowlings wrote:I do know it need the Python 3.x, but I did install the 3.1 or sort like that, but it just open it and close it, neither on CMD way or doing a bat.
But I got it working by this hack:
Code: Select all
if __name__ == '__main__':
parser = argparse.ArgumentParser(description='Converts a Monster Hunter PMO file to Wavefront OBJ format')
parser.add_argument('pmofile', help='PMO input file')
parser.add_argument('mtlfile', help='MTL input file')
parser.add_argument('outputfile', help='OBJ output file')
#args = parser.parse_args()
#convert_pmo(args.pmofile, args.mtlfile, args.outputfile)
convert_pmo("D:\\000_data.pmo", "test.mtl", "D:\\test.obj")You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
-
Darkhowlings
- mega-veteran

- Posts: 184
- Joined: Mon Sep 01, 2014 8:33 am
- Has thanked: 66 times
- Been thanked: 7 times
Re: Monster Hunters (PSP)
Sorry for don’t respond early, but here goes what I found out:
I gonna try to get the last Python and try again, because I was trying with the 2,7, because every time I try with the 3,0.1 I’ve it keep showing the sentence
And to really know how you made it work on Blender! But maybe it’s because I never get along fine with Blender, let’s just say he hates me heh
*Just for add something odd around about the formats:
The game models are named the same with the ones of the Kingdom Hearts Birth by Sleep (.PMO) yet, they’re not the same ones or Noesis would open it. But once again, its not the first time two model formats with same name are not exactly the same
When it fully work and all, I gonna try to resume all, so they gonna be a way for extract model from those game (and even music/effect).
Actually it works! The Java only ran as command, it was able to extract all the data from the Data.BIN, from the .PAK models to even the music/effect that were on .WAVherbert3000 wrote:From the mhff ReadMe: All of these scripts require Python 3.x
You'll need a Java Development Toolkit (JDK) to compile the source code of the mhtools.
Or try this one: mhtools.jar (please reply if it works - since I don't own the game, I can't test it)
After some try and edit, it actually works, but… I don’t know if something it’s going on my PC, or it’s the Python who’s giving problem, but I was only able to extract a .OBJ, but without UV and neither form, I mean it was a “Cube” in simple words.shakotay2 wrote:started the pmo.py in blender 2.69 -> CTD, strange.Darkhowlings wrote:I do know it need the Python 3.x, but I did install the 3.1 or sort like that, but it just open it and close it, neither on CMD way or doing a bat.
But I got it working by this hack:Code: Select all
if __name__ == '__main__': parser = argparse.ArgumentParser(description='Converts a Monster Hunter PMO file to Wavefront OBJ format') parser.add_argument('pmofile', help='PMO input file') parser.add_argument('mtlfile', help='MTL input file') parser.add_argument('outputfile', help='OBJ output file') #args = parser.parse_args() #convert_pmo(args.pmofile, args.mtlfile, args.outputfile) convert_pmo("D:\\000_data.pmo", "test.mtl", "D:\\test.obj")
I gonna try to get the last Python and try again, because I was trying with the 2,7, because every time I try with the 3,0.1 I’ve it keep showing the sentence
While the 2,7 didn’t give a problem, but once again, maybe its Python.File "C:\Python30\pmo.py", line 238
with open(pmo_file, 'rb') as pmo, open(obj_file, 'w') as obj:
^
SyntaxError: invalid syntax
And to really know how you made it work on Blender! But maybe it’s because I never get along fine with Blender, let’s just say he hates me heh
*Just for add something odd around about the formats:
The game models are named the same with the ones of the Kingdom Hearts Birth by Sleep (.PMO) yet, they’re not the same ones or Noesis would open it. But once again, its not the first time two model formats with same name are not exactly the same
When it fully work and all, I gonna try to resume all, so they gonna be a way for extract model from those game (and even music/effect).
- CriticalError
- double-veteran

- Posts: 678
- Joined: Sun Jul 05, 2009 2:03 am
- Has thanked: 104 times
- Been thanked: 41 times
Re: Monster Hunters (PSP)
sorry for dump old topic, but somebody got some information? when I try decrypt file I got it :S


-
Portugalotaku
- mega-veteran

- Posts: 164
- Joined: Fri Oct 02, 2015 3:35 pm
- Has thanked: 9 times
- Been thanked: 4 times
Re: Monster Hunters (PSP)
Sorry for bumping such an old post, but I have tried your solution and it did not work.shakotay2 wrote: ↑Thu Sep 04, 2014 1:51 pmstarted the pmo.py in blender 2.69 -> CTD, strange.Darkhowlings wrote:I do know it need the Python 3.x, but I did install the 3.1 or sort like that, but it just open it and close it, neither on CMD way or doing a bat.
But I got it working by this hack:000_data_pmo_.JPGCode: Select all
if __name__ == '__main__': parser = argparse.ArgumentParser(description='Converts a Monster Hunter PMO file to Wavefront OBJ format') parser.add_argument('pmofile', help='PMO input file') parser.add_argument('mtlfile', help='MTL input file') parser.add_argument('outputfile', help='OBJ output file') #args = parser.parse_args() #convert_pmo(args.pmofile, args.mtlfile, args.outputfile) convert_pmo("D:\\000_data.pmo", "test.mtl", "D:\\test.obj")
It said: "Python script fail. Check console for now..."
I tried checking the console but there wasn't anything there.
- shakotay2
- MEGAVETERAN

- Posts: 4231
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1139 times
- Been thanked: 2222 times
Re: Monster Hunters (PSP)
Tried it again with blender 2.75 and works for me (menu Windows\\Toggle System Console):
.You have to adjust the path to 000_data.pmo in pmo.py.
.
.
Code: Select all
Read new prefs: C:\Users\unk\AppData\Roaming\Blender Foundation\Blender\2.75
\config\userpref.blend
AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead
found bundled python: D:\blender-2.75a\2.75\python
b'pmo\x00'
b'102\x00'
mtllib
pmo to obj
ready
-------------------------------------
importing obj 'D:\\test.obj'
parsing obj file...
0.0360 sec
loading materials and images...
Material not found MTL: b'D:\\test.mtl'
0.0010 sec
building geometry...
verts:577 faces:750 materials: 1 smoothgroups:0 ...
finished importing: b'D:\\test.obj' in 0.0590 sec.
.
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
-
Portugalotaku
- mega-veteran

- Posts: 164
- Joined: Fri Oct 02, 2015 3:35 pm
- Has thanked: 9 times
- Been thanked: 4 times
-
Portugalotaku
- mega-veteran

- Posts: 164
- Joined: Fri Oct 02, 2015 3:35 pm
- Has thanked: 9 times
- Been thanked: 4 times
Re: Monster Hunters (PSP)
Do you know what could be causing it? I cannot get it to run.shakotay2 wrote: ↑Thu Jul 11, 2019 9:50 pm Tried it again with blender 2.75 and works for me (menu Windows\\Toggle System Console):
.You have to adjust the path to 000_data.pmo in pmo.py.Code: Select all
Read new prefs: C:\Users\unk\AppData\Roaming\Blender Foundation\Blender\2.75 \config\userpref.blend AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead found bundled python: D:\blender-2.75a\2.75\python b'pmo\x00' b'102\x00' mtllib pmo to obj ready ------------------------------------- importing obj 'D:\\test.obj' parsing obj file... 0.0360 sec loading materials and images... Material not found MTL: b'D:\\test.mtl' 0.0010 sec building geometry... verts:577 faces:750 materials: 1 smoothgroups:0 ... finished importing: b'D:\\test.obj' in 0.0590 sec.
.
000_data.pmo.png
- shakotay2
- MEGAVETERAN

- Posts: 4231
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1139 times
- Been thanked: 2222 times
Re: Monster Hunters (PSP)
Dozens of reasons - depends on your OS, your skills, whatever.Portugalotaku wrote: ↑Sun Jul 21, 2019 11:36 pmDo you know what could be causing it? I cannot get it to run.shakotay2 wrote: ↑Thu Jul 11, 2019 9:50 pm Tried it again with blender 2.75 and works for me (menu Windows\\Toggle System Console):
.You have to adjust the path to 000_data.pmo in pmo.py.Code: Select all
Read new prefs: C:\Users\unk\AppData\Roaming\Blender Foundation\Blender\2.75 \config\userpref.blend AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead found bundled python: D:\blender-2.75a\2.75\python b'pmo\x00' b'102\x00' mtllib pmo to obj ready ------------------------------------- importing obj 'D:\\test.obj' parsing obj file... 0.0360 sec loading materials and images... Material not found MTL: b'D:\\test.mtl' 0.0010 sec building geometry... verts:577 faces:750 materials: 1 smoothgroups:0 ... finished importing: b'D:\\test.obj' in 0.0590 sec.
.
000_data.pmo.png
If the message you're getting is still:
"Python script fail. Check console for now..."
then there should be more info in the blender console. (I'd be surprised if not.)
Check your python installation. Usually the patched script works with the bundled python which comes with blender 2.75 and higher.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
-
Portugalotaku
- mega-veteran

- Posts: 164
- Joined: Fri Oct 02, 2015 3:35 pm
- Has thanked: 9 times
- Been thanked: 4 times
Re: Monster Hunters (PSP)
I tried checking the console before, nothing appears. The only thing I know for certain is that the problem lies in this line:
with open(pmo_file, 'rb') as pmo, open(obj_file, 'w') as obj:
This is the error that python itself gives:
Traceback (most recent call last):
File "F:\MHFF\mhff-master\psp\pmo.py", line 272, in <module>
convert_pmo("F:\MHFF\00\0078\000_data.pmo", "000_data.mtl", "F:\MHFF\00\0078\000_data.obj")
File "F:\MHFF\mhff-master\psp\pmo.py", line 249, in convert_pmo
with open(pmo_file, 'rb') as pmo, open(obj_file, 'w') as obj:
TypeError: file() argument 1 must be encoded string without NULL bytes, not str
>>>
Though I can try reinstalling blender 2.75 and see if that adds the correct python version.
- shakotay2
- MEGAVETERAN

- Posts: 4231
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1139 times
- Been thanked: 2222 times
Re: Monster Hunters (PSP)
The script has been updated since 2014 (surprise
) and I won't dig into this again because the problem with the pmo was solved by patching the old script from 2014.
So guess you're lost for now.
So guess you're lost for now.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
-
Portugalotaku
- mega-veteran

- Posts: 164
- Joined: Fri Oct 02, 2015 3:35 pm
- Has thanked: 9 times
- Been thanked: 4 times
-
cptforce123
- ultra-n00b
- Posts: 2
- Joined: Fri Mar 13, 2020 10:34 pm
