• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

OpenTibia Protobuf Library (DLL)

Nekiro

Legendary OT User
TFS Developer
Joined
Sep 7, 2015
Messages
2,719
Solutions
127
Reaction score
2,179
Some time ago I added protobuf support to mehah's otc, this time I took the code out and made into dynamic link library, so it can be used with various projects just by importing it.
If you are not familiar what protobuf is, it's basically data format which cip uses in their client 12.
Basically it allows you to read single sprites or sprite sheets from lzma files and appearances from .dat file.
Check wiki on github projects for methods and how to use.

Github:

Wiki:

Enjoy
 
I like it, this can be very useful for people to add assets loading support to tools like RME and Object Builder
 
I saw some people using this lib and straight up copying the whole code into another project. This is not the way it should be used.
Thus why I added some more instructions on how to use this lib with several small fixes to avoid enforcing c++20 with std::format.
Now projects with c++11 should work properly too.

Also included latest release for easier integration.
 

Similar threads

Back
Top