VM fail

Get support for Unvanquished.
Post Reply
Bla1
Posts: 5
Joined: Tue Mar 17, 2015 2:01 am UTC

VM fail

Post by Bla1 »

Okay, I know there are a lot of forums like this involving vm, but I looked at some, and they looked different from me. I'm using Ubuntu 14.10.

First off, after failing to build from source, I got unvanquished today by adding the repository, then doing sudo apt-get to install it. I don't know exactly where it installed, but I think it then installed to /var/games/unvanquished. I then got the error, so I did dpkg-reconfigure unvanquished-common (as recommended in https://wiki.unvanquished.net/index.php ... he_package). It then said something about /var/games/unvanquished, so thats why I think it installed there. But when I go to .../unvanquished/main, it is empty... Is it supposed to be?

The forum by Tom viewtopic.php?f=6&t=1783 looked most promising except,

Tom wrote:

Amanieu found the solution:

From the universal zip:

  • Copy nacl_loader to /usr/lib/nacl/sel_ldr, (rename it to sel_ldr).

  • Also copy the new irt to /usr/lib/nacl/irt_core-x86_64.nexe and nacl_helper_bootstrap to /usr/lib/nacl/nacl_helper_bootstrap.

Copy that from where? The only nacl loader I see is nacl_loader.exe in the win32 folder and nacl in the macOS folder, both of which aern't linux. My /usr/lib doesn't have an nacl folder either, if the game needed the folder, I think it would make one. Also, What is irt?

User avatar
Tom
Dragoon
Posts: 253
Joined: Tue Jan 15, 2013 3:34 pm UTC
Location: France

Re: VM fail

Post by Tom »

Hello Bla1 & welcome!

If you have the same error message than me, here is what Amanieu tolds me to do:
1) Download the latest universal zip from http://sourceforge.net/projects/unvanqu ... urce=files. It's unvanquished_0.37.0.zip as of today.
2) Unzip it.
3) Inside unvanquished_0.37.0 folder, unzip linux64.zip.
4) Inside linux64 folder rename nacl_loader to sel_ldr and copy it with irt_core-x86_64.nexe and nacl_helper_bootstrap.
5) Open your favorite file browser with root privileges.
6) Create the /usr/lib/nacl folder and paste inside it sel_ldr, irt_core-x86_64.nexe and nacl_helper_bootstrap.
7) Close your file browser.
8) Launch the game like you always do and profit! :marauder:

User avatar
Viech
Project Head
Posts: 2139
Joined: Fri Aug 03, 2012 11:50 pm UTC
Location: Berlin

Re: VM fail

Post by Viech »

That's quite a workaround. What will be next release?

Responsible for: Arch Linux package & torrent distribution, Parpax (map), Chameleon (map texture editor), Sloth (material file generator), gameplay design & programming, artistic direction

Bla1
Posts: 5
Joined: Tue Mar 17, 2015 2:01 am UTC

Re: VM fail

Post by Bla1 »

Hm, still didn't work... I don't have a 64 bit machine, if that makes a difference. Here is the terminal info.

Code: Select all

