Skip to content

Conversation

Ghabry
Copy link
Member

@Ghabry Ghabry commented Jul 31, 2025

This game has various checks which makes the game fail to run with a loud jump scare when EasyRPG is detected...

screenshot_20250731_125546
// Maniac Patch version check
// This PR: Implemented in "Maniac Patch: Extract the patch version number out of the EXE section"
@> Control Variables: V[0104] = Version of Maniac Patch
@> Conditional Branch: Playtest mode is active
@> Conditional Branch: V[0104] != 230831

// Call Command (already supported)
@> Call Command: 10220, , [0, 104, 0, 0, 0, 80085]

// Useless Output check (This PR)
@> Conditional Branch: Can output file

// Tileset Get Game Info (added by jetrotal a while ago)
@> Get Game Info: Tileset ID -> V[0104]

// Interpreter State (recently added by florianessl)
@> Get Game Info: Interpreter, Current(0) -> V[0104]

// This is not supported because it uses a Parallel PP
// but battle has no enemy so it ends immediately
@> Control Switches: S[0307:monkey] = ON
@> Battle Processing: Normal, [0006:--------------------]
@> Control Switches: S[0307:monkey] = OFF

There was also a bug which launched a battle right after starting the game because checking "Was just loaded" reported "true" on Frame 0.


What is not implemented are Battle Common Events. The only relevant I found is this one which removes the "Row" Battle Command and always forces the ATB mode to "Wait".

So not supporting this is not game breaking.

@> Battle Command EX: -Row, [Fight, Auto]
@> Conditional Branch: ATB mode is Wait ON
  @> Toggle ATB Wait Mode
  @> Conditional Branch: Playtest mode is active
    @> Change Skills: [0001:The batter], + [0002:Wide Angle]
    @>
   : Branch End
  @>
 : Branch End

Ghabry added 4 commits July 31, 2025 12:08
Maniac Patch has a built-in rate limit for too many write operations.

We do not rate limit writes currently.
Games can use this to check whether Maniac Patch is correctly installed.

Also OFF Forgotten Dreams uses this to report that it is incompatible with EasyRPG Player
@Ghabry Ghabry added this to the 0.8.2 milestone Jul 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants