UE4 GET_MAGIC broken for F13

Doubts, help and support about QuickBMS and other game research tools
aaronrules5
Posts: 1
Joined: Mon Apr 04, 2022 6:32 am

UE4 GET_MAGIC broken for F13

Post by aaronrules5 »

Hello.
I tried using the latest quickbms script for extracting files out of a pak file for UE4. (script 0.4.25) http://aluigi.altervista.org/bms/unreal ... ment_4.bms
and it doesn't work for the Friday the 13th game's SummerCamp-WindowsNoEditor.pak file.

It gives an error with:

Code: Select all

Error: [myfseek] offset 0x875021fe3dc51d72 in file 0 can't be reached

Last script line before the error or that produced the error:
  99  log MEMORY_FILE10 OFFSET SIZE

- OFFSET       0x875021fe3dc51d72
- SIZE         0x124ac7d601f81f13
  coverage file 0     0%   312        8829481756 . offset 000000020e47331c

Replacing lines 46-63 with

Code: Select all

    goto -0x2c
    savepos MAGIC_OFF
    get MAGIC long  #idstring "\xe1\x12\x6f\x5a" # 0x5a6f12e1
makes it work. I think this was originally in the script version 0.4.23
ALSO if you can help with generating a .sig file for the .pak let me know! :D
.sig file prob not necessary. just mainly letting you know the script doesn't work for game by default.

This isn't a problem with quickbms, it's a problem with the ue4 script, but I'm not sure where else to post this.