VX to Ace Project Conversion Program

Discussion in 'RGSSx Scripts In Development' started by FenixFyreX, Apr 25, 2012.

  1. FenixFyreX

    FenixFyreX Fire Deity Veteran

    Messages:
    434
    Likes Received:
    307
    Location:
    A Volcano Somewhere
    First Language:
    English
    Intro

    Do you want to convert your RPG Maker VX project to RPG Maker VX Ace? I created this program so that others can convert their vx projects to ace. vx2ace.exe is your solution.

    What it Does

    This program converts the following to ace:

    • Actors
    • Classes
    • Skills
    • Items
    • Weapons
    • Armors
    • Enemies
    • Troops
    • States
    • Animations
    • Common Events
    • System(Including Terms)
    • Maps(and everything upon those maps)
    • Areas to Regions(up to 63)

    vx2ace.exe also copies any graphics from the original VX project that isn't included in the ace project folders. If the image name is not found in the corresponding ace project folder, the image is copied over from the VX project folder. If it's from the vx RTP, you must copy it yourself.

    Music is copied as well.

    vx2ace.exe needs the following to run correctly:

    An rmvx project with all of the data saved. All the .rvdata in the Data/ folder must be present. Scripts.rvdata will not be touched.

    An rmvxAce project with Tilesets.rvdata2 present in the Data/ folder.

    How To

    1. Open vx2ace.exe.
    2. A window will open. There are two blank boxes with a button each on the right. One is labeled Vx: and one is labeled Ace: You also have a Convert button, a log window and a Clear Log button.
    3. Press each Browse... button to select the respective project's INI file. The boxes will display the project directory after you've selected them.
    4. Press the Convert button when you've selected the projects. The system will tell you when it is finished in the log window.
    5. You are finished! But there are a few things you need to know, so keep reading:

    What it Doesn't Do

    This program converts most, if not all, of your project to Ace. However, there are some things that haven't been added in, can't be 100% converted, or simply can't be converted period.

    These include:

    • Actor EXP Curve and Params: All of your actor's exp curve and parameters become their startup class' exp curve and params. Also note that while I converted the EXP parameters very close to what they were in vx, they can't quite be the same due to 2 inflation values and a correction value, instead on a singular inflation value.
    • Class Equipment and Weapons: There is a single weapon type and single Armor type: General. VX did not use Weapon Types or Equipment Types, thus I could not convert a class' weapon/equipment equip restrictions. You'll have to set this up by yourself.
    • Skills: Skill Types were not in VX, so I couldn't setup skill types per skill. Thus, I created one skill type: Skills. All skills are included within this subset.
    • States: State slip damage, State nonresistance, State offset by opposite, and State reduce hit ratio are not supported yet. All will be supported in the next version.
    • States: Cannot use magic, Cannot Move, and Cannot Move or Evade are all changed to Unable to Act. The editor does not support the former 3.
    • RTP Graphics/Sounds: You need to copy all VX RTP materials into your directory OR select new graphics/sounds for each and every one of the occurrences in your projects. This includes but not limited to: Events, Common Events, and the Database.

    To Do

    • Fix all of the above issues/oddities to the best of my ability.

    Comments/Suggestions/Etc

    I would love if you'd give your feedback for this utility. Thanks.

    Also, It would be wise to go through and fix stuff to your general liking within your newly converted project, as this is still a program and cannot do the work of a human. That being said, happy rm-img. :)

    Credit Chaz Domerese, aka FenixFyreX.

    The Program

    Here's a mediafire link: vx2ace.exe

    Also, this scriptlet is necessary for the ace system to function AFTER conversion:

    Code:
    class Game_BattlerBase
    
      def attack_skill_id
    	$data_skills ||= load_data("Data/Skills.rvdata2")
    	text = "_.::~|-ATTACK-|~::._"
    	id = $data_skills.find {|s| s.note.include?(text)}.id rescue 1
    	return id
      end
    
      def guard_skill_id
    	$data_skills ||= load_data("Data/Skills.rvdata2")
    	text = "_.::~|-DEFEND-|~::._"
    	id = $data_skills.find {|s| s.note.include?(text)}.id rescue 2
      end
    end
    The Skills with the notes:

    _.::~|-ATTACK-|~::._"

    _.::~|-DEFEND-|~::._"

    DO NOT REMOVE THOSE NOTETAGS. This will probably result in a crash of the game, or improper Actor and Enemy function. If these notetags are not found in the respective skill, the default Ace ones will be used(1 and 2).
     
    Last edited by a moderator: Apr 26, 2012
    #1
  2. ShinGamix

    ShinGamix DS Style 4Ever! Veteran

    Messages:
    3,906
    Likes Received:
    448
    Location:
    Alien Ship
    First Language:
    April Fools
    Primarily Uses:
    N/A
    Nice work FenixfyreX!

    So the only thing it wont convert is scripts beside the ones you listed?
     
    #2
  3. FenixFyreX

    FenixFyreX Fire Deity Veteran

    Messages:
    434
    Likes Received:
    307
    Location:
    A Volcano Somewhere
    First Language:
    English
    This is true, because there isn't a way to convert your scripts, unless via human intelligence. AI just won't work for that kind of thing o.0
     
    #3
    ShinGamix likes this.
  4. Timmah

    Timmah Former Animator, Now Designer Veteran

    Messages:
    406
    Likes Received:
    87
    First Language:
    English
    Best. Script/Program. Ever.

    This is the script/program equivallent of Nutella: F***ing incredible.
     
    Last edited by a moderator: Apr 25, 2012
    #4
    Darkanine and Emzie like this.
  5. Emzie

    Emzie ಠ_ಠ Veteran

    Messages:
    1,691
    Likes Received:
    22
    First Language:
    Filipino
    Nice program :D

    1. It's useful

    2.It help others

    3.it's not hard to use

    4.This is worth than Nutella just like Timmah said :p

    5.No words can't explain this awesome program :D
     
    #5
    DarkWaker likes this.
  6. FenixFyreX

    FenixFyreX Fire Deity Veteran

    Messages:
    434
    Likes Received:
    307
    Location:
    A Volcano Somewhere
    First Language:
    English
    Oops, seems I made a tiny mistake; forgot to initialize an array. This causes the editor to crash on certain map troop encounters being converted. Fixed in the OP.
     
    #6
  7. DarkWaker

    DarkWaker Villager Member

    Messages:
    9
    Likes Received:
    1
    Location:
    Earth
    First Language:
    English
    This is a great program for people who were making a VX game when VX Ace was released. They can easily move on over to Ace to implement Ace's features into their games! AWESOME SAUCE!

    I say this is the best invention since sliced bread! :lol:
     
    #7
  8. Dark Gaia

    Dark Gaia Disgruntled Writer Veteran

    Messages:
    211
    Likes Received:
    121
    Location:
    Melbourne, Australia
    First Language:
    English
    This is an excellent program. There's still some tweaking that needs to be done after conversion to get the project working properly, but it's far less work than you'd have to do to start the project again from scratch. I may consider using this to upgrade the first (completed) Legionwood to Ace, so that I can finally fix some problems that always evaded my expertise.
     
    #8
  9. Adon

    Adon ADONKADONK Veteran

    Messages:
    93
    Likes Received:
    15
    Location:
    Michigan
    First Language:
    English
    #9
  10. Zed

    Zed Warper Member

    Messages:
    2
    Likes Received:
    0
    First Language:
    French
    Hello guys,

    FenixFyreX I downloaded your program. But when I click on browse and I'll get my file. It is always empty. So I can never convert.

    Same if I go into Data, audio, graphics.

    Could you help me? I have a big project on Rpg maker VX and VX Ace transfer would be great.

    Thank you in advance for your help and sorry for my bad English
     
    #10
  11. FenixFyreX

    FenixFyreX Fire Deity Veteran

    Messages:
    434
    Likes Received:
    307
    Location:
    A Volcano Somewhere
    First Language:
    English
    What exactly are you selecting when you click the Browse button? It needs to be the 'Game.ini' file of the vx or ace project you are selecting.
     
    #11
  12. Zed

    Zed Warper Member

    Messages:
    2
    Likes Received:
    0
    First Language:
    French
    It's okay, I managed to put game.ini but the problem is that I waited 2 hours and the program end up saying "program not responding" How does that happen?

    Thank you for your help.
     
    Last edited by a moderator: Sep 28, 2012
    #12
  13. FenixFyreX

    FenixFyreX Fire Deity Veteran

    Messages:
    434
    Likes Received:
    307
    Location:
    A Volcano Somewhere
    First Language:
    English
    Hmmm, there seems to be a debugging issue going on...I'm gonna have to send you a debugging copy and have you tell me what the last thing the command prompt says before it freezes or whatever..unless you send me a copy of your game and I'll try and convert it / debug the program. That'll work too. PM me for further action please.
     
    #13
  14. bassfire

    bassfire Newbie Scripter Veteran

    Messages:
    70
    Likes Received:
    7
    Location:
    Indiana
    First Language:
    English
    Where does the little scriptlet go? Just the normal under Materials, above main? I converted my project using this and I don't know where to put the little bugger.

    Edit: Nevermind. After thinking more about it, I figured it out.

    For those wondering (if I'm not the slowest person on Earth), edit your Main script so it looks like this: (or just copy and paste)

    Code:
    #==============================================================================
    # ** Main
    #------------------------------------------------------------------------------
    # This processing is executed after module and class definition is finished.
    #==============================================================================
    class Game_BattlerBase
    
    def attack_skill_id
    $data_skills ||= load_data("Data/Skills.rvdata2")
    text = "_.::~|-ATTACK-|~::._"
    id = $data_skills.find {|s| s.note.include?(text)}.id rescue 1
    return id
    end
    
    def guard_skill_id
    $data_skills ||= load_data("Data/Skills.rvdata2")
    text = "_.::~|-DEFEND-|~::._"
    id = $data_skills.find {|s| s.note.include?(text)}.id rescue 2
    end
    end
    
    
    rgss_main { SceneManager.run }
    
     
    Last edited by a moderator: Oct 21, 2012
    #14
  15. FenixFyreX

    FenixFyreX Fire Deity Veteran

    Messages:
    434
    Likes Received:
    307
    Location:
    A Volcano Somewhere
    First Language:
    English
    You just put it before Main and AFTER all other scripts (default and custom alike). I really wouldn't recommend editing Main unless its for something important, but thanks for the clarification.
     
    #15
  16. KaitoDestiny

    KaitoDestiny Warper Member

    Messages:
    1
    Likes Received:
    0
    First Language:
    English
    Hello, I am new to this converter stuff....but I gave it a try and it just seems that when i tried it, all i get is a "Failed to load map info data"....so I be stumped on this right now...???
     
    #16
  17. Carillon Nightmares

    Carillon Nightmares One-Man Operation Veteran

    Messages:
    423
    Likes Received:
    49
    Location:
    Mordor
    First Language:
    English
    Question: Will the old scripts I still have move over to Ace? Do VX scripts work in Ace? :)
     
    #17
  18. Fomar0153

    Fomar0153 All wrapped up for winter. Restaff

    Messages:
    1,239
    Likes Received:
    231
    Location:
    England
    First Language:
    English
    Nope, but there are plenty of Ace scripts.
     
    #18
  19. mzp531

    mzp531 Warper Member

    Messages:
    2
    Likes Received:
    0
    How do I copy my VX RTP into the directory?
     
    #19
  20. kkyyy1

    kkyyy1 Villager Member

    Messages:
    15
    Likes Received:
    0
    First Language:
    English
    when i convert my game it ends up in spanish not english. Help!!!!
     
    #20

Share This Page