Skip to content

PATCH_FLAGS

widberg edited this page Feb 18, 2023 · 6 revisions

There exists a string in the binary "PATCH_FLAGS_p_D_b_l" that controls some bits in a global flags variable. A lowercase letter means the option is disabled and an uppercase letter means the option is enabled. The corresponding mask for each letter is bitwise or'd together with the default flags variable value if that letter is enabled. As indicated by the string, the D letter is capitalized in the string found in the game, and therefore enabled by default. The string is a global constant and cannot be modified without patching the binary/debugging.

Default

By default, the flags variable is set to 0x6D800. Since the letters are bitwise or'd with the default value, these bits will always be set.

Letters

P

0x0006C181 - PAL on, NTSC off
implies 0x00000080 - 50 on, 60 off

D

0x00002000 - unused?, enabled by default

B

0x00001000 - unused?, on by default regardless of letter case

L

0x00000800 - related to big files, definitions, unused?

No letter

Some bits in the flags variable cannot be set with the letters but are still tested by the game.

0x00008000 - warns (red screen) on below 30 fps on and 60 off in display fps, "2 Frames" option in popup menu, on by default
0x00080000 - save game location related, creates a folder if unset, off by default

Home
FAQ

For FMTK Users and Mod Developers

Read the Docs

For FMTK Developers

Asobo BigFile Format Specification
Asobo Classes
      Animation_Z
      Binary_Z
      Bitmap_Z
      Camera_Z
      CollisionVol_Z
      Fonts_Z
      GameObj_Z
      GenWorld_Z
      GwRoad_Z
      Keyframer*_Z
      Light_Z
      LightData_Z
      Lod_Z
      LodData_Z
      Material_Z
      MaterialAnim_Z
      MaterialObj_Z
      Mesh_Z
      MeshData_Z
      Node_Z
      Omni_Z
      Particles_Z
      ParticlesData_Z
      RotShape_Z
      RotShapeData_Z
      Rtc_Z
      Skel_Z
      Skin_Z
      Sound_Z
      Spline_Z
      SplineGraph_Z
      Surface_Z
      SurfaceDatas_Z
      UserDefine_Z
      Warp_Z
      World_Z
      WorldRef_Z
Asobo File Format Idioms
Asobo CRC32
Asobo LZ Compression
Asobo Arithmetic Coding Compression
Asobo Save Game File Format Specification
Asobo Audio Formats
TotemTech/ToonTech/Zouna/ACE/BSSTech/Opal Timeline
Zouna Modding Resources
Miscellaneous

Clone this wiki locally