RPG Maker MV

RPG Maker MV

New to Javascript...how do I open the JSON files for editing script?
My PC just says cannot open file, want to search the internet...blah blah blah...with RSS i could do it from inside the VX Ace editor. I tried to open with wordpad but rpgmaker JSON files didnt show up in the file search. Even when manually navigating to the data file for my game.
Last edited by The Time Traveler; Oct 27, 2015 @ 12:28pm
< >
Showing 1-15 of 15 comments
Resi ♥ Oct 27, 2015 @ 12:28pm 
You can open JSON files using notepad, but I recommend installing Notepad++ as it has more features which will be useful for you when editing JSON files.
The Time Traveler Oct 27, 2015 @ 12:29pm 
ok ty i will try that.
The Time Traveler Oct 27, 2015 @ 12:34pm 
Originally posted by Resi ♥:
You can open JSON files using notepad, but I recommend installing Notepad++ as it has more features which will be useful for you when editing JSON files.
Know where the setting is in Notepad++ that doesnt just string the code in 1 long sentence across the top line instead of as it should be? lol
Resi ♥ Oct 27, 2015 @ 12:37pm 
If you mean like this - http://vgy.me/wZFfWx.png - that is normal.
The Time Traveler Oct 27, 2015 @ 12:44pm 
Originally posted by Resi ♥:
If you mean like this - http://vgy.me/wZFfWx.png - that is normal.
yea. cept when i open the JSON file in notepad++ its 1 line of continuous text instead of neatly ordered like your example.
The Time Traveler Oct 27, 2015 @ 12:47pm 
Thx for your quick replies btw
Resi ♥ Oct 27, 2015 @ 12:50pm 
I'm not exactly sure why that is. I don't think I've changed any of my settings in Notepad++. I don't have an answer.
The Time Traveler Oct 27, 2015 @ 12:52pm 
Originally posted by Resi ♥:
I'm not exactly sure why that is. I don't think I've changed any of my settings in Notepad++. I don't have an answer.
its ok ill try uninstall and reinstall using just the stock install. maybe by clicking the extras installations I f'd somethin up or made it uneccesarily complex. Thx again tho for your help.

If anyone else has a solid answer to my problem tho thatd be great. Ive reinstalled Notepad++ with the automatic selections at install enabled and am still getting the same thing where it just shoves all the lines of command into one line string instead of breaking it up into its appropriate and tidy lines. Im Windows 7 OS if that helps.
Also, if i open in standard notepad, It does put into lines, but for some reason it looks messy and I am unsure if it's safe to save the file if i make any changes to it (might rearrange the actual JSON file to be inoperable?)
Last edited by The Time Traveler; Oct 27, 2015 @ 1:11pm
Mallow_VT Oct 27, 2015 @ 1:14pm 
May I recommend this? I'm currently using it and it's pretty useful! https://atom.io/
Last edited by Mallow_VT; Oct 27, 2015 @ 1:14pm
The Time Traveler Oct 27, 2015 @ 1:32pm 
naw i figured it out. I was trying to open the JSON data files from my game file instead of maniulating the actual plugin files. The plugin files work fine in notepad++. the data files do not lol. Thx all. Was a dumbass oversight on my part.
Last edited by The Time Traveler; Oct 27, 2015 @ 1:33pm
ocean pollen Oct 27, 2015 @ 5:12pm 
All these replies and nobody said: don't edit the JSON files! They're all generated by the editor. What you should be doing normally is opening the js/*.js files, to better understand them, but not to edit them, and then writing js/plugins/*.js files that alter engine objects to get things done.
The Time Traveler Oct 27, 2015 @ 6:06pm 
yea i eventually figured it out when perusing the files and remembered the plugin file i wanted to tamper with was js...really all I wanted to do with them is alter the window height for the main menu so it wasnt a giant square of empty. My game has 3 character party limit so 1/4 of the screen could be empty at the bottom, and would allow me to see the gold window...for some reason the window at menu showing characters hp/mp etc overlaps it...
Resi ♥ Oct 27, 2015 @ 6:13pm 
Originally posted by ocean pollen:
All these replies and nobody said: don't edit the JSON files! They're all generated by the editor. What you should be doing normally is opening the js/*.js files, to better understand them, but not to edit them, and then writing js/plugins/*.js files that alter engine objects to get things done.
Editing the JSON files is easier for quickly assigning same icons and properties to a range of items that share the same information. It's what I did when I moved my project from VX Ace over to MV. Over 100 entries to edit and I finished it under 15 minutes editing the JSONs.
If you ever have a json blob that is all on one line, just run it through a javascript beautifier of some sort.

www.jsbeautifier.org is a good one for example
Resi ♥ Oct 29, 2015 @ 10:09am 
http://i.imgur.com/fQQS0NS.png
Wow, that is definitely more fancy. I bet it gets reverted back to lined structure after saving your MV project.

Even worse, the program can't read it. http://i.imgur.com/nkUr7Qj.png
Last edited by Resi ♥; Oct 29, 2015 @ 10:14am
< >
Showing 1-15 of 15 comments
Per page: 1530 50

Date Posted: Oct 27, 2015 @ 12:20pm
Posts: 15