• 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!

SprEx

jo3bingham

Excellent OT User
Joined
Mar 3, 2008
Messages
1,103
Solutions
14
Reaction score
772
GitHub
jo3bingham
SprEx

Zip-Android-128.png


SprEx is a simple sprite extraction tool for use with Tibia.



MainMenu.png

Main Menu

The Main Menu is your portal to all the extraction tools.
Just click on the desired tool to access it.
You can move the window around, from anywhere, by clicking down and dragging the title bar.



SingleSprite.png

Single Sprite

Click Load to search for and load your desired sprite file.
Once done loading, you will be displayed with the first sprite and the number of sprites that were loaded.
Use the text field and the Go button to locate the desired sprite you wish to extract.
You will receive an error 'beep' if there is no sprite for the specified value.
Click Export to export the displayed sprite.



FullSpriteFile.png

Full Sprite File

Click Load to search for and load your desired sprite file.
Once done loading, you will be displayed with the number of sprites that were loaded.
Click Export to export all loaded sprites.



NewSprites.png

New Sprites

Click Load New to search for and load a newer sprite file.
Click Load Old to search for and load an older sprite file.
Click Export to export all the new sprites from the new sprite file.
It will export new sprites and any edited sprites.



OldSprites.png

Old Sprites

Click Load Old to search for and load a older sprite file.
Click Load New to search for and load an newer sprite file.
Click Export to export all the old sprites from the old sprite file.



Settings.png

Settings

Directory Click Default to set the desired output folder of your exported sprites.
A Sprites folder will be made in the output folder.
Default is the location in which you ran SprEx.

Image Select your desired output type of your exported sprites.
Sound You will receive 'beeps' when actions are completed (loading sprites, exporting sprites, etc.). You can disable it here.
Click Exit Settings to quickly get back to your previous window.



DropDownMenu.png

Quick Menu

At any time you can access the Quick Menu by right-clicking on the title bar.
This allows you to quickly go to the Main Menu or Settings and Minimize or Exit SprEx.



Q&A

Q Can I compile a sprite file with SprEx?
A No.

Q Will you add compiling to SprEx?
A Probably not.

Q Why not?
A Because the purpose of SprEx is to extract sprites.

Q Will you release a compiler?
A If I ever finish my tool suite, yes.

Q Fine. What client versions can I use this with?
A SprEx is compatible with client versions 7.00+, and will work for future versions if CipSoft doesn't change their sprite format.

Q My New/Old sprites are not exporting. What gives?
A These sprites will not export if they share the same file Id (since they are identical) or if your New sprite file is older than your Old sprite file, or vice versa.

Q Why are you so sexy?
A I do not know.



Notes

I am aware that the exporting of New Sprites and Old Sprites takes quite some time.
This has to do with the way that I determine if a sprite is new/old.
I will work to make this process quicker, but for the time being you'll have to be patient.

If you would like to request a feature, feel free to do so.
If I feel as though your feature-request is applicable, I will implement it.

Though I've tested the program to my standards, there is always a chance that I missed a bug.
Please report any errors you find to me so I can fix them as quickly as possible.

Thank You



Download
 

Attachments

Last edited by a moderator:
Thank you.

I forgot to mention, it requires .NET Framework 4.0. Which is a free download from Microsoft.
 
tried to load latest testserver file and got
Code:
 Nazwa zdarzenia problemu:	CLR20r3
  Podpis problemu: 01:	sprex.exe
  Podpis problemu: 02:	1.0.0.0
  Podpis problemu: 03:	4fb3c516
  Podpis problemu: 04:	mscorlib
  Podpis problemu: 05:	4.0.0.0
  Podpis problemu: 06:	4dd23522
  Podpis problemu: 07:	3fdf
  Podpis problemu: 08:	1d
  Podpis problemu: 09:	System.IO.EndOfStreamException
  Wersja systemu operacyjnego:	6.1.7600.2.0.0.256.48
  Identyfikator ustawień regionalnych:	1045
  Dodatkowe informacje 1:	0a9e
  Dodatkowe informacje 2:	0a9e372d3b4ad19135b953a78882e789
  Dodatkowe informacje 3:	0a9e
  Dodatkowe informacje 4:	0a9e372d3b4ad19135b953a78882e789
.net 4.0 installed
(anyway, why the hell people are using it?)
 
Looks like they changed the spr structure
in dat they changed the sprite ids from 2 bytes to 4 bytes
 
tried to load latest testserver file and got
Code:
 Nazwa zdarzenia problemu:	CLR20r3
  Podpis problemu: 01:	sprex.exe
  Podpis problemu: 02:	1.0.0.0
  Podpis problemu: 03:	4fb3c516
  Podpis problemu: 04:	mscorlib
  Podpis problemu: 05:	4.0.0.0
  Podpis problemu: 06:	4dd23522
  Podpis problemu: 07:	3fdf
  Podpis problemu: 08:	1d
  Podpis problemu: 09:	System.IO.EndOfStreamException
  Wersja systemu operacyjnego:	6.1.7600.2.0.0.256.48
  Identyfikator ustawień regionalnych:	1045
  Dodatkowe informacje 1:	0a9e
  Dodatkowe informacje 2:	0a9e372d3b4ad19135b953a78882e789
  Dodatkowe informacje 3:	0a9e
  Dodatkowe informacje 4:	0a9e372d3b4ad19135b953a78882e789
.net 4.0 installed
(anyway, why the hell people are using it?)
If you could supply me with the test server client install I can have an update pushed out a.s.a.p.
Looks like they changed the spr structure
in dat they changed the sprite ids from 2 bytes to 4 bytes
Thanks. As soon as I can get my hands on the test server client I can have this fixed.
 

Thanks. The only thing that changed in the sprite file is that they changed the sprite count from 2 bytes (ushort) to 4 bytes (uinteger) because the number of sprites surpasses the upper limit of unsigned shorts (65000~). I just need to test it real quick then I'll have an update out shortly.

- - - Updated - - -


SprEx v1.1.0



Update(s)

Supports test server client (9.60), and all subsequent client updates.



Bug Fixes

New Sprites and Old Sprites wasn't returning all sprites.



Coming Soon

New Sprites and Old Sprites export speed optimizations.
Choose to export new sprites, updated sprites, or both via New Sprites.
Choose to export old sprites, edited sprites, or both via Old Sprites.



The update can be downloaded from the same link in the original post.
 
Thanks a lot man :thumbup:
The new sprites export option take a lot of memory like 600mb xD
also you have to close it from task manager
other than that it's perfect
btw you still working on the tool suite?
 
Thanks a lot man :thumbup:
The new sprites export option take a lot of memory like 600mb xD
also you have to close it from task manager
other than that it's perfect
btw you still working on the tool suite?

Yeah, it takes quite a bit of memory and time to finish exporting sprites, which I'm going to fix soon. Though, I've never had to close it from the task manager, but I'll look in to it.'

In my spare time as much as I can. I was actually going to try to release another piece of the suite in the coming weeks, but I have so much RL stuff come up. Maybe once I'm finished moving and have my new job I'll be able to work on it a lot more.
 
Hello everybody, It works with actual tibia 10.82 without problem but I would like to view the sprites as in object editor or the old dat editor because i don't know the sprite number of the new outfits xD
 
It appears that they changed the spr structure in that the sprite ids were changed from 2 bytes to 4 bytes.
 
Back
Top