Th3Ya0vi / vdrift-ogre

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

Gui without text & errors #75

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.launch stuntrally

Compiled stuntrally from Ubuntu 11.04

Gui appear but is with notext (there is only in initial load image)

When i try to run i receive:

Skin 'Default' not found. Replaced with default skin.  |  
/home/fabrizio/Scrivania/mygui/MyGUI3.0/MyGUIEngine/src/MyGUI_SkinManager.cpp  
|  116
Skin 'Default' not found. Replaced with default skin.  |  
/home/fabrizio/Scrivania/mygui/MyGUI3.0/MyGUIEngine/src/MyGUI_SkinManager.cpp  
|  116
Skin 'Default' not found. Replaced with default skin.  |  
/home/fabrizio/Scrivania/mygui/MyGUI3.0/MyGUIEngine/src/MyGUI_SkinManager.cpp  
|  116
Skin 'Default' not found. Replaced with default skin.  |  
/home/fabrizio/Scrivania/mygui/MyGUI3.0/MyGUIEngine/src/MyGUI_SkinManager.cpp  
|  116
Skin 'Default' not found. Replaced with default skin.  |  
/home/fabrizio/Scrivania/mygui/MyGUI3.0/MyGUIEngine/src/MyGUI_SkinManager.cpp  
|  116
Texture: ES.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with 0 generated mipmaps 
from Image. Internal format is PF_X8R8G8B8,512x512x1.
Creating resource group BtOgre
**** Loaded Vegetation objects: 16
**** ReplayFrame size: 288
**** ReplayHeader size: 452
Font Consoleusing texture size 512x256
Info: Freetype returned null for character 160 in font Console
Texture: ConsoleTexture: Loading 1 faces(PF_BYTE_LA,512x256x1) with 0 generated 
mipmaps from Image. Internal format is PF_BYTE_LA,512x256x1.
Initialising resource group Loading
Texture: loading4.jpg: Loading 1 faces(PF_R8G8B8,1680x1050x1) with 5 generated 
mipmaps from Image. Internal format is PF_X8R8G8B8,1680x1050x1.
Creating viewport on target 'Stunt Rally', rendering from camera 
'PlayerCamera0', relative dimensions 4L: 0 T: 0 W: 1 H: 1 ZOrder: 0
Viewport for camera 'PlayerCamera0', actual dimensions 4L: 0 T: 0 W: 800 H: 600
INFO: Loading track from path: 
/usr/local/share/games/stuntrally/tracks/0W1-cross
INFO:   new surface
INFO:   new surface
INFO:   new surface
INFO:   new surface
INFO:   new surface
INFO:   new surface
INFO:   new surface
INFO: Found and loaded surfaces file
INFO: Track timing sectors: 2
INFO: Track loading was successful: 0 unique models, 0 unique textures, 7 
unique surfaces
INFO: Collision objects: 0
ERROR: MODEL_JOE03: Failed to open file 
/usr/local/share/games/stuntrally/cars/ES/body.joe
ERROR: Error loading model: /usr/local/share/games/stuntrally/cars/ES/body.joe
INFO: No car body model, continuing without one
INFO: No car interior model exists, continuing without one
INFO: No car glass model exists, continuing without one
ERROR: MODEL_JOE03: Failed to open file 
/usr/local/share/games/stuntrally/cars/ES/wheel_front.joe
ERROR: Error loading model: 
/usr/local/share/games/stuntrally/cars/ES/wheel_front.joe
INFO: No car wheel_front model, continuing without one
ERROR: MODEL_JOE03: Failed to open file 
/usr/local/share/games/stuntrally/cars/ES/wheel_front.joe
ERROR: Error loading model: 
/usr/local/share/games/stuntrally/cars/ES/wheel_front.joe
INFO: No car wheel_front model, continuing without one
ERROR: MODEL_JOE03: Failed to open file 
/usr/local/share/games/stuntrally/cars/ES/wheel_rear.joe
ERROR: Error loading model: 
/usr/local/share/games/stuntrally/cars/ES/wheel_rear.joe
INFO: No car wheel_rear model, continuing without one
ERROR: MODEL_JOE03: Failed to open file 
/usr/local/share/games/stuntrally/cars/ES/wheel_rear.joe
ERROR: Error loading model: 
/usr/local/share/games/stuntrally/cars/ES/wheel_rear.joe
INFO: No car wheel_rear model, continuing without one
stuntrally: /home/fabrizio/Scrivania/stuntrally/source/vdrift/matrix3.h:128: 
MATRIX3<T> MATRIX3<T>::Inverse() const [with T = double]: asserzione 
"myfabs(Div) > EPSILON" non riuscita.

Original issue reported on code.google.com by fabrixx2 on 11 Jul 2011 at 6:45

GoogleCodeExporter commented 8 years ago
if i copy manually parts of car needed in the code above (from other cars) 
remain error:

INFO: Loading track from path: 
/usr/local/share/games/stuntrally/tracks/0W1-cross
INFO:   new surface
INFO:   new surface
INFO:   new surface
INFO:   new surface
INFO:   new surface
INFO:   new surface
INFO:   new surface
INFO: Found and loaded surfaces file
INFO: Track timing sectors: 2
INFO: Track loading was successful: 0 unique models, 0 unique textures, 7 
unique surfaces
INFO: Collision objects: 0
stuntrally: /home/fabrizio/Scrivania/stuntrally/source/vdrift/matrix3.h:128: 
MATRIX3<T> MATRIX3<T>::Inverse() const [with T = double]: asserzione 
"myfabs(Div) > EPSILON" non riuscita.
Annullato
fabrizio@ubuntu:~/Scrivania/stuntrally/data/cars/360$ 

