XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Mon Aug 20, 2018 11:52 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 87 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: Re: Valkyria Chronicles (PS3)
PostPosted: Sun May 12, 2013 4:33 am 
Offline
n00b

Joined: Sun May 15, 2011 7:21 pm
Posts: 13
Has thanked: 1 time
Have thanks: 25 times
I think I might have solved the problem I described in my last post. You can now articulate fingertips, etc. The bones are a little bit weird, though. It might be a tradeoff rather than a complete fix. I'll let you decide. In addition to the vertex group fix, I improved support for pieces of equipment that are positioned relative to bones. Many models should look better now.

I also completely refactored the importer to make it easier to maintain, changed the name from hmdl_import to import_valkyria, and added support for the shape keys that are stored in the model files for facial expressions. Here's a combination of two (edit: actually three) shape keys that make Alicia look surprised:

Image

To install the new version, first get rid of hmdl_import if you were using it, then make Blender install this ZIP file. See the README file inside the ZIP for more info.

By the way, Blender 2.67 is out now, and it includes a fix for the texture bug that was present in 2.66 and 2.66a.

Have fun!


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Last edited by gomtuu on Sat May 18, 2013 3:07 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Valkyria Chronicles (PS3)
PostPosted: Sun May 12, 2013 8:02 am 
Offline
beginner

Joined: Sun May 23, 2010 7:54 am
Posts: 23
Has thanked: 15 times
Have thanks: 2 times
Wow, I didn't know how I'd be doing proper facial expressions back then.
This is such a nice addition. Can't wait to try this out! :D

EDIT: I just tried it out. Pretty huge progress I must say. Loving the shape keys!
Even the models that didn't import completely when you added bones support, now does.


Top
 Profile  
 
 Post subject: Re: Valkyria Chronicles (PS3)
PostPosted: Tue May 21, 2013 7:35 pm 
Offline
beginner

Joined: Wed Apr 13, 2011 7:30 pm
Posts: 24
Has thanked: 7 times
Have thanks: 0 time
Ohoh ! Just passed by on a free time, wasn't thinking you were always on this !

I will try this out ! Thank you very much Gomtuu !

EDIT : Does this importer work on 3DS Max ?


Top
 Profile  
 
 Post subject: Re: Valkyria Chronicles (PS3)
PostPosted: Tue May 21, 2013 11:01 pm 
Offline
n00b

Joined: Sun May 15, 2011 7:21 pm
Posts: 13
Has thanked: 1 time
Have thanks: 25 times
Hi gta1211,

No, import_valkyria will only work in Blender. Blender is free and cross-platform, though, and it can export models as .3DS files. But I can't say how well that works, because I don't have 3DS Max.


Top
 Profile  
 
 Post subject: Re: Valkyria Chronicles (PS3)
PostPosted: Tue May 21, 2013 11:17 pm 
Offline
beginner

Joined: Wed Apr 13, 2011 7:30 pm
Posts: 24
Has thanked: 7 times
Have thanks: 0 time
Okay thanks, I don't know anything about Blender but I will try to figure it out and get it on Max ;)


Top
 Profile  
 
 Post subject: Re: Valkyria Chronicles (PS3)
PostPosted: Wed May 22, 2013 6:45 am 
Offline
beginner

Joined: Sun May 23, 2010 7:54 am
Posts: 23
Has thanked: 15 times
Have thanks: 2 times
You can always just export them in FBX format.
That's what I do whenever I need to transfer between 3D packages.

Since I'm also not that good with Blender, I did this for the VC models too.
The shape keys are also supported and will be exported as morphers in 3ds Max.


Top
 Profile  
 
 Post subject: Re: Valkyria Chronicles (PS3)
PostPosted: Sun May 26, 2013 12:23 am 
Offline
n00b

Joined: Sun May 15, 2011 7:21 pm
Posts: 13
Has thanked: 1 time
Have thanks: 25 times
Hello,

Here's import_valkyria 0.6. The main changes in this version are:

  • Added support for most MXE files.
  • Added support for most ABR files.
  • Added support for double textures, but partially lost support for automatic normal maps.

MXE files are lists of other files with some parameters. Most of them, such as EVMAP*, EV_OBJ*, TESTMAP*, and VMAP*, describe a scene by listing model files and specifying where to put them. VMAP* files are the maps used in battles, with VMAP_GROUND* being the basic terrain and buildings, and VMAP_SET* being things like sandbags and other props. VMAP_SET* files also appear to specify unit placement points, but import_valkyria doesn't support those yet. Here's a combination of VMAP_GROUND_003_00.MXE and VMAP_SET_003_00.MXE:

Image

Note: VMAP_GROUND* files are pretty complex. They take a long time to open.

ABR files mostly seem to be meshes used for animations and effects. No support for the animations yet.

After adding support for these additional file types, I noticed I'd been making some incorrect assumptions about the basic model files. In particular, some meshes have two textures. I assumed that the second one was always a normal map, but that's not the case. Double textures are used extensively in the MXE models, and they're also used for the characters' eye glints.

Image

Unfortunately, I haven't figured out a 100% reliable way of detecting the normal maps yet, so you'll see weird-looking blue textures on some models. You have to make those textures normal maps for them to look right.

Also, some of the tree placeholders are rotated incorrectly, and some objects aren't positioned correctly on some maps. That might be because I still don't have armatures working the way they should.

Anyway, enjoy!


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: Valkyria Chronicles (PS3)
PostPosted: Sun May 26, 2013 2:47 am 
Offline
beginner

Joined: Wed Apr 13, 2011 7:30 pm
Posts: 24
Has thanked: 7 times
Have thanks: 0 time
Wonderful !

