Pak File

Discussion about Helbreath Server Files.
Post Reply
Drajwer
<3 bd long time
Posts: 841
Joined: Fri Dec 10, 2004 3:24 pm

Post by Drajwer »

How to read helbreath .pak file ? whats the structure? i think its:

1. pak header
2. images (bitmaps)
3. frames

and i have problem where is where :rolleyes:

ps. any source or code? :rolleyes:

ps2.
i found in c++

Code: Select all

	int i;
	DWORD nCount, dwASDfileLoc;
	for( i=0; i < 60; i++ )
	{
  m_stBrush[i].x = -1;
  m_stBrush[i].y = -1;
  m_stBrush[i].szx = -1;
  m_stBrush[i].szy = -1;
  m_stBrush[i].pvx = -1;
  m_stBrush[i].pvy = -1;
	}
	m_sSprID = sSprID;
	ZeroMemory( m_cFileName, sizeof(m_cFileName) );
	strcpy( m_cFileName, FileName );
	SetFilePointer(hFileRead, 24 + NthFile*8, NULL, FILE_BEGIN);
	ReadFile(hFileRead, &dwASDfileLoc,  4, &nCount, NULL);
	SetFilePointer(hFileRead, dwASDfileLoc+100, NULL, FILE_BEGIN);
	ReadFile(hFileRead, &m_iTotalFrame,  4, &nCount, NULL);
	ReadFile(hFileRead, m_stSpd, m_iTotalFrame*12, &nCount, NULL);
	m_dwBmpStartPos = dwASDfileLoc + 108 + m_iTotalFrame*12;
	m_bIsDCEmpty = TRUE;
now wait for pr0 pak editor
<img src='http://img440.imageshack.us/img440/2627/15pt.jpg' border='0' alt='user posted image' /><br><br>HBPolska characters:<br><br>Hellios 150+ Aresden Hero Mage<br>TheBill 120 Aresden plrider<br>Kill_Me 100 Full-Hero plrider<br>Rockeater 110+ Aresden Plate Mage<br><br><a href='http://www.helbreath.org' target='_blank'>http://www.helbreath.org</a> come and play (250 ppl online)
hexadecimal
just visiting
Posts: 9
Joined: Wed Jun 08, 2005 7:36 pm

Post by hexadecimal »

you need the old pak file browser and editor?
it can be found at <a href='http://koti.welho.com/ahoyden/download/HBPak_Editor.zip' target='_blank'>http://koti.welho.com/ahoyden/download/ ... tor.zip</a>
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->61 6c 6c 20 79 6f 75 72 20 62 61 73 65 20 61 72 65 20 62 65 6c 6f 6e 67 20 74 6f 20 75 73 21<!--c2--></td></tr></table><div class='signature'><!--ec2-->
Drajwer
&lt;3 bd long time
Posts: 841
Joined: Fri Dec 10, 2004 3:24 pm

Post by Drajwer »

source :(

ps. nice signature :P

Code: Select all

a yur base are beg t us
<img src='http://img440.imageshack.us/img440/2627/15pt.jpg' border='0' alt='user posted image' /><br><br>HBPolska characters:<br><br>Hellios 150+ Aresden Hero Mage<br>TheBill 120 Aresden plrider<br>Kill_Me 100 Full-Hero plrider<br>Rockeater 110+ Aresden Plate Mage<br><br><a href='http://www.helbreath.org' target='_blank'>http://www.helbreath.org</a> come and play (250 ppl online)
hexadecimal
just visiting
Posts: 9
Joined: Wed Jun 08, 2005 7:36 pm

Post by hexadecimal »

lol it should say
all your base are belong to us!
unless I was completely off with the guess
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->61 6c 6c 20 79 6f 75 72 20 62 61 73 65 20 61 72 65 20 62 65 6c 6f 6e 67 20 74 6f 20 75 73 21<!--c2--></td></tr></table><div class='signature'><!--ec2-->
xAl
just visiting
Posts: 2
Joined: Wed Apr 28, 2004 4:42 am

Post by xAl »

here you are.
hope that helps.
Drajwer
&lt;3 bd long time
Posts: 841
Joined: Fri Dec 10, 2004 3:24 pm

Post by Drajwer »

thanks alot :D B)

where i can find tbx components for d7 ent ? :rolleyes:
<img src='http://img440.imageshack.us/img440/2627/15pt.jpg' border='0' alt='user posted image' /><br><br>HBPolska characters:<br><br>Hellios 150+ Aresden Hero Mage<br>TheBill 120 Aresden plrider<br>Kill_Me 100 Full-Hero plrider<br>Rockeater 110+ Aresden Plate Mage<br><br><a href='http://www.helbreath.org' target='_blank'>http://www.helbreath.org</a> come and play (250 ppl online)
xAl
just visiting
Posts: 2
Joined: Wed Apr 28, 2004 4:42 am

Post by xAl »

tbx is here.
<a href='http://www.g32.org/tbx/index.html' target='_blank'>http://www.g32.org/tbx/index.html</a>
latest version will be fine.
diwx
Outpost bitch
Posts: 513
Joined: Thu Dec 23, 2004 4:13 pm

Post by diwx »

hexadecimal wrote: lol it should say
all your base are belong to us!
unless I was completely off with the guess
It does.
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

WoW! seems like Drawjer may succed on adding new sprites ^_^

P.S: Hopefully you make a guide ^_^ on "how to" hehe :lol:

Good luck ^_^
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
Drajwer
&lt;3 bd long time
Posts: 841
Joined: Fri Dec 10, 2004 3:24 pm

Post by Drajwer »

yeah B)
<img src='http://img440.imageshack.us/img440/2627/15pt.jpg' border='0' alt='user posted image' /><br><br>HBPolska characters:<br><br>Hellios 150+ Aresden Hero Mage<br>TheBill 120 Aresden plrider<br>Kill_Me 100 Full-Hero plrider<br>Rockeater 110+ Aresden Plate Mage<br><br><a href='http://www.helbreath.org' target='_blank'>http://www.helbreath.org</a> come and play (250 ppl online)
Post Reply