Skip to content

[WIP] Ogmo Editor 2 -> Ogmo Editor 3 Automatic Conversion Tool

Notifications You must be signed in to change notification settings

Ogmo-Editor-3/ogmo-conv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ogmo-conv

Converts your Ogmo Editor 2 project/level XML files to work with Ogmo Editor 3!

CAUTION: This mostly works, but it still has some known issues! Don't expect a 100% accurate conversion yet! See the Progress section of the README for more details.

The logic is written in Haxe but compiles to a Python 3 script for convenient use.

Usage:

python ogmo-conv.py [-p projectFile] [-l levelFile] [-r rootLevelDirectory]

You must specify a project file. You can specify individual levels with the -l flag, or a root directory that will recursively convert all levels in its subdirectories, or both. The generated files will appear next to their .oel/.oep counterparts.

Build steps:

  1. Install Haxe and Python 3.
  2. Navigate to the project directory.
  3. Run haxe build.hxml
  4. Behold the newly-created ogmo-conv.py

Progress:

What works:

  • Command line interface
  • Project (.oep) conversion
  • Level (.oel) conversion
  • Automatically saving converted projects/levels to disk
  • Directory-recursive conversion

What doesn't work:

  • Tilemap layers using export modes other than CSV
  • Grid layers using export modes other than Bitstring
  • Probably other stuff

About

[WIP] Ogmo Editor 2 -> Ogmo Editor 3 Automatic Conversion Tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages