<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="https://v1sta.xyz/wp-content/plugins/pretty-rss-feeds/xslt/pretty-feed.xsl" type="text/xsl" media="screen" ?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/">

<channel>
	<title>尘埃 &#8211; 景の域</title>
	<atom:link href="https://v1sta.xyz/tag/%e5%b0%98%e5%9f%83/feed/" rel="self" type="application/rss+xml" />
	<link>https://v1sta.xyz</link>
	<description>远景的幻想空间</description>
	<lastBuildDate>Thu, 30 Jan 2025 18:04:03 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://v1sta.xyz/wp-content/uploads/2026/03/V1sta-Orb-Output512-2-60x60.png</url>
	<title>尘埃 &#8211; 景の域</title>
	<link>https://v1sta.xyz</link>
	<width>32</width>
	<height>32</height>
</image> 
<atom:link rel="hub" href="https://pubsubhubbub.appspot.com"/>
<atom:link rel="hub" href="https://pubsubhubbub.superfeedr.com"/>
<atom:link rel="hub" href="https://websubhub.com/hub"/>
<atom:link rel="self" href="https://v1sta.xyz/tag/%e5%b0%98%e5%9f%83/feed/"/>
	<item>
		<title>配置北通168方向盘玩上《尘埃拉力赛》(DiRT Rally)</title>
		<link>https://v1sta.xyz/gaming/betop-3168-dirt-rally/</link>
					<comments>https://v1sta.xyz/gaming/betop-3168-dirt-rally/#respond</comments>
		
		<dc:creator><![CDATA[远景の域主 V1STA]]></dc:creator>
		<pubDate>Fri, 22 Sep 2023 05:33:45 +0000</pubDate>
				<category><![CDATA[奇物]]></category>
		<category><![CDATA[技术]]></category>
		<category><![CDATA[日常]]></category>
		<category><![CDATA[游戏]]></category>
		<category><![CDATA[DiRT]]></category>
		<category><![CDATA[Steam]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[尘埃]]></category>
		<guid isPermaLink="false">https://v1sta.xyz/?p=1695</guid>

					<description><![CDATA[前不久入了台二手的北通168游戏方向盘。说起来这个方向盘的年代非常久远，比我的年龄都大，卖家也是个称得上爷爷辈 &#8230; <a href="https://v1sta.xyz/gaming/betop-3168-dirt-rally/" class="more-link">继续阅读<span class="screen-reader-text">配置北通168方向盘玩上《尘埃拉力赛》(DiRT Rally)</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[
<p>前不久入了台二手的北通168游戏方向盘。说起来这个方向盘的年代非常久远，比我的年龄都大，卖家也是个称得上爷爷辈的老人了（囧）但它只要<strong>80元</strong>！真的是相当值的价格！！</p>



<p>于是我毫不犹豫便入手了，千里迢迢把它带回家：</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://v1sta.xyz/wp-content/uploads/2023/09/wp-16951206928106668047116246740449.jpg" data-lbwps-width="3000" data-lbwps-height="2250" data-lbwps-srcsmall="https://v1sta.xyz/wp-content/uploads/2023/09/wp-16951206928106668047116246740449-300x225.jpg"><img data-dominant-color="6b4b3b" data-has-transparency="false" style="--dominant-color: #6b4b3b;" fetchpriority="high" decoding="async" width="1024" height="768" sizes="(max-width: 1024px) 100vw, 1024px" src="https://v1sta.xyz/wp-content/uploads/2023/09/wp-16951206928106668047116246740449-1024x768.jpg" alt="" class="wp-image-1706 not-transparent" srcset="https://v1sta.xyz/wp-content/uploads/2023/09/wp-16951206928106668047116246740449-1024x768.jpg 1024w, https://v1sta.xyz/wp-content/uploads/2023/09/wp-16951206928106668047116246740449-300x225.jpg 300w, https://v1sta.xyz/wp-content/uploads/2023/09/wp-16951206928106668047116246740449-768x576.jpg 768w, https://v1sta.xyz/wp-content/uploads/2023/09/wp-16951206928106668047116246740449-1536x1152.jpg 1536w, https://v1sta.xyz/wp-content/uploads/2023/09/wp-16951206928106668047116246740449-2048x1536.jpg 2048w" /></a></figure>
</div>


<p>缺点当然也不是没有，抛开本身的老化和定位不准问题，年代久远，兼容性多少也都不如现代手柄。测试了几个赛车和驾驶游戏，欧卡2尚可一试，而Forza地平线索性直接不支持了，必须想办法映射成Xbox手柄……</p>



<p>最近又试了下我最爱的尘埃拉力赛 (DiRT Rally) ，和欧卡2类似，也需要自己设置控制器配置。然而情况有些特殊：每次重新打开游戏，就要重新配置方向盘，甚是不爽，何况，有些菜单操作还是需要用到F区键盘……</p>



<span id="more-1695"></span>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">前言</h2>



<p>在解决这些问题前，首先要说明的是，Windows系统连接控制器外设（通俗意义上的手柄，包括方向盘），分为DirectInput和XInput两种驱动模式：大多数通用控制器采用DirectInput模式，而XInput模式对应Xbox 360及之后的手柄输入，两者区别在于布局关系上。具体而言，后者有明确的XYAB标准布局，而前者数量均无限制（对方向盘排挡杆是刚需），由此影响控制器外设跟游戏的兼容性。</p>



<p>北通168方向盘年代久远，尽管是自动挡娱乐方向盘，没有挡杆那么多按键的要求，但在360主机尚未盛行的年代，市面上清一色也都是通用的DirectInput模式，免驱、但不免配置。没有XInput的Xbox手柄模式，也不能直接用来玩地平线。</p>



<p>即使到了2023年，这样的廉价方向盘外设仍然存世于淘宝上，相同的模具、相似的主控，价格还“上涨”了几百块（如果不考虑转换2006年货币汇率的话）</p>



<p>虽说的确可以考虑用x360ce之类的软件，或者Steam的控制器配置，把方向盘转换映射成Xbox手柄，但考虑到资源占用以及延迟关系，还是尽量用游戏自带的控制器支持吧。比较好的例子是欧卡2，可以清晰分明手柄和方向盘的转向区别。</p>



<p>Google搜索了一番，在Steam上找到一篇教程，发现也有同样问题的玩家：</p>



<figure class="wp-block-mamaduka-bookmark-card is-style-horizontal"><a class="bookmark-card" href="https://steamcommunity.com/app/310560/discussions/0/615085406669620765/"><div class="bookmark-card__image"><img decoding="async" src="https://media.st.dl.eccdnx.com/steam/apps/310560/header.jpg?t=1667844327"/></div><div class="bookmark-card__content"><div class="bookmark-card__title">How to solve Direct Input problems with unsupported wheels :: DiRT Rally General Chat</div><div class="bookmark-card__description">I was having some problems with my wheel that other people seems to be struggling with too and I&#8217;ve found a solution that works. It&#8217;s a bit long, but if you&#8217;re really aching to use a unsupported wheel, it may be worth it. (Sorry for any spelling mistakes, english is not my native language) The first problem is that my input changes are never saved. I&#8217;ve tried some solutions posted here, but none worked. Changing all inputs to my wheel, pressing a button on the wheel at the start screen&#8230;</div><div class="bookmark_card__meta"><img decoding="async" class="bookmark_card__meta-icon" src="https://steamcommunity.com/favicon.ico"/><span class="bookmark_card__meta-publisher">steamcommunity.com</span></div></div></a></figure>



<p></p>



<p>上面的链接教程中，描述了以下三种问题：</p>



<ul class="wp-block-list">
<li>无法自动识别方向盘，也不能保存配置</li>



<li>转向、加减速存在线性轴死区（Deadzone）</li>



<li>没有肩键功能控制快速菜单 (键盘对应F3/F4)</li>
</ul>



<p>简单来说，尘埃拉力赛通过读取游戏目录本身的XML配置文件，实现对DirectInput方向盘控制器的支持，并且内置了多个主流厂商的方向盘适配（如罗技G系列、图马斯特等）</p>



<p>然而不同的控制器，按键、线性轴（axis）的位置也有所差异，不像Xbox手柄那么规范，就需要游戏开发商独一适配。而游戏中没有杂牌手柄和方向盘的配置，索性加载出来就是空的默认配置文件。</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://v1sta.xyz/wp-content/uploads/2023/09/img_20230919_1635534246086531222573800.jpg" data-lbwps-width="3456" data-lbwps-height="4608" data-lbwps-srcsmall="https://v1sta.xyz/wp-content/uploads/2023/09/img_20230919_1635534246086531222573800-225x300.jpg"><img data-dominant-color="615d60" data-has-transparency="false" decoding="async" width="768" height="1024" sizes="(max-width: 768px) 100vw, 768px" src="https://v1sta.xyz/wp-content/uploads/2023/09/img_20230919_1635534246086531222573800-768x1024.jpg" alt="" class="wp-image-1705 not-transparent" style="--dominant-color: #615d60; aspect-ratio:2/3;object-fit:cover" srcset="https://v1sta.xyz/wp-content/uploads/2023/09/img_20230919_1635534246086531222573800-768x1024.jpg 768w, https://v1sta.xyz/wp-content/uploads/2023/09/img_20230919_1635534246086531222573800-225x300.jpg 225w, https://v1sta.xyz/wp-content/uploads/2023/09/img_20230919_1635534246086531222573800-1152x1536.jpg 1152w, https://v1sta.xyz/wp-content/uploads/2023/09/img_20230919_1635534246086531222573800-1536x2048.jpg 1536w, https://v1sta.xyz/wp-content/uploads/2023/09/img_20230919_1635534246086531222573800-scaled.jpg 1920w" /></a></figure>
</div>


<p>尘埃使用通用控制器的情况下，默认设定1、2键对应确认和返回，然而游戏并不认识方向盘的布局，不看说明也不知道按键的位置。在奇葩手柄上这个问题更加严重，连接了英伟达手柄，本用于确认的2号键居然在触控板上……</p>



<p>解决方案就是对症下药，既然游戏不能自动识别，那就自己写一份配置文件，自行针对方向盘布局定制配置。</p>



<h2 class="wp-block-heading">实践</h2>



<p>在Steam中浏览游戏本地文件位置，找到Input文件夹（默认位置大概在 <code>C:\Program Files (x86)\Steam\SteamApps\common\DIRT Rally\Input</code> ），可以看到众多方向盘和手柄的适配文件。</p>


<div class="wp-block-image">
<figure class="alignleft size-full"><a href="https://v1sta.xyz/wp-content/uploads/2023/09/image-1.png" data-lbwps-width="827" data-lbwps-height="730" data-lbwps-srcsmall="https://v1sta.xyz/wp-content/uploads/2023/09/image-1-300x265.png"><img data-dominant-color="f5f5f6" data-has-transparency="true" style="--dominant-color: #f5f5f6;" decoding="async" width="827" height="730" sizes="(max-width: 827px) 100vw, 827px" src="https://v1sta.xyz/wp-content/uploads/2023/09/image-1.png" alt="" class="wp-image-1697 has-transparency" srcset="https://v1sta.xyz/wp-content/uploads/2023/09/image-1.png 827w, https://v1sta.xyz/wp-content/uploads/2023/09/image-1-300x265.png 300w, https://v1sta.xyz/wp-content/uploads/2023/09/image-1-768x678.png 768w" /></a></figure>
</div>


<p>上文教程的解决方案是直接编辑 dinput_default.xml 文件，打开可以看到很多命名为<code>&lt;/Action&gt;</code>的代码行。写过HTML基本上也能看懂一些，这里我已经修改过了，一般情况下，这个文件内基本上是空的配置。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://v1sta.xyz/wp-content/uploads/2023/09/image.png" data-lbwps-width="908" data-lbwps-height="889" data-lbwps-srcsmall="https://v1sta.xyz/wp-content/uploads/2023/09/image-300x294.png"><img data-dominant-color="f7f7f7" data-has-transparency="true" style="--dominant-color: #f7f7f7;" loading="lazy" decoding="async" width="908" height="889" sizes="auto, (max-width: 908px) 100vw, 908px" src="https://v1sta.xyz/wp-content/uploads/2023/09/image.png" alt="" class="wp-image-1696 has-transparency" srcset="https://v1sta.xyz/wp-content/uploads/2023/09/image.png 908w, https://v1sta.xyz/wp-content/uploads/2023/09/image-300x294.png 300w, https://v1sta.xyz/wp-content/uploads/2023/09/image-768x752.png 768w" /></a></figure>
</div>


<p>逐个<code>&lt;/Action&gt;</code>代码行内，直接添加DirectInput的按键事件，如 <code>&lt;Axis id="di_button_0"&gt;</code> 代表的就是1号键点击，从0算1起，button_1代表2号键，以此类推。</p>



<p>通过直接编辑XML文件，也可以实现多功能复用同一按键：比如Xbox手柄默认摇杆和方向键都可以转向，就是在一个Action填写两个Axis实现的。</p>



<p>线性轴的操作事件稍有区别，在后面还需填写biDirUpper/Lower上下增减的附加属性，根据方向盘的类比轴 (Axis) 配置不同，添加转向、踏板对应的Axis轴配置。</p>



<p>我的北通方向盘是X轴左右转向、Y轴向上刹车 (biDirUpper) 、向下踩油门加速 (biDirLower) 。如果方向盘是全轴控制的设计（比如从左到右的Z轴），则应该设置为uniDirPos/Neg（反向）</p>



<p>还需要设置转向、油门起始死区 (deadzone) 和最大极限 (saturation) 的值，对于方向盘可以直接关闭死区，设置为0，获得更精细的线性操作；而转向根据我的偏好，设置为极限的85%，也就是0.85，避免90°暴力打方向撞击边缘，伤害方向盘和相关部件的问题（虽说方向盘就是拿来糙的，不过也已经坏了一个拨片了）</p>



<p>缺少的F3/F4用于菜单切换的功能键，在游戏中用于切换涂装、视图之类的功能。通过游戏内无法映射，则可以直接从Xbox手柄配置文件（比如xinput_pad_0.xml） 拿过来，配置识别为肩键。我的方向盘设置为了5和6号键，代码如下：</p>



<pre class="wp-block-preformatted">  &lt;Action id="Menu Left Shoulder"&gt;
    &lt;Axis id="di_button_4" /&gt;
  &lt;/Action&gt;
  &lt;Action id="Menu Right Shoulder"&gt;
    &lt;Axis id="di_button_5" /&gt;
  &lt;/Action&gt;</pre>



<p>以此类推，编辑剩下的事件，保存。打开尘埃拉力赛，在Settings&gt;Control设置界面加载默认的Joystick布局，逐一测试每个按键和线性灵敏度。</p>



<p>有时候会出现反向的问题，退出游戏，重复编辑配置文件保存，再次打开尘埃，加载布局测试。改动XML配置后一定要记得手动加载一次！直到配置成正确的布局，基本上就完成啦。</p>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<p>以下是完整配置：</p>



<pre class="wp-block-preformatted">&lt;!-- Default action map for Direct Input -->
&lt;ActionMap name="betop_3168" device_type="{00060079-0000-0000-0000-504944564944}" priority="0">

  &lt;!-- In Game Actions -->
  &lt;Action id="Accelerate">
    &lt;Axis id="di_y_axis" type="biDirLower" deadzone="0.0" saturation="1.0" />
  &lt;/Action>
  &lt;Action id="Brake">
    &lt;Axis id="di_y_axis" type="biDirUpper" deadzone="0.0" saturation="1.0" />
  &lt;/Action>
  &lt;Action id="Clutch">
  &lt;/Action>
  &lt;Action id="Handbrake">
    &lt;Axis id="di_button_2" />
  &lt;/Action>
  &lt;Action id="Steer Left">
    &lt;Axis id="di_x_axis" type="biDirLower" deadzone="0.0" saturation="0.85" />
  &lt;/Action>
  &lt;Action id="Steer Right">
    &lt;Axis id="di_x_axis" type="biDirUpper" deadzone="0.0" saturation="0.85" />
  &lt;/Action>
  &lt;Action id="Change View">
    &lt;Axis id="di_button_5" />
  &lt;/Action>
  &lt;Action id="Gear Up">
    &lt;Axis id="di_button_0" />
  &lt;/Action>
  &lt;Action id="Gear Down">
    &lt;Axis id="di_button_1" />
  &lt;/Action>
  &lt;Action id="Look Left">
    &lt;Axis id="di_dpad_0_left" />
  &lt;/Action>
  &lt;Action id="Look Right">
    &lt;Axis id="di_dpad_0_right" />
  &lt;/Action>
  &lt;Action id="Look Up">
    &lt;Axis id="di_dpad_0_up" />
  &lt;/Action>
  &lt;Action id="Look Down">
    &lt;Axis id="di_dpad_0_down" />
  &lt;/Action>
  &lt;Action id="Look Back">
    &lt;Axis id="di_button_4" />
  &lt;/Action>
  &lt;Action id="Pause">
    &lt;Axis id="di_button_9" />
  &lt;/Action>
  &lt;Action id="Instant Replay">
    &lt;Axis id="di_button_1" />
  &lt;/Action>
  &lt;Action id="Horn">
  &lt;/Action>
  &lt;Action id="Reset Vehicle">
    &lt;Axis id="di_button_7" />
  &lt;/Action>
  &lt;Action id="Gear 1">
  &lt;/Action>
  &lt;Action id="Gear 2">
  &lt;/Action>
  &lt;Action id="Gear 3">
  &lt;/Action>
  &lt;Action id="Gear 4">
  &lt;/Action>
  &lt;Action id="Gear 5">
  &lt;/Action>
  &lt;Action id="Gear 6">
  &lt;/Action>
  &lt;Action id="Gear 7">
  &lt;/Action>
  &lt;Action id="Gear Reverse">
  &lt;/Action>
  &lt;Action id="Push To Speak">
  &lt;/Action>
  &lt;Action id="Headlights">
  &lt;/Action>
  &lt;Action id="Wipers">
  &lt;/Action>
  &lt;Action id="SeatMoveForward">
  &lt;/Action>
  &lt;Action id="SeatMoveBackward">
  &lt;/Action>
  &lt;Action id="SeatMoveUp">
  &lt;/Action>
  &lt;Action id="SeatMoveDown">
  &lt;/Action>
  &lt;Action id="SeatTiltUp">
  &lt;/Action>
  &lt;Action id="SeatTiltDown">
  &lt;/Action>
  &lt;Action id="SeatReset">
  &lt;/Action>

  &lt;!-- Menu Actions -->
  &lt;Action id="Menu Left">
    &lt;Axis id="di_dpad_0_left" />
  &lt;/Action>
  &lt;Action id="Menu Right">
    &lt;Axis id="di_dpad_0_right" />
  &lt;/Action>
  &lt;Action id="Menu Up">
    &lt;Axis id="di_dpad_0_up" />
  &lt;/Action>
  &lt;Action id="Menu Down">
    &lt;Axis id="di_dpad_0_down" />
  &lt;/Action>
  &lt;Action id="Menu Select">
    &lt;Axis id="di_button_3" />
  &lt;/Action>
  &lt;Action id="Menu Back">
    &lt;Axis id="di_button_2" />
  &lt;/Action>
  &lt;Action id="Menu Button3">
    &lt;Axis id="di_button_0" />
  &lt;/Action>
  &lt;Action id="Menu Button4">
    &lt;Axis id="di_button_1" />
  &lt;/Action>
  &lt;Action id="Menu Start Button">
    &lt;Axis id="di_button_9" />
  &lt;/Action>
  &lt;Action id="Menu Select Button">
    &lt;Axis id="di_button_8" />
  &lt;/Action>
  &lt;Action id="Menu Left Shoulder">
    &lt;Axis id="di_button_4" />
  &lt;/Action>
  &lt;Action id="Menu Right Shoulder">
    &lt;Axis id="di_button_5" />
  &lt;/Action>
  &lt;Action id="Fe View Tweak Left">
    &lt;Axis id="di_x_axis" type="biDirLower" deadzone="0.0" saturation="1.0" />
  &lt;/Action>
  &lt;Action id="Fe View Tweak Right">
    &lt;Axis id="di_x_axis" type="biDirUpper" deadzone="0.0" saturation="1.0" />
  &lt;/Action>
  &lt;Action id="Fe View Tweak Up">
  &lt;/Action>
  &lt;Action id="Fe View Tweak Down">
  &lt;/Action>
  &lt;Action id="Fe View Tweak In">
    &lt;Axis id="di_y_axis" type="biDirLower" deadzone="0.0" saturation="1.0" />
  &lt;/Action>
  &lt;Action id="Fe View Tweak Out">
    &lt;Axis id="di_x_axis" type="biDirUpper" deadzone="0.0" saturation="1.0" />
  &lt;/Action>

  &lt;!-- Replay Actions -->
  &lt;Action id="Replay Rewind">
    &lt;Axis id="di_y_axis" type="biDirUpper" deadzone="0.0" saturation="1.0" />
    &lt;Axis id="di_x_axis" type="biDirLower" deadzone="0.0" saturation="1.0" />
  &lt;/Action>
  &lt;Action id="Replay Fast Forward">
    &lt;Axis id="di_y_axis" type="biDirLower" deadzone="0.0" saturation="1.0" />
    &lt;Axis id="di_x_axis" type="biDirUpper" deadzone="0.0" saturation="1.0" />
  &lt;/Action>
  &lt;Action id="Replay Pause">
    &lt;Axis id="di_button_3" />
  &lt;/Action>
  &lt;Action id="Replay Next Camera">
    &lt;Axis id="di_button_5" />
  &lt;/Action>
  &lt;Action id="Replay Prev Camera">
    &lt;Axis id="di_button_4" />
  &lt;/Action>
  &lt;Action id="Replay Jump In">
  &lt;/Action>
  &lt;Action id="Replay Audio Mute">
    &lt;Axis id="di_button_6" />
  &lt;/Action>
  &lt;Action id="Replay Exit">
    &lt;Axis id="di_button_2" />
  &lt;/Action>
  &lt;Action id="Replay UI On Off">
    &lt;Axis id="di_button_8" />
  &lt;/Action>
  &lt;Action id="Replay Youtube">
  &lt;/Action>
  &lt;Action id="Youtube Drag Left">
  &lt;/Action>
  &lt;Action id="Youtube Drag Right">
  &lt;/Action>
  &lt;Action id="Youtube Speed Up">
  &lt;/Action>
  &lt;Action id="Youtube Speed Down">
  &lt;/Action>
  &lt;Action id="Youtube Upload">
  &lt;/Action>
  &lt;Action id="Youtube Exit">
  &lt;/Action>

  &lt;!-- Spectator actions -->
  &lt;Action id="Spectator Next Camera">
    &lt;Axis id="di_button_5" />
  &lt;/Action>
  &lt;Action id="Spectator Previous Camera">
    &lt;Axis id="di_button_4" />
  &lt;/Action>
  &lt;Action id="Spectator UI On Off">
    &lt;Axis id="di_button_8" />
  &lt;/Action>
  &lt;Action id="Spectator List On Off">
    &lt;Axis id="di_button_1" />
  &lt;/Action>
  &lt;Action id="Cycle Forward On Board Cameras">
    &lt;Axis id="di_button_4" />
  &lt;/Action>
  &lt;Action id="Activate Replay System">
    &lt;Axis id="di_button_5" />
  &lt;/Action>


&lt;/ActionMap></pre>
</div></div>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p>另外研究了一下如何能自动识别方向盘的方法，像罗技、图马斯特那种大厂产品一样。不过丑话说在前：实测自行配置会导致无法使用RaceNet线上功能、<strong>无法保存游戏</strong>等诸多游戏问题</p>



<p>Input文件夹下包含各种方向盘的配置文件，每个都打开看了一下，又发现了一些新的思路：所有的方向盘布局配置文件，实际上都链接在paths.xml文件下，调取对应的ActionMap参数识别方向盘布局，有点类似于网站的sitemap（毕竟都是XML）：</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://v1sta.xyz/wp-content/uploads/2023/09/image-2.png" data-lbwps-width="1044" data-lbwps-height="769" data-lbwps-srcsmall="https://v1sta.xyz/wp-content/uploads/2023/09/image-2-300x221.png"><img data-dominant-color="e3e3e3" data-has-transparency="true" style="--dominant-color: #e3e3e3;" loading="lazy" decoding="async" width="1024" height="754" sizes="auto, (max-width: 1024px) 100vw, 1024px" src="https://v1sta.xyz/wp-content/uploads/2023/09/image-2-1024x754.png" alt="" class="wp-image-1698 has-transparency" srcset="https://v1sta.xyz/wp-content/uploads/2023/09/image-2-1024x754.png 1024w, https://v1sta.xyz/wp-content/uploads/2023/09/image-2-300x221.png 300w, https://v1sta.xyz/wp-content/uploads/2023/09/image-2-768x566.png 768w, https://v1sta.xyz/wp-content/uploads/2023/09/image-2.png 1044w" /></a></figure>
</div>


<p>仅有文件超链接还不够，若要让方向盘能够即插即用，又不影响其他的手柄，便需要修改对应的ActionMap参数——device_type，而自动识别实际上就是基于device_type中的设备GUID实现的：</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://v1sta.xyz/wp-content/uploads/2023/09/image-3.png" data-lbwps-width="946" data-lbwps-height="706" data-lbwps-srcsmall="https://v1sta.xyz/wp-content/uploads/2023/09/image-3-300x224.png"><img data-dominant-color="f4f5f6" data-has-transparency="true" style="--dominant-color: #f4f5f6;" loading="lazy" decoding="async" width="946" height="706" sizes="auto, (max-width: 946px) 100vw, 946px" src="https://v1sta.xyz/wp-content/uploads/2023/09/image-3.png" alt="" class="wp-image-1699 has-transparency" srcset="https://v1sta.xyz/wp-content/uploads/2023/09/image-3.png 946w, https://v1sta.xyz/wp-content/uploads/2023/09/image-3-300x224.png 300w, https://v1sta.xyz/wp-content/uploads/2023/09/image-3-768x573.png 768w" /></a></figure>
</div>


<p>设备的GUID可以通过ditool获取。打开会出现一个命令行窗口，找到方向盘控制器的名称，下方的guidProduct便是游戏识别需要的设备ID：</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://v1sta.xyz/wp-content/uploads/2023/09/image-4.png" data-lbwps-width="454" data-lbwps-height="178" data-lbwps-srcsmall="https://v1sta.xyz/wp-content/uploads/2023/09/image-4-300x118.png"><img data-dominant-color="251e1e" data-has-transparency="true" style="--dominant-color: #251e1e;" loading="lazy" decoding="async" width="454" height="178" sizes="auto, (max-width: 454px) 100vw, 454px" src="https://v1sta.xyz/wp-content/uploads/2023/09/image-4.png" alt="" class="wp-image-1700 has-transparency" srcset="https://v1sta.xyz/wp-content/uploads/2023/09/image-4.png 454w, https://v1sta.xyz/wp-content/uploads/2023/09/image-4-300x118.png 300w" /></a></figure>
</div>


<p>ditool二进制exe可以通过sourceforge地址下载：<a href="https://sourceforge.net/projects/x360ce/files/ditool.zip/download">sourceforge.net/projects/x360ce/files/ditool.zip/download</a> </p>



<p>（参考：<a href="https://granitedevices.com/wiki/Simucube_product_USB_interface_documentation">granitedevices.com/wiki/Simucube_product_USB_interface_documentation</a>）</p>



<p>将guidProduct的值填入到device_type中，另存为新的xml文件。随后打开paths.xml文件，添加下面内链接代码：</p>



<pre class="wp-block-preformatted">&lt;xmlreader processor="Input" filename="input/betop_3168.xml"                      map="UPDATE" pool="UPDATE_TEMPORARY" userdata="presets" /></pre>



<p>再打开尘埃，设置控制器，便可以看到新的配置了：</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://v1sta.xyz/wp-content/uploads/2023/09/drt_AlSWvXzqqJ.jpg" data-lbwps-width="1920" data-lbwps-height="1200" data-lbwps-srcsmall="https://v1sta.xyz/wp-content/uploads/2023/09/drt_AlSWvXzqqJ-300x188.jpg"><img data-dominant-color="57494c" data-has-transparency="false" style="--dominant-color: #57494c;" loading="lazy" decoding="async" width="1024" height="640" sizes="auto, (max-width: 1024px) 100vw, 1024px" src="https://v1sta.xyz/wp-content/uploads/2023/09/drt_AlSWvXzqqJ-1024x640.jpg" alt="" class="wp-image-1701 not-transparent" srcset="https://v1sta.xyz/wp-content/uploads/2023/09/drt_AlSWvXzqqJ-1024x640.jpg 1024w, https://v1sta.xyz/wp-content/uploads/2023/09/drt_AlSWvXzqqJ-300x188.jpg 300w, https://v1sta.xyz/wp-content/uploads/2023/09/drt_AlSWvXzqqJ-768x480.jpg 768w, https://v1sta.xyz/wp-content/uploads/2023/09/drt_AlSWvXzqqJ-1536x960.jpg 1536w, https://v1sta.xyz/wp-content/uploads/2023/09/drt_AlSWvXzqqJ.jpg 1920w" /></a></figure>
</div>


<p>名称前缀的LNG好像有些奇怪，可能是没有i18n/mui翻译字符串之类的关系。还是要提醒一下：自行修改游戏文件会导致<strong>RaceNet以及游戏进度无法保存！</strong></p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p>如此一番设置以后，享受精细控制带来的驾驶乐趣吧！原本称之为“性能怪兽”的Group B组赛车，也能够轻松驾驭。</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://v1sta.xyz/wp-content/uploads/2023/09/wp-16951205628959063143075775729861.jpg" data-lbwps-width="3456" data-lbwps-height="4608" data-lbwps-srcsmall="https://v1sta.xyz/wp-content/uploads/2023/09/wp-16951205628959063143075775729861-225x300.jpg"><img data-dominant-color="876663" data-has-transparency="false" style="--dominant-color: #876663;" loading="lazy" decoding="async" width="768" height="1024" sizes="auto, (max-width: 768px) 100vw, 768px" src="https://v1sta.xyz/wp-content/uploads/2023/09/wp-16951205628959063143075775729861-768x1024.jpg" alt="" class="wp-image-1704 not-transparent" srcset="https://v1sta.xyz/wp-content/uploads/2023/09/wp-16951205628959063143075775729861-768x1024.jpg 768w, https://v1sta.xyz/wp-content/uploads/2023/09/wp-16951205628959063143075775729861-225x300.jpg 225w, https://v1sta.xyz/wp-content/uploads/2023/09/wp-16951205628959063143075775729861-1152x1536.jpg 1152w, https://v1sta.xyz/wp-content/uploads/2023/09/wp-16951205628959063143075775729861-1536x2048.jpg 1536w, https://v1sta.xyz/wp-content/uploads/2023/09/wp-16951205628959063143075775729861-scaled.jpg 1920w" /></a></figure>
</div>


<p>开着蓝旗亚Delta S4冲进第一名也非常容易，就像开斯巴鲁STI和奥迪Quattro一样，然而R4组的STI和三菱EVO X又感到慢了半拍，像是开前驱车一样，莫得灵魂，没有以前的驾驶乐趣了。这不是个游戏嘛？我是谁我在哪？（大雾）</p>



<p>下次研究一下怎么更完美地玩上《极限竞速：地平线》系列吧，实话说地平线的调教更偏向手柄。地平线默认好像不支持北通的方向盘，即使用的是x360ce映射也能感受到明显的延迟。</p>



<p>另外，两个方向拨片已经整坏了一个，本来绑定的也是默认A和B键的确认/手刹，看来还是把它们设置成肩键，老老实实用在欧卡转向灯上吧（逃）</p>

<p><a href="https://v1sta.xyz/gaming/betop-3168-dirt-rally/" rel="nofollow">来源</a></p>]]></content:encoded>
					
					<wfw:commentRss>https://v1sta.xyz/gaming/betop-3168-dirt-rally/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<enclosure url="https://v1sta.xyz/wp-content/uploads/2023/09/wp-16951205628959063143075775729861-scaled.jpg" length="304525" type="image/jpeg"/><media:content url="https://v1sta.xyz/wp-content/uploads/2023/09/wp-16951205628959063143075775729861-scaled.jpg" width="1920" height="2560" medium="image" type="image/jpeg"/>	</item>
	</channel>
</rss>
