READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

BlackGold Online

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
geralex
ultra-n00b
Posts: 7
Joined: Fri Mar 09, 2012 10:50 am
Been thanked: 1 time

BlackGold Online

Post by geralex » Wed Apr 30, 2014 2:58 pm

Hello. Please, help. Do packer game resources this game?

Format: .package

Example:

Code: Select all

#pragma pack(push, 1)
struct PackHeader
{
	char MagicBytes[10];
	unsigned int FileCount;
	unsigned int DataStart;
	byte Filler00;
};

struct PackFile
{
	short DataLength;
	long long FileOffset;
	DWORD FileRawSize;
	DWORD FilePackSize;
	DWORD PackID;
	DWORD PackTime;
	byte Filler00;
	string FilePath;
	byte NullTerminate;
};
#pragma pack(pop)

Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1637
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 62 times
Been thanked: 821 times

Re: BlackGold Online

Post by Ekey » Wed Apr 30, 2014 7:34 pm

And so? Where simple files or link for download client?

geralex
ultra-n00b
Posts: 7
Joined: Fri Mar 09, 2012 10:50 am
Been thanked: 1 time

Re: BlackGold Online

Post by geralex » Wed Apr 30, 2014 9:30 pm


Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1637
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 62 times
Been thanked: 821 times

Re: BlackGold Online

Post by Ekey » Wed Apr 30, 2014 9:57 pm

Code: Select all

# BlackGold Online (PACKAGE format)
# 
# Written by Ekey (h4x0r)
# http://forum.xentax.com
# 
# script for QuickBMS http://quickbms.aluigi.org

idstring "PCK0"
goto 0xA
get FILES long
get DATAOFFSET long
get DUMMY byte

for i = 0 < FILES
    get DUMMY1 short
    get OFFSET longlong
    get SIZE long
    get ZSIZE long
    get HASH long
    get DUMMY2 longlong
    get DUMMY3 byte
    get NAME string
    if ZSIZE == 0
        log NAME OFFSET SIZE
    else
        clog NAME OFFSET ZSIZE SIZE
    endif
next i

User avatar
CriticalError
double-veteran
double-veteran
Posts: 641
Joined: Sun Jul 05, 2009 2:03 am
Has thanked: 75 times
Been thanked: 35 times

Re: BlackGold Online

Post by CriticalError » Wed Apr 30, 2014 11:40 pm

omg this games was developed by SnailGames, I have a friend work in this company oO so cool, I'll try contact him :D

geralex
ultra-n00b
Posts: 7
Joined: Fri Mar 09, 2012 10:50 am
Been thanked: 1 time

Re: BlackGold Online

Post by geralex » Thu May 01, 2014 8:49 am

Ekey wrote:

Code: Select all

# BlackGold Online (PACKAGE format)
# 
# Written by Ekey (h4x0r)
# http://forum.xentax.com
# 
# script for QuickBMS http://quickbms.aluigi.org

idstring "PCK0"
goto 0xA
get FILES long
get DATAOFFSET long
get DUMMY byte

for i = 0 < FILES
    get DUMMY1 short
    get OFFSET longlong
    get SIZE long
    get ZSIZE long
    get HASH long
    get DUMMY2 longlong
    get DUMMY3 byte
    get NAME string
    if ZSIZE == 0
        log NAME OFFSET SIZE
    else
        clog NAME OFFSET ZSIZE SIZE
    endif
next i
I will try but this unpackage, how i can package for text.package ?

Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1637
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 62 times
Been thanked: 821 times

Re: BlackGold Online

Post by Ekey » Thu May 01, 2014 9:05 am

geralex wrote:I will try but this unpackage, how i can package for text.package ?
This script for unpack. For pack read section 3 in QuickBMS readme.

Post Reply