4ds files hacked

This is for general discussion about Hidden & Dangerous 2, talk about what you liked or what you didn't like about the sequel. Talk about multiplayer games, setup matches etc.
finnlayer
Corporal
Posts: 39
Joined: Sat Apr 09, 2011 10:17 pm

Re: 4ds files hacked

Unread post by finnlayer » Wed Apr 13, 2011 6:01 pm

wow get in their,  :grin: if you put in a mission unlock and go into single player, you could rip out mostly every think from the ss and hd2, even the scripts from single missions, the single missions contain all, for every map that is loaded in the memory, hd master has a really cool way, you are very brainy mate.  if you also make a server and load any map on the server and attached a hook to the @.dta of the server exe, their in the memory is around 70 mb of data or more of the the load map on the server,  you may be able to also get scripts and files - other things like server code.

I can rip .bin files, scene file, but their fragmented and would need sorting out to work !  i have rip every single missions - scrips files,[which is 34 maps] i have ripped from every multiplayer maps, the .scr,  only one file will come from memory for each map, not all .scr will extract. some weeks ago i was in touch with ted striker, i sent him some scripts,  he told me it could be possible to re script Brest like he did with libye2b,  if hdmaster rips all, ted striker will make some wicked maps, and others..


Given some time hdmaster will make all happen, he very clever person.  :idea: only takes one of these to unlock all  :idea:  The game this year is getting hammerd,  thanks to every one, sharing their kindness and dedicating all hard effort ,   thup01
Last edited by finnlayer on Wed Apr 13, 2011 6:16 pm, edited 1 time in total.

hdmaster
Sergeant
Posts: 84
Joined: Thu Jan 27, 2011 9:31 pm
Location: Germany

Re: 4ds files hacked

Unread post by hdmaster » Wed Apr 13, 2011 7:30 pm

@Ikaros:
I'll keep u guys updated with my latest findings

@JohnnySniper:
Yes youre right, it just reads the data out of the memory. But i guess the scripts are not read by a rw_data.dll function because the hooked script files have a length of 0 bytes which means dtaRead wasn't called on those files. I think they're read with a standard c++ function for input/output streams

@Marvin:
Yes making custom mods for HD2 SS would be possible
I'll check your e-mail soon

@finnlayer:
Could you please share the scripts of Sicily2? That would be great!

Here's a zip file with some hooked data. It contains all models, sounds and Sicily2 related stuff like mission & script folder (empty scripts) that were read until the loading of Sicily2 finished. Unfortunately
scene2.bin seems a bit corrupted because it does not load in dc ed. I had a closer look on that file in hex but could not determine where the problem is.

Download from RS.com

finnlayer
Corporal
Posts: 39
Joined: Sat Apr 09, 2011 10:17 pm

Re: 4ds files hacked

Unread post by finnlayer » Wed Apr 13, 2011 10:29 pm

I just kinda rebuilt the scripts and deletion of loads of  the junk code.

Glue text and all, for the 34 .scr - maps, well here is the mission scripts and some on line mp scripts.

Couldn't get all for mp as hdmaster said,  their hiding behind a monster.  grin01

Download here.
http://db.tt/SaJDSvz

User avatar
Ikaros
Sergeant
Posts: 82
Joined: Wed Mar 23, 2011 11:30 am
Location: Italy
Contact:

Re: 4ds files hacked

Unread post by Ikaros » Thu Apr 14, 2011 1:37 pm

Hi!
Thanks to hdmaster 3ds max plugin, I've inserted a zdepth feature to my editor :)
index.php/topic,2061.15.htmlhttp://www. ... 61.15.html
Thanks, hdmaster!
http://malgolan.altervista.org/
Italian politicians - Not in my name!

User avatar
JonnySniper
Lieutenant
Posts: 101
Joined: Thu Dec 24, 2009 11:33 am
Location: Germany
Contact:

Re: 4ds files hacked

Unread post by JonnySniper » Thu Apr 14, 2011 9:39 pm

i think its really hard to read complete files out of memory  nods01
www.object-arts.de.tl
Idee := Brain.Activate(self);

User avatar
Marvin (hun)
Sergeant
Posts: 59
Joined: Sat Mar 19, 2011 3:01 pm
Location: Hungary

Re: 4ds files hacked

