Crash Offsets & Reverse Engineering

Efforts to reverse-engineer and document the internal workings of Freelancer’s binary files.

3 Topics 1.3k Posts
  • Dev's Limit Breaking 101 Techniques

    Moved
    1k
    0 Votes
    1k Posts
    744k Views

    @Laz: thanks again for fixing my typos!
    @self: remember to turn off the ‘insert’ button and fix it’s damage!

    EDIT:

    #make accounts less vulnerable to crashes due to too many cargo/base_cargo lines in character files #double the size of Freelancer's 'visit' packet (MP only) #Jolly_Roger, 14 September 2012 #adoxa, 7 March 2021 #adoxa, 1 October 2022 File: RemoteClient.dll 96B1: D0 27 [ 00 28 ] 96E8: 30 20 03 [ 00 90 01 ] 9707: 20 03 [ 90 01 ] File: remoteserver.dll 9AE5: D0 27 [ 00 28 ]

    This patch is actually a composition of two patches that alter the same code, hence had to be merged.

    #colors of several things hardcoded in freelancer.exe #adoxa, 7 January 2010 File: Freelancer.exe 0bd8ec: 43 # R of tooltip background 0bd8f1: 61 # G 0bd8f6: 70 # B 0bd933: b9 # R of tooltip text 0bd938: f7 # G 0bd90b: ff # B (this is e0 of an unused color) 0bd92a: 0f # change it from 0e so above works 15b22c: ff # R of selected maneuver icon 15b231: ff # G 15b236: 00 # B 15b2cb: ff # R of selected neural net icon 15b2d0: ff # G 15b2d5: 00 # B 15b2f6: ff # A of both 161be6: 87 # R of main text color (aqua) 161bed: c3 # G 161bf4: e0 # B 161bfb: c0 # A 161c06: 87 # R of main color (aqua) 161c0d: c3 # G 161c14: e0 # B 161c1b: ff # A 161c66: f5 # R of selected color (yellow) 161c6d: ea # G 161c74: 52 # B 161c7b: ff # A 161ce1: 80 # RGB of disabled icons 161cf7: ff # A 199da6: 87 c3 e0 # RGB of some buttons 199dab: 87 c3 e0 # and again 199dc6: 80 80 80 # RGB of disabled buttons 199dcb: 80 80 80 # and again

    Probably want to make a new section ‘HUD: Colors’ to add it in.

    EDIT: indexed to payload.

  • 0 Votes
    2 Posts
    27 Views

    0x00549BC0 Freelancer sub

    esp+4 =
    0x00678BA4 first person
    0x00678D48 third person

  • Crash Offsets

    Moved
    219
    0 Votes
    219 Posts
    251k Views

    Unfortunately I’ve been unable to reliably replicate this one and haven’t been able to get the game to crash in the same area again! I’ve made a note so it should flag up the next time it occurs while I’m testing. If I can reliably get it crashing I’ll try running it with my client hooks w/ the debugger attached, and if that fails, with OllyDbg