Chaos Project

Featured Projects => Advanced RPG Creator => ARC Welder => Topic started by: Ryex on May 12, 2012, 08:07:46 pm

Title: RMXP Project Converter
Post by: Ryex on May 12, 2012, 08:07:46 pm
RMXP Project Converter




This is a applet I built for in house testing but if people wish they can use it to do some early beta testing with the ARC engine and their own projects.



To Use:

to Run your own project under ARC follow these steps:

1) Get the current development build: http://forum.chaos-project.com/index.php/topic,9058.0.html

2) download the Project converter here:  RMXP Project Converter (http://dl.dropbox.com/u/20709011/ARC/RMXP2ARC.exe)

3) ensure that your RMXP project does not load mp3 or MIDI files and that all resources used are in the project directories "Graphics" and "Audio" folders

4) Run the converter and point it to your existing project file and a new location to save the ARC version of your project, check the box to copy Graphic and Audio content

4) Click "Run Converter" and let it do it's job. if there are any errors in the converter log please report them here.

5) from the current development build copy all the .dll and .exe files as well as the "Microsoft.VC90.CRT" folder into your project folder.

6) you are now ready to run the "Game.exe"

you can open the arc.cfg file in a notepad or other text editor to change the displayed named of the game as well as other settings like resolution ect.


if you have further problems post here and I'll try to help you out.
Title: Re: RMXP Project Converter
Post by: Lobstrosity on May 12, 2012, 10:00:13 pm
I followed all of the steps. But whenever I open Game.exe, a window for the game opens, then closes again after a second.  :???:
Title: Re: RMXP Project Converter
Post by: Ryex on May 12, 2012, 10:22:50 pm
you should probably make sure that your game isn't trying to play mp3's or MIDI files. MIDI support hasn't been implemented just yet. that's the only think I can think of that would crash the game like that.
Title: Re: RMXP Project Converter
Post by: G_G on May 12, 2012, 10:26:58 pm
I tried it and it's failed numerous times.

Converted project and copied over the current ARC engine. Game window opens and closes.
Took fresh development build and replaced scripts only. Game window opens and closes.
Took fresh development build and replaced data only. Game window opens and closes.

I dunno what else to try.

EDIT: Though it might be because its trying to load graphics from the "Graphics" folder but are located in the RTP. I'll explore a bit more.

EDIT 2: After copying over all RTP graphics, it still does the same thing. Crashes when Data and Scripts are both replaced. Crashes when one or the other are only replaced. My only guess would be that the converter isn't converting the data right, which wouldn't make sense as to why it crashes when only the scripts get replaced.

EDIT 3: Alright, I managed to get it to run after only replacing the data, I must have been deleting something I wasn't supposed to be. But I still can't get it to run after replacing the scripts.
Title: Re: RMXP Project Converter
Post by: Blizzard on May 13, 2012, 02:25:07 am
I tried it as well and I'm having the same problem.

1. I converted a project.
2. I added Data/System.rb and Data/RMXP.rb
3. I added the RTP graphics.
4. I added all binaries (Microsoft.VC90.CRT, *.dll, Game.exe) and arc.cfg

It still crashes without any specific error message.

Quote from: log[atres] initializing atresttf
[atres] Error: Could not read face 0 in Graphics/Fonts/arial_1.ttf1
[atres] registering font resource Arial
[atres] Error: Could not read face 0 in Graphics/Fonts/ariblk.ttf1
[atres] registering font resource Arial Black
[xal] initializing XAL
[xal] initializing DirectSound
[xal] audio system created: DirectSound
[xal] starting thread management
[zer0] initializing Zer0 Division Engine
[xal] loading file Audio/SE/001-System01.ogg
[zer0] destroying Zer0 Division Engine
[xal] destroying XAL
[xal] destroying DirectSound
[xal] stopping thread management
[atres] destroying atresttf


EDIT: Here we go. Ryex, you have to edit the project converter to handle some changes in the scripts. The first thing is that the data files now have the .arc extension and save files have the .dat extension. The second thing is that load_data still loads Marshal files while .arc files are loaded through "ARC::Data.load". Now, my suggestion is that we strictly convert only unaltered RMXP default scripts. Other scripts may still use .rxdata and Marshal files and they should be adjusted to work with ARC properly. Here's a list of codes that should be changed:

