LF Jrose vfs extractor

Tools for osRose and osiRose will be placed in here, as well as Rose file formats.

Please PM rl2171 or lmame to get them added to the list.

Moderators: osRose dev team, ospRose dev team, osiRose dev team, Moderators

Re: LF Jrose vfs extractor

Postby PurpleYouko on Wed Sep 28, 2016 3:51 pm

not having much luck so far.
Whatever algorithm they are using for encryption doesn't seem to be as simple as the one that wish online used.
The entire data.idx file just appears to be a garbled mess right now. I have a couple of ideas to explore today. First thing is to run some pattern recognition algorithms to see if I can find stuff like "3DDATA" which should be relatively easy as long as they used the same encryption on each byte of the file. If they used a multi digit key of some sort then it's going to be a lot more difficult. Even so I'm hoping to find recurring patterns.

[ABE]
So it's not a simple encryption with every byte xor'd against a fixed value or anything that easy. I wasn't able to detect any patterns that would translate into 3DDATA
It has to be a multi-byte key. That's going to be a lot harder to figure out :(
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classes
Formatting fixed for different resolutions
Image

"A Gazelle is nothing but a giraffe plotted logarithmicaly"
User avatar
PurpleYouko
Rose Guru
Rose Guru
 
Posts: 4733
Joined: Fri Aug 10, 2007 2:05 pm

Re: LF Jrose vfs extractor

Postby Raven0123 on Wed Sep 28, 2016 7:16 pm

PurpleYouko wrote:LOL. They got rid of znzin. probably statically linked it so they don't need the DLL in the game folder. :D
I was thinking of trying that myself

[ABE] So they have encrypted their idx file in a way that i can't yet figure out
Their VFS files don't seem to be encrypted in any way though so it might be possible to read the files directly from them without the idx. The trick then is figuring out the names of the files ;)


That is very easy though! Just load the stbs and BAM you have the file names :D
User avatar
Raven0123
osiRose dev
osiRose dev
 
Posts: 379
Joined: Tue Sep 11, 2007 11:06 pm
Location: USA, NJ

Re: LF Jrose vfs extractor

Postby PurpleYouko on Wed Sep 28, 2016 10:29 pm

yes. that's true. What we don't have though is the file lengths so i will have to write a whole list file types to look out for in the VFS to mark start and end points.

STBs will be easy if they are back to back as they always start with the letters STB and the format tells us pretty much how big the file has to be.
Easiest way will most likely be to pass the identified start point into an STB editor and then let it load the file from there.
STLs also pretty easy. Same method.
DDS are easy enough too
stuff like AIP, CHR, ZSC are going to be a little more difficult and may need some manual identification points to load in the files from
ZMS and ZMO will be easy.
CONs (if it still uses them) will be a nightmare since the first few hundred bytes are all zero.....
EFT can probably be figured out even though they have a ton of leading zeroes

It's going to be ... interesting .. to say the least
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classes
Formatting fixed for different resolutions
Image

"A Gazelle is nothing but a giraffe plotted logarithmicaly"
User avatar
PurpleYouko
Rose Guru
Rose Guru
 
Posts: 4733
Joined: Fri Aug 10, 2007 2:05 pm

Re: LF Jrose vfs extractor

Postby Raven0123 on Thu Sep 29, 2016 3:22 pm

I'll take a look, I already have a tool for that can extract VFS systems without the idx
User avatar
Raven0123
osiRose dev
osiRose dev
 
Posts: 379
Joined: Tue Sep 11, 2007 11:06 pm
Location: USA, NJ

Re: LF Jrose vfs extractor

Postby PurpleYouko on Thu Sep 29, 2016 3:51 pm

Nice.

Well good luck with this one. I just threw some code together to parse it in order to find known header types and found that the formats are very different than anything I'm used to. I can find "STB", "DDS" and several others in hundreds of places but all the data following them doesn't match what I would expect.
Also "STB1" and "ITST" (STL header) are not found at all but there are a lot of entries for "STL"
Worst of all I can't find the string "3DDATA" anywhere and as we know there are loads of file formats that store other file addresses. ZSC, EFT and so on
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classes
Formatting fixed for different resolutions
Image

"A Gazelle is nothing but a giraffe plotted logarithmicaly"
User avatar
PurpleYouko
Rose Guru
Rose Guru
 
Posts: 4733
Joined: Fri Aug 10, 2007 2:05 pm

Re: LF Jrose vfs extractor

Postby harry12 on Tue Oct 04, 2016 2:17 pm

any new progress? :)
harry12
Pomic
Pomic
 
Posts: 83
Joined: Sun Feb 14, 2010 9:15 am

Re: LF Jrose vfs extractor

Postby PurpleYouko on Tue Oct 04, 2016 10:20 pm

Not from me.
I was hoping Raven's tool would help
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classes
Formatting fixed for different resolutions
Image

"A Gazelle is nothing but a giraffe plotted logarithmicaly"
User avatar
PurpleYouko
Rose Guru
Rose Guru
 
Posts: 4733
Joined: Fri Aug 10, 2007 2:05 pm

Re: LF Jrose vfs extractor

Postby hlajr on Wed Oct 05, 2016 1:52 pm

Hi Harry,

Just hoping you might upload this version via Mega?

I don't know why I can't download via Google Drive, always end my download having 0.00bytes no matter I tried several times.
Doing the right thing is the right thing to do!
User avatar
hlajr
Smoulie
Smoulie
 
Posts: 60
Joined: Wed Jul 23, 2014 11:21 am

Previous

Return to Tools and File Format

Who is online

Users browsing this forum: No registered users and 5 guests

cron