[Fixed] can't open the game after edit the JSON and picture
- khadafi laidi
- Inhabitant of a Planet
- Reactions:
- Posts: 1313
- Joined: 16 Dec 2016, 13:11
- Location: Ternate, Indonesia
- Plugins: Showcase Store
- Version: Beta
-
Platform
[Fixed] can't open the game after edit the JSON and picture
Anyone can help? i currently use version 232
- Ahmad Nur Aizat
- TheoTown Veteran
- Reactions:
- Posts: 8260
- Joined: 25 Oct 2016, 15:20
- Location: Johor Bahru
- Plugins: Showcase Store
- Version: Beta
- Contact:
-
Plugin Creator
Platform
- NisekoKilla
- Inhabitant of a Megacity
- Reactions:
- Posts: 345
- Joined: 16 Nov 2016, 15:22
- Location: UK
- Plugins: Showcase Store
- Version: Beta
-
Platform
- CommanderABab
- AB
- Reactions:
- Posts: 11107
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Be sure Theotown is not a running task. If it is, close it and retry.
If still a problem:
1 Copy the plugins folder to a safe place or rename it plugins_backup. Check your json files for syntax.
This is my json file for bigcom
2 Delete the theotown/plugins folder. Create an empty one.
3 Close Theotown.
4 Don't try to run any good cities if they have a lot of plugin buildings in them. (You will lose the benefits they provide and some population if you do.)
5 Open Theotown. If sucessful, then: If not, go to 6.
5a One by one, copy a folder from the backup folder into the new plugins folder and repeat from 3.
6. You have found the or one of the offending plugins. Check the .png file: make sure the width is a multiple of 32 anf the height is 256 or less. Recheck the json file for syntax.
~Edited by Lobby, we have code boxes for better reading
If still a problem:
1 Copy the plugins folder to a safe place or rename it plugins_backup. Check your json files for syntax.
This is my json file for bigcom
Code: Select all
[
{
"id": "$Bigcom4x4.plugin.uniik.id.res48", ; must be unique
"type": "commercial", ; must be one of industrial, commercial, or residential
"author": "CommanderABab",
"width": 4, ; width must equal height. The total of all your widths in your json files must be less than 32.
"height": 4, ; an integer between 1 and 8.
"frames": [
{
"bmp": "Bigcom.png" ; make sure the file exists in the corresponding plugins/name folder
}
],
"smoke": [
{
"id": "$smoke07", ;ask Lobby, I've used $smoke07 and $smoke02.
"x": 5, ; must be less than width*32.
"y": -12 ; must be less than (height of your .png file) less than 256.
}
],
"level": 3 ; an integer 1-3.
}
]
3 Close Theotown.
4 Don't try to run any good cities if they have a lot of plugin buildings in them. (You will lose the benefits they provide and some population if you do.)
5 Open Theotown. If sucessful, then: If not, go to 6.
5a One by one, copy a folder from the backup folder into the new plugins folder and repeat from 3.
6. You have found the or one of the offending plugins. Check the .png file: make sure the width is a multiple of 32 anf the height is 256 or less. Recheck the json file for syntax.
~Edited by Lobby, we have code boxes for better reading
- CommanderABab
- AB
- Reactions:
- Posts: 11107
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform