andreycout

Villager
Member
Joined
Aug 8, 2013
Messages
5
Reaction score
0
First Language
Portuguese
Primarily Uses
mmm ... you say other events on the same map convert okay?  Could I please get you to send me the whole (original) map?  I'm having trouble identifying the problem, though I can reproduce the issue easily enough.

That's the whole original map. It's just an empty room with an event. It's supposed to be a black screen that displays text based on the player choices during the game. All the dialogue branches are contained on the event, which is the only thing in the room.

Edit: just tested adding other random event and converting again. Also didn't show up. Whatever this event has breaks the conversion of other events in the same room.

Edit2: tried creating a new map, moving the problematic event to it and leaving the previously created test event in the original room, then converting. The test event did show up this time, but the new room is empty (problematic event still isn't recognized by MV).
 
Last edited by a moderator:

Shaz

Keeper of the Nuts
Global Mod
Joined
Mar 2, 2012
Messages
46,153
Reaction score
16,971
First Language
English
Primarily Uses
RMMV
Sorry - I thought I read that there were other events on the map and they converted correctly.  It's strange, as I'm creating extra events on that map and even they are not converting.  Something to do with the map settings, maybe.  Can you please show me a screenshot of the Map Properties box in Ace?  I should have exactly what you have, but I'm grasping at straws.
 

andreycout

Villager
Member
Joined
Aug 8, 2013
Messages
5
Reaction score
0
First Language
Portuguese
Primarily Uses
Sorry - I thought I read that there were other events on the map and they converted correctly.  It's strange, as I'm creating extra events on that map and even they are not converting.  Something to do with the map settings, maybe.  Can you please show me a screenshot of the Map Properties box in Ace?  I should have exactly what you have, but I'm grasping at straws.



I don't think that's it. As I've said, I created a map from scratch, created a NEW EVENT there, just copied the instructions of the old event and this still happens to the new map. Copying the instructions of the event to Common Events crashes the game. I think it has something to do with the instructions of the event.



I'll test deleting specific instructions of the event until it works. I have a hunch that it has something to do with the "Show Message" command (maybe I've put something in a message that is being incorrectly captured by the conversion script as code to be executed, or maybe the messages are too long).


Edit: AHA! Managed to isolate the problem. Here's what I did:
1. I cut part of the Instructions out to a new event at a new map.
2. Converted. MV still didn't recognize the event, so whatever the problem is, it's still happening to the portion I cut.
3. Edited said part, removing a long sequence of Show Message commands.
4. Converted again. This time, the event was correctly recognized by MV.

That being said, there are only three possibilities: either the big number of sequential "show message" commands, the length of the text or the content of the text are causing the problem. I'll keep investigating.
 
Last edited by a moderator:

andreycout

Villager
Member
Joined
Aug 8, 2013
Messages
5
Reaction score
0
First Language
Portuguese
Primarily Uses
FINALLY! Completely isolated and solved the problem.
For some reason, one of the "Show Message" dialogues had a paragraph spacing on its second line of text (looked like a bunch of spaces, but a single backspace deleted it entirely). I couldn't see it because it didn't show up on VX Ace at all unless I clicked "edit message". On the rvdata2 file, analyzing it with notepad++, that spacing was represented by a "&" character.

On the *.json file, however, the "&" character was converted as a paragraph spacing, just like in the editor. I'm guessing that paragraph spacing broke the javascript syntax. Deleting said spacing character on the .json (directly through notepad++) solved the problem, and the event was correctly recognized.

As to how the problematic character/paragraph spacing ended up there, I think I used the "batch entry" tool in RMVXAce to make multiple dialogue lines, and sometimes it inserts these unwanted paragraph characters at the beginning of some lines. VX Ace usually ignores those and shows text as if it wasn't there.

So there it goes. If anyone else has missing events in their games after a conversion, CHECK YOUR "SHOW MESSAGE" BOXES for paragraph spacing characters.
 
Last edited by a moderator:

Shaz

