Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

Destroyable asteroids - possible?

The general place to discuss MOD''ing Freelancer!

Post Tue Jun 03, 2003 7:57 pm

Just a quick update.

I tried looking through the DLL and EXE files with a hex editor, and didn't find much understandable data, mostly ini references. And I couldn't really tell what ini files had what available variables (hit_pts, mass, nickname, etc..).

I did, however, find that there is no mention of the AsteroidConsts fields (MAX_ASTEROID_LOOT_DAMAGE and MAX_LOOT_PER_ASTEROID) from constants.ini in any of the DLL or EXE files. I found the other constants.ini references in common.dll.

The reason I'm searching through the DLL files is because I was thinking there might be unlisted variables for the asteroids. For example, some variables have default values, so when the programmers wanted to use the default values, they just didn't type in the variables. This goes for many of the "hidden" constants.ini variables, such as CRUISING_SPEED and ANOM_LIMITS_MAX_VELOCITY. CRUISING_SPEED has a default value of 300, and since the programmers wanted it to be set at 300, they just didn't type it into constants.ini. For instance, when the game loads constants.ini and doesn't see the "CRUISING_SPEED" variable, it just assumes CRUISING_SPEED = 300. There are probably variables for "Asteroid" and "DynamicAsteroid" fields that work in a similar way; the "hidden" variables aren't listed in the ini files, so the game applies a default.

Does anyone have a better DLL viewer (or at least a better hex editor)?

Post Wed Jun 04, 2003 4:26 am

Can you see if you can find anything about a file called cloakarch and where its supposed to be? I can't read hex all that well.

Post Wed Jun 04, 2003 9:07 pm


Can you see if you can find anything about a file called cloakarch and where its supposed to be? I can't read hex all that well.


CloakArch is mentioned in common.dll and Freelancer.exe, but I have no clue as to what it does.

I used BinEdit 1.1 to look at the files; it has a useful search function that lets you find things by either hex code or text. Perhaps someone with more programming experience can figure out what some of the stuff in the files is doing.

You can get BinEdit at http://download.com.com/3000-2352-10155152.html?tag=lst-0-1

I also have Visual Studio 6.0, but I've had very limited experience with it, so I have no idea what programs or tools in the suite can read DLL files.

Return to Freelancer General Editing Forum