TJS2 is case-sensitive and strict. If Patch.tjs has a missing semicolon or a typo ( Funciton vs Function ), the engine will fail silently or crash on boot. Run the game via krkrtpc.exe console to see error logs.
Xp3filter.tjs is another TorqueScript file, but its function is more specialized. It is associated with the filtering of .xp3 files, which are used in some games for packaging game assets. The Xp3filter.tjs script likely provides a mechanism for filtering or modifying the contents of these .xp3 files. Patch.tjs Xp3filter.tjs
Based on the filenames and Xp3filter.tjs , you are likely looking at Kirikiri/Z-Game Engine (often used for visual novels). These files are typically used for modding , extraction , or file replacement without modifying the original game archives ( .xp3 files). TJS2 is case-sensitive and strict
In the Kirikiri ecosystem, Patch.tjs is a special script file that, if present in the game directory (or a prioritized archive), is executed the core system scripts but before the main game script. Xp3filter
Modders and users typically utilize these files in the following manner: