Amber Client

Forum for alternative clients, mods & discussions on the same.
Vill3
Posts: 37
Joined: Sun Sep 30, 2012 2:52 pm

Re: Custom client for Haven & Hearth - Amber

Post by Vill3 »

Image
This just popup and client doesnt start. What im doing wrong?
User avatar
dullah
Posts: 199
Joined: Sun Nov 15, 2009 7:09 am

Re: Custom client for Haven & Hearth - Amber

Post by dullah »

i have a file not found exception : gluegen-rt-natives-windows-i586.jar

8.1 x64
NVM missing 64 bit java
Last edited by dullah on Sun Aug 30, 2015 7:02 pm, edited 1 time in total.
Salinn
Posts: 71
Joined: Mon Mar 08, 2010 3:11 am

Re: Custom client for Haven & Hearth - Amber

Post by Salinn »

When I try to stitch I'm getting:

C:\Mapclass>java -cp stitch "c:\tempmaps" "maptest1.png"
Error: Could not find or load main class c:\tempmaps

(sorry couldn't post screenie)

Am I doing it wrong? I moved all my map tiles to C:\tempmaps and stitch.class is in the c:\mapclass folder.
My favorite post of all time:
LordHearth wrote:Much Curd
Very Cheese
So Cow
jorb wrote:The wiki is probably wrong, quite simply.
User avatar
jaguar
Posts: 251
Joined: Sun Jan 16, 2011 11:59 pm

Re: Custom client for Haven & Hearth - Amber

Post by jaguar »

Please make separate folder for cave files.
User avatar
GladiatoR
Posts: 213
Joined: Fri Aug 28, 2015 11:04 pm

Re: Custom client for Haven & Hearth - Amber

Post by GladiatoR »

How to compile client?
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Custom client for Haven & Hearth - Amber

Post by borka »

Ant, Eclpise ...
satinembers
Posts: 116
Joined: Sat Aug 29, 2015 1:21 am

Re: Custom client for Haven & Hearth - Amber

Post by satinembers »

GladiatoR wrote:
Hithroc wrote:Also, here's simple batch for stitching all map folders

Code: Select all

for /d %%d in (*) do (
    java -cp . Stitch "%%d" "%%d.png"
)
Not working. How exactly this should work?
Make a batch file (open new .txt file, copy that code, and save as .bat extension, mine is map.bat) and then place it in the /map folder and run the .bat
Vertine
Posts: 54
Joined: Thu Aug 27, 2015 2:26 am

Re: Custom client for Haven & Hearth - Amber

Post by Vertine »

Salinn wrote:When I try to stitch I'm getting:

C:\Mapclass>java -cp stitch "c:\tempmaps" "maptest1.png"
Error: Could not find or load main class c:\tempmaps

(sorry couldn't post screenie)

Am I doing it wrong? I moved all my map tiles to C:\tempmaps and stitch.class is in the c:\mapclass folder.
Yes. You need to have a period between stitch and the directory for the maps. Also, check your case: it may be Stitch.class instead of stitch.class.
User avatar
cpt1silencer
Posts: 168
Joined: Fri Jan 21, 2011 1:44 am
Location: Kansas, USA

Re: Custom client for Haven & Hearth - Amber

Post by cpt1silencer »

the stich thing doesn't seem to work, all I get are png's of a single map block for each folder, except the largest folder it doesn't give any png file.
I couldn't get stich to work as the OP had, but I used the code

Code: Select all

for /d %%d in (*) do (
    java -cp . Stitch  "%%d" "%%d.png"
)
that atleast was giving the single block outputs. when I run as administrator the cmd window spams a lot of errors with stitch not being located. I've tried putting a copy of stitch in every folder, no idea why it can't find it sometimes.
This game really needs a great sword...
http://www.youtube.com/watch?v=Qacgb2b8LVU
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Custom client for Haven & Hearth - Amber

Post by borka »

Stitch.class and Stitch.bat in map folder

Stitch.bat - run by doubleclicking outputs a png for each subfolder (as admin without errors)

Code: Select all

for /d %%d in (*) do (java -cp . Stitch "%%d" "%%d.png")
pause 
funny enough even caves get dropped in map subfolders so they show in the stitched png too (but not mixed)
Last edited by borka on Sun Aug 30, 2015 11:08 pm, edited 2 times in total.

Return to “The Wizards' Tower”