Miscellaneous Offsets
Information
- All offsets are for files from the official 1.1 patch.
- Numbers are in hexadecimal, or suffixed to indicate their type:
Suffix | Type | Size |
---|---|---|
f | float | 4 bytes |
d | double | 8 bytes |
i | integer | 4 bytes |
b | byte | 1 byte (-128 to 127) |
A value like "0F 85 -> 90 E9" means replace the original bytes on the left with the new bytes on the right. (The bytes are given in file order, they don't represent a number like the offset.)
Miscellaneous
Default Value | File | Offset | By | Description |
---|---|---|---|---|
42 2A -> A2 6A | content.dll | 04EE3A | Xerx, Cannon | OpenSP tweak for 1.1 DLLs to always start from m13; alternatively, simply direct your newplayer.fl file to start on a blank Mission_13 instead of using this hack. |
74 0A 41 83 C2 04 3B C8 7C F4 EB 0B C7 84 8C 9C 00 00 00 00 00 00 -> 75 0B C7 84 8C 9C 00 00 00 00 00 00 00 41 83 C2 04 39 C1 7C E9 EB | server.dll | 02C057 | adoxa | Update objects once (fixes bug that causes solar guns reduce refire delay when multiple players are around). |
200f | common.dll | 01A74C | adoxa | Maximum FPS (Part 1). |
2C B2 39-> 4C A7 27 | common.dll | 01A892 | adoxa | Maximum FPS (Part 2). |
200f | freelancer.exe | 0210A0C | Schmackbolzen | Maximum FPS (Part 3). |
D9 1D 0C 0A 61 00 -> 90 90 90 90 90 90 | freelancer.exe | 158A14 | FriendlyFire | Prevent FL from reducing framerate to 25 in some instances (still need to manually limit framerate using external tool). |
74 -> EB | freelancer.exe | 1B2819 | FuryFreelancer | Disable forced logging to FLSpew.txt (logging can still be defined to custom file in freelancer.ini). |
"Restart" | server.dll | 08AE30 | fox | Name of Restart.fl file. |
E4 B4 -> 14 B3 | server.dll | 06BFA6 | adoxa | Disable encryption on creating MP character. |
E4 B4 -> 14 B3 | server.dll | 06E10D | adoxa | Disable encryption on saving character/game. |
E4 B4 -> 14 B3 | server.dll | 07399D | adoxa | Disable encryption on creating restart file. |
FreelancerClient" | freelancer.exe | 1E6DCC | M0tah | String used for lpName when FL calls CreateMutex (change this for multiple instances). |
RemoteServer.dll" | freelancer.exe | 1E6454 | M0tah | Name of RemoteServer DLL filename used by FL (a duplicate RemoteServer.dll with different name is needed to play in MP with the multi-instance hack). |
Freelancer.exe" | remoteserver.dl | 03F440 | Crazy | Name of freelancer.exe for RemoteServer; if you're going to rename your freelancer.exe, you'll need to change it here as well, or it will crash when you try to join a server. |
81 -> C3 | freelancer.exe | 1A5390 | adoxa | Don't run dxdiag on crash (client). |
81 -> C3 | FLServer.exe | 008B70 | adoxa HeIIoween | Don't run dxdiag on crash (server). |
84 -> 33 | freelancer.exe | 1B16FC | OutCast | Supress unsupported video dialog. |
83 FF 01 0F 94 C2 -> BA 01 00 00 00 90 | freelancer.exe | 1B264C | Cannon | Keep FL display running when the window doesn't have focus. |
74 -> EB | freelancer.exe | 1B2665 | adoxa | Keep Freelancer running in the background when Alt-Tabbed, but not the window. |
8C -> CC | freelancer.exe | 11D072 | adoxa | Allow 64 simultaneous firings (Part 1). |
A0 -> E0 | freelancer.exe | 11D2F9 | adoxa | Allow 64 simultaneous firings (Part 2). |
A0 -> E0 | freelancer.exe | 11D553 | adoxa | Allow 64 simultaneous firings (Part 3). |
8C -> CC | freelancer.exe | 11D7C2 | adoxa | Allow 64 simultaneous firings (Part 4). |
28 -> 00 | freelancer.exe | 08049A | adoxa | Need level to buy ships/equipment in MP (Part 1). |
0A -> 00 | freelancer.exe | 082E96 | adoxa | Need level to buy ships/equipment in MP (Part 2). |
1B -> 00 | freelancer.exe | 0B948E | adoxa | Need level to buy ships/equipment in MP (Part 3). |
90 90 90 90 90 90 90 90 -> 89 35 8C 33 67 00 EB 47 | freelancer.exe | 13E1F8 | adoxa | Need level to buy ships/equipment in MP (Part 4). |
09 -> BA | freelancer.exe | 13E23D | adoxa | Need level to buy ships/equipment in MP (Part 5). |
90 90 90 90 90 90 90 -> 39 F1 74 03 30 C0 C3 | freelancer.exe | 12D279 | BC46 | Prevent Countermeasures being fired by Right Click (Part 1). |
80 -> 79 | freelancer.exe | 1DD5A8 | BC46 | Prevent Countermeasures being fired by Right Click (Part 2). |
1D -> 00 | freelancer.exe | 11D281 | adoxa | Missiles continuously fire when holding button. |
0.02f | freelancer.exe | 11DB5C | w0dk4 | Screen shake when hull is hit. |
0.005f | freelancer.exe | 11DB89 | w0dk4 | Screen shake when shield is hit. |
74 -> EB | freelancer.exe | 11DB44 | adoxa | Remove screen shake altogether. |
04 1F 5D -> 3C 3F 50 | freelancer.exe | 103E49 103E7B 103E8B | adoxa | Make screen shake when jumping customizable; only use with next hack. |
90 90 90 90 | freelancer.exe | 103F3C | adoxa | Only with above hack: encode desired jump screen shake here; vanilla default is 0.015f. |
07 -> 00 | content.dll | 0A8793 | adoxa | NPCs are global, not local to base; in mbases.ini still need to define the [GF_NPC] per base (Part 1). |
05 -> 00 | content.dll | 0A8903 | adoxa | NPCs are global, not local to base; in mbases.ini still need to define the [GF_NPC] per base (Part 2). |
05 -> 00 | content.dll | 0A8C83 | adoxa | NPCs are global, not local to base; in mbases.ini still need to define the [GF_NPC] per base (Part 3). |
8D 44 24 10 50 8B CE -> 39 4E 04 74 12 EB 09 | content.dll | 0A8CE1 | adoxa | NPCs are global, not local to base; in mbases.ini still need to define the [GF_NPC] per base (Part 4). |
05 -> 00 | content.dll | 0A8D59 | adoxa | NPCs are global, not local to base; in mbases.ini still need to define the [GF_NPC] per base (Part 5). |
8B 44 24 0C 81 EC 00 01 00 00 53 8B 1D B8 47 D6 06 55 8B 2D 7C 48 D6 06 56 8B 70 04 85 F6 57 74 49 FF D3 56 33 FF 57 8B C8 FF D5 85 C0 74 0A 8B C8 FF 15 78 48 D6 06 8B F8 85 FF 74 2D 8B 8C 24 18 01 00 00 51 8D 54 24 14 68 F0 AE D6 06 52 FF 15 74 4C D6 06 8B 8C 24 20 01 00 00 8B 01 83 C4 0C 57 8D 54 24 14 52 FF 50 14 8B 84 24 1C 01 00 00 8B 38 85 FF 74 4A FF D3 57 6A 01 8B C8 33 F6 FF D5 85 C0 74 0A 8B C8 FF 15 78 48 D6 06 8B F0 85 F6 74 2D 8B 8C 24 18 01 00 00 51 8D 54 24 14 68 E8 AE D6 06 52 FF 15 74 4C D6 06 -> 53 55 56 57 83 EC 10 89 E5 8B 74 E4 2C FF 15 B8 47 D6 06 89 C3 31 FF 8B 04 BE 85 C0 74 59 50 89 D9 83 FF 04 A1 7C 48 D6 06 7C 07 05 E0 00 00 00 EB 0A 57 83 FF 01 77 04 80 34 E4 01 FF D0 85 C0 74 35 89 C1 FF 15 78 48 D6 06 85 C0 74 29 50 FF 74 E4 2C 89 F8 83 FF 04 7E 02 B0 04 FF 34 85 BC 69 D4 06 55 FF 15 74 4C D6 06 8B 4C E4 34 8B 01 83 C4 0C 55 FF 50 14 47 8B 46 30 83 C0 04 39 C7 75 95 83 C4 10 5F 5E 5D 5B C3 00 00 E8 AE D6 06 F0 AE D6 06 DC AE D6 06 D0 AE D6 06 D0 69 D4 06 25 73 61 63 63 65 73 73 6F 72 79 00 | server.dll | 066930 | adoxa | Save costume accessories (Part 1). |
89 BD B0 02 00 00 89 BD AC 02 00 00 89 BD A8 02 00 00 -> 8D 8D E0 02 00 00 89 79 7C 89 79 D0 89 79 CC 89 79 C8 | server.dll | 0672C1 | adoxa | Save costume accessories (Part 2). |
3D 39 44 39 63 39 7A 39 81 39 BA 39 D1 39 D8 39 12 3A 29 3A -> 3F 39 55 39 76 39 8F 39 96 39 BC 39 C0 39 C4 39 C8 39 CC 39 | server.dll | 0B2174 | adoxa | Save costume accessories (Part 3). |
00 -> 01 | ebueula.dll | 00217D | Laz | Don't show the EULA on first run (see note below). |
83 EC 08 -> 89 F0 C3 | ebueula.dll | 0019E0 | BC46 | Never show the EULA when launching the game by bypassing the registry key check. NOTE: this patch will only work after deleting the EBUEula.dll file in the root Freelancer folder, because the game will attempt to load this dll first. Alternatively, apply the patch directly to the root EBUEula.dll file. |
68 80 -> EB 0F | freelancer.exe | 1B2D72 | BC46 | Never load EBUEula.dll from the root Freelancer folder (Freelancer.exe). |
68 C4 57 42 00 8B -> 89 CE 31 C0 EB 03 | flserver.exe | 00B865 | BC46 | Never load EBUEula.dll from the root Freelancer folder (FLServer.exe). |
84 C0 75 12 -> 90 90 90 90 | freelancer.exe | 1B16FC | Laz | Don't show the unknown graphics card warning. |
Freelancer | common.dll | 142684 | Laz | Name of the folder inside AppData where FLSpew.txt is stored. |
Freelancer | common.dll | 142684 | BC46 | Name of the folder inside My Games in which the save files and user preferences are stored. NOTE: Same offset as above! |
My Games | common.dll | 142690 | BC46 | Name of the folder inside Documents in which the folder from offset 142684 (see above) is stored. |
FreelancerShots | common.dll | 14269C | BC46 | Name of the folder inside Pictures where Freelancer screenshots are saved to. |
FLSpew.txt | freelancer.exe | 1E6D24 | Laz | The path of the FLSpew.txt file. |
CA 02 -> 00 00 | freelancer.exe | 02477A | adoxa Laz | Enable Borderless Window (disable caption flags) (Part 1). |
CA 02 -> 00 00 | freelancer.exe | 02490D | adoxa Laz | Enable Borderless Window (disable caption flags) (Part 2). |
01 -> 00 | freelancer.exe | 1B16CC | adoxa | Forces Freelancer to run in windowed mode. |
90 53 32->C0 DE 26 | common.dll | 139964 | HeIIoween | Using thruster hp_type for [Light] . |
90 53 32->C0 DE 26 | common.dll | 139A40 | HeIIoween | Using thruster hp_type for [AttachedFX] . |
84 -> 04 | common.dll | 057702 | adoxa | Shows trade lanes as unknown initially and allows them to be discovered both on the radar and the Nav Map. |
E8 EA 8B FD FF -> 90 90 90 90 90 | common.dll | 04CB81 | adoxa | Removes the initial angular velocity of mines when dropped. |
74 -> EB | freelancer.exe | 03B348 | BC46 | Prevents the "*** WARNING: Failed to get start location" message from being logged in FLSpew.txt. |
7D -> EB | rp8.dll | 004467 | RimShot | Prevents the "D3DERR_INVALIDCALL" error spam from occurring in FLSpew.txt. |
0F -> 2F | freelancer.exe | 00014E | BC46 | Allows Freelancer to use 4GB of virtual memory instead of 2GB. |
8A 50 -> EB 0C | freelancer.exe | 05685F | BC46 | Skip story cinematics (excluding space cutscenes) with the Esc key, like in the FL Beta. |
74 -> EB | server.dll | 069003 | Laz | Regenerate restart.fl on every launch (Game will not load saves with this offset enabled). |
75 -> EB | server.dll | 069021 | BC46 | Regenerate Restart.fl on every launch while still being able to load saves. |
8B CD E8 3A FD FF FF 84 C0 74 25 84 DB C6 44 24 13 03 75 1C 8D 8C 24 54 01 00 00 51 8D 54 24 54 52 FF 15 -> 8D 8C 24 5C 01 00 00 51 8D 54 24 5C 52 EB 13 FF 11 83 C4 08 85 C0 74 11 8B CD E8 22 FD FF FF EB 0F 90 B9 | server.dll | 06900F | BC46 | Regenerate Restart.fl on every launch. Also ensure Restart.fl only gets loaded after being regenerated. (Part 1). |
83 C4 08 85 C0 75 -> EB E6 83 C4 08 EB | server.dll | 069036 | BC46 | Regenerate Restart.fl on every launch. Also ensure Restart.fl only gets loaded after being regenerated. (Part 2). |
0A 48 10 -> 82 C9 11 | server.dll | 06B24D | BC46 | When a wreck gets shot, do not test if it has already been looted during a previous session. This allows looted wrecks to be looted another time after loading a saved game. NOTE: This patch only works in Single Player! |
61485i | flserver.exe | 006AF9 | BC46 | String ID for the Microsoft legal notice, which fills the <legal notice goes here&t; placeholder in the Server Configuration window. Change this value to another string ID in serverresources.dll to display different text. |
8D 54 -> EB 3F | flserver.exe | 006AF4 | BC46 | Prevents the <legal notice goes here> placeholder text from getting filled with the Microsoft legal notice in the Server Configuration window. |
FF -> 00 | dalib.dll | 004BF4 | BC46 | Prevents Freelancer from running in the background after exiting the game in some cases. This occurred because Freelancer would wait for an indefinitely running thread to finish. |