Planet Dark Ages: Dat File Packer And Unpacker - Planet Dark Ages

Jump to content

  • (3 Pages)
  • +
  • 1
  • 2
  • 3

Dat File Packer And Unpacker Command Line Utilities!

#1 User is offline   SiLo 

  • Terminal Case of Yellow Fever
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Developers[Developer]
  • Posts: 2,344
  • Joined: 01-February 03
  • Gender:Male
  • DA Class:Wiest (Wizard/Priest Sub-Path)

Posted 12 November 2005 - 04:18 PM

Well, I was at home this weekend and since I was without Visual Studio 2005 here, I decided I would just code some simple things in Dev-C++!

So I made these two command line utilities, UNPACK and PACK. As the name might suggest, UNPACK will extract all the files from a .DAT file and PACK will take a directory and make a .DAT file of all the files inside of the directory.

They both come with the single .CPP (C++ Source File), incase anyone is skeptical of keyloggers or something, or maybe curious of how it works. Feel free to modify the code to your needs if you want, just be wary that any person who sends you their UNPACK/PACK executables has had access to the source most likely and could have added something malicious that I did not originally put there.

So, if you want the 100% clean version, here it is (thanks to Eru for initial webspace, and now Chris):

PACK Command Line Utility

UNPACK Command Line Utility

So, "Command Line Utility" might sound a little intimidating to some people. What does it mean? It means the program does not have a user-interface, it is a console window.

The best way to use this program is to extract both the .EXEs to your Windows\System32 folder. Then go to Start->Run and type "cmd" and press enter (no quotes). Command line will come up and you can simply type unpack or pack in the command line and it will run those programs.

So, how do they work? Each have command line arguments like so:

unpack (source file) (destination folder)

pack (source folder) (new archive file)

Updated PACK.exe uploaded, fixed the underscore issue.

Any path that contains spaces, such as "My Documents" should be typed as "My_Documents". Don't worry, it converts it to the spaced version, it just needs the underscores to help it seperate command line arguments.

NOTE: For Unpack, the destination folder has to exist otherwise it will complain and not work properly. Sorry, blame Windows, not me! :D

Basically, you can unpack the contents of SEO.DAT into a folder, "SEO" for example. You modify a few files in the SEO folder and then use pack to recompile the SEO.DAT using the files in SEO folder. You have just edited the .DAT file! :)

Example:

unpack C:\program_files\kru\dark_ages\seo.dat C:\data_files\seo

pack C:\data_files\seo c:\program_files\kru\dark_ages\new_seo.dat

This is probably against the ToS, but somethings might help people (replacing new spell effects with old ones, etc), so whatever.

BACK UP YOUR FILES IF YOU DECIDE TO REPLACE THEM.

EDIT: Fixed links.

This post has been edited by SiLo: 17 March 2007 - 03:34 PM

0

#2 User is offline   Stadsport 

  • Interesting.
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,507
  • Joined: 08-December 03
  • DA Class:Pure Gladiator

Posted 12 November 2005 - 04:20 PM

Nifty, but I wish you had an EPF/MPF viewer :(
Posted Image
0

#3 User is offline   SiLo 

  • Terminal Case of Yellow Fever
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Developers[Developer]
  • Posts: 2,344
  • Joined: 01-February 03
  • Gender:Male
  • DA Class:Wiest (Wizard/Priest Sub-Path)

Posted 12 November 2005 - 04:24 PM

It's coming! I will need to make that have a user interface, so most likely C# when I get back tomorrow!:D
0

#4 User is offline   Papaya 

  • The friendliest of fruits.
  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: Obligatory Parane Title[WHAT IS IT WITH DOUCHEBAGS WHO MUST MAKE THEIR SIGNATURE LARGER THAN THE MAJORITY OF THEIR POSTS?! BEFORE YOU SAY ANYTHING, IT'S THE GIANT NURRZING PINK TITLE, I DIDN'T PUT THAT HUGE EMPTY SPACE BELOW MY SIGNATURE. BUT, IT DOES ANNOY ME]
  • Posts: 6,935
  • Joined: 27-April 03
  • Gender:Male
  • DA Class:Bad Wolf

Posted 12 November 2005 - 05:21 PM

Cool, I'm anticipating that .epf viewer...All the other ones fail to read half of the graphics. :(
0

#5 User is offline   Irving 

  • poker face
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 4,559
  • Joined: 13-July 03
  • Gender:Female
  • DA Class:dick juggler

Posted 12 November 2005 - 06:02 PM

Very cool.
]Shes the hottest woman in the world but she wears glasses because she is also the smartest woman in the world
0

