Project Zomboid

Project Zomboid

33 个评价
How to Get Rid of the Debug Menu in B42
由 aaaa 制作
That debug menu is annoying, right? And you’re probably not planning to debug anything anyway. Let me show you how to get rid of it!
2
   
奖励
收藏
已收藏
取消收藏
TL;DR
  1. Please download the ZIP file that matches your version below.
  2. Open your game folder.
  3. Drag the SandboxOptions.class from the ZIP into the zombie folder.
  4. Done :)

⚠️It might not work properly if the game gets updated. Let me know in the comments, and I’ll update the file!
How to Patch It Yourself
  1. Install any editor that lets you open and modify .class files.
    In this guide, I'll use dirtyJOE[dirty-joe.com].

  2. Open ProjectZomboid/zombie/SandboxOptions.class using the top-left menu.


    .

  3. Click the Methods tab at the top, find isUnstableScriptNameSpam, and double-click any opcode at the bottom.


    .

  4. Double-click last iconst_1 opcode and change value to 03.


    .

  5. Save the file through the top menu.
Have Fun!
:)
26 条留言
sol 10 月 20 日 下午 9:02 
Same as Kirosawa. The website appears to be broken.
Kirosawa 10 月 9 日 上午 11:50 
Can anyone give me a dirtyJOE program? {链接已删除} It doesn't work
Filipe 6 月 13 日 上午 9:19 
The manual method worked nice.
I've had to do the manual one because this file was already modified with the mod fps boost and still worked well :)
ZeroTwo.exe ( Allkeyshop ) 5 月 30 日 上午 9:19 
This guide is for removing debug context menu from the B42 Unstable ._.
Makerman991 5 月 28 日 下午 8:16 
i just said fuck it and modified part of the core.class file to only enable the debug menu on the left. Even just changing that part put two debug things in the context menu. But it's whatever.
ZeroTwo.exe ( Allkeyshop ) 5 月 24 日 上午 2:18 
@Makerman991 it works perfectly for me, are you doing the process right? did you read everything correctly?
Makerman991 5 月 18 日 下午 5:44 
I deleted the entire game folder, then verified integrity and did the DirtyJoe method again. Still did not work. Changing the iconst_1 to iconst_0 changes it from section one to section 2.


public boolean isUnstableScriptNameSpam() {
return Core.bDebug ? true : true;
}


public boolean isUnstableScriptNameSpam() {
return Core.bDebug;
}

Big_Baby 5 月 17 日 上午 2:05 
by the way, after your guide i need write "-debug" in property, right?
Big_Baby 5 月 17 日 上午 2:01 
needs update for 42.7
t2hk 5 月 3 日 上午 9:30 
Guide works. For anyone confused;

Yes, the DirtyJoe method works. Follow it step by step, read through it carefully and make sure you understand it.

The DirtyJoe method should work on any version regardless, so while there isn't a ZIP file for the newest version yet, you can patch it yourself. It works, just be careful with how you're reading the steps.