Marvel Mods

XML and MUA - Common Items => Modding Tools => Topic started by: LarsAlexandersson on December 05, 2019, 07:52PM

Title: raven-format script by nikita488
Post by: LarsAlexandersson on December 05, 2019, 07:52PM
Seems nikita forgot to add the instruction of his new tool on this main website too. I guess I’ll post this in his place.

What to require:

* Main Script: https://pypi.org/project/raven-formats/ (Highly recommend to extract the files at the same directory as the place where you installed Python)
* Latest Python version (only works from 3.7.4 onwards): https://www.python.org/downloads/
* Notepad+ (highly recommend the latest version, allow to open json, py & any texting-based files, even easier than editing in xml files)

Installation after download the requirement tools/files
1. Open cmd (recommend to type “cmd” at folder directory bar in the place where you installed python)
2. Find & copy “pip install raven-formats” (also on the pypi), & paste, then enter

This script emulates similarly as XMLBCUI, but more advance & no problem like being able to compile Italian version of Nick Fury’s comment on the success at Mephisto’s Realm. It requires to open CMD at a folder directory bar in the place where “xxxb” files located:
* Decompile: python3 xmlb -d [name].xxxb [name].json
* Compile: python3 xmlb [name].json [name].xxxb

NOTE: nikita488 said to me that ravens-format’s upcoming versions will be able not only just as replacement for XMLBCUI compiler, but beyond to be more advance than the previous tools we knew aside XMLBCUI, like zsmeditor (not sure about texture/modeled-based though, but it seems nikita never mention about this, just the said sound editor). Don’t expect anything or anytime soon. Who knows what future will come for us?

UPDATE: Those who wants to keep Python2 for other modding projects (like Arc System Works games such as BlazBlue); you’ll have to configure Python paths on both versions to avoid classing to get ravens-tools work. See below methods:

https://datascience.com.co/how-to-install-python-2-7-and-3-6-in-windows-10-add-python-path-281e7eae62a
https://stackoverflow.com/questions/39851566/using-pip-on-windows-installed-with-both-python-2-7-and-3-5
Title: Re: raven-format script by nikita488
Post by: jayglass on December 05, 2019, 08:44PM
Hopefully we get sound support for other consoles
Title: Re: raven-format script by nikita488
Post by: Teancum on December 06, 2019, 04:06AM
Jayglass, this is a replacement tool for XMLBCUI. It decompiles XMLB files to the correct industry standard of .JSON. XMLBCUI misses a few things.

This is useful to convert to .XML from .JSON, which means you can port character files to XML1, but its still a lot of work.
Title: Re: raven-format script by nikita488
Post by: LarsAlexandersson on December 06, 2019, 04:41AM
Would that require fbtools too afterwards, for console mod?
Title: Re: raven-format script by nikita488
Post by: Teancum on December 06, 2019, 11:19AM
Yes, but Norrin Radd's tools work fine for that.
Title: Re: raven-format script by nikita488
Post by: jayglass on December 06, 2019, 12:29PM
Hopefully it works out for XML1
Title: Re: raven-format script by nikita488
Post by: nikita488 on December 13, 2019, 11:22AM
Don't download tar.gz, it's wrong way of installing this script.
In cmd type this:
Quotepip install raven-formats
Title: Re: raven-format script by nikita488
Post by: LarsAlexandersson on January 24, 2021, 08:36PM
Update: Method of using both python 2 & 3 to avoid clashing with another included.