chaosfire / vdrift-ogre

Automatically exported from code.google.com/p/vdrift-ogre
0 stars 0 forks source link

File-duplicates in data files #52

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
There are multiple file duplicates in data and track files which expand the 
archive size. They can be replaced with simlinks. OpenSUSE Build Service throws 
error with weight 100 for file duplicates if they are not replaced with 
simlinks at the build time.

Original issue reported on code.google.com by neptu...@mail.ru on 8 Apr 2011 at 10:30

GoogleCodeExporter commented 8 years ago
You can write a script that does this. We won't change it in the repo, as this 
game is for windows too, and it doesnt have symlinks.

Original comment by scrawl...@gmail.com on 8 Apr 2011 at 11:25

GoogleCodeExporter commented 8 years ago
I commited a first version of such a script in dist/symlink-data.sh.

You can call it like this: ./dist/symlink-data.sh <Path to data files>

Original comment by scrawl...@gmail.com on 8 Apr 2011 at 11:39

GoogleCodeExporter commented 8 years ago
No idea why i called it .sh, it's a python script. I'll change it to .py 
quickly.

Original comment by scrawl...@gmail.com on 8 Apr 2011 at 11:43

GoogleCodeExporter commented 8 years ago
Yes such script exists in the build service. But the volume of the source files 
can be reduced.

Original comment by neptu...@mail.ru on 8 Apr 2011 at 12:38

GoogleCodeExporter commented 8 years ago
OGRE seems to have problems with symlinks, I tried out the script and SR 
doesn't start anymore (OGRE doesnt find a file, which is only there as a 
symlink, but it is definitely valid)

Original comment by scrawl...@gmail.com on 8 Apr 2011 at 3:15

GoogleCodeExporter commented 8 years ago
Works well here after removing duplicates with a Build Service macro.

Original comment by neptu...@mail.ru on 8 Apr 2011 at 11:30

GoogleCodeExporter commented 8 years ago
Then I'm closing.

Original comment by scrawl...@gmail.com on 9 Apr 2011 at 9:03