Item Images

Forum for game modifications and custom clients.

Item Images

Postby Okocim » Mon Nov 26, 2012 5:12 pm

where can i find salem item images? It's probably somewhere in res files but i can't find it.
Could someone help?
Okocim
 
Posts: 52
Joined: Wed Sep 05, 2012 9:56 am

Re: Item Images

Postby Procne » Mon Nov 26, 2012 5:47 pm

I assume those are files in \res\gfx\invobjs from salem-res.jar file. Do you have some tool to extract image files from .res?
Image
Procne
 
Posts: 3696
Joined: Mon Sep 03, 2012 11:34 pm

Re: Item Images

Postby Slander » Mon Nov 26, 2012 6:08 pm

I'm interested in finding a way to obtain the item images as well. I assume it would require a program like Visual Studio to open the RES files.
Slander
 
Posts: 8
Joined: Thu Nov 08, 2012 12:57 am

Re: Item Images

Postby Okocim » Mon Nov 26, 2012 8:22 pm

Procne wrote:I assume those are files in \res\gfx\invobjs from salem-res.jar file. Do you have some tool to extract image files from .res?

Somehow i found u very helpful ;p iv finaly got the images ;]
I will write HowTo soon ;p
Okocim
 
Posts: 52
Joined: Wed Sep 05, 2012 9:56 am

Re: Item Images

Postby Ass_Kraken » Mon Nov 26, 2012 10:18 pm

Boshaw also made a tool to extract the image files a long time ago, but if you found a way to do it I won't bother looking for it.
Image
User avatar
Ass_Kraken
 
Posts: 1277
Joined: Wed Aug 01, 2012 7:19 pm

Re: Item Images

Postby MagicManICT » Mon Nov 26, 2012 11:33 pm

Ass_Kraken wrote:Boshaw also made a tool to extract the image files a long time ago, but if you found a way to do it I won't bother looking for it.


There's a couple of ways. Seems like there's an addon for Eclipse or NetBeans one that will let you unpack a .jar file. Boshaw's utility was handy as it is completely standalone. (If anyone wants to dig it up, you should be able find it on the Haven and Hearth forums if you search for something like "Salem resource tool".)
I am a moderator. I moderate stuff. When I do, I write in this color.
JohnCarver wrote:anybody who argues to remove a mechanic that allows "yet another" way to summon somebody is really a carebear in disguise trying to save his own hide.
MagicManICT
 
Posts: 5088
Joined: Wed Aug 01, 2012 1:46 am

Re: Item Images

Postby Procne » Mon Nov 26, 2012 11:50 pm

You don't even need eclipse, java alone is enough with jar utility. Google for "jar xf"

Boshaw's utility (http://odditown.taggedup.com/boshaw/Lay ... salem.html) is not completely standalone as it's distributed as source and you need commonLisp SDK to compile it

edit: looks like there was precompiled version in this thread http://www.havenandhearth.com/forum/vie ... 27&t=23458
However it looks like it was done with java 7, and my java 6 won't touch that. No way I'm installing java 7 :P
Image
Procne
 
Posts: 3696
Joined: Mon Sep 03, 2012 11:34 pm

Re: Item Images

Postby Okocim » Tue Nov 27, 2012 2:21 pm

HowTo:
1. You need the salem-res.jar file
http://plymouth.seatribe.se/java/salem-res.jar
2. Extract it with (for example using WinRar or 7zip)
3. Download Res Tool http://haven-client.googlecode.com/file ... til_v5.jar (I found it here: http://www.havenandhearth.com/forum/vie ... =27&t=5853)
4. Put ResTool in the same folder where u have unpacked salem-res.jar.
5. Double Click on ResTool Select "extract" and hit ok
6. Wait for efects ;] Everything should apear in "out" folder
Last edited by Okocim on Tue Nov 27, 2012 2:25 pm, edited 1 time in total.
Okocim
 
Posts: 52
Joined: Wed Sep 05, 2012 9:56 am

Re: Item Images

Postby Chiprel » Tue Nov 27, 2012 2:25 pm

Don't forget about cached files. Not everything is in salem-res :P
dem M_O_V_E_M_E_N_T_O_A_T_M_E_A_L_C_R_A_C_K_E_R_S
Winner of bracket ( award.
<@TotalyMoo> Mushi, will you be my new lover? :<
User avatar
Chiprel
 
Posts: 778
Joined: Wed Aug 01, 2012 1:25 am

Re: Item Images

Postby Procne » Tue Nov 27, 2012 2:30 pm

There are 2 resource files:
salem-res.jar
builtin-res.jar

Cache consists of those files downloaded to your HDD, so that you don't have to download them every time you play


Okocim wrote:HowTo:
1. You need the salem-res.jar file
http://plymouth.seatribe.se/java/salem-res.jar
2. Extract it with (for example using WinRar or 7zip)
3. Download Res Tool http://haven-client.googlecode.com/file ... til_v5.jar (I found it here: http://www.havenandhearth.com/forum/vie ... =27&t=5853)
4. Put ResTool in the same folder where u have unpacked salem-res.jar.
5. Double Click on ResTool Select "extract" and hit ok
6. Wait for efects ;] Everything should apear in "out" folder


Works nicely, thanks
Image
Procne
 
Posts: 3696
Joined: Mon Sep 03, 2012 11:34 pm

Next

Return to Artifice & Arcana

Who is online

Users browsing this forum: No registered users and 13 guests