-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 0.1.6 - .dat: OTCv8 'Bones' attribute; .spr: OTC transparency…
… attribute; item generator: configurable to use .dat item IDs [no items.otb required]
- Loading branch information
Showing
16 changed files
with
7,873 additions
and
1,001 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,44 @@ | ||
<html> | ||
<head> | ||
<title>Item Image Frames Generator - OpenTibiaLibrary</title> | ||
<meta http-equiv="content-type" content="text/html; charset=utf-8"/> | ||
</head> | ||
<body> | ||
<h2>Item image frames generator (for animated items PHP script)</h2> | ||
<blockquote> | ||
How to use:<br/><br/> | ||
1. Type version of Tibia client.<br/> | ||
2. Select SPR, DAT and OTB files.<br/> | ||
3. Click "LOAD FILES", watch "Progress".<br/> | ||
4. Click "GENERATE IMAGES", wait for ZIP file download.<br/> | ||
5. Convert generated PNG images into animations using:<br/> | ||
<a href="https://item-images.ots.me/png-to-gif-converter/">https://item-images.ots.me/png-to-gif-converter/</a><br/> | ||
You can also download <a href="https://github.com/gesior/open-tibia-library">https://github.com/gesior/open-tibia-library</a> | ||
and use command line PHP script <b>"tools/item-image-frames-to-animated-gif-converter/cli_convert.php"</b> | ||
to convert it to animations on your PC<br/> | ||
<br/> | ||
<b>FILES ARE NOT SEND TO SERVER! EVERYTHING IS GENERATED ON YOUR COMPUTER.</b><br/> | ||
<br/> | ||
(Enable Developer console in webbrowser to get more information about problems/progress) | ||
</blockquote> | ||
Client Version: <input type="number" id="clientversion" value="860"/> (format 860, NOT 8.60)<br/> | ||
Sprite file: <input type="file" id="spr"/><br/> | ||
Dat file: <input type="file" id="dat"/><br/> | ||
Otb file: <input type="file" id="otb"/><br/> | ||
Only pickable items: <input type="checkbox" id="onlyPickupable" checked/><br/> | ||
Force enable extended sprites: <input type="checkbox" id="forceEnableExtendedSprites"/> (for old clients .dat and .spr | ||
with this feature enabled)<br/> | ||
<br/> | ||
<button id="loadFiles">LOAD FILES</button> | ||
<br/> | ||
<br/> | ||
<button id="generateImages">GENERATE IMAGES</button> | ||
<br/> | ||
<br/> | ||
<b>Progress:</b> <span id="progressBar">Not running</span><br/> | ||
<script src="js/vendor.js"></script> | ||
<script src="js/itemImageFramesGenerator.js"></script> | ||
</body> | ||
</html> | ||
<html> | ||
<head> | ||
<title>Item Image Frames Generator - OpenTibiaLibrary</title> | ||
<meta http-equiv="content-type" content="text/html; charset=utf-8"/> | ||
</head> | ||
<body> | ||
<h2>Item image frames generator (for animated items PHP script)</h2> | ||
<blockquote> | ||
How to use:<br/><br/> | ||
1. Type version of Tibia client.<br/> | ||
2. Select SPR, DAT and OTB files.<br/> | ||
3. Click "LOAD FILES", watch "Progress".<br/> | ||
4. Click "GENERATE IMAGES", wait for ZIP file download.<br/> | ||
5. Convert generated PNG images into animations using:<br/> | ||
<a href="https://item-images.ots.me/png-to-gif-converter/">https://item-images.ots.me/png-to-gif-converter/</a><br/> | ||
You can also download <a href="https://github.com/gesior/open-tibia-library">https://github.com/gesior/open-tibia-library</a> | ||
and use command line PHP script <b>"tools/item-image-frames-to-animated-gif-converter/cli_convert.php"</b> | ||
to convert it to animations on your PC<br/> | ||
<br/> | ||
<b>FILES ARE NOT SEND TO SERVER! EVERYTHING IS GENERATED ON YOUR COMPUTER.</b><br/> | ||
<br/> | ||
(Enable Developer console in webbrowser to get more information about problems/progress) | ||
</blockquote> | ||
Client Version: <input type="number" id="clientversion" value="860"/> (format 860, NOT 8.60, clients: 740 - 1099, type <b>1099</b> for latest .dat+.spr version [ex. from 12+])<br/> | ||
Sprite file: <input type="file" id="spr"/><br/> | ||
Dat file: <input type="file" id="dat"/><br/> | ||
Otb file: <input type="file" id="otb"/><br/> | ||
Only pickable items: <input type="checkbox" id="onlyPickable" checked/><br/> | ||
Force enable extended sprites: <input type="checkbox" id="forceEnableExtendedSprites"/> (for old clients .dat and .spr | ||
with this feature enabled)<br/> | ||
Enable transparency: <input type="checkbox" id="enableTransparency"/> (OTC feature 'GameSpritesAlphaChannel')<br/> | ||
Use .dat item IDs as image IDs: <input type="checkbox" id="useDatItemIdsAsImageIds"/> (no 'items.otb' required)<br/> | ||
<br/> | ||
<button id="loadFiles">LOAD FILES</button> | ||
<br/> | ||
<br/> | ||
<button id="generateImages">GENERATE IMAGES</button> | ||
<br/> | ||
<br/> | ||
<b>Progress:</b> <span id="progressBar">Not running</span><br/> | ||
<script src="js/vendor.js"></script> | ||
<script src="js/itemImageFramesGenerator.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,39 @@ | ||
<html> | ||
<head> | ||
<title>Item Image Generator - OpenTibiaLibrary</title> | ||
<meta http-equiv="content-type" content="text/html; charset=utf-8"/> | ||
</head> | ||
<body> | ||
<h2>Item images generator</h2> | ||
<blockquote> | ||
How to use:<br/><br/> | ||
1. Type version of Tibia client.<br/> | ||
2. Select SPR, DAT and OTB files.<br/> | ||
3. Click "LOAD FILES", watch "Progress".<br/> | ||
4. Click "GENERATE IMAGES", wait for ZIP file download.<br/> | ||
<br/> | ||
<b>FILES ARE NOT SEND TO SERVER! EVERYTHING IS GENERATED ON YOUR COMPUTER.</b><br/> | ||
<br/> | ||
(Enable Developer console in webbrowser to get more information about problems/progress) | ||
</blockquote> | ||
Client Version: <input type="number" id="clientversion" value="860"/> (format 860, NOT 8.60)<br/> | ||
Sprite file: <input type="file" id="spr"/><br/> | ||
Dat file: <input type="file" id="dat"/><br/> | ||
Otb file: <input type="file" id="otb"/><br/> | ||
Only pickable items: <input type="checkbox" id="onlyPickupable" checked/><br/> | ||
Force enable extended sprites: <input type="checkbox" id="forceEnableExtendedSprites"/> (for old clients .dat and .spr | ||
with this feature enabled)<br/> | ||
<br/> | ||
<button id="loadFiles">LOAD FILES</button> | ||
<br/> | ||
<br/> | ||
<button id="generateImages">GENERATE IMAGES</button> | ||
<br/> | ||
<br/> | ||
<b>Progress:</b> <span id="progressBar">Not running</span><br/> | ||
<script src="js/vendor.js"></script> | ||
<script src="js/itemImageGenerator.js"></script> | ||
</body> | ||
</html> | ||
<html> | ||
<head> | ||
<title>Item Image Generator - OpenTibiaLibrary</title> | ||
<meta http-equiv="content-type" content="text/html; charset=utf-8"/> | ||
</head> | ||
<body> | ||
<h2>Item images generator</h2> | ||
<blockquote> | ||
How to use:<br/><br/> | ||
1. Type version of Tibia client.<br/> | ||
2. Select SPR, DAT and OTB files.<br/> | ||
3. Click "LOAD FILES", watch "Progress".<br/> | ||
4. Click "GENERATE IMAGES", wait for ZIP file download.<br/> | ||
<br/> | ||
<b>FILES ARE NOT SEND TO SERVER! EVERYTHING IS GENERATED ON YOUR COMPUTER.</b><br/> | ||
<br/> | ||
(Enable Developer console in webbrowser to get more information about problems/progress) | ||
</blockquote> | ||
Client Version: <input type="number" id="clientversion" value="860"/> (format 860, NOT 8.60, clients: 740 - 1099, type <b>1099</b> for latest .dat+.spr version [ex. from 12+])<br/> | ||
Sprite file: <input type="file" id="spr"/><br/> | ||
Dat file: <input type="file" id="dat"/><br/> | ||
Otb file: <input type="file" id="otb"/><br/> | ||
Only pickable items: <input type="checkbox" id="onlyPickable" checked/><br/> | ||
Force enable extended sprites: <input type="checkbox" id="forceEnableExtendedSprites"/> (for old clients .dat and .spr | ||
with this feature enabled)<br/> | ||
Enable transparency: <input type="checkbox" id="enableTransparency"/> (OTC feature 'GameSpritesAlphaChannel')<br/> | ||
Use .dat item IDs as image IDs: <input type="checkbox" id="useDatItemIdsAsImageIds"/> (no 'items.otb' required)<br/> | ||
<br/> | ||
<button id="loadFiles">LOAD FILES</button> | ||
<br/> | ||
<br/> | ||
<button id="generateImages">GENERATE IMAGES</button> | ||
<br/> | ||
<br/> | ||
<b>Progress:</b> <span id="progressBar">Not running</span><br/> | ||
<script src="js/vendor.js"></script> | ||
<script src="js/itemImageGenerator.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.