cflavio / yorg

Yorg (Yorg's an Open Racing Game) is a free open source racing game developed by Ya2 using Panda3D for Windows, OSX and Linux.
Other
177 stars 33 forks source link

problem with load image/textures #9

Closed huitre39 closed 7 years ago

huitre39 commented 7 years ago

i downloaded the master version but i have many problem with file/link image.

for example program call /asset/images/gui/cursor.dds but .dds file not exist, i have cursor.png

i have same problem with /asset/images/icons/facebook.png or all social network. all icons in this folder not exist ! (i have only psd file)

thanks for advance.

cflavio commented 7 years ago

Hi! As I wrote in the readme, you should run scons images=1 for creating image files (moreover, I wrote that building is supported only for Linux). If you are not on Linux you can download a built version from here (e.g. the source build) and grab assets from here. I am sorry but I can't maintain building for other OSes (I hope that someone will port it on other OSes in the future). Thank you very much and I apologize for the issue!

huitre39 commented 7 years ago

ok thanks for your help.

But why can not include directly all the files (.dds, png...etc) in github ?

cflavio commented 7 years ago

The files that aren't included are files that are built from "source" files. As instance, dds files are built from png/jpg/psd files, bam files are built from egg files, ... Typically you don't want to include built files in a repo - it is a source repo - e.g. you are not going to include executable and binary files built from source files. If I included dds and bam files, this repo would be huge (the folder with the built assets is almost 1GB now). Anyway, I am distributing the built files (in the link I copied in my previous message), so everyone can grab them without polluting this repo. :)