Page 1 of 1

Small tools

PostPosted: Wed Oct 03, 2012 5:57 pm
by APXEOLOG
Some small tools wich i use in development. Maybe they will be usefull for anyone ;)

salem-res-downloader
github: https://github.com/APXEOLOG/salem-res-downloader

This program parse reslist.txt and downlads all resources from it into res/ folder and subfolders. Doesn't check versions or existance (download anyway)

salem-img2res
github: https://github.com/APXEOLOG/salem-img2res

This is simple converer from any image file (png, jpeg...) to .res file. This program use default values for additional loftar's vars, but it is still perfect for ui / icons.
Usage: img2res.jar image_filename
Also there img2res.bat in repo, you can just drag any image file into it and you will get .res file :)

Re: Small tools

PostPosted: Wed Oct 03, 2012 9:30 pm
by dullahx
thanks

Re: Small tools

PostPosted: Thu Nov 22, 2012 6:51 am
by daopa
Can you use salem-img2res in reverse? Take images out of the res and convert to a jpg / png?

Re: Small tools

PostPosted: Tue Nov 27, 2012 12:37 pm
by iamah
I was getting file not found error, but it was just necessary to remove the +".res" from 2 lines

however, the list was outdated, so I got all from ender's jar and pasted there

Re: Small tools

PostPosted: Tue Nov 27, 2012 12:55 pm
by imrielle
iamah wrote:I'm getting file not found for every resource... guess it's the update they released


You can avoid using the res downloader by using Ender's updater client - it downloads a file called "salem-res.jar", which can be unpacked using WinRAR, and probably other archive tools. This file has all of the resource files in it.

Re: Small tools

PostPosted: Tue Nov 27, 2012 2:26 pm
by iamah
indeed ender's resource were updated I got all from there, thanks :)

Re: Small tools

PostPosted: Wed Dec 12, 2012 10:21 pm
by Usernm
About res downloader. I ask Apxeolog write this little utility to keep my local client up to date. Now I use more elegant and transparent way to do it.

I have wget.exe with libraries in client directory. Create res-list for this downloader and use this batch script to update my local copy:

wget.exe -r -nH -N -i Reslisturl.txt -o Log.txt

Re: Small tools

PostPosted: Wed Dec 26, 2012 12:22 am
by scypheroth
can u release your client to sumone who is willing to update it...or atleast give it to ender so he can sumhow get your map in his client...i miss your map!

Re: Small tools

PostPosted: Wed Dec 26, 2012 2:03 pm
by APXEOLOG
scypheroth wrote:can u release your client to sumone who is willing to update it...or atleast give it to ender so he can sumhow get your map in his client...i miss your map!


source code is availiable on github since release, all links you can find in client thread.