#6 User is offline   Leos 

  • NO
  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 5,428
  • Joined: 14-July 03
  • Gender:Male
  • DA Class:Making private posts to provide for the forum community

Posted 12 November 2005 - 06:05 PM

First person to release an old school style .epf with updated stone interface, certain old spells, old ruc tiles and maybe include the odd misc/LOD thing gets a super medal.

Shynd, on Jul 30 2008, 09:35 PM, said:

One of these days, people will learn to take seriously 0% of Leos' posts.
0

#7 User is offline   Papaya 

  • The friendliest of fruits.
  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: Obligatory Parane Title[WHAT IS IT WITH DOUCHEBAGS WHO MUST MAKE THEIR SIGNATURE LARGER THAN THE MAJORITY OF THEIR POSTS?! BEFORE YOU SAY ANYTHING, IT'S THE GIANT NURRZING PINK TITLE, I DIDN'T PUT THAT HUGE EMPTY SPACE BELOW MY SIGNATURE. BUT, IT DOES ANNOY ME]
  • Posts: 6,935
  • Joined: 27-April 03
  • Gender:Male
  • DA Class:Bad Wolf

Posted 12 November 2005 - 06:11 PM

Quick, somebody alert Zallmo...
0

#8 User is offline   LightMerlin 

  • !!
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Retired Forefathers
  • Posts: 2,454
  • Joined: 05-September 02
  • DA Class:Warrior

Posted 12 November 2005 - 06:41 PM

Boring. You told me about this earlier.
(Retired PlanetDA.net Owner/Administrator)
0

#9 User is offline   SiLo 

  • Terminal Case of Yellow Fever
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Developers[Developer]
  • Posts: 2,344
  • Joined: 01-February 03
  • Gender:Male
  • DA Class:Wiest (Wizard/Priest Sub-Path)

Posted 12 November 2005 - 07:29 PM

View PostLeos, on Nov 12 2005, 09:05 PM, said:

First person to release an old school style .epf with updated stone interface, certain old spells, old ruc tiles and maybe include the odd misc/LOD thing gets a super medal.


You may very well get it soon. If you look in setoa.dat, it contains all the "UI" layout files. Fortunately they are highly flexible! Skinnable interfaces could very well be on the way! :D
0

#10 User is offline   Keldrin 

  • Insight: Master
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,333
  • Joined: 17-December 03
  • DA Class:30/20 Pure Bard, Wonk Druid, Pure Druid, Maxed gladiator

Posted 12 November 2005 - 09:06 PM

Quote

Quick, somebody alert Zallmo...


*Spews pepsi over screen*
Posted Image
0

#11 User is offline   Stadsport 

  • Interesting.
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,507
  • Joined: 08-December 03
  • DA Class:Pure Gladiator

Posted 12 November 2005 - 09:15 PM

キタ━━━━━━(゚∀゚ )━━━━━━ !!!!!
Posted Image
Posted Image
Posted Image
0

#12 User is offline   Atma 

  • 'mph!
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 909
  • Joined: 25-February 04
  • Gender:Female
  • DA Class:Spirit

Posted 12 November 2005 - 11:12 PM

This is super fly =D
Posted Image
0

#13 User is offline   Zyphone 

  • Just turned this whole situation upside down face.
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 923
  • Joined: 24-September 04
  • DA Class:Monk/Warrior

Posted 12 November 2005 - 11:57 PM

lol, looks like the DA updater screen or somethin' there Stads!

Oh and how the hell do you work this program, it just appears then closes immediatley when i run it, im a noob when it comes to command prompt n stuff, anything im doing wrong?

