the extractor script on page 1 is still working just fine. as you see i extracted on april the 28th. you just need a perl around 2.x. something like sfm's, and follow the tutorial to edit the script to extract the correct .dat files you want. then use noesis and the nif import. export .dae and maybe try blender since it supports this kinda native. the rigging weights is partially broken on some models. you gotta fix those a lil manual. but everything works.
Well did you test the current script with the live files of the game? If so I assume you don't have the pts files yet. I should have clarified that beforehand. Sorry 'bout that.
This is why I am posting what I said:
[IMG]https://puu.sh/w9GTT/212b3686ea.png[/IMG]
It sits there forever not doing anything, not giving error, not finishing.
I tested the same settings of the script with the live files of the game. And yes, it does work. But seemingly not for the new updated files which are not live yet.
[QUOTE=kodaigan;52308286]Well did you test the current script with the live files of the game? If so I assume you don't have the pts files yet. I should have clarified that beforehand. Sorry 'bout that.
This is why I am posting what I said:[/QUOTE]
nope. i got no pts files. i'm luckily not a huge player. so... i gotta update now and crack decryption? i know i'm a decryption noob, so... don't get your hopes up.
[QUOTE=episoder;52308302]nope. i got no pts files. i'm luckily not a huge player. so... i gotta update now and crack decryption? i know i'm a decryption noob, so... don't get your hopes up.[/QUOTE]
You seem to be more knowledgable than I do. But promise me this. You won't share the files* I am about to give you with anybody else, unless it's files as content. Are you okay if I upload some stuff and share the link with you via PM?
*These files are strictly under NDA
nda my butt. the game is f2p. i can dl the files myself. (later) and... ehh. those are still dat files. are you sure you didn't make a mistake with the script.
the pathes need a lil 'threatment', due to being escape sequence buggered with some letters. you gotta double slash them.
[code]
path_BaseDirectory = "D:\\usermod\\modelsrc\\anime\\gits\\raw"
unpack_file = "C:\\Program Files (x86)\\Steam\\steamapps\\common\\firstassault\\Data\\model.dat"
[/code]
i'll test when i have the update here. if it is encrypted which it doesn't seem to be, then it should work. i only checked the DB.dat real quick tho. i can tell more when i got the model.dat with the signature format.
edit: totally forgot about that. do you mean PTS as in a closed beta patch? like overwatch. gosh. -_- then... i'll have to use your files then... yep. and i better not crack it if it's non public. no leaks allowed. possible they will release it unencrypted to the public? or they have cheaters that modded the game. not cracking that either. so... i'm thinking...
Yes it is Closed Beta. I thought the Term PTS was widely known, sorry if I didn't clarify that.
As I said, as long as you don't distribute the complete .dat file to anybody else it's fine. I mean, the only thing they can do to me is ban me from the game. And honestly...I got 50+ other games I can play. x]
And yes, those .dat files I sent you are completely different and...not easily opened with the script going around and other extractors I tried.
This will not do anything to you if you extract it. rather more the one who gave you the files. But in general we are not allowed to datamine in anyway, so getting those models for sfm to work...is also datamining. No matter how you turn it and rotate it. You still did something bad. ;D
Anyhow. If you wish not to extract it or atleast find out why it's not extractable anymore, that's also fine. I'm just curious what new stuff will be there for us players. Since the japanese Nexon is throwing out so much and the european/american Nexon is like on sleep mode.
sorry... i din't know that. and... yes. i'm aware of that closed data thing. i'll not leak it. tho no1dead did too. :wink: and... if i don't crack anything or post code to extract i'll not have a problem either. they could try to get me sued too. so... how would this work in general? i can't tell you or anybody howto fix the extraction of closed content, what's the point trying it? if it's live it's a different thing. and...
just what the db.dat is like... the archives contain a file index at the end of it. you could read the file names in there i you wanna know what's new. in terms of filesize the model.dat may be contain compressed chunks or files since it's smaller then the live one i have.
I'd like to view the files. That's the whole thing right now.
I know that you can view the file names without extracting it. It's pretty easy to do. I just need to be able to open the dat files to view the nif/dds 'n stuff like that.
If you could do that for me, it would be greatly appreciated....
okay. fair enough. i got no clue how this scripting stuff works tho. i didn't do it. i can't even read the code. i could restart. learn it. then redo the work asian style. gotta read the book backwards.
If you don't wanna do it, let somebody else do it who already knows this stuff. :D
I don't want to feel bad by making somebody unnecessarily busy...
well... it's not being busy. i'm just not good with scripting. made a draft script reading the archive index. it doesn't work tho. :v:
- snip -
working version down below
I'll look into it, hopefully somebody here can figure it out while I am searching for somebody. ^^
But thanks for the draft thou. :boxhide:
nobody else got the pts files to figure it out tho. let me do it for you...
- snipped -
[QUOTE=episoder;52309782]nobody else got the pts files to figure it out tho. let me do it for you...
[url]https://mega.nz/#F!gl4nibpA!ai2qCCiN4R9uQLthZfdL2A[/url]
don't even think about it. :smile:[/QUOTE]
Heh. Thanks. o/
I've talked with my contacts and they decided to not [I]openly[/I] provide the files. As we want to protect the NDA to "some" degree. So we'd rather get asked if somebody wants the .dat files.
If anybody is willing to encode the files, you know where to find me.
And I'd like to ask anybody who already downloaded the files to not distribute them any longer. Thanks! o/
well now... screw it. couldn't find some ide setup. debugged the crap in blender. python 3.5. should work with whatever version. uses index read mechanic. and... it's fast. seconds. :smile:
[code]
import struct
import os
data_file = "D:\\usermod\\modelsrc\\anime\\gits\\data_pts\\model.dat"
output_folder = "D:\\usermod\\modelsrc\\anime\\gits\\dat\\model_pts\\"
os.system('cls')
print("Directory: " + output_folder + "\n")
idx_sig_bytes = 707586951
idx_sig_read = 0
chunk_sig_bytes = 576030941
chunk_sig_read = 0
dat_file = open(data_file, 'rb')
dat_file.seek(0,2)
dat_file_size=dat_file.tell()
file_name = ""
dat_file.seek(-6,2)
index_offset = struct.unpack('I', dat_file.read(4))[0]
print("index offset: " + str(index_offset) + "\n")
while (dat_file.tell() < dat_file_size):
dat_file.seek(index_offset,0)
idx_sig_read = struct.unpack('I', dat_file.read(4))[0]
if (idx_sig_read == idx_sig_bytes): # sanity check
dat_file.seek(0x10,1)
current_file_size = struct.unpack('I', dat_file.read(4))[0]
dat_file.seek(0x04,1)
temp_namelength = struct.unpack('I', dat_file.read(4))[0]
dat_file.seek(0x0A,1)
current_file_offset = struct.unpack('I', dat_file.read(4))[0]
dat_file.seek(temp_namelength,1)
index_offset = dat_file.tell() ## next index_offset saved
print("current file offset: " + str(current_file_offset))
print("current file size: " + str(current_file_size))
dat_file.seek(current_file_offset, 0)
chunk_sig_read = struct.unpack('I', dat_file.read(4))[0]
if (chunk_sig_read == chunk_sig_bytes): # sanity check
dat_file.seek(0x16,1)
filename_length = struct.unpack('H', dat_file.read(2))[0]
pad_length = struct.unpack('H', dat_file.read(2))[0]
file_name = dat_file.read(filename_length)
dat_file.seek(pad_length,1)
filename_dec = file_name.decode('utf-8')
print("current file name: " + filename_dec + "\n")
(dirName, fileName) = os.path.split(output_folder + filename_dec)
if ((os.path.exists(dirName)) == False):
os.makedirs(dirName)
current_file_data = dat_file.read(current_file_size)
output_file = open((output_folder + filename_dec), 'wb')
output_file.write(current_file_data)
output_file.close()
else:
break
print("done")
[/code]
interesting that the forum software thinks i'm a robot posting this code. :v:
I presume from the one else statement that you are still far off from finishing huh?
But thanks for the work till now!
[QUOTE=kodaigan;52311785]I presume from the one else statement that you are still far off from finishing huh?
But thanks for the work till now![/QUOTE]
wtf. no... this is the working script.
you got no clue how it works... right?!? that else statement is irrelevant. the offsets from the index are always correct. always reach a chunk signature. and the index ends first, so... the "no chunk signature" path will never execute. that is rather safe and working. process termination condition seems safe enough too.
Oh okay! Sorry 'bout that. Didn't mean to assume wrongly. :D
Heh.
Anyhow. I'll test it out and see what I can do with it. If I have any results for ya, I'll let you know!
[QUOTE=kodaigan;52311932]... If I have any results for ya, I'll let you know![/QUOTE]
still nothing tho. atleast post a new character teaser. azuma or reiko or sitara. we know that. :v:
and/so... should i consider it working now? it does work for all pythons and all file versions i got here. so... good? :smile:
-snip-
Ok, now everything is good.
@episoder:
Yeah sorry 'bout the late response had something in works with my studies.
Yep, everything works. Extracted and viewed everything. Thanks mate! You are the mvp.
(Insert MVP Meme here)
Along the files was nothing new except a new map. And the three new characters with tutorial videos on how their skill works. If needed I can post some pics.
The only thing that's left are those eof errors. Any idea's 'bout that? Or just ignore it?
Best Regards
Koda
[QUOTE=kodaigan;52323871]The only thing that's left are those eof errors. Any idea's 'bout that? Or just ignore it?[/QUOTE]
you got the old script? i edited the posted script. you should use the one that it's now. i broke the loop when the index is over. it's now a safe exit and doesn't error.
So I got a question, if the PTS is releasing new data, am I allowed to post pictures of it?
Like, post some pics of Sitara, Azuma or Reiko? (Maybe even videos?) Or is it banned to do so on the forums?
Well, it's still against NDA after all. Probably you will not going to be banned by Facepunch staff (because why, lol) but still, somebody can take screenshots and do something with it.
Might there be any chance of getting the weapons models?
[QUOTE=DasFroggy;52331838]Might there be any chance of getting the weapons models?[/QUOTE]
I can assure you, currently there are no new weapon models. It's on the same standing as the live version. :/
Thou there is a new map! It's called Ecenter. Looks a solid Demo/TDM map...
[QUOTE=kodaigan;52332281]I can assure you, currently there are no new weapon models. It's on the same standing as the live version. :/
Thou there is a new map! It's called Ecenter. Looks a solid Demo/TDM map...[/QUOTE]
Oh, no, no. I had hoped to ask for the [I]current[/I] weapon models, namely the Seburo weapon line. Many apologies for the confusion.
you got problems with the script? just extract the weapon.dat file. seconds. this upload took longer. :v:
[url]http://www.mediafire.com/file/0644mhj5zy3cogu/seburo.rar[/url]
now you 'owe' me credits if you port them. j/k. if you port them tho, make sure to include all texture features. :wink:
[QUOTE=episoder;52333766]you got problems with the script? just extract the weapon.dat file. seconds. this upload took longer. :v:
[url]http://www.mediafire.com/file/0644mhj5zy3cogu/seburo.rar[/url]
now you 'owe' me credits if you port them. j/k. if you port them tho, make sure to include all texture features. :wink:[/QUOTE]
If I can ever proceed with 'Play of the thread' awards, you most certainly will earn one.
The weapons however do seem to be missing components, such as muzzles/magazines/etc. Are there weapon modifications/components that must be ported separately?
Sorry, you need to Log In to post a reply to this thread.