XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Mon Dec 10, 2018 9:11 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Chaos Rings 3 mvgl
PostPosted: Sun Mar 08, 2015 6:33 pm 
Offline
Moderator
User avatar

Joined: Sun May 18, 2008 3:01 pm
Posts: 2503
Has thanked: 57 times
Have thanks: 1248 times

Here is a script to extract these .mvgl archives.
ImageImage
Code:
#Chaos Rings 3
#quickbms script by chrrox
#http://www.chaosrings.com/3/
comtype doboz
IDSTRING "MDB1"
get COUNT1 short
get COUNT2 short
get FILES long
get BASE long
get ARCHIVE_SIZE long

for i = 0 < COUNT1
   get UNK01 short
   get UNK02 short
   get UNK03 short
   get UNK04 short
   putarray 0 i UNK01
   putarray 1 i UNK02
   putarray 2 i UNK03
   putarray 3 i UNK04
next i

for i = 0 < COUNT2
   getdstring EXT 4
   getdstring NAME 0x3C
   putarray 4 i NAME
   putarray 5 i EXT
next i

for i = 0 < FILES
   get OFFSET long
   math OFFSET += BASE
   get SIZE long
   get ZSIZE long
   putarray 6 i OFFSET
   putarray 7 i SIZE
   putarray 8 i ZSIZE
next i

for i = 0 < COUNT1
   getarray VAR1 1 i
   if VAR1 != 0xFFFF
      getarray NAME 4 i
      getarray EXT 5 i
      if EXT == "img "
          set EXT string "pvr"
      endif
      string NAME += "."
      string NAME += EXT
      getarray OFFSET 6 VAR1
      getarray SIZE   7 VAR1
      getarray ZSIZE  8 VAR1
      if ZSIZE == SIZE
         log NAME OFFSET ZSIZE
      else
         clog NAME OFFSET ZSIZE SIZE
      endif
   endif
next i


You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: Chaos Rings 3
PostPosted: Sun Mar 08, 2015 7:38 pm 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Sun Mar 20, 2011 7:35 pm
Posts: 221
Has thanked: 27 times
Have thanks: 52 times
I hope that's sweat...


Top
 Profile  
 
 Post subject: Re: Chaos Rings 3
PostPosted: Mon Mar 09, 2015 4:00 am 
Offline
mega-veteran
mega-veteran

Joined: Thu Apr 12, 2012 12:27 am
Posts: 216
Has thanked: 18 times
Have thanks: 0 time
DAMN!!! you are god !!! thank you soo muchXD


Top
 Profile  
 
 Post subject: Re: Chaos Rings 3 mvgl
PostPosted: Mon Mar 09, 2015 5:05 am 
Offline
double-veteran
double-veteran
User avatar

Joined: Fri Jul 08, 2011 12:06 pm
Posts: 927
Location: Torrance, CA
Has thanked: 9 times
Have thanks: 258 times
that's what i call false advertising LMAO!


Top
 Profile  
 
 Post subject: Re: Chaos Rings 3 mvgl
PostPosted: Wed Mar 11, 2015 12:17 pm 
Offline
mega-veteran
mega-veteran

Joined: Wed May 05, 2010 8:21 pm
Posts: 285
Location: Poland Głogów
Has thanked: 18 times
Have thanks: 560 times
Hi
Here is importer for rigged and textured characters (files like c101,c127....) from this game.
It requires Blender version 249b and Python 2.6.6.
How to use:
1.run Blender249.blend
2.in Blender Text Window press alt+p and select:
- geom file for textured meshes
- skel file - for skeleton
Make sure there is "images" folder in geom files folder.
The script use PVRTexToolCLI.exe for convert images.

Update 2015-03-12
http://www.mediafire.com/download/oc7uu ... -12%5D.zip


Last edited by Szkaradek123 on Thu Mar 12, 2015 7:02 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Chaos Rings 3 mvgl
PostPosted: Wed Mar 11, 2015 11:22 pm 
Offline
Moderator
User avatar

Joined: Sun May 18, 2008 3:01 pm
Posts: 2503
Has thanked: 57 times
Have thanks: 1248 times
instead of the if statement on uv's you could use
Code:
                    elif fvfList[c][0] == 5:
                        f.seek(mshInfo[17] + fvfList[c][5] + (b * mshInfo[2]), 0)
                        uArray.append( abs(struct.unpack("h",f.read(2))[0]) / 1024.0)
                        vArray.append( (struct.unpack("h",f.read(2))[0] / 1024.0) + 1 )


and i noticed.

Code:
                    elif fvfList[c][0] == 3:
                        f.seek(mshInfo[17] + fvfList[c][5] + (b * mshInfo[2]), 0)
                        normal = struct.unpack("3H",f.read(6))
                        normalArray.append(om.MFloatVector(normal[0] / 0xFFFF, normal[1] / 0xFFFF, normal[2]/ 0xFFFF))


Top
 Profile  
 
 Post subject: Re: Chaos Rings 3 mvgl
PostPosted: Sun Aug 16, 2015 12:10 pm 
Offline
ultra-n00b

Joined: Tue Oct 21, 2014 9:39 am
Posts: 5
Has thanked: 0 time
Have thanks: 0 time
Can you teach me how to rig models from Chaos rings? And how to use this script and what app to use this script?