Original comment by fabrixx2 on 11 Jul 2011 at 11:57

GoogleCodeExporter commented 8 years ago
Atteach my interface problem.

when i launch (...i think to launch because not see interface text) a race 
program autoclose with code above
stuntrally: /home/fabrizio/Scrivania/stuntrally/source/vdrift/matrix3.h:128: 
MATRIX3<T> MATRIX3<T>::Inverse() const [with T = double]: asserzione 
"myfabs(Div) > EPSILON" 

Original comment by fabrixx2 on 11 Jul 2011 at 12:11

GoogleCodeExporter commented 8 years ago
Okay GUI without text is known issue, easy to fix. You need to check in CMake 
the checkbox option to use Freetype fonts (MYGUI_USE_FREETYPE) and then rebuild 
MyGUI.

Original comment by Cry...@gmail.com on 11 Jul 2011 at 3:20

GoogleCodeExporter commented 8 years ago
As for the MATRIX3 assert its because car loading failed:
ERROR: MODEL_JOE03: Failed to open file 
/usr/local/share/games/stuntrally/cars/ES/body.joe
at least models were not found, but I think car file wasn't fount either.
There is something wrong with paths, maybe they are different on Debian.
I don't know more, but try to debug and see from which path is car being loaded:
check in game.cpp, method CAR* GAME::LoadCar,
PATHMANAGER::GetCarPath() has to point to existing directory, where there is ES 
subdir with ES.car file. This method needs to succeed loading.

Original comment by Cry...@gmail.com on 11 Jul 2011 at 3:28

GoogleCodeExporter commented 8 years ago
Ok i fixed tha character error with rebuild Mygui with freetype, thaks.

Other problem:

in  my /usr/local/share/games/stuntrally/cars i have 
3s  - 360 -  CT  - ES  - fm  - m3  - _previews  - Rs2 - xm  Folders

In Cars: ------>3s  - 360 -  CT  -  m3  - Rs2 - xm 
have:

collision.joe  glass.joe     RS2.car   wheel_front.joe
body.joe   engine.wav     interior.joe  textures  wheel_rear.joe

In cars ----> ES  - fm  
have ONLY:
engine.wav  FM.car  textures

I've tryed to select RS2 car for all player  (with all required files) pressing 
change it for every player.

I not receive more the:

ERROR: MODEL_JOE03: Failed to open file 
/usr/local/share/games/stuntrally/cars/ES/wheel_front.joe
ERROR: Error loading model: 
/usr/local/share/games/stuntrally/cars/ES/wheel_front.joe
.......
....

But only matrix error and the windows autoclose:

rom Image. Internal format is PF_X8R8G8B8,512x512x1.
Creating resource group BtOgre
**** Loaded Vegetation objects: 16
**** ReplayFrame size: 288
**** ReplayHeader size: 452
Font Consoleusing texture size 512x256
Info: Freetype returned null for character 160 in font Console
Texture: ConsoleTexture: Loading 1 faces(PF_BYTE_LA,512x256x1) with 0 generated 
mipmaps from Image. Internal format is PF_BYTE_LA,512x256x1.
Texture: RS2.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with 0 generated mipmaps 
from Image. Internal format is PF_X8R8G8B8,512x512x1.
Initialising resource group Loading
Texture: loading9.jpg: Loading 1 faces(PF_R8G8B8,1440x900x1) with 5 generated 
mipmaps from Image. Internal format is PF_X8R8G8B8,1440x900x1.
Creating viewport on target 'Stunt Rally', rendering from camera 
'PlayerCamera0', relative dimensions 4L: 0 T: 0 W: 1 H: 1 ZOrder: 0
Viewport for camera 'PlayerCamera0', actual dimensions 4L: 0 T: 0 W: 640 H: 480
INFO: Loading track from path: 
/usr/local/share/games/stuntrally/tracks/0W1-cross
INFO:   new surface
INFO:   new surface
INFO:   new surface
INFO:   new surface
INFO:   new surface
INFO:   new surface
INFO:   new surface
INFO: Found and loaded surfaces file
INFO: Track timing sectors: 2
INFO: Track loading was successful: 0 unique models, 0 unique textures, 7 
unique surfaces
INFO: Collision objects: 0
stuntrally: /home/fabrizio/Scrivania/stuntrally/source/vdrift/matrix3.h:128: 
MATRIX3<T> MATRIX3<T>::Inverse() const [with T = double]: asserzione 
"myfabs(Div) > EPSILON" non riuscita.
Annullato

Is possible that that stuntrally know where are the cars but error maybe 
another or i have to modify game.cpp and rebuild?

Very thanks

Original comment by fabrixx2 on 11 Jul 2011 at 6:24

GoogleCodeExporter commented 8 years ago
Its possible depend from stuntrally trunk ?
If i try with last stable?

Thanks again...

Original comment by fabrixx2 on 11 Jul 2011 at 6:27

GoogleCodeExporter commented 8 years ago
Ok i take stable version, copied manually data & tracks and recompile

All work except steer right & left  (throttle change cam is ok)

I try with right/left but with no results.

I need open another issue for it?

Original comment by fabrixx2 on 11 Jul 2011 at 7:44

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
For those errors, you might have some old files conflicting or something. Try 
to delete all files from /usr/local/share/games/stuntrally (and from other 
possible installed paths) and then run the game from the build directory (i.e. 
cd build && cmake .. && make && ./stuntrally).

Original comment by tapiovie...@gmail.com on 11 Jul 2011 at 9:31

GoogleCodeExporter commented 8 years ago
resolved, closing

Original comment by Cry...@gmail.com on 14 Jul 2011 at 8:24