Introduction and new DTA unpacker
Introduction and new DTA unpacker
Hey all,
I'm an old-time H&D fan. This is my first time posting at this forum. I've known this site for a very long time along with the Gamespy one, very good fan sites :).
Now, onto the good stuff:
I've been speaking to Lars over the last two days and I wrote a new .dta unpacker. It supports both H&D2 and Mafia. You run the unpacker by providing it with the file you want, and the two keys it needs. I'm not sure if this was a better option than the other program, but it's more flexible because none of the files or keys are hardcoded. If you run the program without giving it the file or the keys, it will give you a list of keys it knows.
I tried to make the program fast, efficient, and bugproof. Let me know if you have any problems. Also, the other unpacker mentioned how the Missions.dta file could not be unpacked fully. After some testing I believe my unpacker extracts all the files.
You can download the unpacker here. Source code is included.
Onto the bad stuff:
Some of the files (especially H&D2:SS, and patches) use a different file format. These files cannot be opened at the moment unfortunately, but I will try to get them to work in the near future.
Let me know what you think about the program.
I'm an old-time H&D fan. This is my first time posting at this forum. I've known this site for a very long time along with the Gamespy one, very good fan sites :).
Now, onto the good stuff:
I've been speaking to Lars over the last two days and I wrote a new .dta unpacker. It supports both H&D2 and Mafia. You run the unpacker by providing it with the file you want, and the two keys it needs. I'm not sure if this was a better option than the other program, but it's more flexible because none of the files or keys are hardcoded. If you run the program without giving it the file or the keys, it will give you a list of keys it knows.
I tried to make the program fast, efficient, and bugproof. Let me know if you have any problems. Also, the other unpacker mentioned how the Missions.dta file could not be unpacked fully. After some testing I believe my unpacker extracts all the files.
You can download the unpacker here. Source code is included.
Onto the bad stuff:
Some of the files (especially H&D2:SS, and patches) use a different file format. These files cannot be opened at the moment unfortunately, but I will try to get them to work in the near future.
Let me know what you think about the program.
Last edited by Jovan on Mon Jan 17, 2011 8:25 am, edited 1 time in total.
Re: Introduction and new DTA unpacker
Works great and fast. Tested it with the hd2 dta´s. Be sure that you put your dta´s in another folder or it can be that your modifed maps will be overwritten cause it extracts to hd2\missions direct. Also be sure that you don´t mistype the keys or the prog will run in an endless loop with taking lots of ram. Ctrl+C will stop it than in case if you don´t know.
Great work!
Looking forward for the unpacker for the sabrefiles ![Embarrassed :oops:](./images/smilies/icon_redface.gif)
Great work!
![Thumbs Up thup01](./images/smilies/023.gif)
![Embarrassed :oops:](./images/smilies/icon_redface.gif)
- Jason
- Administrator
- Posts: 1895
- Joined: Thu Sep 02, 2004 7:26 pm
- Location: Perth, Australia
- Contact:
Re: Introduction and new DTA unpacker
Welcome to the website!
It is great that you have created another DTA unpacker
but how does this one work differently to the other one currently available?
Do you have plans to create a friendlier interface for the program?
It is great that you have created another DTA unpacker
![Mr. Green :mrgreen:](./images/smilies/icon_mrgreen.gif)
Do you have plans to create a friendlier interface for the program?
Re: Introduction and new DTA unpacker
Wow, a new Mafia extractor. That only took five years. I asked MassaSnygga to write a packer and he refused. I don't have much use for one now any way.
I also like interfaces and neat packages...
I also like interfaces and neat packages...
Re: Introduction and new DTA unpacker
Hey again everyone,
It's been awhile since I posted last. I've been busy with a lot of things over the past few months
.
Guess I'll answer some questions that were posted a long time ago:
I may make a proper Win32 GUI in the future, but I am hoping that someone will beat me to it :).
I've read over the source files a few times since I released it, and I captured a few errors I made (including the infinite loop bug). I'll try to fix them and release a new version though I think at this point it's better for someone to combine a Win32 GUI + bug fix into one release.
So far, I hope people found use in my version of the extractor. I'll see if I can contribute more in the future, because there's still a handful of small programs to be written.
It's been awhile since I posted last. I've been busy with a lot of things over the past few months
![Sad :sad:](./images/smilies/icon_frown.gif)
Guess I'll answer some questions that were posted a long time ago:
If I remember correctly Lars sent me a DTA extractor, however it could not open some of the files and would only let you open -specific- files. The extractor I wrote works by letting you specify a file and the two keys it needs to open itself. This means that the only part the extractor is tied to is the algorithm it uses. Since both Mafia and H&D2 use the same algorithm, you can use the same program on both games.Jason wrote:It is great that you have created another DTA unpacker Mr. Green but how does this one work differently to the other one currently available?
Do you have plans to create a friendlier interface for the program?
I may make a proper Win32 GUI in the future, but I am hoping that someone will beat me to it :).
Good. If I remember right our tests showed the extractor worked twice as fast as the old one? I forget the exact statistic.Lars wrote:Works great and fast. Tested it with the hd2 dta´s. Be sure that you put your dta´s in another folder or it can be that your modifed maps will be overwritten cause it extracts to hd2\missions direct. Also be sure that you don´t mistype the keys or the prog will run in an endless loop with taking lots of ram. Ctrl+C will stop it than in case if you don´t know.
I've read over the source files a few times since I released it, and I captured a few errors I made (including the infinite loop bug). I'll try to fix them and release a new version though I think at this point it's better for someone to combine a Win32 GUI + bug fix into one release.
So far, I hope people found use in my version of the extractor. I'll see if I can contribute more in the future, because there's still a handful of small programs to be written.
- Jason
- Administrator
- Posts: 1895
- Joined: Thu Sep 02, 2004 7:26 pm
- Location: Perth, Australia
- Contact:
Re: Introduction and new DTA unpacker
Thank you Jovan for taking the time to reply. People definitely like and use the new extractor ![Thumbs Up thup01](./images/smilies/023.gif)
I hope you can find the time to develop those extra applications. It's all about passion and desire. I've recently re-ignited my own passion for games and gaming websites by simply playing a new game![Mr. Green :mrgreen:](./images/smilies/icon_mrgreen.gif)
Play some H&D2 or some Death to Spies
to boost your passion in the game - your tools definitely help us all enjoy the game more
![Thumbs Up thup01](./images/smilies/023.gif)
I hope you can find the time to develop those extra applications. It's all about passion and desire. I've recently re-ignited my own passion for games and gaming websites by simply playing a new game
![Mr. Green :mrgreen:](./images/smilies/icon_mrgreen.gif)
Play some H&D2 or some Death to Spies
![Grin grin01](./images/smilies/047.gif)
Re: Introduction and new DTA unpacker
oke! i must the the real dummy here on hd2...what can i do with the program?
now i can select the sniper rifle but one is always grayed out...would this be able to fix this? the enfield MK1 [optics]![Nods nods01](./images/smilies/045.gif)
now i can select the sniper rifle but one is always grayed out...would this be able to fix this? the enfield MK1 [optics]
![Nods nods01](./images/smilies/045.gif)
Don't take life too seriously; No one gets out alive.
- Jason
- Administrator
- Posts: 1895
- Joined: Thu Sep 02, 2004 7:26 pm
- Location: Perth, Australia
- Contact:
Re: Introduction and new DTA unpacker
The DTA unpacker? it extracts the .dta files in the H&D2 directory so you can access the game files.what can i do with the program?
- GS-Hawk
- Private
- Posts: 11
- Joined: Tue Jul 15, 2008 6:11 pm
- Location: England, Stratford Upon Avon
- Contact:
Re: Introduction and new DTA unpacker
Hi Guys,
Was thinking of making a swish GUI for this but link for the unpacker and source is dead? Has anyone downloaded and saved it so they can send it to me?
The sooner the better![Wink ;)](./images/smilies/icon_wink.gif)
Regards
Was thinking of making a swish GUI for this but link for the unpacker and source is dead? Has anyone downloaded and saved it so they can send it to me?
The sooner the better
![Wink ;)](./images/smilies/icon_wink.gif)
Regards
It's Not About Dying For Your Country.....
Its About Making Your enemy, Die For His.
Its About Making Your enemy, Die For His.
- GS-Hawk
- Private
- Posts: 11
- Joined: Tue Jul 15, 2008 6:11 pm
- Location: England, Stratford Upon Avon
- Contact:
Re: Introduction and new DTA unpacker
So no one has the .zip file anymore? ![No Shaking no_01](./images/smilies/009.gif)
![No Shaking no_01](./images/smilies/009.gif)
It's Not About Dying For Your Country.....
Its About Making Your enemy, Die For His.
Its About Making Your enemy, Die For His.
- GS-Hawk
- Private
- Posts: 11
- Joined: Tue Jul 15, 2008 6:11 pm
- Location: England, Stratford Upon Avon
- Contact:
Re: Introduction and new DTA unpacker
http://www.the-golden-squadron.co.uk/co ... nt.news.69
Sorry about the wait, had other things to do recently. But now it's here so enjoy!
Regards
Sorry about the wait, had other things to do recently. But now it's here so enjoy!
Regards
It's Not About Dying For Your Country.....
Its About Making Your enemy, Die For His.
Its About Making Your enemy, Die For His.
- Capt. Stirling
- Lieutenant
- Posts: 108
- Joined: Tue Sep 26, 2006 5:56 pm
Re: Introduction and new DTA unpacker
I think its high time we get mercenary and put down some cash for someone to program the SS unpacker ![Grin grin01](./images/smilies/047.gif)
I'll put my money where my mouth is btw
![Grin grin01](./images/smilies/047.gif)
I'll put my money where my mouth is btw
They Dared and Won..... And They Were Hidden and Dangerous.
1941-1945
1941-1945
- Jason
- Administrator
- Posts: 1895
- Joined: Thu Sep 02, 2004 7:26 pm
- Location: Perth, Australia
- Contact:
Re: Introduction and new DTA unpacker
As far as I know it hasn't been about money, just no one has been able to do it. Surely there is an elite coder out there that can crack the bitch ![Grin grin01](./images/smilies/047.gif)
![Grin grin01](./images/smilies/047.gif)
- Capt. Stirling
- Lieutenant
- Posts: 108
- Joined: Tue Sep 26, 2006 5:56 pm
Re: Introduction and new DTA unpacker
Well that programmer would need some motivation unless they were an H&D fan. So thats why I brought up the cash ![Mr. Green :mrgreen:](./images/smilies/icon_mrgreen.gif)
Do you think if we went on some forums to pose the problem we could interest a coder to try in his/her spare time?
![Mr. Green :mrgreen:](./images/smilies/icon_mrgreen.gif)
Do you think if we went on some forums to pose the problem we could interest a coder to try in his/her spare time?
They Dared and Won..... And They Were Hidden and Dangerous.
1941-1945
1941-1945
Who is online
Users browsing this forum: No registered users and 132 guests