Compiling Benzin for Mac
From WADder Wiki
As seen in Tempus' Beginner Package
Contents |
Compiling Benzin
1) Download the following:
2) Install XCode by double clicking the package and following the instructions.
3) Unzip/untar the MiniXML libraries and Benzin libraries
4) Open the terminal.
5) Navigate to the MiniXML folder
- You start in the "Home" folder
- Use "ls" to list all the directories and files where you are.
- Use "cd 'DirectoryName'" to navigate to that directory.
- Use "cd" with no directory name to go back one directory.
6) Type: "./configure" and wait for it to finish.
7) Type: "sudo make install" and wait for it to finish.
8) Navigate in the terminal to the benzin source directory.
9) Type "make" and wait for it to finish.
There should now be a binary file called "benzin" in your benzin directory!
Repeat steps 8 and 9 when compiling new versions of benzin from hereon.
Benzin usage
Benzin usage in the terminal is (from the benzin directory):
- ./benzin r <source>.brlyt <destination>.xmlyt
- ./benzin r <source>.brlan <destination>.xmlan
- ./benzin m <source>.xmlyt <destination>.brlyt
- ./benzin m <source>.xmlan <destination>.brlan
How to Extract and Encode the brlyt files using the benzin droplet
Download the Benzin Droplet for Mac
These steps only need to be done every time you compile a new version of benzin
- 1) Go back and open the terminal again.
- 2) Navigate to the folder benzin is located in, as above.
- 3) Type "sudo cp benzin /usr/bin/"
- 4) Enter your administrator password
This will convert your files
- 1) Drag and Drop brlyt, brlan, xmlyt, or xmlan files onto the droplet.
- 2) Due to programming laziness on my part, Rename the files to remove the extra extension before converting the file again.
How to Read benzin files
Use one of the following fine programs.
- - TextEdit (included with the OS)
- - Dashcode (included with XCode)
- - Smultron (http://tuppis.com/smultron/)
