Skip to content

PS2User.tsc

widberg edited this page May 20, 2023 · 8 revisions

The script PS2User.tsc in the root game directory is able to be run on demand while the game is running by using a key combination when the EnableL2R2 debug flag is enabled. By default, this debug flag is disabled, but it can be toggled by running the command EnableL2R2. Being able to run a script quickly at any point in the game is a useful development feature, especially on consoles where running commands is tedious. This feature exists on every platform despite the file having PS2 in the name. This command is famously commented out in the usergame.tsc file in the root game directory among other debug commands. The part of the usergame.tsc file that contains this command is as follows:

// !!!!! To be removed for final submission !!!!!
//EnableL2R2
//EnableDebugViewport
//epm on
//adhud

//cheatcode
EnableDebugTools
// **********************************************

The PS2User.tsc file does not exist but it can be created manually and the game will load it when necessary. To run the script on PC one must hold down the Shift (Right), Shift (Left), Control (Right), and Control (Left) keys at the same time. My keyboard is unable to hold down all four of these keys at the same time; the Key-Test Keyboard test online tool can be used to test if your keyboard can hold down these keys simultaneously. On consoles, it is presumed that one must hold down the trigger buttons on the controller due to the command name.

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