[HowTo] No run.bat when Ender fresh install with updater.jar

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

Moderator: Phades

[HowTo] No run.bat when Ender fresh install with updater.jar

Postby borka » Tue Feb 04, 2014 2:07 am

you need to create it yourself! Best with Notepad (not Word or Wordpad!)
Save it as run.bat and choose "All files" in save as drop down menue - better doublecheck that it's not .txt

(there is no /res folder with Ender fresh install anymore thus the argument /res isn't needed)

A user PMed me that his Ender was starting only without the
Code: Select all
-r
so in Case ot trouble you might try without aswell

All examples for Java7 (recommended) (for Java 8 it's jre8 in path)

for 64 Bit Windows with 64 Bit Java and 64 Bit client:
Code: Select all
"C:\Program Files\Java\jre7\bin\java.exe" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r


for 64 Bit Windows with 32 Bit Java and 32 Bit client:
Code: Select all
"C:\Program Files (x86)\Java\jre7\bin\javaw.exe" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r


for 32 Bit Windows with 32 Bit Java and 32 Bit client:
Code: Select all
"C:\Program Files\Java\jre7\bin\javaw.exe" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r


if you want your CMD window stay open to show possible error messages edit in a new line containing the word
Code: Select all
pause
only
(just delete the line if not needed anymore)

*nix Users and OsX Users should look in the appropriate threads for examples how to use it with run.sh or run.command
(use search function)

as i have no OsX Mac i can't guarantee for examples to be proper - verification is welcome:

run.command example (OsX with Apple 32 Bit Java 6)
Code: Select all
#!/bin/bash
cd `dirname "$0"`
java -d32 -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r


run.command example (OsX with Oracle 64 Bit Java 7)
Code: Select all
#!/bin/bash
cd `dirname "$0"`
java -d64 -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r


Some people encounter crashes and error message that certain resources couldn't be downloaded - grab mvguliks compilation of know res files
and drop it in to the folder the Ender files are at
http://www.havenandhearth.com/forum/vie ... 27&t=30126
Last edited by borka on Mon Nov 24, 2014 2:56 am, edited 11 times in total.
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Howto No run.bat when Ender fresh install with updater.j

Postby Lord_of_War » Tue Feb 04, 2014 2:08 am

Thanks for making this. Im sure it will be helpful for many people. Sticky please.
One death is a tragedy; one million is a statistic. -- Joseph Stalin #1 Forum troll You mad bro?
"My soul is terrifying" "Some men just want to watch the world burn"
http://www.youtube.com/watch?v=5f2M9t_tEhQ
User avatar
Lord_of_War
 
Posts: 1668
Joined: Wed Jul 17, 2013 2:53 am
Location: A long time ago in a land far away

Re: Howto No run.bat when Ender fresh install with updater.j

Postby borka » Tue Feb 04, 2014 2:12 am

no Sticky needed - i'm sure Ender will put it in his OP when he finds time to edit ...
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Howto No run.bat when Ender fresh install with updater.j

Postby Lord_of_War » Tue Feb 04, 2014 2:14 am

borka wrote:no Sticky needed - i'm sure Ender will put it in his OP when he finds time to edit ...

that would work too
One death is a tragedy; one million is a statistic. -- Joseph Stalin #1 Forum troll You mad bro?
"My soul is terrifying" "Some men just want to watch the world burn"
http://www.youtube.com/watch?v=5f2M9t_tEhQ
User avatar
Lord_of_War
 
Posts: 1668
Joined: Wed Jul 17, 2013 2:53 am
Location: A long time ago in a land far away

Re: [HowTo] No run.bat when Ender fresh install with updater

Postby borka » Thu Apr 24, 2014 6:27 pm

*bump
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: [HowTo] No run.bat when Ender fresh install with updater

Postby LostJustice » Tue Jun 03, 2014 1:35 am

Ok, so I tried this because I wanted to modify the jars a bit and of course I need the run.bat to work in order to try out the modifications. It of course did not work... I know for a fact I am using a 64 windows computer with 32 bit client with jre6, jre7, jdk6, jdk7. It is located in the program (86x) files but when I run it, with the pause in the script it just sits there and doesn't do anything... Any help? Here is my run.bat:

Code: Select all
"C:\Program Files (x86)\Java\jre7\bin\javaw.exe" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r
pause
Image
User avatar
LostJustice
 
Posts: 677
Joined: Sun Mar 25, 2012 3:57 am

Re: [HowTo] No run.bat when Ender fresh install with updater

Postby Saxony4 » Tue Jun 03, 2014 1:48 am

LostJustice wrote:Ok, so I tried this because I wanted to modify the jars a bit and of course I need the run.bat to work in order to try out the modifications. It of course did not work... I know for a fact I am using a 64 windows computer with 32 bit client with jre6, jre7, jdk6, jdk7. It is located in the program (86x) files but when I run it, with the pause in the script it just sits there and doesn't do anything... Any help? Here is my run.bat:

Code: Select all
"C:\Program Files (x86)\Java\jre7\bin\javaw.exe" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r
pause


remove the ' w ' from javaw for starters, if that doesnt work perhaps try a different bit client
loftar wrote:git da mony
User avatar
Saxony4
 
Posts: 1751
Joined: Mon Mar 12, 2012 2:38 am
Location: Sagittarius A*

Re: [HowTo] No run.bat when Ender fresh install with updater

Postby LostJustice » Wed Jun 04, 2014 4:09 am

I have tried without the w. I've tried java.exe and javaw.exe. Let me try a different client then.

Edit*

I got it working now. What I had to do was add a PATH variable in for it to work and use:

Code: Select all
"C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se
pause
Image
User avatar
LostJustice
 
Posts: 677
Joined: Sun Mar 25, 2012 3:57 am

Re: [HowTo] No run.bat when Ender fresh install with updater

Postby uncleseano » Mon Jul 14, 2014 10:12 am

I cant get enders to run, i download and click the updater the lil white box appears (a-la salem) and it downs the usual files but then at the launching stage nothing happens it just closes and nothing else
User avatar
uncleseano
 
Posts: 560
Joined: Thu Apr 22, 2010 7:23 pm

Re: [HowTo] No run.bat when Ender fresh install with updater

Postby JSC » Fri Aug 08, 2014 2:33 am

I have spent a long time trying to figure out why I can't launch the game, but never found any success, it turns out that removing the " -r" fixed the whole issue.
Thank you! :)
JSC
 
Posts: 1
Joined: Thu Aug 07, 2014 2:32 pm

Next

Return to The Wizards' Tower

Who is online

Users browsing this forum: No registered users and 12 guests