bla1@bla1:/usr/lib$ unvanquished
Unvanquished 0.37.0 Linux x86 Mar  2 2015
cmdline: -libpath /usr/lib/games/unvanquished -pakpath /var/games/unvanquished/pkg
^3Warn: Ignoring path /usr/lib/games/unvanquished/pkg: No such file or directory 
^3Warn: Ignoring path /home/bla1/.unvanquished/pkg: No such file or directory 
Home path: /home/bla1/.unvanquished 
Pak search path: /var/games/unvanquished/pkg 
Loading pak '/var/games/unvanquished/pkg/unvanquished_0.37.0.pk3'... 
Loading pak '/var/games/unvanquished/pkg/unvanquished_0.36.0.pk3'... 
Loading pak '/var/games/unvanquished/pkg/unvanquished_0.35.0.pk3'... 
Loading pak '/var/games/unvanquished/pkg/unvanquished_0.34.0.pk3'... 
Loading pak '/var/games/unvanquished/pkg/unvanquished_0.33.0.pk3'... 
Loading pak '/var/games/unvanquished/pkg/unvanquished_0.32.0.pk3'... 
Loading pak '/var/games/unvanquished/pkg/unvanquished_0.31.0.pk3'... 
Loading pak '/var/games/unvanquished/pkg/unvanquished_0.30.0.pk3'... 
Loading pak '/var/games/unvanquished/pkg/unvanquished_0.29.0.pk3'... 
Loading pak '/var/games/unvanquished/pkg/unvanquished_0.28.0.pk3'... 
Loading pak '/var/games/unvanquished/pkg/unvanquished_0.27.0.pk3'... 
Loading pak '/var/games/unvanquished/pkg/unvanquished_0.26.0.pk3'... 
Loading pak '/var/games/unvanquished/pkg/unvanquished_0.25.0.pk3'... 
execing 'default.cfg' 
Couldn't read conhistory. 
Loaded 9 languages 
Set language to English 
----- Client Initialization ----- 
----- Client Initialization Complete ----- 
Calling GetRefAPI… 
SDL_Init( SDL_INIT_VIDEO )...  
Using SDL Version 2.0.2 ]ATTENTION: default value of option force_s3tc_enable overridden by environment. SDL using driver "x11" Initializing OpenGL display Display aspect: 1.779 ...setting mode -2: The change will take effect after restart. The change will take effect after restart. 1366 768 Using 24 Color bits, 24 depth, 8 stencil display. Using GLEW 1.10.0 Using enhanced (GL3) Renderer in GL 2.x mode... Available modes: '1366x768 800x600 1024x768 ' GL_RENDERER: Mesa DRI Intel(R) Sandybridge Mobile x86/MMX/SSE2 Detected graphics driver class 'Mesa' Detected graphics hardware class 'generic' Initializing OpenGL extensions ...ignoring GL_ARB_debug_output ...using GL_ARB_fragment_shader ...using GL_ARB_vertex_shader ...using GL_ARB_shading_language_100 ...found shading language version 130 ...using GL_ARB_depth_texture ...using GL_ARB_texture_cube_map ...using GL_ARB_half_float_pixel ...using GL_ARB_texture_float ...using GL_ARB_texture_rg ...ignoring GL_ARB_texture_compression ...ignoring GL_EXT_texture_compression_s3tc ...using GL_ARB_texture_non_power_of_two ...using GL_SGIS_generate_mipmap ...using GL_EXT_texture_filter_anisotropic ...using GL_ARB_vertex_buffer_object ...using GL_ARB_half_float_vertex ...using GL_EXT_framebuffer_object ...using GL_EXT_framebuffer_blit ...using GL_ARB_shader_objects ...using GL_ARB_occlusion_query ...using GL_ARB_draw_buffers ...GL_GREMEDY_string_marker not found ...GL_ARB_get_program_binary found, but with no binary formats ...using GL_ARB_buffer_storage ...using GL_ARB_map_buffer_range ...using GL_ARB_sync GL_VENDOR: Intel Open Source Technology Center GL_RENDERER: Mesa DRI Intel(R) Sandybridge Mobile x86/MMX/SSE2 GL_VERSION: 3.0 Mesa 10.3.2 GL_SHADING_LANGUAGE_VERSION: 1.30 GL_MAX_VERTEX_UNIFORM_COMPONENTS 16384 Using GPU vertex skinning with max 256 bones in a single pass Extracting VM module cgame-x86.nexe from /var/games/unvanquished/pkg/unvanquished_0.37.0.pk3... Loading VM module cgame-x86.nexe... Error: Error during initialization: VM: Failed to exec: Exec format error Loading pak '/var/games/unvanquished/pkg/unvanquished_0.37.0.pk3'... Loading pak '/var/games/unvanquished/pkg/unvanquished_0.36.0.pk3'... Loading pak '/var/games/unvanquished/pkg/unvanquished_0.35.0.pk3'... Loading pak '/var/games/unvanquished/pkg/unvanquished_0.34.0.pk3'... Loading pak '/var/games/unvanquished/pkg/unvanquished_0.33.0.pk3'... Loading pak '/var/games/unvanquished/pkg/unvanquished_0.32.0.pk3'... Loading pak '/var/games/unvanquished/pkg/unvanquished_0.31.0.pk3'... Loading pak '/var/games/unvanquished/pkg/unvanquished_0.30.0.pk3'... Loading pak '/var/games/unvanquished/pkg/unvanquished_0.29.0.pk3'... Loading pak '/var/games/unvanquished/pkg/unvanquished_0.28.0.pk3'... Loading pak '/var/games/unvanquished/pkg/unvanquished_0.27.0.pk3'... Loading pak '/var/games/unvanquished/pkg/unvanquished_0.26.0.pk3'... Loading pak '/var/games/unvanquished/pkg/unvanquished_0.25.0.pk3'... ]AL lib: (WW) FreeDevice: (0xe9a8f40) Deleting 1 Buffer(s)
kangz
Programmer
Posts: 178
Joined: Mon Feb 18, 2013 12:10 am UTC

Re: VM fail

Post by kangz »

Yes, having a 32bit machine makes a difference, do the same thing as Tom suggested but with only x86 instead of x86_64.

Hope it will work for you!

User avatar
Tom
Dragoon
Posts: 253
Joined: Tue Jan 15, 2013 3:34 pm UTC
Location: France

Re: VM fail

Post by Tom »

Unfortunately, there is no linux32.zip file inside unvanquished_0.37.0.zip and no irt_core-x86.nexe, only irt_core-x86_64.nexe. :frown:

kangz
Programmer
Posts: 178
Joined: Mon Feb 18, 2013 12:10 am UTC

Re: VM fail

Post by kangz »

uuuuh this is a shame, we thought there was no linux32 users anymore so we did not package thing for it in the universal zip. You will find the irt_core-x86.nexe and the right nacl_loader here http://dl.unvanquished.net/deps/linux32-3.tar.bz2

Bla1
Posts: 5
Joined: Tue Mar 17, 2015 2:01 am UTC

Re: VM fail

Post by Bla1 »

Ah, thanks! The lin32 got it working!

User avatar
Tom
Dragoon
Posts: 253
Joined: Tue Jan 15, 2013 3:34 pm UTC
Location: France

Re: VM fail

Post by Tom »

If you want to play online Bla1, join the dev games each Sundays at 20:00 UTC/GMT. :wink:

Post Reply