Amazing work, thanks again !


Top
 Profile  
 
 Post subject: Re: Valkyria Chronicles (PS3)
PostPosted: Mon May 27, 2013 10:26 am 
Offline
beginner

Joined: Sun May 23, 2010 7:54 am
Posts: 23
Has thanked: 15 times
Have thanks: 2 times
That's really nice! I had to add those eye glints manually by taking them from the alpha map.
Looks like I'll be redoing my renders. Thank you! :keke:


Top
 Profile  
 
 Post subject: Re: Valkyria Chronicles (PS3)
PostPosted: Sun Oct 06, 2013 12:42 am 
Offline
advanced

Joined: Sat Oct 05, 2013 11:45 pm
Posts: 47
Has thanked: 5 times
Have thanks: 0 time
Hey every one, sorry to post such an old reply to this thread, but I am try to use the quick BMS script but all it's extracting is empty files...I have no Idea what I am doing wrong.


Top
 Profile  
 
 Post subject: Re: Valkyria Chronicles (PS3)
PostPosted: Sat Jul 12, 2014 4:59 am 
Offline
veteran

Joined: Wed May 09, 2012 1:13 pm
Posts: 93
Has thanked: 11 times
Have thanks: 3 times
chrrox wrote:
here is the quickbms script to extract files with names.


It doesn't support Japanese version.


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: Valkyria Chronicles (PS3)
PostPosted: Wed Nov 12, 2014 1:00 am 
Offline
n00b

Joined: Sun May 15, 2011 7:21 pm
Posts: 13
Has thanked: 1 time
Have thanks: 25 times
Good news, everyone! The data files for the recently-released PC version of Valkyria Chronicles are all unencrypted and extracted. All you have to do now is buy the game on Steam, and you can open the models in Blender with import_valkyria.

The PC version's "data" folder contains the same files as the PS3 version's DATA.CVM file, with a few minor exceptions:
  • The PC version's files are organized into subfolders.
  • The 26 files in the PC version's texture_replace folder don't exist in DATA.CVM.
  • 10 of the files in the resource\mtpa folder differ from their PS3 counterparts. I haven't investigated the differences yet, but here's the list of files that differ:
    • mtpa_adv_00.mtp
    • mtpa_adv_11.mtp
    • mtpa_adv_13.mtp
    • mtpa_adv_18.mtp
    • mtpa_book.mtp
    • mtpa_slg.mtp
    • mtpa_sys.mtp
    • mtpa_sys_battle.mtp
    • mtpa_sys_town.mtp
    • mtpa_sys_town2.mtp

I opened resource\mx\valcA01aB_h.mlx from the PC version as a test, and it worked! (I used Blender 2.69.0.) Some of the more complex models might not open, though, because they might depend on files that are in a different folder now.

By the way, is it possible to get the name of this topic changed to "Valkyria Chronicles (PS3, PC)"?


Top
 Profile  
 
 Post subject: Re: Valkyria Chronicles (PS3)
PostPosted: Wed Nov 12, 2014 5:27 am 
Offline
ultra-n00b

Joined: Wed Nov 12, 2014 5:14 am
Posts: 2
Has thanked: 0 time
Have thanks: 0 time
gomtuu wrote:
Good news, everyone! The data files for the recently-released PC version of Valkyria Chronicles are all unencrypted and extracted. All you have to do now is buy the game on Steam, and you can open the models in Blender with import_valkyria.

The PC version's "data" folder contains the same files as the PS3 version's DATA.CVM file, with a few minor exceptions:
  • The PC version's files are organized into subfolders.
  • The 26 files in the PC version's texture_replace folder don't exist in DATA.CVM.
  • 10 of the files in the resource\mtpa folder differ from their PS3 counterparts. I haven't investigated the differences yet, but here's the list of files that differ:
    • mtpa_adv_00.mtp
    • mtpa_adv_11.mtp
    • mtpa_adv_13.mtp
    • mtpa_adv_18.mtp
    • mtpa_book.mtp
    • mtpa_slg.mtp
    • mtpa_sys.mtp
    • mtpa_sys_battle.mtp
    • mtpa_sys_town.mtp
    • mtpa_sys_town2.mtp

I opened resource\mx\valcA01aB_h.mlx from the PC version as a test, and it worked! (I used Blender 2.69.0.) Some of the more complex models might not open, though, because they might depend on files that are in a different folder now.

By the way, is it possible to get the name of this topic changed to "Valkyria Chronicles (PS3, PC)"?



I've tried using the script to import with blender 2.72, and received some kind of "file not found" error. Is there a specific version of blender that this works best for?

EDIT: Sorry, didn't test it enough. Works for certain files.


Top
 Profile  
 
 Post subject: Re: Valkyria Chronicles (PS3, PC)
PostPosted: Wed Nov 12, 2014 7:38 am 
Offline
beginner

Joined: Sun May 23, 2010 7:54 am
Posts: 23
Has thanked: 15 times
Have thanks: 2 times
Good news indeed. Glad to know that you've been looking through the files as well.
Yes! Buy it on Steam people! Who knows, we might even get the sequels ported, too.

Crossing my fingers for some importer progress soon (No rush, enjoy the game first). :D


Top
 Profile  
 
 Post subject: Re: Valkyria Chronicles (PS3, PC)
PostPosted: Fri Nov 14, 2014 6:07 pm 
Offline
ultra-n00b

Joined: Wed Nov 12, 2014 5:14 am
Posts: 2
Has thanked: 0 time
Have thanks: 0 time
Yeah, here's hoping for a translation/port of the third game. (also, is a remaster asking too much?)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 87 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group