Stránka 1 z 1

Instalace souboru s příponou *.jar

Napsal: 27 úno 2010 14:24
od gyga
Ahoj, potřeboval bych poradit. Stáhnul jsem si Save Game Editor pro hru zaklínač, ale nevím jak to sprovoznit. Návod jsem četl ale nejsem s toho moc moudrej. Prosím o radu návod zde:

This version of the save game editor assumes you have installed the Enhanced Edition of The Witcher. Using this version of the editor with the original version of The Witcher can result in inventory errors.

To install this utility, place the TWEditor.jar file into a directory of your choice. To run the utility, create a program shortcut and specify

javaw -Xmx256m -jar TWEditor.jar

as the program to run. Set the Start Directory to the directory where you extracted the jar file. A sample program shortcut is included. The -Xmx256m argument specifies the maximum heap size in megabytes (the example specifies a heap of 256Mb). You can increase the size if you run out of space processing very large saves. Note that Windows will start swapping if the Java heap size exceeds the amount of available storage and this will significantly impact performance. The java virtual machine will fail to start if the requested heap size is too large.

The Sun Java 1.6 runtime is required. You can download JRE 1.6 from http://java.com/download/index.jsp. If you are unsure what version of Java is installed on your system, open a command prompt window and enter "java -version".

The game install directory is located by scanning the Windows registry. If this scan fails or if the game files are located in a different directory, you can specify the game install directory when starting the editor. This is done by specifying -DTW.install.path="<path>" on the java command line where <path> is the directory containing dialog.tlk. For example, if the game files are located in C:\Games\The Witcher and the editor is installed in C:\Games, the shortcut would look like this:

javaw -DTW.install.path="C:\Games\The Witcher" -jar TWEditor.jar

Don't forget to put double quotes around the path name.

The language identifier is determined by scanning the windows registry. If this scan fails or you want to use a different language, you can specify the language identifier when starting the editor. This is done by specifying -DTW.language=n on the java command line where 'n' is the language identifier for the associated .tlk file. For example, US English would be specified as:

javaw -DTW.language=3 -jar TWEditor.jar

The game data directory is assumed to be "The Witcher" in the user documents folder ("My Documents" on an English-language system). If the save games are located in another directory, you can specify the game data directory when starting the editor. This is done by specifying -DTW.data.path="<path>" on the java command line where <path> is directory containing the game data. For example, if the user login is "Ronald Hoffman", the normal game data directory would be "C:\Documents and Settings\Ronald Hoffman\My Documents\The Witcher".

The Java runtime will sometimes throws a null pointer exception when adding the shell folders to the file chooser dialog (JFileChooser). If this happens, you can disable the shell folders by specifying -DUseShellFolder=0 on the java command line.

Díky za každou radu.

Re: Instalace souboru s příponou *.jar

Napsal: 27 úno 2010 17:39
od gyga
***TOP***

Re: Instalace souboru s příponou *.jar

Napsal: 27 úno 2010 19:14
od X
Co to otevřít v Net prohlížeči?