HTML conversion for universe trader log files

The place to discuss scripting and game modifications for X²: The Threat.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

User avatar
Reven
Posts: 1133
Joined: Thu, 10. Jul 03, 07:42
x4

HTML conversion for universe trader log files

Post by Reven »

The batch file and program that is shipped with the Sector/Universe trader (saxon.exe) is a java program encapsulated in an exe. Unfortunately, it requires the Microsoft Virtual Machine which isn't available any more.

In order to use saxon now, you have to get the jar file. You can download it from sourceforge. What you will get is a zip file with a whole bunch of stuff in it. All you need, though, is the file "saxon.jar". Put this in your <X²>/trader directory.

To use it, you will have to edit the batch files Makehtml.bat and Makecsv.bat. Respectively they should be:

Makehtml.bat

Code: Select all

java -cp .\saxon.jar com.icl.saxon.StyleSheet -o x2trader.html x2trader.xml x2trade.xsl
Makecsv.bat

Code: Select all

java -cp .\saxon.jar com.icl.saxon.StyleSheet -o x2trader.csv x2trader.xml x2tradeC.xsl
You were warned... pirates will be hunted down like vermin.

Ex Turbo Modestum

Return to “X²: The Threat - Scripts and Modding”