Amber Client

Forum for alternative clients, mods & discussions on the same.

Re: Custom client for Haven & Hearth - Amber

Postby Vill3 » Sun Aug 30, 2015 6:40 pm

Image
This just popup and client doesnt start. What im doing wrong?
Vill3
 
Posts: 37
Joined: Sun Sep 30, 2012 2:52 pm

Re: Custom client for Haven & Hearth - Amber

Postby dullah » Sun Aug 30, 2015 6:58 pm

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.
User avatar
dullah
 
Posts: 196
Joined: Sun Nov 15, 2009 7:09 am

Re: Custom client for Haven & Hearth - Amber

Postby Salinn » Sun Aug 30, 2015 6:59 pm

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.
Salinn
 
Posts: 71
Joined: Mon Mar 08, 2010 3:11 am

Re: Custom client for Haven & Hearth - Amber

Postby jaguar » Sun Aug 30, 2015 7:03 pm

Please make separate folder for cave files.
User avatar
jaguar
 
Posts: 251
Joined: Sun Jan 16, 2011 11:59 pm

Re: Custom client for Haven & Hearth - Amber

Postby GladiatoR » Sun Aug 30, 2015 7:17 pm

How to compile client?
User avatar
GladiatoR
 
Posts: 213
Joined: Fri Aug 28, 2015 11:04 pm

Re: Custom client for Haven & Hearth - Amber

Postby borka » Sun Aug 30, 2015 7:30 pm

Ant, Eclpise ...
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Custom client for Haven & Hearth - Amber

Postby satinembers » Sun Aug 30, 2015 8:12 pm

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
satinembers
 
Posts: 116
Joined: Sat Aug 29, 2015 1:21 am

Re: Custom client for Haven & Hearth - Amber

Postby Vertine » Sun Aug 30, 2015 8:43 pm

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.
Vertine
 
Posts: 54
Joined: Thu Aug 27, 2015 2:26 am

Re: Custom client for Haven & Hearth - Amber

Postby cpt1silencer » Sun Aug 30, 2015 9:59 pm

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
cpt1silencer
 
Posts: 168
Joined: Fri Jan 21, 2011 1:44 am
Location: Kansas, USA

Re: Custom client for Haven & Hearth - Amber

Postby borka » Sun Aug 30, 2015 10:05 pm

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.
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

PreviousNext

Return to The Wizards' Tower

Who is online

Users browsing this forum: No registered users and 73 guests