proton:rtpack
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
proton:rtpack [2012/03/30 05:16] – linuxlovelinux99 | proton:rtpack [2012/05/24 10:01] – aki | ||
---|---|---|---|
Line 13: | Line 13: | ||
=== 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 '' | You need to get PVRTexLib from Imagination (it's a free download but requires registration). Extract the contents of the package under '' | ||
+ | |||
+ | **NOTE:** RTPack currently supports only the 3.x versions of PVRTexLib. The newest version available from Imagination however is on the 4.x series which is API incompatible with the 3.x versions. Either you need to find a 3.x version of PVRTexLib or port the RTPack code to work with the 4.x versions. (Some very old 3.x series version for 32-bit Linux can be found from here https:// | ||
You also need ClanLib version 1 development packages. On Fedora the package is called ClanLib1-devel. On other distributions it might be called something else... | You also need ClanLib version 1 development packages. On Fedora the package is called ClanLib1-devel. On other distributions it might be called something else... | ||
Line 21: | Line 23: | ||
Next run the '' | Next run the '' | ||
- | For me using the latest PVR SDK files for Linux I can't use the instructions above: | + | If something got wrong, hopefully you got an error message that explains |
- | + | ||
- | There are missing funcs in the the latest linux PVR tex lib libraries. | + | |
- | Functions called in TexturePacker.cpp | + | |
- | + | ||
- | To check your version do things like: | + | |
- | strings libPVRTexLib.a |grep ProcessRAWPVR | + | |
- | + | ||
- | Fortunately you can find an older version of PVR Texlib that isn't missing the functions at: | + | |
- | https://netst.org/pub/linux/ | + | |
- | grab the files there and | + | |
- | grab the .a file from the subdir Linux | + | |
- | + | ||
- | Then: | + | |
- | + | ||
- | * cd to RTPack | + | |
- | * mkdir PVRTexLib | + | |
- | * cd PVRTexLib | + | |
- | * mkdir Linux_x86_32 | + | |
- | * put the .a file there (libPVRTexLib.a) | + | |
- | * cd back to RTPack | + | |
- | * cmake -f CMakeLists.txt | + | |
- | * make | + | |
- | There should be a RTPack executable file. | + | |
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.txt · Last modified: 2012/12/02 12:24 by seth