PDA

View Full Version : Linux Version using Windows Version (was Multiple Executables)



mudpyr8
Mar 19th, '03, 10:34 AM
I was a little depressed after my last post/topic which gave me the impression that I could not use the Windows version under linux, until I saw the Mac OS X post.

Digging deeper I saw the suggestion for how to get it working. I'm a little sad at the fact dsimon gave out the magic command there, but not when I asked about linux.

http://www.herogames.com/forums/showthread.php?s=&threadid=965

This search was of course complicated by the fact that I couldn't search for "mac os x" since those words are all less than 4 characters. *sigh*

Anyway, building off that knowledge, I created a shell script that executes the same command.



#!/bin/bash
cd /path/to/HeroDesigner # Path to HD directory
java -cp "update.jar:Hero Designer.jar" -Xmx128m com.hero.HeroDesigner &


Save this in a text file, chmod +x on it, and away you go. This assumes of course that you've installed java.

I am running RH 8.0 using the installer j2sdk-1_4_1_02-linux-i586-rpm.bin
from Sun.

Everything seems to work fine, preview, everything. If I notice any quirks, I'll post them. This is what makes Java so kewl is the ability to run it on any platform.

mudpyr8
Mar 19th, '03, 10:50 AM
Here's a sample .desktop file for RH 8.0 Bluecurve. Edit this file to change the paths and then you will have a nice launcher.