Benzin

From NSMBW Modding Database
Jump to navigation Jump to search
Benzin
Type: Layout File Converter
Developer(s): SquidMan, comex, megazig, et al.
Stable Release Version: v2.1.12 Beta
Operating System: Windows
Written in: C
License: Unknown
Download:

Source Code

Latest Release

Benzin is a command-line interface (CLI) tool that can convert .brlyt files into .xmlyt files, which can then be edited in any text editor. The tool is also capable of converting .brlan files into .xmlan files.

NOTE: Benzin will not do anything if you run it's executable directly, you will need to open it with the Windows Command Prompt.

Usage

NOTE: If you're on Windows 10 or later, and you get a "FAST_CWD pointer computing" error, delete the existing cygwin1.dll file in the folder where Benzin is located, then rename cygwin1.win10.dll to cygwin1.dll, and try running these commands again.

BRLYT to XMLYT

To convert into .xmlyt, type this command in the Windows Command Prompt:
benzin r <filename>.brlyt <filename>.xmlyt
To convert back into .brlyt, type this command:
benzin m <filename>.xmlyt <filename>.brlyt

BRLAN to XMLAN

To convert into .xmlan, type this command in the Windows Command Prompt:
benzin r <filename>.brlan <filename>.xmlan
To convert back into .brlan, type this command:
benzin m <filename>.xmlan <filename>.brlan

NOTE: If your edited file(s) are crashing the game, ensure that you edited them correctly, and also did the conversion command correctly.

It is important to ensure the r and m command prefix is being used for the right conversions, as these dictate what Benzin will convert the first file into, no matter what the filenames are.