Top
 Profile  
 
 Post subject: Re: Chaos Rings 3 mvgl
PostPosted: Sun Aug 16, 2015 5:02 pm 
Offline
ultra-n00b

Joined: Tue Sep 30, 2014 3:52 pm
Posts: 2
Has thanked: 0 time
Have thanks: 0 time
for the archive you need quickbms to run chrrox's script.
Blender, Python, PVRTexToolCLI it's needed for import characters, and already rigged.


Top
 Profile  
 
 Post subject: Re: Chaos Rings 3 mvgl
PostPosted: Mon Aug 17, 2015 12:18 am 
Offline
ultra-n00b

Joined: Tue Oct 21, 2014 9:39 am
Posts: 5
Has thanked: 0 time
Have thanks: 0 time
Btw,what file i use to get the model? I have download apk and obb file,which file should I export?


Top
 Profile  
 
 Post subject: Re: Chaos Rings 3 mvgl
PostPosted: Mon Aug 17, 2015 12:21 am 
Offline
ultra-n00b

Joined: Tue Oct 21, 2014 9:39 am
Posts: 5
Has thanked: 0 time
Have thanks: 0 time
@Farrent0: If you don't mind,can you teach me from the beginning until I managed to export it? I really want to learn rig Chaos Rings models


Top
 Profile  
 
 Post subject: Re: Chaos Rings 3 mvgl
PostPosted: Mon Aug 17, 2015 4:09 pm 
Offline
ultra-n00b

Joined: Tue Sep 30, 2014 3:52 pm
Posts: 2
Has thanked: 0 time
Have thanks: 0 time
run chrrox's script to extract obb file, then you can follow Szkaradek123's guide.


Top
 Profile  
 
 Post subject: Re: Chaos Rings 3 mvgl
PostPosted: Thu May 12, 2016 11:42 pm 
Offline
ultra-n00b

Joined: Tue Oct 21, 2014 9:39 am
Posts: 5
Has thanked: 0 time
Have thanks: 0 time
Farrent0 wrote:
run chrrox's script to extract obb file, then you can follow Szkaradek123's guide.


Well it's been a long time since i last log in. But i still trying to ripping this models. But do you know where is Szkaradek123's guide? It seem i can't found it and how do i run chrrox's script to extract obb file?


Top
 Profile  
 
 Post subject: Re: Chaos Rings 3 mvgl
PostPosted: Fri Sep 30, 2016 6:49 pm 
Offline
ultra-n00b

Joined: Fri Sep 30, 2016 5:52 pm
Posts: 2
Has thanked: 0 time
Have thanks: 0 time
How can I repack the modified files back to mvgl?


Top
 Profile  
 
 Post subject: Re: Chaos Rings 3 mvgl
PostPosted: Tue Mar 28, 2017 10:09 pm 
Offline
double-veteran
double-veteran
User avatar

Joined: Thu Oct 22, 2009 10:24 am
Posts: 936
Location: Russia, Siberia
Has thanked: 226 times
Have thanks: 107 times
trying to load c101 char: skeleton works fine but geom gives me this:

Code:
D:\chaos_rings_3_android\_work\main\c101.geom
======================================================================
Traceback (most recent call last):
  File "chaosring3.py", line 167, in openFile
    parser=Parser()
  File "chaosring3.py", line 151, in Parser
    geomParser(filename,g)
  File "chaosring3.py", line 75, in geomParser
    boneMap=g.i(mesh.A[0])
  File "C:\Program Files (x86)\Blender Foundation\Blender249b\newGameLib\myLibra
ries\binaresLib.py", line 100, in i
    data=struct.unpack(self.endian+n*'i',self.inputFile.read(n*4))
struct.error: unpack requires a string argument of length 4608
any suggestions?

_________________
Thank you for all you do here
my blog | my forum


Top
 Profile  
 
 Post subject: Re: Chaos Rings 3 mvgl
PostPosted: Fri Nov 30, 2018 6:15 pm 
Offline
ultra-n00b

Joined: Fri Nov 30, 2018 6:08 pm
Posts: 1
Has thanked: 0 time
Have thanks: 0 time
I've been trying to use this for Digimon Story Cyber Sleuth Hacker's Memory (specifically, the Japanese Anime Sound Edition, there is a hidden english mode that isn't accessible that I'm working on)
This game uses the same file formats as Chaos Rings 3.
This quickbms script did unpack the mvgl after I decrypted it with psvpfsparer.
After that, I deleted 4 folders and modified nothing else.
I tried to repack the files using the same quickbms script but it gave me the same error for every files: signature of offset ___________ is doesn't match the one expected by the script (it wasn't the same offset for them all).

Why did this happen? I didn't modify any of the files so why are they all incorrect?

Before this I tried replacing some jp image files with en ones but the eng ones were bigger than the jp ones, which is why i wanted to repack the whole thing any of the 4 non-English folders, so I didn't have to worry about replacing them with files that were too big. I believe either approach would work to my purposes but I get either to repack, albeit for different reasons.


If I can't solve this problem I can't do this project.

Thanks.



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: Google [Bot] 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