User Tools

Site Tools


proton:rtpack

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
proton:rtpack [2012/05/24 09:48]
aki Note about the need for 3.x version of PVRTexLib
proton:rtpack [2012/12/02 12:24] (current)
seth
Line 1: Line 1:
 ==== RTPack source code ==== ==== RTPack source code ====
 +
 +RTPack is a general purpose utility that does several useful things from the command line.  The .exe version is used from .bat files in windows, and on linux .. well, it doesn'​t have an .exe and it used from shell scripts or something.
 +
 +What's it do?
 +
 +  * Converts most image formats to .rttex. ​ (.rttex is Proton'​s custom image format, it can do things like use png or jpg compression internally, remember the pre-tweaked widths/​heights,​ stuff like that.
 +  * Can create fonts
 +  * Can compress any file (Proton will detect and decompress compressed files)
 +  * Other bad ass stuff. ​ Or not, I can't remember
  
 It's located in tools/​RTPack. It's located in tools/​RTPack.
Line 13: Line 22:
 === Linux === === Linux ===
  
-There is a cmake build file that can be used to build the tool in Linux.+First of you'll need to have a couple of dependencies installed and/or available.
  
 You need to get PVRTexLib from Imagination (it's a free download but requires registration). Extract the contents of the package under ''​tools/​RTPack''​ preserving paths - you should get a subdirectory called ''​PVRTexLib''​ there. You need to get PVRTexLib from Imagination (it's a free download but requires registration). Extract the contents of the package under ''​tools/​RTPack''​ preserving paths - you should get a subdirectory called ''​PVRTexLib''​ there.
Line 22: Line 31:
  
 Next run the ''​build.sh''​ script in the ''​tools/​RTPack''​ directory. You should get a binary called ''​RTPack''​ into a subdirectory called ''​build''​. Next run the ''​build.sh''​ script in the ''​tools/​RTPack''​ directory. You should get a binary called ''​RTPack''​ into a subdirectory called ''​build''​.
 +
 +If something got wrong, hopefully you got an error message that explains the situation. In any case, if you are stuck feel free to ask on the [[http://​www.rtsoft.com/​forums/​forumdisplay.php?​27-Proton-SDK-General-Discussion|forums]].
  
 The lazy alternative is to use wine RTPack.exe <cmd line options>​. The lazy alternative is to use wine RTPack.exe <cmd line options>​.
proton/rtpack.1337852903.txt.gz ยท Last modified: 2012/05/24 09:48 by aki