FANDOM


(Settings)
(Adding categories)
Line 123: Line 123:
 
*<code>Embedded-mode</code> served as Disney's settings for in-browser gaming, which no longer serves a purpose since ''[[Toontown Rewritten]]'' is entirely played via the launcher.
 
*<code>Embedded-mode</code> served as Disney's settings for in-browser gaming, which no longer serves a purpose since ''[[Toontown Rewritten]]'' is entirely played via the launcher.
 
[[Category:Mechanics]]
 
[[Category:Mechanics]]
  +
[[Category:Image requested]]

Revision as of 14:09, May 15, 2018

Settings.json is a JavaScript Object Notation file that allows the game to save a conditional setting of a toon or the system performance. Settings such as "accepting friend requests" or "anti-aliasing" can be found here, although these files will usually be empty and must be properly and manually inputted. Settings.json can be edited on any text editor such as Notepad.

Settings

There are several settings that can be found in settings.json. Just like any other piece of coding, each line of coding is enclosed in curly braces ({ }) and separated by commas to end a piece of code and start a new line of code. Each line of code must properly be enclosed in curly braces, separated by commas, spelled correctly, and define an appropriate parameter in order for it to work. Failing to comply may corrupt data and cause crashing until corrected. When corruption occurs and the game cannot start up properly, these files can be edited outside of the game to potentially resolve the issue.

Applicable settings are usually set to false.

Types of settings

Syntax Type Description Parameters
accepting-new-friends Toon Defines whether a new friend request can be sent or ignored automatically false, true
accepting-non-friend-whispers Toon Defines whether non-friends can send whispers false, true
fullscreen-mode System performance Allows the game to run in windowed mode or fullscreen mode false, true
borderless-fullscreen System performance Allows a borderless fullscreen mode false, true
resolution System performance Sets the screen resolution of the application [ 640,480 ]
[ 800,600 ]
[ 1280,720 ]
[ 1024,768 ]
[ 1440,900 ]
[ 1600,900 ]
[ 1280,1024 ]
[ 1920,1080 ]
[ 1600,1200 ]
[ 2560,1440 ]
[ 3840,2160 ]
music System performance Turns music on or off false, true
sfx System performance Turns sound effects on or off false, true
toon-chat-sounds System performance Turns toon chat sounds on or off false, true
show-cog-levels System performance Displays cog levels during cog battles false, true
disable-accessories System performance Displays accessories false, true
want-particle-effects System performance Displays particle effects such as Bossbot Headquarters' rain effect or Toonfest's confetti false, true
antialiasing System performance Allows anti-aliasing in-game (values between 0-16 are typically an acceptable range, and any higher may not have any further effect); "0" is the default settings for no anti-aliasing 0-16
smooth-frames System performance Allows for smoother animations by adding more frames false, true
embedded-mode System performance A remnant to Disney's Toontown settings for in-browser version, defunct false, true

Sample usage

Below is an example of how the settings.json can be edited. The "xy" is the toon's ID number and varies between toons; the ID number will be added automatically if a setting in-game has been changed and saved.

{
    "xxxxxxxxx": {
        "accepting-new-friends": false,
        "accepting-non-friend-whispers": true
    },
    "xxxxxxxxy": {
        "accepting-new-friends": false
    },
    "xxxxxxxyy": {
        "accepting-new-friends": false
    },
    "xxxxxxyyy": {
        "accepting-new-friends": false
    },
    "xxxxxyyyy": {
        "accepting-new-friends": false
    },
    "game": {
        "antialiasing": 1,
        "embedded-mode": false,
        "fullscreen-mode": false,
        "music": false,
        "resolution": [
            1440,
            900
        ],
        "show-cog-levels": true,
	"smooth-frames": true
    }
}

Trivia

  • Embedded-mode served as Disney's settings for in-browser gaming, which no longer serves a purpose since Toontown Rewritten is entirely played via the launcher.
Community content is available under CC-BY-SA unless otherwise noted.