Salem layer util- compiling problem

Forum for game modifications and custom clients.

Salem layer util- compiling problem

Postby Chiprel » Sat Sep 29, 2012 7:41 pm

There are 2 working/semi-working .res decompilers.(made for hnh but work for most of stuff in salem too)
Unfortunately some textures/stuff does not get unpacked.
("haven res util" by theTrav: http://www.havenandhearth.com/forum/vie ... =27&t=5853 )
("layer util" by boshaw: http://www.havenandhearth.com/forum/vie ... 27&t=23458 )

After some time I found out that boshaw made new Layer Util just for salem:
http://odditown.taggedup.com/boshaw/Lay ... salem.html

While hnh layer util was written in java, salem layer util is written in Lisp. I'm getting errors while trying to compile it. Could anyone else (preferably with some Lisp knowledge) try compiling it?
Boshaw wrote that he compiled it with SBCL 1.0.40.
At first I tried using newest SBCL for win (I think its 1.0.58 or so), got errors so I tried using 1.0.40 too but unfortunately this is what I get:

E:\salemlayer\salem-layer-util>sbcl
This is SBCL 1.0.40, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.

This is experimental prerelease support for the Windows platform: use
at your own risk. "Your Kitten of Death awaits!"
* (asdf:operate 'asdf:load-op 'salem-layer-util)

; Loading system definition from
; E:\salemlayer\salem-layer-util\salem-layer-util.asd into #<PACKAGE "ASDF0">
; Registering #<SYSTEM "salem-layer-util">
; Loading system definition from
; C:\*****EditedPATH*****\quicklisp\dists\quicklisp\software\babel-201
20407-git\babel.asd
; into #<PACKAGE "ASDF0">
; Registering #<SYSTEM "babel">
; Loading system definition from
; C:\*****EditedPATH*****\quicklisp\dists\quicklisp\software\alexandri
a-20120520-git\alexandria.asd
; into #<PACKAGE "ASDF0">
; Registering #<SYSTEM "alexandria">
; Loading system definition from
; C:\*****EditedPATH*****\quicklisp\dists\quicklisp\software\trivial-f
eatures-20120909-git\trivial-features.asd
; into #<PACKAGE "ASDF0">
; Registering #<SYSTEM "trivial-features">

; compiling file "E:\\salemlayer\\salem-layer-util\\packages.lisp" (written 26 S
EP 2012 07:34:53 PM):
; compiling (REQUIRE :BORDEAUX-THREADS)
; compiling (REQUIRE :BABEL)
; compiling (DEFPACKAGE :SLAYER-UTIL ...)

; C:\*****EditedPATH*****\common-lisp\cache\sbcl-1.0.40
-win-x86\E\salemlayer\salem-layer-util\ASDF-TMP-packages.fasl written
; compilation finished in 0:00:00.000
; Loading system definition from
; C:\*****EditedPATH*****\quicklisp\dists\quicklisp\software\bordeaux-
threads-0.8.2\bordeaux-threads.asd
; into #<PACKAGE "ASDF0">
; Registering #<SYSTEM "bordeaux-threads">
; compiling file "E:\\salemlayer\\salem-layer-util\\const.lisp" (written 26 SEP
2012 07:34:53 PM):
; compiling (IN-PACKAGE :SALEM-LAYER-UTIL)
; file: E:\salemlayer\salem-layer-util\const.lisp
; in: IN-PACKAGE :SALEM-LAYER-UTIL
; (IN-PACKAGE :SALEM-LAYER-UTIL)
; --> EVAL-WHEN
; ==>
; (SETQ *PACKAGE* (SB-INT:FIND-UNDELETED-PACKAGE-OR-LOSE "SALEM-LAYER-UTIL"))
;
; caught ERROR:
; (during compile-time-too processing)
; The name "SALEM-LAYER-UTIL" does not designate any package.

; compiling (DEFPARAMETER *VERBOSE* ...)

; C:\*****EditedPATH*****\common-lisp\cache\sbcl-1.0.40
-win-x86\E\salemlayer\salem-layer-util\ASDF-TMP-const.fasl written
; compilation finished in 0:00:00.062
WARNING:
COMPILE-FILE warned while performing #<COMPILE-OP NIL {23DDA9A9}> on
#<CL-SOURCE-FILE "salem-layer-util" "const">.

debugger invoked on a ASDF:COMPILE-FAILED:
Error while invoking #<COMPILE-OP NIL {23DDA9A9}> on
#<CL-SOURCE-FILE "salem-layer-util" "const">

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
0: [TRY-RECOMPILING] Try recompiling const
1: [RETRY ] Retry compiling component ("salem-layer-util" "const").
2: [ACCEPT ] Continue, treating
compiling component ("salem-layer-util" "const") as
having been successful.
3: [ABORT ] Exit debugger, returning to top level.

((SB-PCL::FAST-METHOD ASDF:PERFORM (ASDF:COMPILE-OP ASDF:CL-SOURCE-FILE))
#<unavailable argument>
#<unavailable argument>
#<ASDF:COMPILE-OP NIL {23DDA9A9}>
#<ASDF:CL-SOURCE-FILE "salem-layer-util" "const">)
0]


Already asked some hnh/salem java wizards about it but they had no knowledge about Lisp. Right now I'm waiting for boshaw to answer me but who knows how long this might take. :roll: Maybe I can get some help here instead :)



EDIT: Fixed it by editing: packages.lisp
line: (defpackage :slayer-util
to: (defpackage :salem-layer-util
Last edited by Chiprel on Mon Oct 01, 2012 8:29 am, edited 1 time in total.
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: Salem layer util- compiling problem

Postby Ass_Kraken » Sat Sep 29, 2012 9:21 pm

Goons are lisp hipsters. They had all of their bots in H&H in lisp.
Image
User avatar
Ass_Kraken
 
Posts: 1277
Joined: Wed Aug 01, 2012 7:19 pm

Re: Salem layer util- compiling problem

Postby sabinati » Sun Sep 30, 2012 2:33 am

boshaw isn't a goon
Admin for Salem Wiki • Make suggestions or complaints in the Wiki Suggestion thread
User avatar
sabinati
 
Posts: 1135
Joined: Wed Aug 01, 2012 1:48 am

Re: Salem layer util- compiling problem

Postby Chiprel » Mon Oct 01, 2012 8:29 am

Updated first post with FIX.
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: Salem layer util- compiling problem

Postby sabinati » Mon Oct 01, 2012 2:50 pm

did you get a hold of boshaw or figure it out on your own?
Admin for Salem Wiki • Make suggestions or complaints in the Wiki Suggestion thread
User avatar
sabinati
 
Posts: 1135
Joined: Wed Aug 01, 2012 1:48 am

Re: Salem layer util- compiling problem

Postby Chiprel » Mon Oct 01, 2012 3:21 pm

Had to figure it on my own :(
This tool is much better. Unpacked all graphics that old hnh tools couldn't ;)
There are some minor problems with 3d stuff and new tutorial tips(which got added after boshaw made this tool) but rest works fine.
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: Salem layer util- compiling problem

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

good program, but additional dependences makes me SAD
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 5 guests