edit
if the example doesn't run at all
sudo apt-get install nvidia-cg-toolkit
if anyone else should get the display result
Install imagemagick
sudo apt-get install imagemagick
Create this script to convert the whole nvidia dir:
and save it as convertsh under /purebasic/examples/3d/Data/Textures/nvidia
Then in the source code, replace the .dds with .png, and remove all the .Dat files in the texture Dir (or change the terrain cache name in the code)Code: Select all
for file in *.dds do convert "$file" "$(basename "$file" .dds).png" done