"Save#{@file_index + 1}.rxdata"
"Save#{i+1}.rxdata"
"Save#{file_index + 1}.rxdata"
load_data(sprintf("Data/Map%03d.rxdata"
load_data("Data/Actors.rxdata")
load_data("Data/Classes.rxdata")
load_data("Data/Skills.rxdata")
load_data("Data/Items.rxdata")
load_data("Data/Weapons.rxdata")
load_data("Data/Armors.rxdata")
load_data("Data/Enemies.rxdata")
load_data("Data/Troops.rxdata")
load_data("Data/States.rxdata")
load_data("Data/Animations.rxdata")
load_data("Data/Tilesets.rxdata")
load_data("Data/CommonEvents.rxdata")
load_data("Data/System.rxdata")
load_data("Data/BT_Actors.rxdata")
load_data("Data/BT_Classes.rxdata")
load_data("Data/BT_Skills.rxdata")
load_data("Data/BT_Items.rxdata")
load_data("Data/BT_Weapons.rxdata")
load_data("Data/BT_Armors.rxdata")
load_data("Data/BT_Enemies.rxdata")
load_data("Data/BT_Troops.rxdata")
load_data("Data/BT_States.rxdata")
load_data("Data/BT_Animations.rxdata")
load_data("Data/BT_Tilesets.rxdata")
load_data("Data/BT_CommonEvents.rxdata")
load_data("Data/BT_System.rxdata")


"Save#{@file_index + 1}.dat"
"Save#{i+1}.dat"
"Save#{file_index + 1}.dat"
ARC::Data::load(sprintf("Data/Map%03d.arc"
ARC::Data::load("Data/Actors.arc")
ARC::Data::load("Data/Classes.arc")
ARC::Data::load("Data/Skills.arc")
ARC::Data::load("Data/Items.arc")
ARC::Data::load("Data/Weapons.arc")
ARC::Data::load("Data/Armors.arc")
ARC::Data::load("Data/Enemies.arc")
ARC::Data::load("Data/Troops.arc")
ARC::Data::load("Data/States.arc")
ARC::Data::load("Data/Animations.arc")
ARC::Data::load("Data/Tilesets.arc")
ARC::Data::load("Data/CommonEvents.arc")
ARC::Data::load("Data/System.arc")
ARC::Data::load("Data/BT_Actors.arc")
ARC::Data::load("Data/BT_Classes.arc")
ARC::Data::load("Data/BT_Skills.arc")
ARC::Data::load("Data/BT_Items.arc")
ARC::Data::load("Data/BT_Weapons.arc")
ARC::Data::load("Data/BT_Armors.arc")
ARC::Data::load("Data/BT_Enemies.arc")
ARC::Data::load("Data/BT_Troops.arc")
ARC::Data::load("Data/BT_States.arc")
ARC::Data::load("Data/BT_Animations.arc")
ARC::Data::load("Data/BT_Tilesets.arc")
ARC::Data::load("Data/BT_CommonEvents.arc")
ARC::Data::load("Data/BT_System.arc")


These replacements will fix the default scripts and any scripts that are using the same piece of code to load the default data.
Title: Re: RMXP Project Converter
Post by: Ryex on May 13, 2012, 08:56:55 am
*facepalm* of course. Simple fix I suppose. I suppose I can also make it add the .rb files to the data directory too
Title: Re: RMXP Project Converter
Post by: Blizzard on May 13, 2012, 10:56:29 am
Yeah, I'm sure that many people would appreciate that. You can update it later to include the binaries as well and generate a arc.cfg file from Game.ini.
Title: Re: RMXP Project Converter
Post by: Ryex on May 13, 2012, 11:31:00 pm
Ok, I've updated the converter, it should now fix scripts and adds the RMXP.rb System.rb and arc.cfg file on it's own so all you have to copy is the exe and dll files.

Updated the instructions in the first post.
Title: Re: RMXP Project Converter
Post by: G_G on May 13, 2012, 11:57:34 pm
Success!

>Converted Project
>Copied binraries and libraries
>Copied RTP graphics
>Exploded in pants as it ran
Title: Re: RMXP Project Converter
Post by: Ryex on May 14, 2012, 12:02:17 am
wonderful news.

interesting note. the code base for this simplistic converter is comparable in size and complexity to my AnTBS RMXP battle system. why I bothered to compare the two I'll never know.
Title: Re: RMXP Project Converter
Post by: Blizzard on May 14, 2012, 02:29:22 am
Probably because of the .arc format writer/reader written in Ruby.

EDIT: You should add this one, too.

load_data("Data/MapInfos.rxdata")


ARC::Data::load("Data/MapInfos.arc")


While we should avoid converting non-default scripts, I think this is a pretty safe like to convert and it should help several scripts to work without problems.
Title: Re: RMXP Project Converter
Post by: Memor-X on May 17, 2012, 03:06:57 am
just making sure, Chrome, after it downloaded the converter says it appears malicious, that's incorrect right.....like how Virus Scans seems to says the mod loader for Terraria is a trojan
Title: Re: RMXP Project Converter
Post by: Blizzard on May 17, 2012, 03:35:28 am
Yes, that's incorrect. It's probably just complaining because it was written in Ruby and then compiled together into an .exe.
Title: Re: RMXP Project Converter
Post by: khkramer on July 29, 2012, 09:00:17 am
Ok so I converted my game (Pokémon Nox Online) and I'm running into a few errors I can't seem to fix on my own.
One error I'm getting is with the RMX-OS input module:

Undefined method '&' for "\u0000":String 
Title: Re: RMXP Project Converter
Post by: Blizzard on July 29, 2012, 10:03:32 am
Update RMX-OS. The bug has been fixed in v1.2x.
Title: Re: RMXP Project Converter
Post by: khkramer on July 29, 2012, 12:01:09 pm
Do I have to update everything or just the input module, cause I have made some modifications to some parts?
Title: Re: RMXP Project Converter
Post by: Blizzard on July 29, 2012, 12:22:15 pm
You will have to update everything. v1.2 and v1.21 have some additional edits that are important for overall stability. You should add edits always in new script slots, never edit the actual original script because it (obviously) causes major problems when you want to update.
Title: Re: RMXP Project Converter
Post by: Ryex on July 29, 2012, 01:54:22 pm
Converter has been updated, UTF* charters in script names will no longer crash the conversion
Title: Re: RMXP Project Converter
Post by: khkramer on July 29, 2012, 03:30:15 pm
Blizzard, I hate to keep bothering you but:

I updated RMX-OS to 1.21 but the error keeps ocurring.
I should note that my edits are in separate scripts and have the following modifications:

Selection screens etc. are now using Window_CommandPokemon instead of Window_Command.
Window_Selectable to SpriteWindow_Selectable
Window_Item to SpriteWindow_Selectable
Window_Help to Window_UnformattedTextPokemon
Window_Button to Window_CommandPokemon
Title: Re: RMXP Project Converter
Post by: Blizzard on July 29, 2012, 04:27:18 pm
Ok, at first I am totally confused why you are posting this in the thread about the converter of RMXP projects to ARC projects.
Secondly, that error was reported not long ago and I have fixed it as I recall.
Title: Re: RMXP Project Converter
Post by: khkramer on November 12, 2012, 02:02:12 pm
Well, I'm not entirely sure it's caused by the project converter.
But basically everytime I convert my project and fix some bugs, it gives me the code converter not found error, which I cannot fix.
Title: Re: RMXP Project Converter
Post by: Ryex on November 20, 2012, 05:51:45 pm
ok, this doesn't sound like it's the converter but no matter what the problem is we'll need a coy of the project pre convertion to test with and see if we can find out what is going wrong send it to either me or Blizz in a PM and we'll get it sorted out.
Title: Re: RMXP Project Converter
Post by: syldocaine on December 27, 2017, 11:17:24 pm
The downloadlink is outdated.

Is this still available somewhere?
Title: Re: RMXP Project Converter
Post by: KK20 on December 27, 2017, 11:56:22 pm
Could PM Ryex to send it to you. Though I don't understand what you could possibly need it for. ARC is dead. The converter is old. It won't even work fully with most projects.

Or put bluntly, stop riding on nostalgia and move on
Title: Re: RMXP Project Converter
Post by: Blizzard on December 28, 2017, 02:06:41 am
Yeah, ARC is long dead. ._.
Title: Re: RMXP Project Converter
Post by: syldocaine on December 28, 2017, 12:14:37 pm
I just wanted to try it out with some old projects of mine.

Still sad, that ARC is gone though.
Loved the idea of a RMXP on steroids.

I can't get used to the newer RPG Makers.
Title: Re: RMXP Project Converter
Post by: Blizzard on December 28, 2017, 12:37:22 pm
You can still try XPAce. :)
http://forum.chaos-project.com/index.php/topic,12899.0.html
Title: Re: RMXP Project Converter
Post by: KK20 on December 28, 2017, 02:00:21 pm
He has, and he never really liked it because of incompatibilities. But rather than working with me to get them fixed, he gave up on it entirely.

That said, the only RMXP rewrite that is still getting updated is Ancurio's MKXP, but I have never bothered looking into it.
Title: Re: RMXP Project Converter
Post by: syldocaine on December 28, 2017, 05:59:08 pm
My biggest issue is the editor itself. So the most interesting part of ARC was the editor for me. The RMMV editor is horrible. I quitted it the moment where I wanted to change the floor of a room and had to rebuild nearly the whole room because it has no actual layers.

Yes I could use external tools or parallax mapping. But thats all more work and more complicated and not alot of fun. And the fun is the reason why I use RPG Maker in the first place. So ARC sounded perfect for me. A stronger and better RMXP. All I ever wanted.

But yeah it's dead anyways so I just wanted to try out the engine a little bit. :D

About the XPAce thing. It's still an option for me but I know it will be a ton of work. Still thinking about it.
Title: Re: RMXP Project Converter
Post by: Blizzard on December 29, 2017, 01:58:33 am
I agree, the editor is the biggest weak point. You could try Gemini (that was its name IIRC), ForeverZer0's custom editor.

XPAce was a bit of work when I ported CP, but I have to admit that it was far less than I expected. And I have tons of custom scripts (30k+ lines of code compared to the original 9k+). Most issues I had were actually windowing and tilemap related. I did a custom window system that's now included in XPAce while KK20 fixed the tilemap issues. So you might have way less problems than you expect.
Title: Re: RMXP Project Converter
Post by: KK20 on December 29, 2017, 02:48:41 am
Gemini was only for scripting though.
Title: Re: RMXP Project Converter
Post by: Blizzard on December 29, 2017, 07:25:41 am
Oh right. ._. I forgot about that.
Title: Re: RMXP Project Converter
Post by: Ryex on December 31, 2017, 03:46:50 pm
If you really do want it I can get it to you. It's not Like the code disappeared or anything. You'll just have to wait for me to get home from holiday travel. I might even get lucky have a compiled copy hanging around in my deep storage. Just be warned that the ARC engine can't exactly be said to be stable. I don't remember there being any game breaking bugs but it was running a newer version of ruby so there could be some incompatibilities. Also, you won't really gain anything from using the ARC converter other than a higher FPS potential.

Anyway, Let me know and give me till Thursday if you do want a copy.



As for the Editor, I still have plans for that particular piece of code. there are a lot of structural components in there that I still can't replace with other libraries. but It was for the most part non-functional for editing ARC game data. only about half the game data tabs worked.
Title: Re: RMXP Project Converter
Post by: syldocaine on December 31, 2017, 11:53:47 pm
Hey, no need to hurry.
I'm very glad that you still have it.

I will wait for it as long as necessary.
And I don't expect some miracle I'm just interested.
Title: Re: RMXP Project Converter
Post by: Ryex on January 03, 2018, 12:58:08 am
https://www.dropbox.com/s/1l751hj3lovaxa3/RMXP2ARC.exe?dl=0

^^ that should have the converter. Good Luck.
Title: Re: RMXP Project Converter
Post by: syldocaine on January 03, 2018, 07:35:33 am
Hmm it says "File is no longer available".
Title: Re: RMXP Project Converter
Post by: Blizzard on January 03, 2018, 08:51:59 am
Actually it says "Restricted content". xD
Title: Re: RMXP Project Converter
Post by: Ryex on January 05, 2018, 12:56:48 am
wat...

try this one

https://www.dropbox.com/s/5za82i867prnk3t/RMXP2ARC.zip?dl=0
Title: Re: RMXP Project Converter
Post by: syldocaine on January 05, 2018, 01:03:56 pm
This one works perfectly.

Thanks alot!