This post has been edited by Zyphone: 13 November 2005 - 12:13 AM

Posted Image
0

#14 User is offline   Atma 

  • 'mph!
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 909
  • Joined: 25-February 04
  • Gender:Female
  • DA Class:Spirit

Posted 13 November 2005 - 04:23 AM

In windows click on start, then run, type cmd, press enter, and if memory serves, drop the file into the black window.

If I'm wrong let me know. I havent messed with DOS in a while and I'm gonna wait til it becomes more user friendly to download this. I'm lazy =P

Edit: Typos

This post has been edited by Atma: 13 November 2005 - 04:25 AM

Posted Image
0

#15 User is offline   Acht 

  • Insight: Master
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Developers[Developer]
  • Posts: 4,119
  • Joined: 19-September 04
  • Gender:Male
  • DA Class:Level 1 Peasant

Posted 13 November 2005 - 06:35 AM

View PostSiLo, on Nov 12 2005, 06:18 PM, said:

The best way to use this program is to extract both the .EXEs to your Windows\System32 folder. Then go to Start->Run and type "cmd" and press enter (no quotes). Command line will come up and you can simply type unpack or pack in the command line and it will run those programs.

So, how do they work? Each have command line arguments like so:

unpack (source file) (destination folder)

pack (source folder) (new archive file)

Any path that contains spaces, such as "My Documents" should be typed as "My_Documents". Don't worry, it converts it to the spaced version, it just needs the underscores to help it seperate command line arguments.

NOTE: For Unpack, the destination folder has to exist otherwise it will complain and not work properly. Sorry, blame Windows, not me! :D


Good job at reading, guys.

Quote

I awoke the next morning with my birth cannon still seeping. I thought it was over but his womb raider had other ideas. Leaving my panties sunny side up on the floor was the least of my worries as his brie baton stuffed deeper into my other vagina. It was bliss having his love muscle probed inside me again; stuffing my wizards sleeve with a squash just didn't get my spunk dungeon flowing like it used to. I can't wait to suck the steamin' semen from his ramrod. With my roast beef platter now much like John Wayne's saddlebags, he thought it was time to start ramming my marmite motorway. Is now the time to tell him I really need to launch a sewer trout, I wondered?
0

#16 User is offline   SiLo 

  • Terminal Case of Yellow Fever
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Developers[Developer]
  • Posts: 2,344
  • Joined: 01-February 03
  • Gender:Male
  • DA Class:Wiest (Wizard/Priest Sub-Path)

Posted 13 November 2005 - 03:55 PM

Ah, no worries Zyph, I will be making a UI version of this in C#. I was just at home and unable to mess with C# in an elegant manner (Expression edition is ewww :( ).
0

#17 User is offline   Acht 

  • Insight: Master
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Developers[Developer]
  • Posts: 4,119
  • Joined: 19-September 04
  • Gender:Male
  • DA Class:Level 1 Peasant

Posted 14 November 2005 - 12:04 AM

Awesome

Posted Image

Time to work on the stone one, now.

Quote

I awoke the next morning with my birth cannon still seeping. I thought it was over but his womb raider had other ideas. Leaving my panties sunny side up on the floor was the least of my worries as his brie baton stuffed deeper into my other vagina. It was bliss having his love muscle probed inside me again; stuffing my wizards sleeve with a squash just didn't get my spunk dungeon flowing like it used to. I can't wait to suck the steamin' semen from his ramrod. With my roast beef platter now much like John Wayne's saddlebags, he thought it was time to start ramming my marmite motorway. Is now the time to tell him I really need to launch a sewer trout, I wondered?
0

#18 User is offline   _sl0t_ 

  • Lord of Noobland
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,900
  • Joined: 22-September 04
  • Gender:Male
  • DA Class:Pure bard

Posted 14 November 2005 - 08:34 AM

View PostSiLo, on Nov 13 2005, 03:55 PM, said:

Ah, no worries Zyph, I will be making a UI version of this in C#. I was just at home and unable to mess with C# in an elegant manner (Expression edition is ewww :( ).

This isn't really necessary, command line is more than enough. Unless you are planning to expand it and make the epf and mpf viewer work with it.

