Skip to content

Instantly share code, notes, and snippets.

@kevenwyld
kevenwyld / dirt_rally_openffboard+TH8A_inputs.diff
Last active September 22, 2024 08:07
diff of changes to Dirt Rally (1.0) game files required to use OpenFFBoard with a TH8A shifter connected directly via usb.
diff --git a/share/data/forcefeedback/devicesetup_v2.xml b/share/data/forcefeedback/devicesetup_v2.xml
index a66837f..acbf157 100755
--- a/share/data/forcefeedback/devicesetup_v2.xml
+++ b/share/data/forcefeedback/devicesetup_v2.xml
@@ -35,6 +35,9 @@
<!-- SimSteering Wheel - Note: Recommend starting with a scaleForce of 0.5 until comfortable with the scale of the force -->
<FFBDevice name="{22301DD2-0000-0000-0000-504944564944}" scaleFriction="1.0" scaleForce="0.5"/>
+ <!-- OpenFFBoard wheel -->
+ <FFBDevice name="{FFB01209-0000-0000-0000-504944564944}" scaleFriction="1.0" scaleForce="1.0"/>
@kevenwyld
kevenwyld / RBR.md
Last active December 20, 2023 05:50
Richard Burns Rally with RallySimFans launcher on recent versions of wine

Below are instructions for using a proton runner directly, not inside Lutris or Bottles. Bottles appears to work the same way, but the instructions will be quite different. For example Bottles runners with the flatpak are in $HOME/.var/app/com.usebottles.bottles/data/bottles/runners and many other paths and dxvk packages differ.

  1. Obtain a copy of Proton-6.1-GE-2 from here https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/6.1-GE-2
  2. Obtain a copy of GE-Proton8-25 from here https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/GE-Proton8-25
    • This is the version I tested, probably not the latest version that will work.
    • Turns out VKd3d was split out into a separate package. Game/Launcher starts after GE-Proton7-35. As far as I was able to test RSF will require being run in vulkan mode in versions after this but I didn't extensively test this.
  3. Extract 6.1 to somewhere temporary, we only need to grab a couple of files out of it
  4. Extract 8-25 to somewhere persisten
@kevenwyld
kevenwyld / Player.log
Created August 5, 2023 19:56
Output of the Player.log file for olmod (an Overload game mod)
Desktop is 1280 x 800 @ 60 Hz
New context 0x483eae0 created with attributes:
Initialize engine version: 2017.4.10f1 (9254330dccd6)
GfxDevice: creating device client; threaded=1
Renderer: AMD Custom GPU 0405 (vangogh, LLVM 14.0.6, DRM 3.45, 5.13.0-valve36-1-neptune)
Vendor: AMD
Version: 4.6 (Core Profile) Mesa 22.2.0 (git-17e5312102)
GLES: 0
GL_AMD_conservative_depth GL_AMD_depth_clamp_separate GL_AMD_draw_buffers_blend GL_AMD_framebuffer_multisample_advanced GL_AMD_gpu_shader_int64 GL_AMD_multi_draw_indirect GL_AMD_performance_monitor GL_AMD_pinned_memory GL_AMD_query_buffer_object GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_AMD_shader_trinary_minmax GL_AMD_texture_texture4 GL_AMD_vertex_shader_layer GL_AMD_vertex_shader_viewport_index GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_ES2_compatibility GL_ARB_ES3_1_compatibility GL_ARB_ES3_2_compatibility GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_base_instance GL_ARB_bindless_texture GL_AR
@kevenwyld
kevenwyld / systeminfo.txt
Created February 16, 2023 23:04
System Information
Computer Information:
Manufacturer: ASUSTeK COMPUTER INC.
Model: ROG CROSSHAIR VIII DARK HERO
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 9 5950X 16-Core Processor
CPU Family: 0x19
@kevenwyld
kevenwyld / gcode_excerpt.gcode
Created January 31, 2022 01:59
a short clip of some gcode trying to debug an issue where the print head does not decellerate on one corner.
M106 S221.85 ; enable fan
;WIPE_START
G1 X114.55 Y100.904 F15000 ; move inwards before travel
;WIPE_END
G1 X114.204 Y100.882 ; move to first External perimeter point (0.000000 == 1500.000000)
G1 F5760
M106 S224.4 ; enable fan
G1 X114.215 Y100.765 E0.00255 ; External perimeter
G1 X114.227 Y100.687 E0.00171 ; External perimeter
G1 X114.243 Y100.61 E0.00171 ; External perimeter