Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
EXCEPTION - character out of range
01-18-2009, 10:15 AM,
EXCEPTION - character out of range
I tried to compile VDrift on Ubuntu 8.10. Seems to be OK, but I'm unable to launch the game.
Here's the terminal output :
fred@choupette:~/apps/vdrift-08-05-08$ ./vdrift
BinReloc successfully initialized.
Executable path: /home/fred/apps/vdrift-08-05-08/vdrift
Data dir: /home/fred/apps/data
Localedir: /home/fred/apps/share/locale
No data_dir found in VDrift.config, using /home/fred/apps/data
/home/fred/apps/data/settings/VDrift.config not found. Attempting to load data from /home/fred/apps/vdrift-08-05-08/data
Found config file /home/fred/.vdrift/controls.config.
Found config file /home/fred/.vdrift/VDrift.config.
No data_dir found in VDrift.config, using /home/fred/apps/vdrift-08-05-08/data
Version of game: development-full
Skin name not found in config file...
Directory /home/fred/apps/vdrift-08-05-08/data/skins/SConscript/menus does not exist! Skin SConscript not loaded.
Run with -verbose for troubleshooting.
Run with -nosound to disable sound.
Run with -benchmark to play a replay and output benchmark data.
1 joystick(s) found:
    0. Logitech Logitech RumblePad 2 USB
Card supports: drawbuf4 auxbuf4 antialiasing anisotropy16 cubemapping shaders multitexturing16(4) texture_rectangle depth_texture shadow framebuffer_objects
Card does not support:
Status: Using GLEW 1.5.0
Obtained audio device:
Frequency: 44100
Format: 32784
Bits per sample: 16
Channels: 2
Silence: 0
Samples: 512
Size: 2048

EXCEPTION: src/font.cpp, line 202:  Character out of range: � (-61)
It just show the black screen with turning wheel and the next one (title & logos), and crashes.
01-18-2009, 05:35 PM,
Try compiling with NLS=off.
01-18-2009, 06:04 PM,
sorry, the output is the same after "scons NLS=off"
01-19-2009, 05:14 AM,
hello, I had the same problem and 'solved' it by commenting the lines 198 to 204 of <VdriftFolder>/src/fonts.cpp
like this :

    /* if (c <0> 96)
        stringstream err;
        err << "Character out of range: " << curchar << " (" << (int) curchar << ")" << endl;
        throw EXCEPTION(__FILE__, __LINE__,err.str());
        return 0.0;
01-19-2009, 03:47 PM,
That's ok, but is this test important ? wasn't it of any use ?
anyway I can try VDrift !

Thanks everybody for the help...
01-19-2009, 04:23 PM,
I don't know if it is very important, but the good thing is I can play it now :]
and since yesterday it didn't crash and/or bugs...
01-19-2009, 11:16 PM,
I'll try to make sure that doesn't happen for the next release. Thanks for the info.

Forum Jump:

Users browsing this thread: 1 Guest(s)