Page 1 of 1

.res Questions

PostPosted: Sun Feb 01, 2015 4:25 am
by Heffernan
though id make a special thread for all graphic modification problems

i use the Salem Layer Utility, and i get to decompile all files with

(slu:run :mode :da :args '("res/gfx/terobjs/" "decoded/gfx/terobjs/") )

now i get alot of folders with /mesh/ /neg/ /vbuf/ but i dont get any folder called /img/ or anything else containing texture files?

Re: .res Questions

PostPosted: Sun Feb 01, 2015 8:37 am
by Kandarim
if I recall correctly, you have to pass :layers-salem or something like that somewhere in that line. I can check for you later today.
Also, just to be sure, can you post a link to where you found it?

Re: .res Questions

PostPosted: Sun Feb 01, 2015 3:52 pm
by Heffernan
so id do

Code: Select all
(slu:run)
:layers/salem
(slu:run :mode :da :args '("res/gfx/terobjs/" "decoded/gfx/terobjs/") )


but he still doesnt extract any image files, maybe i have the wrong salem-res.jar wich i found under salem/bin/?

when i do

Code: Select all
(slu:run :mode :da :args '("res/gfx/" "decoded/gfx/") )


i get

Code: Select all
Maximum error depth exceeded (33 nested errors) with 'The value 37804 is not of
type (INTEGER 0 37803).'.

Re: .res Questions

PostPosted: Mon Feb 02, 2015 12:12 am
by Heffernan
noone...?

Re: .res Questions

PostPosted: Mon Feb 02, 2015 1:33 am
by Heffernan
edit: just got a res tool to work,

decompiled one
changed the image in /image/ to something of same size
recompiled
placed in C:\Users\Administrator\Salem\custom_res\gfx\tiles\ridges

and THIS is what i get?

http://game.salemthegame.com/mt/ss/b501 ... dbf132a750