ayoub05 / vdrift-ogre

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

Stuntrally does not start: zip error #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I cannot start stuntrally. I receive the following error output:

anixx@anixx-desktop:~> stuntrally
INFO: Home directory: /home/anixx
INFO: Config defaults directory: /usr/share/stuntrally/config
INFO: User config directory: /home/anixx/.config/stuntrally
INFO: Data directory:
INFO: User data directory: /home/anixx/.local/share/stuntrally
INFO: Cache directory: /home/anixx/.cache/stuntrally
INFO: Log directory: /home/anixx/.config/stuntrally
INFO: Starting VDrift-Ogre: 2010-05-01, O/S: Unix-like
INFO: 0 joysticks found.
INFO: Loading car controls from: /home/anixx/.config/stuntrally/controls.cfg
INFO: Sound initialization information:
ERROR: Can't open sound file: /sounds/tire_squeal.wav
Creating resource group General
Creating resource group Internal
Creating resource group Autodetect
SceneManagerFactory for type 'DefaultSceneManager' registered.
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
MovableObjectFactory for type 'ParticleSystem' registered.
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font
ArchiveFactory for archive type FileSystem registered.
ArchiveFactory for archive type Zip registered.
DDS codec registering
FreeImage version: 3.10.0
This program uses FreeImage, a free, open source image library supporting all 
common bitmap formats. See http://freeimage.sourceforge.net for details
Supported formats: 
bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm
,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,
jp2
Registering ResourceManager for type HighLevelGpuProgram
Registering ResourceManager for type Compositor
MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject' registered.
MovableObjectFactory for type 'BillboardChain' registered.
MovableObjectFactory for type 'RibbonTrail' registered.
Loading library /usr/lib64/OGRE/RenderSystem_GL
Installing plugin: GL RenderSystem
OpenGL Rendering Subsystem created.
Plugin successfully installed
Loading library /usr/lib64/OGRE/Plugin_ParticleFX
Installing plugin: ParticleFX
Particle Emitter Type 'Point' registered
Particle Emitter Type 'Box' registered
Particle Emitter Type 'Ellipsoid' registered
Particle Emitter Type 'Cylinder' registered
Particle Emitter Type 'Ring' registered
Particle Emitter Type 'HollowEllipsoid' registered
Particle Affector Type 'LinearForce' registered
Particle Affector Type 'ColourFader' registered
Particle Affector Type 'ColourFader2' registered
Particle Affector Type 'ColourImage' registered
Particle Affector Type 'ColourInterpolator' registered
Particle Affector Type 'Scaler' registered
Particle Affector Type 'Rotator' registered
Particle Affector Type 'DirectionRandomiser' registered
Particle Affector Type 'DeflectorPlane' registered
Plugin successfully installed
Loading library /usr/lib64/OGRE/Plugin_CgProgramManager
Installing plugin: Cg Program Manager
Plugin successfully installed
*-*-* OGRE Initialising
*-*-* Version 1.7.1 (Cthugha)
Added resource location '/fonts' of type 'FileSystem' to resource group 
'General'
Added resource location '/gui' of type 'FileSystem' to resource group 'General'
Added resource location '/hud' of type 'FileSystem' to resource group 'General'
Added resource location '/compositor/bloom' of type 'FileSystem' to resource 
group 'General'
Added resource location '/compositor/hdr' of type 'FileSystem' to resource 
group 'General'
Added resource location '/compositor/motionblur' of type 'FileSystem' to 
resource group 'General'
Added resource location '/compositor' of type 'FileSystem' to resource group 
'General'
Added resource location '/materials' of type 'FileSystem' to resource group 
'General'
Added resource location '/skys' of type 'FileSystem' to resource group 'General'
Added resource location '/terrain' of type 'FileSystem' to resource group 
'General'
Added resource location '/trees' of type 'FileSystem' to resource group 
'General'
Added resource location '/particles' of type 'FileSystem' to resource group 
'General'
Added resource location '/tracks/_previews' of type 'FileSystem' to resource 
group 'General'
Added resource location '/cars/_previews' of type 'FileSystem' to resource 
group 'General'
Creating resource group Loading
Added resource location '/loading' of type 'FileSystem' to resource group 
'Loading'
An exception has occured: OGRE EXCEPTION(7:InternalErrorException): 
/hud/Loading.zip - error whilst opening archive: Unable to read zip file. in 
ZipArchive::checkZzipError at 
/usr/src/packages/BUILD/ogre_src_v1-7-1/OgreMain/src/OgreZip.cpp (line 280)
INFO: Obtained audio device:
      Frequency: 44100
      Format: 32784
      Bits per sample: 16
      Channels: 2
      Silence: 0
      Samples: 1024
      Size: 4096
      Exiting
*-*-* OGRE Shutdown
Unregistering ResourceManager for type Compositor
Unregistering ResourceManager for type Font
Unregistering ResourceManager for type Skeleton
Unregistering ResourceManager for type Mesh
Unregistering ResourceManager for type HighLevelGpuProgram
Uninstalling plugin: Cg Program Manager
Plugin successfully uninstalled
Unloading library /usr/lib64/OGRE/Plugin_CgProgramManager
Uninstalling plugin: ParticleFX
Plugin successfully uninstalled
Unloading library /usr/lib64/OGRE/Plugin_ParticleFX
Uninstalling plugin: GL RenderSystem
******************************
*** Stopping GLX Subsystem ***
******************************
Plugin successfully uninstalled
Unloading library /usr/lib64/OGRE/RenderSystem_GL
Unregistering ResourceManager for type Material

Original issue reported on code.google.com by neptu...@mail.ru on 7 Apr 2011 at 11:25

GoogleCodeExporter commented 9 years ago
unzip is installed on my system.

Original comment by neptu...@mail.ru on 7 Apr 2011 at 11:26

GoogleCodeExporter commented 9 years ago
Ogre uses libzzip for zip files, but I don't think that is the problem here. 
The top of the log reports empty data path, so it appears the game cannot find 
the files. Where are they installed on your system?

Original comment by tapiovie...@gmail.com on 7 Apr 2011 at 11:56

GoogleCodeExporter commented 9 years ago
Should I install them separately? It seems "make install" did not install any 
data files.

Original comment by neptu...@mail.ru on 7 Apr 2011 at 12:06

GoogleCodeExporter commented 9 years ago
Data files are installed with "make install" provided they are present in the 
source tree as directory "data" (and "tracks" also inside the data). This 
structure is described in the [Compiling] wiki page.

I do notice though that we don't actually have downloadable data archive for 
those wanting to compile from release tarball. Currently those folks need to 
either extract the data from Windows installer or use Mercurial. :/

Original comment by tapiovie...@gmail.com on 7 Apr 2011 at 12:29

GoogleCodeExporter commented 9 years ago
I now uploaded an archive containing the data files as a hotfix for the 
situation I described above. The tracks are still as two separate archives so a 
person wishing to compile but not use hg is in for a quite a few separate 
downloads, so this is far from ideal. Our release process is new and still 
under discussion, so this mess should get cleared up in the future.

Original comment by tapiovie...@gmail.com on 7 Apr 2011 at 12:42

GoogleCodeExporter commented 9 years ago

Original comment by tapiovie...@gmail.com on 9 Apr 2011 at 11:57