Keeper of the Nuts
Global Mod
Joined
Mar 2, 2012
Messages
46,153
Reaction score
16,971
First Language
English
Primarily Uses
RMMV
Glad you found it.  I'm pretty sure I tested with the batch input text.  But if anyone else posts with a similar problem, I'll know to take another look at it.  Thanks for posting back :)
 
Joined
Apr 5, 2014
Messages
3
Reaction score
0
First Language
Bulgarian
Primarily Uses
Hi,


I was wondering if there is a plan to make a MV plug-in to revert the Javascript files to Ruby, compatible with VXAce?


Thank you.
 

Andar

Regular
Regular
Joined
Mar 5, 2013
Messages
39,932
Reaction score
11,876
First Language
German
Primarily Uses
RMMV
@Brein Nathrezim Different script languages cannot be converted into each other - even this converter only manages maps and database, but no script command. So no, there is no plan to convert scripts automatically.
 

Shaz

Keeper of the Nuts
Global Mod
Joined
Mar 2, 2012
Messages
46,153
Reaction score
16,971
First Language
English
Primarily Uses
RMMV
Even if there was, MV being the newest product, the conversion would be from Ace to MV, not the other way around.
 

CJF

Warper
Member
Joined
May 2, 2013
Messages
2
Reaction score
0
Primarily Uses
First off, I just wanted to say thanks for creating a converter. Now onto why I am posting - help! I converted my project over and whenever I attempt to load my project it says "Unable to read file CommonEvents.json"


If I replace the CommonEvents.json with a blank new one, the project loads fine in MV and everything else appears to have transferred successfully. I have twice run the converter plugin on my VX Ace project and I get the same error. A google search for the error didn't bring up much of anything. I used the plugin version from this thread, and I have version 1.2.0 of MV. Let me know if you need anything else to help figure this out. Thank you so much.


Solution:


So, I opened a new Ace project. I copied all 234 Common Events into that project. I converted that project, copied the CommonEvent.json over into the MV project and it worked. So there you have it, incase anyone else has this error.
 
Last edited by a moderator:

Shaz

Keeper of the Nuts
Global Mod
Joined
Mar 2, 2012
Messages
46,153
Reaction score
16,971
First Language
English
Primarily Uses
RMMV
Seems strange.  Wonder if you had something weird in one of the unused common events.  Normally I'd ask for your database files so I can reproduce the problem myself (and especially to determine if it's something wrong with the common events or a bug in the converter) but as you've already got it up and running, probably no need.


I will say though, the majority of post-release "problems" found with the conversions have been on projects that have already been converted from VX to Ace.  I know for sure that converter did some funny stuff with with map encounters and with skills that have caused projects not to open in MV.  The other thing that caused issues is when people used a limit breaker script in Ace to expand the database (I think the issue related mostly to switches though, not the database tabs).  I'd be curious if you're in any of those situations.
 

CyndaBytes

Creator and Destroyer of Worlds
Regular
Joined
Aug 3, 2015
Messages
87
Reaction score
40
First Language
Italian
Primarily Uses
First off, I just wanted to say thanks for creating a converter. Now onto why I am posting - help! I converted my project over and whenever I attempt to load my project it says "Unable to read file CommonEvents.json"


If I replace the CommonEvents.json with a blank new one, the project loads fine in MV and everything else appears to have transferred successfully. I have twice run the converter plugin on my VX Ace project and I get the same error. A google search for the error didn't bring up much of anything. I used the plugin version from this thread, and I have version 1.2.0 of MV. Let me know if you need anything else to help figure this out. Thank you so much.


Solution:


So, I opened a new Ace project. I copied all 234 Common Events into that project. I converted that project, copied the CommonEvent.json over into the MV project and it worked. So there you have it, incase anyone else has this error.

I've got the same problem with Item.json. I'll try your solution.

Edit: @Shaz Mine ACE project come from ACE not VX.
 
Last edited by a moderator:

Shaz