Unread post by Marvin (hun) » Sat Apr 16, 2011 3:29 pm

As I know, the HDD-Editor can make the lightmaps and has a 3dsmax (ver 3.0) import/export plugin. Can this help in the making of lightmaps to HD2?

majo213
Private
Posts: 1
Joined: Sun Apr 17, 2011 11:58 am

Re: 4ds files hacked

Unread post by majo213 » Sun Apr 17, 2011 12:02 pm

Hello
I have 3ds max 7 and i download your script i dont import 4ds
or you can send me czech4 in 3ds version ?
Last edited by majo213 on Sun Apr 17, 2011 1:37 pm, edited 1 time in total.

User avatar
Ikaros
Sergeant
Posts: 82
Joined: Wed Mar 23, 2011 11:30 am
Location: Italy
Contact:

Re: 4ds files hacked

Unread post by Ikaros » Sun May 15, 2011 10:40 am

Does anyone knows what are the bytes 7-15 of a .4DS file? Are they important? I'm writing some editor functionality to handle map.4ds and don't know how to use those bytes between format/versione and number of textures.
http://malgolan.altervista.org/
Italian politicians - Not in my name!

hdmaster
Sergeant
Posts: 84
Joined: Thu Jan 27, 2011 9:31 pm
Location: Germany

Re: 4ds files hacked

Unread post by hdmaster » Sun May 15, 2011 11:19 am

Those bytes represent the creation time of the file.
MSDN: (FILETIME Structure): Contains a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (UTC).

User avatar
Ikaros
Sergeant
Posts: 82
Joined: Wed Mar 23, 2011 11:30 am
Location: Italy
Contact:

Re: 4ds files hacked

Unread post by Ikaros » Sun May 15, 2011 11:25 am

@hdmaster : Pefect, thanks! I saw you skip them in your 3dsmax plugin.

It's been a while I didn't hear from you. Any news? :)
http://malgolan.altervista.org/
Italian politicians - Not in my name!

hdmaster
Sergeant
Posts: 84
Joined: Thu Jan 27, 2011 9:31 pm
Location: Germany

Re: 4ds files hacked

Unread post by hdmaster » Sun May 15, 2011 12:01 pm

MAXScript itself has no functions to handle date/time so I skipped it until I found out that MAXScript has functionality to interact with .NET, so now I'm able to read out the date and also to write the date with my beta exporter. But the date has no effect on the files except for one file type. I came once across a function in HD2.exe that checked the bytes 7-15 of a file...I think that was for .5ds but I'm not sure.

Well time is very rare at the moment. I'm trying to get the exporter working but look at the results:
Image

Uploaded with ImageShack.us

This should be the Tiger tank :/

User avatar
Marvin (hun)
Sergeant
Posts: 59
Joined: Sat Mar 19, 2011 3:01 pm
Location: Hungary

Re: 4ds files hacked

Unread post by Marvin (hun) » Mon May 16, 2011 9:04 am

It' s very promising! Did you make the meshes manually?

hdmaster
Sergeant
Posts: 84
Joined: Thu Jan 27, 2011 9:31 pm
Location: Germany

Re: 4ds files hacked

Unread post by hdmaster » Mon May 16, 2011 10:10 am

No it's the imported La_tiger.4ds exported back to .4ds from 3ds max

User avatar
2k
Sergeant
Posts: 57
Joined: Wed Jul 04, 2007 6:32 pm

Re: 4ds files hacked

Unread post by 2k » Mon May 16, 2011 12:53 pm

Well, at least some parts are imported properly, really hope you could fix this issues. I cross my fingers. smile01

User avatar
Marvin (hun)
Sergeant
Posts: 59
Joined: Sat Mar 19, 2011 3:01 pm
Location: Hungary

Re: 4ds files hacked

Unread post by Marvin (hun) » Tue May 17, 2011 10:47 am

yeah, I also found some wrong placed meshes almost on every map, after I opened them in 3dsmax. Maybe the importer is not 100% yet, but we very barrack for you, hdmaster.

Another questions:
- did you import the tank entity and exported it as a new map-mesh?
- and what are those shadow ~below the tank? Is that the shadow of the tank?
Last edited by Marvin (hun) on Tue May 17, 2011 10:49 am, edited 1 time in total.

Post Reply

Who is online

Users browsing this forum: No registered users and 52 guests