Jump to content
catty-cb

Debug Options in Banished

6 posts in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

For testing, it's useful to enable debug mode so you can place buildings without needing resources. You can also add resources, citizens, change time of year, change the color of fog and lighting, cause disasters, and see general performance statistics.

To enable it, you can edit

/resource/Game/Toolbar.rsc

and find the 'debug' Toolbar item. Change the

bool _visible = false;

to

bool _visible = true;

Next time you load the Tools & Reports toolbar, there will be a debug option, which will bring up a dialog with many debugging tools. Note that the game isn't guaranteed to work properly with debug/cheating enabled. You can break the game by changing the time slider for seasons, and invalidate some state that may cause crashes.

If you're building a mod in a separate directory from the normal resource folder, you'll have to copy the Toolbar resource into your directory in the same relative place so that the game will see the change.


  Edited by catty-cb  

Banished Toolkit 1.0.7

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

Hi Catty,

I have tried to include the debug option in my mod.
But I didn't succeed to compile it, I also try the debug option in a separate mod.

Which files is required ?
I have Added the referenced files like /Template/UtilityDebug.rsc, spritesheet, stringtable, …
But I cant find the Debug.rsc file.

Can you describe a little bit more what you mean with :
If you're building a mod in a separate directory from the normal resource folder, you'll have to copy the Toolbar resource into your directory in the same relative place so that the game will see the change.

Thanks.

Share this post


Link to post
Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     
    10 hours ago, Baniseb said:

    Hi Catty,

    I have tried to include the debug option in my mod.

    Hi Baniseb

    Sorry this took longer than I was expecting to come back with an answer as I'm in the middle of swapping computers and while I have banished installed on the new computer I haven't got round to installing the modkit and it seems I missing a dll so currently haven't got it up and running .... also please note the information from the first post has been taken from the readme in the banished kit so not written by me.

    Anyway to get the debug menu in the banished test version you need to open the "Toolbar.rsc" file and find this line

    Toolbar debug : "base"            {  bool _visible = false;

    and change it to

    Toolbar debug : "base"            {  bool _visible = true;

    I personally wouldn't recommend including the "Toolbar.rsc" with your mod as most banished players have already got one of the available debug mods

    https://banishedinfo.com/mods/view/525-Unblockable-Debug

    or this one

    https://banishedinfo.com/mods/view/664-Debug-menu

    The only reason I was playing around with the toolbar files was so I could add myself into the community toolbar "How to put your new mod in the Community Toolbar"

    https://worldofbanished.com/index.php?topic=1467.0

    Am going to attach the two files need to do this to this post as a backup in case something happens to WoB, there is a bit of a learning curve to setting it up

    Screenshot from 2023-12-29 22-17-11.png

    :read:

    NewPersonalToolbar - redketchup example.zip

    NewToolbarSetup - feb16th2017.zip

    • Thanks 1

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    Hi Catty,

    Thanks a lot for your quick and clear answer.
    I'm just starting with the mod creation for Banished.

    I'll check to integrate my mod in the Community toolbar.
    And I'll also follow your tip, regarding the debug option, to keep it separately.

    I have also found that some agreement exist between the modder, like for the new limit.
    But does it also exist for the profession, or the ressources (NaturalRessource, RawMaterial, …)

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    Glad I could help, re limits I think there is something in the banished club, but probably the best person to ask is @kid1293,  real life caught up with me before I could finish creating my first mod so am still very much a beginner when it comes to this stuff

    • Thanks 1

    Share this post


    Link to post
    Share on other sites

    ×

    Thank You for the Continued Support!

    Simtropolis depends on donations to fund site maintenance costs.
    Without your support, we just would not be in our 24th year online!  You really help make this a great community. *:thumb:

    But we still need your support to stay online. If you're able to, please consider a donation to help us stay up and running. This helps sustain a platform where we can share our community creations for years to come.

    Make a Donation, Get a Gift!

    Expand your city with the best from the Simtropolis Exchange.
    Make a Donation and get one or all three discs today!

    STEX Collections

    By way of a "Thank You" gift, we'd like to send you our STEX Collector's DVD. It's some of the best buildings, lots, maps and mods collected for you over the years. Check out the STEX Collections for more info.

    Each donation helps keep Simtropolis online, open and free!

    Thank you for reading and enjoy the site!

    More About STEX Collections