Keeper of the Nuts
Global Mod
Joined
Mar 2, 2012
Messages
46,153
Reaction score
16,971
First Language
English
Primarily Uses
RMMV
I'd really like it if you guys can send me files when the converter doesn't work.  Not much point in having it available to people if it's not doing the job.
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
14,717
Reaction score
16,269
First Language
English
Primarily Uses
RMMZ
I'd say it's doing it's job. My project converted flawlessly.
 

zebaroth

Villager
Member
Joined
Jun 5, 2014
Messages
11
Reaction score
2
First Language
english
Primarily Uses
i got this error. script line 10 name error


uninialized constant DEGICA::CONVERT:: DataManger 
 

Shaz

Keeper of the Nuts
Global Mod
Joined
Mar 2, 2012
Messages
46,153
Reaction score
16,971
First Language
English
Primarily Uses
RMMV
First thing to do is ensure you pasted the script correctly into your project.  If you made any changes, you might have changed something you shouldn't have.


Can you please show a screenshot of your script screen, with this script selected, and line 10 showing?  I'm thinking you've either got it in the wrong place, or something's gone wrong when you copied & pasted the script (like some bits have been deleted).
 

zebaroth

Villager
Member
Joined
Jun 5, 2014
Messages
11
Reaction score
2
First Language
english
Primarily Uses
First thing to do is ensure you pasted the script correctly into your project.  If you made any changes, you might have changed something you shouldn't have.


Can you please show a screenshot of your script screen, with this script selected, and line 10 showing?  I'm thinking you've either got it in the wrong place, or something's gone wrong when you copied & pasted the script (like some bits have been deleted).

i found my propblem had to copies if the convert script in the same game i need to work on my projects when i am not half dead tied and don't remember doing the work


on them smacks head in to wall thanks for your help shaz this script is good tool to to have in ones rog maker tool kit
 
Last edited by a moderator:

Shaz

Keeper of the Nuts
Global Mod
Joined
Mar 2, 2012
Messages
46,153
Reaction score
16,971
First Language
English
Primarily Uses
RMMV
Good find!  Strange kind of error for that reason though - I wouldn't have considered two copies of the script as the culprit.
 

omgcow1234

Villager
Member
Joined
Apr 25, 2016
Messages
5
Reaction score
0
First Language
English
Primarily Uses
im not sure if im doing anything wrong but when i make the new project and put the folder in it nothing happens it just stays the same.
 

Andar

Regular
Regular
Joined
Mar 5, 2013
Messages
39,932
Reaction score
11,876
First Language
German
Primarily Uses
RMMV
please describe all steps you did in the order you made them. Most probably you simply skipped a step or so because the converter itself works and has been used by a lot of people.
 

omgcow1234

Villager
Member
Joined
Apr 25, 2016
Messages
5
Reaction score
0
First Language
English
Primarily Uses
well i put the script in the script box and ran the game then i copied the mv data file, made a new game on mv did not playtest it and pasted the data folder in the project with the project closed on mv then when i opened it again it all looked the same.
 
Last edited by a moderator:

Latest Threads

Latest Profile Posts

Huge breakthrough! I finally fixed the dimensions on the WEBM used in the cinematic that ends the demo and introductory segment in MC:RIS, around the one-minute mark:



(There's some audio desync because the capture is an MP4.)
Kudos to everyone making game jam games, because this month has been hell for my development time. I have made a cutscene, 2 sprites, and 1 tile.

I guess I've made conceptual progress in hammering out combat roles and having fixes to be implemented (though I haven't done that yet)
Yeah, it’s a status #3, but it’s just to let y’all know I think I’m gonna have to do a twofer on the Advent compilation tomorrow. I feel like butt. Have a fever. I want to descend into my crypt.
I hope Baldur's Gate 3 wins BIG at TGA tonight. Tales of Arise was the last game to inspire me and BG3 has MASSIVELY surpassed that!
One day someone will build independent items for MZ. ONE DAY!

Forum statistics

Threads
136,819
Messages
1,270,387
Members
180,580
Latest member
GameturtleInk
Top