pholklore

  • Content count

    10
  • Joined

  • Last visited

Community Reputation

10 Good

About pholklore

  • Rank
    Junior Member

Badges

Don't Starve
  • Contributor
  1. Shank 2 - hide mouse cursor (w/ GNU/Linux workaround)

    I'm not familiar with the ps3 controller support, but I'd think there must be a way to disable the mouse emulation. You certainly can't be the only one with that issue. Or if you are, then something is most likely wrong with your setup. Knowing that parts of the stack do hid vendor/device id checks I'd guess that if have a controller that emulates as ps3 controller rather than the real one, something may not be recognizing the controller as such properly. But really I'm just guessing.> One day games will be FOSS and we can just fix the code I long for the day. However in your case, per your description, your problem is somewhere between the kernel/module and X, so you should already be able to fix the code today.
  2. Shank 2 linux gamepad

    Glad that helped. See also my new "hide cursor" thread. I bet that'll help others on GNU/Linux too.
  3. Help! Shank 2 PC version is not saving the levels.

    Another thing I see is the default gamepad controls leave "dodge left" and "dodge right" unassigned ("none selected"). I think on the original version they would default to the right stick (which is what makes sense). It'd be good to bring that back (leaving unassigned is just silly), though it's minor.
  4. Shank 2 Fedora 17, crash on launch

    Okay, got it. I needed to install the s3tc libraries, which are not installed or distributed by default by Fedora, because the s3tc compression method is patented... I'm actually a bit shocked to learn this, having bought the game through humble bundle, and in the process having contributed to the EFF, to ... hopefully get rid of software patents. Anyway, after installing them the game does now launch. However, it's not completely successful. I went to configure the resolution, and the screen went black (after selecting the desired resolution). Waiting the 15 seconds doesn't fix it. Only way out is to switch to another VT and kill the process. Even if I don't change the resolution, sometime the screen goes all black on launch, other times it won't. So it seems there's something wrong with mode/resolution switching.
  5. Help! Shank 2 PC version is not saving the levels.

    Oh crap, it's not just controls. Levels start still aren't saved, it seems to me...
  6. Help! Shank 2 PC version is not saving the levels.

    I see the same think with update 3. The controls are not saved... Gessh, are these things actually tested? I bought the humble bundle for fun, but getting this to work actually feels like work... Please open source the code so we can fix it.
  7. Shank 2 linux gamepad

    I have a wireless xbox 360 controller, and with the xboxdrv config file below, Shank 2 (update 2, haven't tried update 3 yet with the controller)works perfectly. Without, with the default config right analog and trigger are swapped...IIRC, this is basically the layout of a non-wireless xbox360 controller (which is not the same as the wireless... go MS), but with the right analog x/y flipped...$ cat shank2-update2.xboxdrv [xboxdrv]ui-clear = trueextra-devices=falseextra-events=falsedeadzone=4000device-name = "Shank 2 Gamepad"trigger-as-button=true[ui-buttonmap]A=BTN_AB=BTN_BX=BTN_XY=BTN_YSTART=BTN_STARTGUIDE=BTN_MODEBACK=BTN_BACKLB=BTN_TLRB=BTN_TRTL=BTN_THUMBLTR=BTN_THUMBR[ui-axismap]X1=ABS_XY1=ABS_Y# Swapped on purpose.X2=ABS_RYY2=ABS_RX DPAD_X = ABS_HAT0X DPAD_Y = ABS_HAT0Y
  8. Shank 2 Fedora 17, crash on launch

    Thanks for the update. Here it is: $ cat ~/.klei/shank2/rendering.log [14:22.50] (0x7f72b4faa880) Trying to set video mode 1024x768 fullscreen [14:22.51] (0x7f72b4faa880) mode set success [14:22.51] (0x7f72b4faa880) OpenGL vendor: "Tungsten Graphics, Inc" [14:22.51] (0x7f72b4faa880) OpenGL renderer: "Mesa DRI Intel® Sandybridge Mobile " [14:22.51] (0x7f72b4faa880) OpenGL version: "2.1 Mesa 8.0.4" [14:22.51] (0x7f72b4faa880) OpenGL shading language version: "1.30" [14:22.51] (0x7f72b4faa880) OpenGL extensions: GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_3DFX_texture_compression_FXT1 GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_IN [14:22.51] (0x7f72b4faa880) EXT_texture_compression_s3tc required [14:22.51] (0x7f72b4faa880) Trying to set video mode 1920x1080 fullscreen [14:22.54] (0x7f72b4faa880) mode set success [14:22.54] (0x7f72b4faa880) OpenGL vendor: "Tungsten Graphics, Inc" [14:22.54] (0x7f72b4faa880) OpenGL renderer: "Mesa DRI Intel® Sandybridge Mobile " [14:22.54] (0x7f72b4faa880) OpenGL version: "2.1 Mesa 8.0.4" [14:22.54] (0x7f72b4faa880) OpenGL shading language version: "1.30" [14:22.54] (0x7f72b4faa880) OpenGL extensions: GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_3DFX_texture_compression_FXT1 GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_IN [14:22.54] (0x7f72b4faa880) EXT_texture_compression_s3tc required [14:22.54] (0x7f72b4faa880) Trying to set video mode 320x180 windowed [14:22.56] (0x7f72b4faa880) mode set success [14:22.56] (0x7f72b4faa880) OpenGL vendor: "Tungsten Graphics, Inc" [14:22.56] (0x7f72b4faa880) OpenGL renderer: "Mesa DRI Intel® Sandybridge Mobile " [14:22.56] (0x7f72b4faa880) OpenGL version: "2.1 Mesa 8.0.4" [14:22.56] (0x7f72b4faa880) OpenGL shading language version: "1.30" [14:22.56] (0x7f72b4faa880) OpenGL extensions: GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_3DFX_texture_compression_FXT1 GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_IN [14:22.56] (0x7f72b4faa880) EXT_texture_compression_s3tc required BTW, I have an external monitor (and I was hoping to play the game on it), and after all those mode switches, and the games crashes, I end up with the external monitor disabled, which makes me suspect that even if the game loaded, it'd be running on the wrong monitor... Anyway, one issue at a time. Here's the gdb backtrace when the game segfaults: ... Program received signal SIGSEGV, Segmentation fault. 0x00000000007007a0 in ?? () (gdb) bt #0 0x00000000007007a0 in ?? () #1 0x00000000006bbf3b in ?? () #2 0x00000000006bc252 in ?? () #3 0x0000003d25e21735 in __libc_start_main (main=0x6bc220, argc=1, ubp_av=0x7fffffffdc68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdc58) at libc-start.c:226 #4 0x0000000000409a59 in ?? () #5 0x00007fffffffdc58 in ?? () #6 0x000000000000001c in ?? () #7 0x0000000000000001 in ?? () #8 0x00007fffffffe020 in ?? () #9 0x0000000000000000 in ?? () From a non-stripped binary, you should be able to figure out what lines 0x7007a0, 0x6bbf3b, 0x6bc252 are (w/ addr2line, or "info line" in gdb).
  9. Shank 2 Fedora 17, crash on launch

    Trying out update2 of Shank 2 on a Fedora 17 laptop, I get: $ ./shank2-bin ERROR: Missing required OpenGL extensions. ERROR: Missing required OpenGL extensions. ERROR: Missing required OpenGL extensions. ERROR: Missing required OpenGL extensions. Segmentation fault I get the same with both the 32 and the 64-bit binaries. This is on a ThinkPad T520, i7-2620M @ 2.70GHz, with an intel integrated graphics. lspci says: 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) Which extensions could be missing? Of course, I've no clue whether the segfault is related.
  10. Shank 2 for Linux

    It's a bit silly to have to cd into bin first. Can the script please be adjusted to be able to launch it from any directory, please? You just need to put something like this at the top of the script (after the shebang): DIR=`readlink -f "$0"` cd "`dirname "$DIR"`" I've hacked my copy that way. A .desktop file would be super too.