Add build infos for Linux users

This commit is contained in:
ABelliqueux 2021-08-27 19:21:35 +02:00
parent 020e770d0b
commit fe1673a914

View File

@ -58,7 +58,8 @@ These utilities should be in your [$PATH](https://stackoverflow.com/questions/44
* [psxavenc](https://github.com/ABelliqueux/candyk-psx/tree/master/toolsrc/psxavenc) : convert WAV to psx XA - Win32 pre-built bin : http://psx.arthus.net/sdk/candyk-psx-tools.zip
* [xainterleave](https://github.com/ABelliqueux/candyk-psx/tree/master/toolsrc/xainterleave) : interleave psx XA files - Win32 pre-built bin : http://psx.arthus.net/sdk/candyk-psx-tools.zip
Linux users, these utilities are trivial to build using `gcc -o output source.c`. Only `psxavenc` and `img2tim` are a bit more involved as you should install the ffmpeg and freeimage dev packages from your distro before compiling.
Linux users, these utilities are trivial to build using `gcc -o output source.c`.
Only `psxavenc` and `img2tim` are a bit more involved as you should install the ffmpeg and freeimage dev packages from your distro before compiling.
On Debian,
@ -72,6 +73,20 @@ should set you up. Arch users, dev files are already on your system as long as t
sudo pacman -S ffmpeg freeimage
```
Building `img2tim` :
```bash
# In img2tim's sources directory :
gcc -o img2tim main.cpp
```
Building `psxavenc` and `xainterleave` :
```bash
# Use the Makefile that's in candyk-psx's sources directory :
make tools
```
For users with **Imagemagick** installed, there is an option when exporting to use that instead of pngquant.
4. Enable the add-on in Blender by going to user preferences, Add-ons tab, and enable `Import-Export: PSX TMesh exporter`.