Preparing Spritesheets
Last updated
Last updated
To generate the format of assets used by this project, we will be using an external project, which can be obtained in this repository (v2-pipeline).
If you are using a typical tibia client, there are pre-built assets for different client versions, they can be found here.
To compile the opentibiaunity-datspr-converter, the only supported way is using window. If you don't use windows, you should use the pre-built assets aforementioned.
Start the solution(.sln) using Visual Studio (2012+). It should manage installing the required packages automatically, however if for some reason this didn't happen. Start Nuget Package Manager Console,
then execute the following commands
finally, compile the project and open the folder where the project is built.
Within opentibiaunity_datspr_converter.exe, create a new folder and name it to the client version you are trying to build (e.g 860 or 1200).
Simply put Tibia.dat and Tibia.spr inside the created folder.
in the folder that contains the .exe, shift+right click and choose Open PowerShell window here or Open command prompt here depending on your windows version and your preferences, then execute the following command
The parameter --version indicates the client version you want to process. These are all the available parameters to use as of writing this tutorial.
If you are processing sprites for Tibia 11 or later, you should specify the build version.
Once done, the result should look like that in either cases (10.98 used here)
Now you are ready to start the client with that version. Put these files inside StreamingAssets/VERSION (in our case VERSION = 1098) and process to the next step!
Parameter
Help
--version
specify the client version
--build-version
specify the build version for tibia 11 sprites. defaults to 0
--alpha
specify if the sprite loader should use alpha channel or not. defaults to false
--convert-to
conversion between two client versions.
this option is not explained here as it has nothing to do with processing spritesheets.