Search found 84 matches

by hdmaster
Tue Jun 21, 2011 6:37 pm
Forum: General Discussion
Topic: New way Editor!
Replies: 21
Views: 10401

Re: New way Editor!

Here a few things that might be of interest: The 3 float values in a 0x0032 block represent the color (RGB) of the ground plane in a scene (the one you see when you fall through the map) I saw in one of your logs that you read the content of 0x24AE blocks as raw data, but these also have son datablo...
by hdmaster
Sat Jun 18, 2011 3:36 pm
Forum: General Discussion
Topic: 4ds files hacked
Replies: 263
Views: 125358

Re: 4ds files hacked

1. Exporting occluder and sectors is not possible at the moment, thus they have to be deleted before you export the map. You can do that quickly by using the 'Select by name' dialog (shortcut: H). Type in the search box 'sector' press enter. All sectors should now be selected, delete them. Repeat th...
by hdmaster
Fri Jun 17, 2011 11:20 am
Forum: General Discussion
Topic: Sabre Squadron Extractor
Replies: 31
Views: 21918

Re: Sabre Squadron Extractor

Does it show any error message when you try to extract in on XP ?
by hdmaster
Mon Jun 13, 2011 10:17 pm
Forum: General Discussion
Topic: 4ds files hacked
Replies: 263
Views: 125358

Re: 4ds files hacked

Sry i was wrong. The object names inside the tree.klz file match with the ones in the scene2.bin / actors.bin, so I guess they are not calculated by HD2.

EDIT:
Some lines of code were missing. Download the fixed version here
by hdmaster
Mon Jun 13, 2011 8:48 pm
Forum: General Discussion
Topic: 4ds files hacked
Replies: 263
Views: 125358

Re: 4ds files hacked

Yes, the collision data for a map is stored in the tree.klz file. As far as I know the collision data of a model, that's not stored inside scene.4ds, is generated by HD2 at runtime. All you have to do is to add a definition for that model. But it's definitely not stored in the 4ds files. As promised...
by hdmaster
Sun Jun 12, 2011 2:24 pm
Forum: General Discussion
Topic: 4ds files hacked
Replies: 263
Views: 125358

Re: 4ds files hacked

Sorry, but it's currently not possible to make a collision file for the exported content. I've had once a look at the klz files but it's hard to guess how collision data is stored. I just found out that parts of the file are based on an offset table. Animations & bones are not yet supported, neither...
by hdmaster
Sat Jun 11, 2011 7:22 pm
Forum: General Discussion
Topic: 4ds files hacked
Replies: 263
Views: 125358

Re: 4ds files hacked

@betteryouthanme:
I've sent you a pm about the checkpoints

Import & export tool coming soon, I'll publish them by Monday at the latest

"Minimap":

Image

Uploaded with ImageShack.us
by hdmaster
Sun Jun 05, 2011 1:24 pm
Forum: General Discussion
Topic: 4ds files hacked
Replies: 263
Views: 125358

Re: 4ds files hacked

Thanks! @Marvin which mesh do  you mean on africa? The hill appears so dark because of the light. When you change the viewing angle everythings alright. The mesh in the roof is just an occluder. I dont know yet why the areas beneath the roofs are black @ikoros Soon, but i can give you the sources if...
by hdmaster
Thu Jun 02, 2011 2:42 pm
Forum: General Discussion
Topic: 4ds files hacked
Replies: 263
Views: 125358

Re: 4ds files hacked

Fixed the problem. The signs of all x-coordinates must be swapped. EDIT: Improved import for scene.4ds Africa 3 http://img200.imageshack.us/img200/3026/importafrica3.jpg Uploaded with ImageShack.us Sicily 2 http://img560.imageshack.us/img560/2701/importsicily2.jpg Uploaded with ImageShack.us
by hdmaster
Mon May 30, 2011 3:22 pm
Forum: General Discussion
Topic: 4ds files hacked
Replies: 263
Views: 125358

Re: 4ds files hacked

Very nice  improvement on your editor, Ikaros. I've added alpha map support for the exporter. There's also a little problem with the brightness of the objects, the left side is always darker than the right one. Left: http://img17.imageshack.us/img17/8338/exporter4alpha.jpg Uploaded with ImageShack.u...
by hdmaster
Sun May 29, 2011 4:41 pm
Forum: General Discussion
Topic: 4ds files hacked
Replies: 263
Views: 125358

Re: 4ds files hacked

@Ikaros Any news on your editor? I've re-written parts of the importer to make it more compatible with the exporter. The exporter now also supports UVW export. Here's a screen of the czech1 locomotive imported into 3ds max and exported back to 4ds :) http://img710.imageshack.us/img710/8524/exporter3...
by hdmaster
Wed May 18, 2011 1:20 pm
Forum: General Discussion
Topic: 4ds files hacked
Replies: 263
Views: 125358

Re: 4ds files hacked

That works for all meshes so far. The problem was the vertex positions, that were not relative to the center of the mesh they belong to. Instead the absolute position to the world center was exported. So the standard transformations like positioning/rotating, applied to their mesh, moved them from t...
by hdmaster
Wed May 18, 2011 12:00 pm
Forum: General Discussion
Topic: 4ds files hacked
Replies: 263
Views: 125358

Re: 4ds files hacked

@Marvin: I'm soon going to re-write the importer. The code will get cleaner and I also  hope it's easier to solve the problems then. Yes, I imported the model with my importer and then exported it again back to a new .4ds file. I just renamed the .4ds to the name of a palm used in Africa 1 so instea...
by hdmaster
Mon May 16, 2011 10:16 am
Forum: General Discussion
Topic: Sabre Squadron Extractor
Replies: 31
Views: 21918

Re: Sabre Squadron Extractor

Has anyone with Vista or Windows 7 tested the trick with renaming the .exe to HD2_Extractor-setup.exe?
by hdmaster
Mon May 16, 2011 10:10 am
Forum: General Discussion
Topic: 4ds files hacked
Replies: 263
Views: 125358

Re: 4ds files hacked

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