Tibia 11+ Downgrade tool

SpiderOT

™ツʂριԃҽɾσƚ➽ ٩(•‿•)۶★彡
Joined
Sep 29, 2008
Messages
1,036
Reaction score
149
Location
Egypt/cairo
Hey guys!

This is a simple tool to convert client 11+ to outdated client 10.00 Tibia.dat & Tibia.spr

Features:
  • Export sprites sheet to .png
  • Slice all sheets to 32X32 .png
  • Convert sprites sheet to Tibia.spr
  • Convert appearances file to Tibia.dat​
Requirements:
  • Net Framework 4.7.2

37092
37001
37002


How to use:
-Run the application and select assets folder should be AppData\Local\Tibia\packages\Tibia\assets
-Select the output directory
-Check slice sheets to slice all sprites to .png or Check export .spr and click Export sheets
-And of course, Export dat to export Tibia.dat


-Sources can be found HERE
-Updated binary should be downloaded from HERE
You can also download a converted client from latest 12.15 from HERE


Credits
a big part of the codes copied from other released applications, so most of it goes to @jo3bingham @EdMignari @Summ @gpedro
 
Last edited:

jo3bingham

Legendary OT User
Joined
Mar 3, 2008
Messages
998
Reaction score
436
I was wondering how long it was going to take someone to release something like this. A few things to note:
Sources should be released soon
You should go ahead and release the source, preferably on a version control site (i.e. GitHub). I say this because you mention it requires .NET Framework which implies it's probably written in C#, and I doubt you obfuscated the binary, so anyone can open it in a decompiler like dotPeek and get access to the full source code anyway.
  • Application is really slow like 20 minutes on a good computer
I haven't looked at your code, but I have a good idea why it takes so long. My code creates the .spr and .dat at the same time and takes roughly 3 minutes, and I didn't aim for performance when I wrote it. I would highly suggest moving away from .NET Framework and using .NET Core and taking advantage of Spans. I haven't done that, yet, but when I do I would be surprised to see it take more than 2 minutes.
 
OP
SpiderOT

SpiderOT

™ツʂριԃҽɾσƚ➽ ٩(•‿•)۶★彡
Joined
Sep 29, 2008
Messages
1,036
Reaction score
149
Location
Egypt/cairo
Yeah I only wanted to clean up the code abit, posted on github
Definitely, I've complicated some functions due to my limited knowledge xD
 

zetibia

Intermediate OT User
Joined
Jun 23, 2013
Messages
104
Reaction score
13
Great job. I have been in the last 3 months trying to understand protobuf, mainly about generating classes from .proto, even reading the google documentation, and even then I could not. Could you explain how you managed to generate .cs from the .proto?
 
OP
SpiderOT

SpiderOT

™ツʂριԃҽɾσƚ➽ ٩(•‿•)۶★彡
Joined
Sep 29, 2008
Messages
1,036
Reaction score
149
Location
Egypt/cairo
I had a hard time understanding it too.
you can download protoc-3.8.0-win64 binary from here put the .proto files with protoc.exe and use the following command
Code:
protoc --csharp_out=src Appearances.proto
this should generate Appearances.cs
 

Attachments

frida22

Put banana in your ear!
Joined
May 13, 2010
Messages
41
Reaction score
8
something like this is created but still no sprite sheets compilator on its own version xddd
 

EduardoDantas

Intermediate OT User
Joined
Sep 25, 2013
Messages
105
Reaction score
49
Location
Brazil
It's hard to see criticism when nobody (and many have enough knowledge for this) did something of the kind and you did and made it, congratulations.
 
Last edited:

Marco Oliveira

New Member
Joined
Jan 5, 2019
Messages
26
Reaction score
13
Location
Minas Gerais - Brasil
Excellent tool, and will be of very important use for those who wish to have the protocol always updated along with the outdated client.

I had some problems generating the otb with item editor 0.4.2, it says that it was not possible to get the sprites of some items, can you tell me why this?
I think it's a problem in .dat generation.

Anyway thank you very much for the contribution, congratulations for the initiative.
 
OP
SpiderOT

SpiderOT

™ツʂριԃҽɾσƚ➽ ٩(•‿•)۶★彡
Joined
Sep 29, 2008
Messages
1,036
Reaction score
149
Location
Egypt/cairo
Updated post with new binary (old one have some critical bugs)
I'll check it but I believe it's something related to .spr file, if I'm not wrong item editor compare sprites ids and the ids is totally different from outdated client 10.00 .spr file
until we find a better approach, I would suggest export the new items, outfits etc and manually import them with object builder.
 

Tarek1337

Excellent OT User
Joined
Jun 9, 2012
Messages
3,562
Reaction score
1,000
Location
Sweden
Thank you for the release & giving proper credits, not something you see around here very often. ❤
 

jestem pro

That is the question
Joined
Apr 20, 2013
Messages
564
Reaction score
65
dunno but your ObjectBuilder doesn't work. Says "null" everywhere when turns on.
 

Nottinghster

Tibia World RPG Developer
Joined
Oct 24, 2007
Messages
1,461
Reaction score
323
Location
Brazil - Rio de Janeiro
@SpiderOT

This could be a stupid question, but with your tool, of course, with source modification, it's possible to make it work with Tibia 8.6 version?
Everyone knows that Tibia 10.x+ .dat structure is different, but it's possible to make it work ?
 
OP
SpiderOT

SpiderOT

™ツʂριԃҽɾσƚ➽ ٩(•‿•)۶★彡
Joined
Sep 29, 2008
Messages
1,036
Reaction score
149
Location
Egypt/cairo
Very possible, you only need to remove the different flags like market and edit the write sprite part
 
Top