Important information: this site is currently scheduled to go offline indefinitely by end of the year.

valkyria chronicles 4

Post questions about game models here, or help out others!
Post Reply
blacknight411
veteran
Posts: 120
Joined: Fri Jun 22, 2018 1:39 pm
Has thanked: 2 times
Been thanked: 4 times

valkyria chronicles 4

Post by blacknight411 »

I'm keep getting this error while trying to import vla112f.mlx in blender can you help me with this or send me the model. Here the file https://www.mediafire.com/folder/ffmzcjbkocwqq/Nik
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4286
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1147 times
Been thanked: 2242 times

Re: valkyria chronicles 4

Post by shakotay2 »

Is it only this one model that fails to import?

The data is "doable":
.
vla112F-head.jpg
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?"
blacknight411
veteran
Posts: 120
Joined: Fri Jun 22, 2018 1:39 pm
Has thanked: 2 times
Been thanked: 4 times

Re: valkyria chronicles 4

Post by blacknight411 »

Yes the only one when I try to import it. It say this. Traceback (most recent call last):
File "C:\Users\Admin\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\import_valkyria\__init__.py", line 914, in execute
self.import_file(self.filepath)
File "C:\Users\Admin\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\import_valkyria\__init__.py", line 903, in import_file
self.valk_scene.read_data()
File "C:\Users\Admin\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\import_valkyria\__init__.py", line 849, in read_data
self.source_file.read_data()
File "C:\Users\Admin\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\import_valkyria\__init__.py", line 164, in read_data
shape_key_set.read_data()
File "C:\Users\Admin\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\import_valkyria\__init__.py", line 430, in read_data
self.F.read_data()
File "C:\Users\Admin\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\import_valkyria\valkyria\files.py", line 255, in read_data
kfsh.read_data()
File "C:\Users\Admin\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\import_valkyria\valkyria\files.py", line 266, in read_data
kfss.read_data()
File "C:\Users\Admin\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\import_valkyria\valkyria\files.py", line 402, in read_data
self.read_vertex_formats()
File "C:\Users\Admin\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\import_valkyria\valkyria\files.py", line 353, in read_vertex_formats
assert vertfmt['bytes_per_vertex'] in [0x0, 0x8, 0xc, 0x14, 0x18, 0x1c]
AssertionError
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4286
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1147 times
Been thanked: 2242 times

Re: valkyria chronicles 4

Post by shakotay2 »

blacknight411 wrote: Thu Dec 08, 2022 10:58 pm Yes the only one when I try to import it. It say this. Traceback (most recent call last):
... File "C:\Users\Admin\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\import_valkyria\valkyria\files.py", line 353, in read_vertex_formats
assert vertfmt['bytes_per_vertex'] in [0x0, 0x8, 0xc, 0x14, 0x18, 0x1c]
AssertionError
That's funny, because the error message I get using the script of angavrilov is different:
"...\import_valkyria\valkyria\files.py", line 1610, in valk_factory
raise NotImplementedError("File type {} not recognized.".format(ftype))
NotImplementedError: File type POF1 not recognized."

Whom is the script from you're using?
.
AlexNG wrote: Thu Jan 28, 2021 3:29 pm
edit: well, the init reads: "author": "Chrrox, Gomtuu", "version": (0, 8 ),
and it's for PS3 files

edit 2: after I read this:
hatehatehate wrote: Mon Feb 08, 2021 2:37 am
I managed to import vla112F into latest blender (very strange...)
.
vla112F.jpg
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?"
blacknight411
veteran
Posts: 120
Joined: Fri Jun 22, 2018 1:39 pm
Has thanked: 2 times
Been thanked: 4 times

Re: valkyria chronicles 4

Post by blacknight411 »

This is what I use https://github.com/gomtuu/import_valkyria
can I have the one you use.
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4286
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1147 times
Been thanked: 2242 times

Re: valkyria chronicles 4

Post by shakotay2 »

Find the link in the post of AlexNG, which I posted above. Replace "2.8" in the name by "2_8" otherwise blender can't install correctly.
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?"
blacknight411
veteran
Posts: 120
Joined: Fri Jun 22, 2018 1:39 pm
Has thanked: 2 times
Been thanked: 4 times

Re: valkyria chronicles 4

Post by blacknight411 »

I Replace "2.8" in the name by "2_8 in thin push import but keep getting this bpy.context.area.ui_type = 'PREFERENCES'
bpy.data.window_managers["WinMan"].addon_search = "ml"
Traceback (most recent call last):
File "C:\Users\User\Pictures\PROGRAM\blender-2.83.0-windows64\2.83\scripts\modules\addon_utils.py", line 351, in enable
mod = __import__(module_name)
ModuleNotFoundError: No module named 'import_valkyria-blender-2'
what blender did you use.
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4286
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1147 times
Been thanked: 2242 times

Re: valkyria chronicles 4

Post by shakotay2 »

Latest should do - try any of the 3.x series.
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?"
blacknight411
veteran
Posts: 120
Joined: Fri Jun 22, 2018 1:39 pm
Has thanked: 2 times
Been thanked: 4 times

Re: valkyria chronicles 4

Post by blacknight411 »

try it keep getting this bpy.context.area.ui_type = 'PREFERENCES'
bpy.data.window_managers["WinMan"].addon_search = "ml"
Traceback (most recent call last):
File "C:\Users\User\Pictures\PROGRAM\blender-2.83.0-windows64\2.83\scripts\modules\addon_utils.py", line 351, in enable
mod = __import__(module_name)
ModuleNotFoundError: No module named 'import_valkyria-blender-2'
Do I need put this import_valkyria-blender-2_8 some where else. or it do not matter. oh I use blender-3.1.2.
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4286
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1147 times
Been thanked: 2242 times

Re: valkyria chronicles 4

Post by shakotay2 »

blacknight411 wrote: Fri Dec 09, 2022 5:07 pmDo I need put this import_valkyria-blender-2_8 some where else. or it do not matter. oh I use blender-3.1.2.
Usually blender 3.x installs scripts to users\<your_account>\AppData\Roaming\Blender Foundation\Blender\3.x\scripts\addons

btw: dunno how you installed the script. If via the zip then you need to unzip before, rename the folder and zip it again. Just in case.
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?"
blacknight411
veteran
Posts: 120
Joined: Fri Jun 22, 2018 1:39 pm
Has thanked: 2 times
Been thanked: 4 times

Re: valkyria chronicles 4

Post by blacknight411 »

Try it but the same problem is this error mod = __import__(module_name)
ModuleNotFoundError: No module named 'import_valkyria-blender-2'
Last edited by blacknight411 on Sat Dec 10, 2022 12:49 am, edited 2 times in total.
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4286
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1147 times
Been thanked: 2242 times

Re: valkyria chronicles 4

Post by shakotay2 »

I'm pretty sure this is because you still have that annoying point between 2 and 8, so "2.8" instead of "2_8".

So blender misses "import_valkyria-blender-2" because it stops reading the module path after the "2". That's some kind of bug but it's possible to circumvent it.

That's why I wrote in my previous post:
btw: dunno how you installed the script. If via the zip then you need to unzip before, rename the folder and zip it again. Just in case.
but you didn't seem to read it.
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?"
blacknight411
veteran
Posts: 120
Joined: Fri Jun 22, 2018 1:39 pm
Has thanked: 2 times
Been thanked: 4 times

Re: valkyria chronicles 4

Post by blacknight411 »

step by step import_valkyria-blender-2.8 unblock right
Post Reply