lordazzi
New Member
- Joined
- Apr 6, 2012
- Messages
- 24
- Reaction score
- 1
Hi! I'm trying to complete my Tibia Sprite Compiler/Extractor that decompile SPR from Tibia from any version.
I have already made the code for decompile SPR > 7.2 and for SPR > 9.6
But SPR lower 7.2 is very hard to understand, If anyone could help me understanding these bytes....
(I want to decompile older sprites because an Tibia encyclopedia asked that to me)
This is Tibia.spr 3.1 bytes, there are something that I have understood:
[E4][04] ~> first two bytes are the number of sprites inside the file (1252), in this epoch the SPR has not signature
[01][00] ~> number 1 (??)
[02][00] ~> number 2 (??)
[02][00] ~> number 2 (??)
[62][04] ~> The number of bytes of this sprite (I guess)
So, after that, there are a lot of bytes. I believe that bytes are the pixels from the sprite, but it is too hard understand how it work:
[00][00][20][5F][83][83][5F][83][5F][83][84][83][83][5E][83][83][8A][83][83][84][83][58][5F][5F][A7][5F][83][5F][83][83][A8][5F][5E][84][83][00][00][20][84][5F][83][5F][83][84][83][5F][83][5F][A7][84]5F][5F][8A][83][83][5E][58][83][83][83][5F][82][83][84][83][5E][84][83][84][82][00][00][20][5F][82][83][83][5F][5F][84][83][84][82][5F][83][83][83][5F][84][83][83][82][5F][5F][83][5F][83][5F][83][89][84][5E][5F][5F][83][00][00][20][7E][5F][83][5F][83][5F][89][5F][5E][60][7D][83][83][5F][83][83][83][5F][58][60][83][83][5E][5F][83][84][82][5F][83][83][84][5F][00][00][20][83][84][83][7D][83][83][59][5E][5F][5F][83][84][5E][84][83][84][83][5E][2E][5F][83][83][5F][5F][84][83][83][83][5F][7D][83][65][00][00][20][5F][83][5F][5F][5F][83][84][83][5E][82][84][83][5F][83][66][83][84][5E][58][60][83][83][89][5F][83][83][89][5F][5E][84][83][7D][00][00][20][5F][83][5F][5E][84][5E][83][84][84][82][5F][5F][83][84][82][5F][83][84][5F][5E][83][60][84][83][5E][83][83][83][83][5F][64][84][00][00][20][5F][83][83][5E][5F][84][84][82][83][83][5F][83][89][5E][A8][84][89][5E][59][59][83][82][5F][5F][84][84][83]
If anyone want help me to discovery how it work.
I have already made the code for decompile SPR > 7.2 and for SPR > 9.6
But SPR lower 7.2 is very hard to understand, If anyone could help me understanding these bytes....
(I want to decompile older sprites because an Tibia encyclopedia asked that to me)
This is Tibia.spr 3.1 bytes, there are something that I have understood:
[E4][04] ~> first two bytes are the number of sprites inside the file (1252), in this epoch the SPR has not signature
[01][00] ~> number 1 (??)
[02][00] ~> number 2 (??)
[02][00] ~> number 2 (??)
[62][04] ~> The number of bytes of this sprite (I guess)
So, after that, there are a lot of bytes. I believe that bytes are the pixels from the sprite, but it is too hard understand how it work:
[00][00][20][5F][83][83][5F][83][5F][83][84][83][83][5E][83][83][8A][83][83][84][83][58][5F][5F][A7][5F][83][5F][83][83][A8][5F][5E][84][83][00][00][20][84][5F][83][5F][83][84][83][5F][83][5F][A7][84]5F][5F][8A][83][83][5E][58][83][83][83][5F][82][83][84][83][5E][84][83][84][82][00][00][20][5F][82][83][83][5F][5F][84][83][84][82][5F][83][83][83][5F][84][83][83][82][5F][5F][83][5F][83][5F][83][89][84][5E][5F][5F][83][00][00][20][7E][5F][83][5F][83][5F][89][5F][5E][60][7D][83][83][5F][83][83][83][5F][58][60][83][83][5E][5F][83][84][82][5F][83][83][84][5F][00][00][20][83][84][83][7D][83][83][59][5E][5F][5F][83][84][5E][84][83][84][83][5E][2E][5F][83][83][5F][5F][84][83][83][83][5F][7D][83][65][00][00][20][5F][83][5F][5F][5F][83][84][83][5E][82][84][83][5F][83][66][83][84][5E][58][60][83][83][89][5F][83][83][89][5F][5E][84][83][7D][00][00][20][5F][83][5F][5E][84][5E][83][84][84][82][5F][5F][83][84][82][5F][83][84][5F][5E][83][60][84][83][5E][83][83][83][83][5F][64][84][00][00][20][5F][83][83][5E][5F][84][84][82][83][83][5F][83][89][5E][A8][84][89][5E][59][59][83][82][5F][5F][84][84][83]
If anyone want help me to discovery how it work.
Last edited: