Small tools

Forum for game modifications and custom clients.

Small tools

Postby APXEOLOG » Wed Oct 03, 2012 5:57 pm

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 :)
You can call me 'arh'. No needs to distort my nickname :)
User avatar
APXEOLOG
 
Posts: 222
Joined: Wed Aug 01, 2012 4:23 am
Location: Russia, Murmansk

Re: Small tools

Postby dullahx » Wed Oct 03, 2012 9:30 pm

thanks
dullahx
 
Posts: 87
Joined: Wed Aug 01, 2012 11:32 am
Location: Monaco / France

Re: Small tools

Postby daopa » Thu Nov 22, 2012 6:51 am

Can you use salem-img2res in reverse? Take images out of the res and convert to a jpg / png?
User avatar
daopa
Customer
 
Posts: 217
Joined: Thu Nov 08, 2012 9:40 pm
Location: Jamestown

Re: Small tools

Postby iamah » Tue Nov 27, 2012 12:37 pm

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
Last edited by iamah on Tue Nov 27, 2012 2:28 pm, edited 5 times in total.
iamah
 
Posts: 424
Joined: Fri Nov 09, 2012 11:47 pm

Re: Small tools

Postby imrielle » Tue Nov 27, 2012 12:55 pm

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.
Image
User avatar
imrielle
Customer
 
Posts: 491
Joined: Sat Nov 10, 2012 5:57 pm
Location: Ohio, USA

Re: Small tools

Postby iamah » Tue Nov 27, 2012 2:26 pm

indeed ender's resource were updated I got all from there, thanks :)
iamah
 
Posts: 424
Joined: Fri Nov 09, 2012 11:47 pm

Re: Small tools

Postby Usernm » Wed Dec 12, 2012 10:21 pm

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
Sorry for my english, I am from Russia and use soviet one. :)
User avatar
Usernm
 
Posts: 36
Joined: Sat Aug 11, 2012 12:29 am

Re: Small tools

Postby scypheroth » Wed Dec 26, 2012 12:22 am

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!
scypheroth
 
Posts: 90
Joined: Sat Nov 10, 2012 9:05 pm

Re: Small tools

Postby APXEOLOG » Wed Dec 26, 2012 2:03 pm

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.
You can call me 'arh'. No needs to distort my nickname :)
User avatar
APXEOLOG
 
Posts: 222
Joined: Wed Aug 01, 2012 4:23 am
Location: Russia, Murmansk


Return to Artifice & Arcana

Who is online

Users browsing this forum: No registered users and 19 guests

cron