Need help to extracting all meshes. 3D Model Researcher working fine, but need batch script.
Sample: https://yadi.sk/d/o7MxUJnr0xKaPQ
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Peria Chronicles
-
- double-veteran
- Posts: 640
- Joined: Fri Jul 08, 2011 10:36 am
- Has thanked: 65 times
- Been thanked: 898 times
Re: Peria Chronicles
I will take a look when I get back tonight. Currently working on another project, but I can do this after that.
In the meantime can you post some model researcher screenshots, if you have extracted anything? At least it would save some time on research.
In the meantime can you post some model researcher screenshots, if you have extracted anything? At least it would save some time on research.
-
- Moderator
- Posts: 2602
- Joined: Sun May 18, 2008 3:01 pm
- Has thanked: 57 times
- Been thanked: 1422 times
Re: Peria Chronicles
Code: Select all
#Peria Chronicles quickbms script
#http://aluigi.altervista.org/quickbms.htm
#by chrrox
get TPK basename
string TPK R ".tpk" ""
set TBL TPK
set REP TPK
string TPK + ".tpk"
string TBL + ".tpk.table"
open FDSE TBL
open FDSE TPK 1
get FILES long
get NULL long
for i = 0 < files
get NSIZE long
getdstring NULL 6
math NSIZE - 1
getdstring NAME NSIZE
string NAME R "cache" REP
string NAME + ".TARC"
get OFFSET long
get SIZE long
log NAME OFFSET SIZE 1
next i
-
- advanced
- Posts: 43
- Joined: Tue Aug 23, 2011 8:11 pm
- Location: Russia, Moscow
- Has thanked: 33 times
- Been thanked: 2 times
- Contact:
Re: Peria Chronicles
https://imgur.com/a/Z8g9oVw
file: https://yadi.sk/d/B4xJCF8AMRjg8A
(full client downloader: https://yadi.sk/d/e-xXMnP9GF12kQ)
thx!chrrox wrote: ↑Wed May 08, 2019 11:15 pmCode: Select all
#Peria Chronicles quickbms script #http://aluigi.altervista.org/quickbms.htm #by chrrox get TPK basename string TPK R ".tpk" "" set TBL TPK set REP TPK string TPK + ".tpk" string TBL + ".tpk.table" open FDSE TBL open FDSE TPK 1 get FILES long get NULL long for i = 0 < files get NSIZE long getdstring NULL 6 math NSIZE - 1 getdstring NAME NSIZE string NAME R "cache" REP string NAME + ".TARC" get OFFSET long get SIZE long log NAME OFFSET SIZE 1 next i
-
- double-veteran
- Posts: 640
- Joined: Fri Jul 08, 2011 10:36 am
- Has thanked: 65 times
- Been thanked: 898 times
Re: Peria Chronicles
Weird format, especially faces. You first need to reorder the vertices with an index list, then there is another index list for actual triangles. I don't really get the point of that. Here is a face mesh extracted.
![Image](https://i.ibb.co/GP2NCd3/peria-face.png)
I can probably make a tool, but need to investigate a bit more. I will start with extracting static meshes, and will continue with skinned if I I have the time.
![Image](https://i.ibb.co/GP2NCd3/peria-face.png)
I can probably make a tool, but need to investigate a bit more. I will start with extracting static meshes, and will continue with skinned if I I have the time.