05-01-2010, 05:57 PM
(This post was last modified: 09-02-2024, 05:29 PM by DerVVulfman.)
Importing FPLE maps in RMVX
FPLE Version: 1.3
FPLE Version: 1.3
Introduction
As the mapping in RMVX is not suitable for the FPLE script, here is a solution to import FPLE maps created with RMXP directly in a RMVX project.
Demo
The following file contains a VX demo, and an executable (exporter).
DEMO + Exporter
Script
This script is complex, requires a DLL, so you have to download the demo to get the script.
Instructions
Only the three layers (floor, walls, ceiling) will be imported from RMXP. Events and maps properties shall be set in RMVX.
To begin with, you must have a RMXP project with FPLE maps (see FPLE script for RMXP). You don't need to put events, that is just useless here.
You must also have a RMVX project that includes the FPLE script for VX + the DLL (see demo).
The exporter : FPLE_Exporter.exe
1 : RMXP project with FPLE maps
2 : Here are listed FPLE maps found in the selected RMXP project
3 : RMVX project in which FPLE maps will be imported
4 : Here are listed FPLE maps already imported in the selected RMVP project
5 : click here to import selected FPLE maps in the RMVX project (make sure that the RMVX project is CLOSED first)
When exporting a RMXP map :
- if the map's name matches an existing RMVX map's name, then the map is updated (only the layers, it doesn't erase your events).
- if not, a new RMVX map with the exported map's name is created : you will have a new MapXXX.rvdata file in your Data folder, plus a MapXXX_FPLE.rvdata file. The MapInfos.rvdata file is also updated.
- Tilesets data are copied : Tilesets.rvdata is created/updated and a new folder "Tilesets" containing FPLE tilesets is created/updated.
Imported FPLE maps in RMVX are displayed in the editor using void tiles where there is no wall and black tiles for walls.
That's completely arbitrary and has no importance : the mapping in RMVX has no effect on the map's rendering. It's just a helping tool to place your events easily.
Author's Notes
I'm using vgvgf's rewritten Table class, so he should be credited.
Some scripts :
Working on :