Important information: this site is currently scheduled to go offline indefinitely by December 1st 2023.
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe

倩女幽魂 Online .wdf file

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
mappy2012
advanced
Posts: 61
Joined: Sun Jul 03, 2011 4:40 am
Has thanked: 51 times
Been thanked: 1 time

倩女幽魂 Online .wdf file

Post by mappy2012 »

Free MMO

Name: 倩女幽魂
HP: http://qn2.163.com/
DL page: http://qn2.163.com/download/
Direct link: http://qn.gdl.netease.com/qnyh-2.0.31.exe

Could you please look at this *.wdf file,THX!!!
You do not have the required permissions to view the files attached to this post.
mappy2012
advanced
Posts: 61
Joined: Sun Jul 03, 2011 4:40 am
Has thanked: 51 times
Been thanked: 1 time

Re: 倩女幽魂 Online .wdf file

Post by mappy2012 »

can someone help?
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4299
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1152 times
Been thanked: 2252 times

Re: 倩女幽魂 Online .wdf file

Post by shakotay2 »

Maybe half floats, nothing clear. Don't see face indices. In the header an offset 0xC377 +(0xC?) to the file end.

What do you expect to be in it?
Last edited by shakotay2 on Mon Sep 30, 2013 3:46 pm, edited 2 times in total.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
mappy2012
advanced
Posts: 61
Joined: Sun Jul 03, 2011 4:40 am
Has thanked: 51 times
Been thanked: 1 time

Re: 倩女幽魂 Online .wdf file

Post by mappy2012 »

need help with unpacking archives in this game. could u try to extract them?? REQ unpacking.wdf file QuickBMS script。thanks!!!
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4299
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1152 times
Been thanked: 2252 times

Re: 倩女幽魂 Online .wdf file

Post by shakotay2 »

mappy2012 wrote:need help with unpacking archives in this game. could u try to extract them?? REQ unpacking.wdf file QuickBMS script。thanks!!!
Nope, sry. That's not my preferred subject. Just answered 'cause noone answered so far.

You could try comtype_scan2 from Aluigi/quickbms. (Why let others do your work? :) )
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: 倩女幽魂 Online .wdf file

Post by Ekey »

Basic info

Code: Select all

struct WDFHeader
{
	DWORD	pID; //PFDW
	DWORD	pUnknown1;
	DWORD	pUnknown2;
	DWORD	pEntryOffset;
};

Code: Select all

struct WDFEntry
{
	DWORD	pHash;
	DWORD	pOffset;
	DWORD	pZSize;
	DWORD	pSize;
	DWORD	pNulls;
};
Script for unpack (can't decompress files)

Code: Select all

# Ghost Story Online (WDF format) 0.1
#
# Written by Ekey (h4x0r)
# http://forum.xentax.com
#
# script for QuickBMS http://quickbms.aluigi.org

idstring "PFDW"
get UNKNOWN long
get FILES long
get ENTRYOFFSET long

goto ENTRYOFFSET

for i = 0 < FILES
    get HASH long
    get OFFSET long
    get ZSIZE long
    get SIZE long
    get NULLS long
    string NAME p= "%08X" HASH
    log NAME OFFSET ZSIZE
next i
Encryption

Code: Select all

static unsigned char GSOKey[16] = {
    0xEB, 0xC2, 0xDC, 0xC3, 0xC4, 0xB5, 0xD2, 0xCA,
    0xF7, 0xD7, 0xA4, 0xB9, 0xF0, 0xBB, 0xD7, 0xC0};

    for (int i = 0; i < pZSize; i++)
    pBuffer[i] ^= GSOKey[i & 0xF];
Compression
LZMA

Code: Select all

Settings: 
#define LZMA_HEADER_SIZE	(LZMA_PROPS_SIZE + 3)
Last edited by Ekey on Mon Sep 30, 2013 10:30 pm, edited 1 time in total.
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: 倩女幽魂 Online .wdf file

Post by Ekey »

Done. Filenames currently can't be detected. Decompress function implemented.

Image

Win7/8 not tested.
Last edited by Ekey on Sun Oct 06, 2013 9:29 am, edited 1 time in total.
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: 倩女幽魂 Online .wdf file

Post by Ekey »

New fixed version. Now it works fine :)
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: 倩女幽魂 Online .wdf file

Post by Ekey »

Fixed problem with extracting sound files. About hashes - seems they used same system like game JianLong. I don't know how it work :)
You do not have the required permissions to view the files attached to this post.
mappy2012
advanced
Posts: 61
Joined: Sun Jul 03, 2011 4:40 am
Has thanked: 51 times
Been thanked: 1 time

Re: 倩女幽魂 Online .wdf file

Post by mappy2012 »

Ekey wrote:Fixed problem with extracting sound files. About hashes - seems they used same system like game JianLong. I don't know how it work :)
cool~~THX!!!Works perfect!You are God!
Post Reply