|
#1
|
|||
|
|||
|
Yea, yea..not useful...etc. Oh well!
Basically it's a compiler/decompiler tool for the resource files used in Creative LUA applications. They have used it in both their applications and it can slim down the number of files you use by quite a bit if images are used heavily in your applications. Basically you can use it simply by setting the res file via image.setresource("MyRes.bin") and loading images via MyImage = image.load("MyRes/myimage.png"). If you need more info on the image table check out http://en.wikipedia.org/wiki/User:Th...ua#Image_table I've uploaded two files. The first is a zip file containing the Compiler/Decompiler(shown in the picture below), the source to that file if anyone is interested, and the white paper documenting the file format of the resource bin file. The second is an example usage with cilmaviel's paint application(found here). I hope you don't mind, lemme know if you want it removed. The usage is quite simple. To compile click the Add File button until all your images are added, next click the Ellipses Button(". . .") to select the output file location and name, and finally hit the Save Bin File button. To decompile click the Ellipses Button(". . .") to select the bin file you wish to decompile, look at the files contained if you are so pleased, and finally click the Save All Files button which will prompt you to select a folder to save them in. Edit 1: Added multiple file select for the compile tab.
__________________
Only ONE more functions in the Wiki need addressing! Zen X-Fi2 LUA Wiki Want to protect your applications? Click Here! Tower Defense Thread Zen Lock - Protect Your Zen! Last edited by ThievingSix; 01-30-2010 at 07:13 AM. |
|
|
|||
|
|
|
#2
|
||||
|
||||
|
I'm lost for words :-), last evening when I was playing with the X-Fi2
and loading a lot of images into a table manually, and then looking at the folder full of files, I thought those Res file might be good for something after all, and I remember your white-paper. But the thought of making a Res builder, was not encouraging compared to what I was doing, So it's sure nice to visit ABI and find the tool all ready made. Time to try it out... Jan_DK |
|
#3
|
||||
|
||||
|
Thank you
this really useful in making games easier to install. You'll notice I used it with mastermind. One suggestion tho, can you enable multiple file selection in the file selection window as when you have a lot of image files it takes forever to add them all :P
|
|
#4
|
|||
|
|||
|
Updated.
__________________
Only ONE more functions in the Wiki need addressing! Zen X-Fi2 LUA Wiki Want to protect your applications? Click Here! Tower Defense Thread Zen Lock - Protect Your Zen! |
|
#5
|
||||
|
||||
|
Thanks for that update, adding multiple file's in one go, was going to be
my "request" too, later on, and ding there it is. :-) Jan_DK |
|
#6
|
|||
|
|||
|
great work
|
|
#7
|
|||
|
|||
|
good job. It keeps my resources organized
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 11:41 AM.











this really useful in making games easier to install. You'll notice I used it with mastermind. One suggestion tho, can you enable multiple file selection in the file selection window as when you have a lot of image files it takes forever to add them all :P

Linear Mode
