Page 5 of 19

Re: 4ds files hacked

Posted: Wed Apr 13, 2011 6:01 pm
by finnlayer
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

Re: 4ds files hacked

Posted: Wed Apr 13, 2011 7:30 pm
by hdmaster
@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

Re: 4ds files hacked

Posted: Wed Apr 13, 2011 10:29 pm
by finnlayer
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

Re: 4ds files hacked

Posted: Thu Apr 14, 2011 1:37 pm
by Ikaros
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!

Re: 4ds files hacked

Posted: Thu Apr 14, 2011 9:39 pm
by JonnySniper
i think its really hard to read complete files out of memory  nods01

Re: 4ds files hacked

Posted: Sat Apr 16, 2011 3:29 pm
by Marvin (hun)
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?

Re: 4ds files hacked

Posted: Sun Apr 17, 2011 12:02 pm
by majo213
Hello
I have 3ds max 7 and i download your script i dont import 4ds
or you can send me czech4 in 3ds version ?

Re: 4ds files hacked

Posted: Sun May 15, 2011 10:40 am
by Ikaros
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.

Re: 4ds files hacked

Posted: Sun May 15, 2011 11:19 am
by hdmaster
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).

Re: 4ds files hacked

Posted: Sun May 15, 2011 11:25 am
by Ikaros
@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? :)

Re: 4ds files hacked

Posted: Sun May 15, 2011 12:01 pm
by hdmaster
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 :/

Re: 4ds files hacked

Posted: Mon May 16, 2011 9:04 am
by Marvin (hun)
It' s very promising! Did you make the meshes manually?

Re: 4ds files hacked

Posted: Mon May 16, 2011 10:10 am
by hdmaster
No it's the imported La_tiger.4ds exported back to .4ds from 3ds max

Re: 4ds files hacked

Posted: Mon May 16, 2011 12:53 pm
by 2k
Well, at least some parts are imported properly, really hope you could fix this issues. I cross my fingers. smile01

Re: 4ds files hacked

Posted: Tue May 17, 2011 10:47 am
by Marvin (hun)
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?