View PostChris, on Nov 14 2005, 12:04 AM, said:

Awesome

Posted Image

Time to work on the stone one, now.

Could you make one all blue with blue pwoer rangers pictures hanging all over the screen?
And, huh... My... sister! Yea, my sister wants one with hello kitty and carebears.
I am a douchebag who does not get his way on an online game, so I have to take it out on a forum where I can act like I am someone.
0

#19 User is offline   Acht 

  • Insight: Master
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Developers[Developer]
  • Posts: 4,119
  • Joined: 19-September 04
  • Gender:Male
  • DA Class:Level 1 Peasant

Posted 14 November 2005 - 08:40 AM

Sure, _sl0t_, just make the EPF or SPF files for it. :)

Quote

I awoke the next morning with my birth cannon still seeping. I thought it was over but his womb raider had other ideas. Leaving my panties sunny side up on the floor was the least of my worries as his brie baton stuffed deeper into my other vagina. It was bliss having his love muscle probed inside me again; stuffing my wizards sleeve with a squash just didn't get my spunk dungeon flowing like it used to. I can't wait to suck the steamin' semen from his ramrod. With my roast beef platter now much like John Wayne's saddlebags, he thought it was time to start ramming my marmite motorway. Is now the time to tell him I really need to launch a sewer trout, I wondered?
0

#20 User is offline   Aes 

  • It puts the hotdog in the bun
  • Group: Admins[Administrator]
  • Posts: 10,681
  • Joined: 15-December 02
  • Gender:Not Telling
  • DA Class:Warlock/Free HK 4Meleez

Posted 14 November 2005 - 11:32 PM

View PostSiLo, on Nov 12 2005, 07:29 PM, said:

You may very well get it soon. If you look in setoa.dat, it contains all the "UI" layout files. Fortunately they are highly flexible! Skinnable interfaces could very well be on the way! :D

Not just that--a person has to admit the idea of customized graphics and sounds is pretty appealing, too. Instead of just turning off the snap-snap assail sound, it could actually be replaced with something less...obnoxious.

Nice! :D
Change my picture

Quote

IM14 & I THINK im ready 4 a child & i hav the right guy to get me pregnant but he doesnt want to have 1 so is there anyway i can poke holes in his condoms with a needle without him knowing wut i did?
0

#21 User is offline   _sl0t_ 

  • Lord of Noobland
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,900
  • Joined: 22-September 04
  • Gender:Male
  • DA Class:Pure bard

Posted 15 November 2005 - 02:35 AM

View PostChris, on Nov 14 2005, 08:40 AM, said:

Sure, _sl0t_, just make the EPF or SPF files for it. :)

Hehe, now talking seriously.
If this one you made keeps all the new functions, options and profiles, then I want one.
I really just want to get rid of vines, balls in hp/mp and be able to see mine and others people portrait without opening profile screen.
If so, could you upload it and post a link pretty pleeeeeeeeaaaaase. :KISSM:

What a noob beggar post :ebilf:

This post has been edited by _sl0t_: 15 November 2005 - 02:35 AM

I am a douchebag who does not get his way on an online game, so I have to take it out on a forum where I can act like I am someone.
0

#22 User is offline   Papaya 

  • The friendliest of fruits.
  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: Obligatory Parane Title[WHAT IS IT WITH DOUCHEBAGS WHO MUST MAKE THEIR SIGNATURE LARGER THAN THE MAJORITY OF THEIR POSTS?! BEFORE YOU SAY ANYTHING, IT'S THE GIANT NURRZING PINK TITLE, I DIDN'T PUT THAT HUGE EMPTY SPACE BELOW MY SIGNATURE. BUT, IT DOES ANNOY ME]
  • Posts: 6,935
  • Joined: 27-April 03
  • Gender:Male
  • DA Class:Bad Wolf

Posted 15 November 2005 - 04:49 AM

View PostAesica, on Nov 15 2005, 06:32 PM, said:

Not just that--a person has to admit the idea of customized graphics and sounds is pretty appealing, too. Instead of just turning off the snap-snap assail sound, it could actually be replaced with something less...obnoxious.

