Longyin performance optimization

by 18284242013·v1.0.0·Updated 2026-09-12

Optimize Longyin's auto-save lag, lag after day, month, and message accumulation. If you have any questions, please leave a message or give feedback in the group (750506057)

About this mod Machine translation

Optimize Longyin's auto-save lag, lag after day, month, and message accumulation.

If you have any questions, please leave a message or give feedback in the group (750506057)

Configuration file path:

UserData\WuMingPerformance.cfg

Some features you don't want can be turned off in the configuration.

Implementation principle:

---

Automatic saving is stuck: Put the automatic saving in the background thread and put it into the main thread after it is completed.

Advantages: Reduce the lag during automatic saving. Disadvantage: The automatic saving process will be delayed by 1~2s (not lag and save immediately)

How to close:

AsyncSaveEnabled = false

--

Excessive lag: Merge the AI ​​requests of the overexposed characters, reduce the frequency of AI scanning, process AI slicing, and put sect affairs, retirement, and recruitment into the background to run.

Advantages: Reduce the lag when passing through the sky. Disadvantages: The frequency of character activities is slightly reduced.

How to close:

AIGateEnabled = false

AsyncForceStuffEnabled = false

AsyncHeroQuitEnterEnabled = false

AIScanSliceEnabled = false

--

Stuttering after a month: The accumulation of message pop-ups when the month is over is split and processed, monthly tasks are postponed until after the main thread has passed, the upper limit of character deletion is lowered, and dirty data processing is moved to the background.

Advantages: Reduce lag when the month passes. Disadvantages: When there are a large number of message pop-ups, the messages will be displayed with a slight delay, and the processing of monthly tasks will be delayed.

How to close:

InfoFloodControlEnabled = false

LateUpdateBudgetEnabled = false

AsyncMonthTaskEnabled = false

--

Test chart (for reference only)

The left is the original version, the right is the Mod (the two values ​​​​are average frames and 1% low frames respectively)

Install & use Install: follow the bundled instructions

  1. Unzip the archive from playbuff and read the bundled readme / instructions first.
  2. There is no universal mod manager for this game: some mods replace game files directly, some go into a game-specific Mods folder, and some need a game-specific community loader or tool first — follow the bundled readme.
  3. Place the files exactly as the readme says; mods with listed dependencies need those installed too.
  4. Launch the game to confirm it loaded; some games require enabling mods in settings or an in-game mod menu.

Install locations vary a lot between games and mods — the bundled readme is the most reliable guide.

File & checksum

Filename
WuMingPerformance.dll.zip
File size
18.9 KiB