Closed Mailaender closed 10 years ago
Works with Wine although the SHP rendering is slightly broken then.
I had some problems with libosmesa 9 when compiled with clang but after recompiling using gcc voxels rendered just fine. SHP rendering should be unrelated, also on Wine.
Could you provide debug output when ran as
MONO_LOG_LEVEL=debug mono CNCMaps.exe -i ...
so we get some more debug on why mono fails to load the required libs?
Fallback seems to work:
0.0048 [Info] Initializing virtual filesystem
0.0062 [Info] Initializing filesystem on /home/matthias/.openra/Content/ts for the TiberianSun engine
0.0090 [Info] Parsing nod7a.map
0.0125 [Info] Reading tiles
0.0151 [Info] Reading map overlay
0.0155 [Info] Reading map overlay objects
0.0156 [Info] Reading map terrain object
0.0156 [Info] Reading infantry on map
0.0158 [Info] Reading vehicles on map
0.0158 [Info] Reading aircraft on map
0.0159 [Info] Reading map structures
0.0161 [Info] Parsing rules.ini
0.0198 [Info] Parsing art.ini
0.0221 [Info] Initializing theater
0.0238 [Info] Parsing temperat.ini
0.0315 [Info] Overriding rules.ini with map INI entries
0.0323 [Info] Loading houses
0.0323 [Info] Loading lighting
0.0327 [Info] Creating per-height palettes
0.0329 [Info] Loading light sources
0.0383 [Info] Calculating palette-values for all objects
0.0453 [Info] Drawing map
1.0207 [Info] Initializing voxel renderer
1.0211 [Warn] Mesa context could not be created
2.0638 [Info] Parsing mission.ini
2.0643 [Info] Mapname found: NOD 07 - Destroy GDI Research Facility
2.0761 [Info] Saving JPEG to /home/matthias/Downloads/NOD 07 - Destroy GDI Research Facility.jpg, quality level 95, clip @(24,12);3312x3024)
and http://www.mesa3d.org/osmesa.html is not really a healthy sub-project anyway.
I had to adjust
OpenTK.config
and change the line tolibOSMesa.so.8
to avoid .dll not found errors, but it will crash hard anyway:using
and Mesa 9.0.1 on openSUSE 12.2 with Linux Kernel 3.7.2