Nice! :D

Personally, every time I assail I'd like to hear Donald Trump saying "You're fired!"
0

#23 User is offline   Lioko 

  • Lioko is better then you, take it like a man.
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,663
  • Joined: 25-January 03

Posted 15 November 2005 - 06:38 AM

Wait, are you telling me i can imput sprites that i, or others have made? (well, im the only one who will see them) but is that what this is all about? Yeh i just got off work and its been a long day so too tired to read all of it, so is it? :P
Greatest Noobs of all Time:_____________Current Noobs:_____________Biggest Crybabies:
1. JoeNoobie___________________________1.seleisbi__________________1. Fishfood
2. Name_______________________________2.Yoink
3. JuNaYe______________________________3.BlessedSpirt
0

#24 User is offline   Aes 

  • It puts the hotdog in the bun
  • Group: Admins[Administrator]
  • Posts: 10,681
  • Joined: 15-December 02
  • Gender:Not Telling
  • DA Class:Warlock/Free HK 4Meleez

Posted 15 November 2005 - 03:19 PM

View PostLioko, on Nov 15 2005, 06:38 AM, said:

Wait, are you telling me i can imput sprites that i, or others have made? (well, im the only one who will see them) but is that what this is all about? Yeh i just got off work and its been a long day so too tired to read all of it, so is it? :P

Pretty soon, once our code-savvy individuals give us a way to package custom .epf files. Unpackers for .epf files are already out there, so it's only a matter of time.

Custom skins, sprites, sounds, etc just might bring interest back to this game for those who have grown tired of it.

Edit: You can actually make custom sound effects right now, since (if I recall) those are packe directly into one of the .dat files in .mp3 (or is it .wav? I think it's .mp3 though...) form.

This post has been edited by Aesica: 15 November 2005 - 03:22 PM

Change my picture

Quote

IM14 & I THINK im ready 4 a child & i hav the right guy to get me pregnant but he doesnt want to have 1 so is there anyway i can poke holes in his condoms with a needle without him knowing wut i did?
0

#25 User is offline   SiLo 

  • Terminal Case of Yellow Fever
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Developers[Developer]
  • Posts: 2,344
  • Joined: 01-February 03
  • Gender:Male
  • DA Class:Wiest (Wizard/Priest Sub-Path)

Posted 15 November 2005 - 03:25 PM

It is .mp3. EPF/SPF/MPF editor is on the way soon.
0

#26 User is offline   Pardon Moi 

  • Gone.
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 931
  • Joined: 28-April 05
  • Gender:Not Telling

Posted 15 November 2005 - 04:19 PM

Wow this can be mighty handy~! I confess that the vines are annoying as well as having to open profiles to see a person's portrait =(

Seems we can be expecting a new level for DA with all this soon hopefully.
0

#27 User is offline   Hypen 

  • Insight: 52-61
  • PipPipPipPipPip
  • Group: Members
  • Posts: 64
  • Joined: 28-August 05

Posted 15 November 2005 - 07:44 PM

block them plz
0

#28 User is offline   Ashley 

  • I'm staying home on Sunday!
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Moderator[Moderator]
  • Posts: 3,374
  • Joined: 09-December 02
  • Gender:Female
  • DA Class:Mr. Gruff

Posted 15 November 2005 - 07:46 PM

What?
Posted ImagePosted ImagePosted ImagePosted Image
I support Animal Saddamry!

Learn to ignore today! - Yes, the stupid really can go away.
0

#29 User is offline   SqueekyClean 

  • Still around :P
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,655
  • Joined: 14-January 05
  • Gender:Male
  • DA Class:PC

Posted 16 November 2005 - 07:41 AM

wow i hate the vines too :D
Posted Image
dumb cow1
0

#30 User is offline   enkrypter 

  • Insight: 98
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 463
  • Joined: 31-August 04
  • DA Class:

Posted 16 November 2005 - 08:42 AM

I want a counter-strike interface for when I areana or do guild castles...

I want crosshairs as my mouse pointer!
0

Share this topic:


  • (3 Pages)
  • +
  • 1
  • 2
  • 3


Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users