Quotes.iceburg333 wrote:Bat's can't seem to do spaces (or I don't know how)
Code: Select all
java -jar "FTL Homeworld.jar"
roza4567 wrote:Pasted it, but it just comes up with an error:java -jar FTLHomeworld.jar
java -jar FTLHomeworld.jar
pause is not recognised as an external command
roza4567 wrote:it created the bat file, but the bat file would be blank and would never start up FTL Homeworld.jar . TY though anyways
Vhati wrote:roza4567 wrote:it created the bat file, but the bat file would be blank and would never start up FTL Homeworld.jar . TY though anyways
if it got far enough to create a bat, I can't imagine why you'd see no words inside the bat when you opened it with a text editor.
If you mean double-clicking the bat brought up an empty black window that then disappeared, that was by design. Any errors would be saved to "emergency_log.txt".
* I've updated that tool (new link in my earlier post) to fix a few unrelated bugs.
cheesyhead11 wrote:how do i install i have no idea how and i dont know how to get the editor i have almost no knowledge of computers so for those like me could you give more nclear instructions on wear to move the .jar file and were to find this ftlprofile editor
Okay my 32bit tool definitely saw java.exe there, but the bat script didn't.
Vhati wrote:Okay my 32bit tool definitely saw java.exe there, but the bat script didn't.
By any chance, are you on 64bit Windows, with 32bit Java?
If so, installing 64bit Java as may help (it's okay to have both Javas).
Warning: Technobabble Follows...
Java's normally installed in "C:\Program Files\Java\j2re1.2.3_45\bin\java.exe".
Scripts wouldn't know to look for it there, so a frontend/dummy/copy is also put in "C:\Windows\System32\java.exe" where scripts always check.
This would be fine except...
64 bit Windows has this irritating habit of putting 32bit apps in a sandbox to keep them from seeing 64bit stuff (lying about folders and the registry: System32 is really somewhere else). And 64bit apps aren't lied to, but they generally don't bother peeking into the sandbox (so they may not be aware of 32bit stuff).
Edit: I've updated the LauncherGen to partly account for the folder lies.
It does some magic to bust out of the sandbox, likely seeing things from the bat's point of view (and not seeing things), as it searches for a viable java.exe.
The tool still needs more tweaking to run 32bit Java on 64bit Windows.
Code: Select all
#FTL Homeworld - Config File
#Tue Jul 30 06:56:44 EST 2013
ftlDatsPath=C\:\\Program Files (x86)\\FTL\\resources
Users browsing this forum: No registered users and 15 guests