Matthew-J-Green / dv-loco-analogue-control-mod

Derail Valley mod for analogue control in locomotives
MIT License
5 stars 2 forks source link

Mod is not working #7

Open Triscus opened 4 years ago

Triscus commented 4 years ago

Hello, I need some advice (or found a bug, not sure) I connected a X-55 HOTAS and can't get the mod running.

I recently started to play and its the first and only mod I installed. Don't know if I am got the correct Axis-Names in the config file. I would be thankful for any advice.

Here an exerpt of the config.json:


{
  "Throttle": {
    "AxisName": "Z-Achse",
    "FullRange": false,
    "Scaling": 1.0,
    "DeadZoneCentral": 0.0,
    "DeadZoneEnds": 0.0,
    "Debug": true
  },
  "Reverser": {
    "AxisName": "",
    "FullRange": false,
    "Scaling": 1.0,
    "DeadZoneCentral": 0.0,
    "DeadZoneEnds": 0.0,
    "Debug": false
  },
  "TrainBrake": {
    "AxisName": "X-Achse",
    "FullRange": 1,
    "Scaling": 1.0,
    "DeadZoneCentral": 0.0,
    "DeadZoneEnds": 0.0,
    "Debug": false
  },

  "Whistle": {
    "AxisName": "",
    "FullRange": false,
    "Scaling": 1.0,
    "DeadZoneCentral": 0.0,
    "DeadZoneEnds": 0.0,
    "Debug": false
  }
}

And there is also an error regarding den SandValve-Function. Heres the first part of my Logfile:

Mono path[0] = 'F:/Program Files (x86)/Steam/steamapps/common/Derail Valley/DerailValley_Data/Managed'
Mono config path = 'F:/Program Files (x86)/Steam/steamapps/common/Derail Valley/MonoBleedingEdge/etc'
Initialize engine version: 2019.2.21f1 (9d528d026557)
[XR] Discovering subsystems at path F:/Program Files (x86)/Steam/steamapps/common/Derail Valley/DerailValley_Data/UnitySubsystems
GfxDevice: creating device client; threaded=1
Direct3D:
    Version:  Direct3D 11.0 [level 11.1]
    Renderer: NVIDIA GeForce GTX 1060 6GB (ID=0x1c03)
    Vendor:   
    VRAM:     6052 MB
    Driver:   27.21.14.5206
Begin MonoManager ReloadAssembly

[Manager] Injection...
[Manager] Initialize.
[Manager] Version: 0.22.13.0.
[Manager] OS: Microsoft Windows NT 10.0.18363.0 AMD64.
[Manager] Net Framework: 4.0.30319.42000.
[Manager] Unity Engine: 2019.2.211.
[Manager] Game: Derail Valley.
[Manager] Mods path: F:\Program Files (x86)\Steam\steamapps\common\Derail Valley\Mods.
Fallback handler could not load library F:/Program Files (x86)/Steam/steamapps/common/Derail Valley/DerailValley_Data/Mono/data-0000022BF900C060.dll
Fallback handler could not load library F:/Program Files (x86)/Steam/steamapps/common/Derail Valley/DerailValley_Data/Mono/data-0000022BF8C471C0.dll
[Manager] Injection successful.
- Completed reload, in  2.786 seconds
<RI> Initializing input.

<RI> Input initialized.

<RI> Initialized touch support.

The referenced script on this Behaviour (Game Object '[init]') is missing!

(Filename: C:\buildslave\unity\build\Runtime/Mono/ManagedMonoBehaviourRef.cpp Line: 334)

UnloadTime: 74.387100 ms
Initializing console

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Creating AppQuitWatcher singleton instance '[AppQuitWatcher]' automatically

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Build version: 88
Build destination: steam
Build GUID: 467b645bc30e1164bbfc9419173d2bbf
App version: 0.88
App identifier: 
Build tags: 
OS: Windows 10  (10.0.0) 64bit
CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
CPU freq: 4008
RAM: 16328
GPU: NVIDIA GeForce GTX 1060 6GB
GPU vendor: NVIDIA
GPU memory: 6052
Timestamp: 2020-11-15 17:24:00 UTC

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Command line args:
F:\Program Files (x86)\Steam\steamapps\common\Derail Valley\DerailValley.exe
-nonvr

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[bootstrap] Non-VR mode requested

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[bootstrap] Skipping entitlement check, starting game

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[Manager] Parsing mods.
[Manager] Reading file 'F:\Program Files (x86)\Steam\steamapps\common\Derail Valley\Mods\LocoAnalogueControlMod\Info.json'.
[Manager] Sorting mods.
[Manager] Loading mods.
[LocoAnalogueControlMod] Version '1.1.2'. Loading.
[LocoAnalogueControlMod] Loading F:\Program Files (x86)\Steam\steamapps\common\Derail Valley\Mods\LocoAnalogueControlMod\config.json
[LocoAnalogueControlMod] Active.
[LocoAnalogueControlMod] Loading time 1.03 s.
[Manager] FINISH. SUCCESSFUL LOADED 1/1 MODS.

[Manager] Spawning.
[Manager] Checking updates.
[LocoAnalogueControlMod] [Exception] OnUpdate: MissingMethodException - void LocoControllerSteam.SetSanderValve(single)
System.MissingMethodException: void LocoControllerSteam.SetSanderValve(single)
  at UnityModManagerNet.UnityModManager+UI.Update () [0x00055] in <ce28040a160e40178a59c28c9cca8e5b>:0 
WARNING: Shader Unsupported: 'Hidden/PostProcessing/Uber' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'Hidden/PostProcessing/Uber' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'Hidden/PostProcessing/FinalPass' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'Hidden/PostProcessing/FinalPass' - Pass '' has no vertex shader
Unloading 6 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 0.189800 ms
Wrote game preferences configuration: F:\Program Files (x86)\Steam\steamapps\common\Derail Valley\DerailValley_Data\SaveGameData\GamePreferences.ini

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Wrote key bindings configuration: F:\Program Files (x86)\Steam\steamapps\common\Derail Valley\DerailValley_Data\SaveGameData\GamePreferences.ini

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[MemoryMonitoring] free: 11023628 KB, total: 20652404 KB

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

creating player

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Unloading 58 unused Assets to reduce memory usage. Loaded Objects now: 30361.
Total: 57.203100 ms (FindLiveObjects: 1.188400 ms CreateObjectMapping: 0.432800 ms MarkObjects: 55.282200 ms  DeleteObjects: 0.299000 ms)

Creating LoadingScreenManager singleton instance '[LoadingScreenManager]' automatically

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[LocoAnalogueControlMod] [Exception] OnUpdate: MissingMethodException - void LocoControllerSteam.SetSanderValve(single)
System.MissingMethodException: void LocoControllerSteam.SetSanderValve(single)
  at UnityModManagerNet.UnityModManager+UI.Update () [0x00055] in <ce28040a160e40178a59c28c9cca8e5b>:0 
[LocoAnalogueControlMod] [Exception] OnUpdate: MissingMethodException - void LocoControllerSteam.SetSanderValve(single)
System.MissingMethodException: void LocoControllerSteam.SetSanderValve(single)
  at UnityModManagerNet.UnityModManager+UI.Update () [0x00055] in <ce28040a160e40178a59c28c9cca8e5b>:0 
loading savegame

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[LocoAnalogueControlMod] [Exception] OnUpdate: MissingMethodException - void LocoControllerSteam.SetSanderValve(single)
System.MissingMethodException: void LocoControllerSteam.SetSanderValve(single)
  at UnityModManagerNet.UnityModManager+UI.Update () [0x00055] in <ce28040a160e40178a59c28c9cca8e5b>:0 
Savegame loaded successfully

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Loaded player position: (13916.6, 114.8, 3627.5)

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

initializing vegetation

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[LocoAnalogueControlMod] [Exception] OnUpdate: MissingMethodException - void LocoControllerSteam.SetSanderValve(single)
System.MissingMethodException: void LocoControllerSteam.SetSanderValve(single)
  at UnityModManagerNet.UnityModManager+UI.Update () [0x00055] in <ce28040a160e40178a59c28c9cca8e5b>:0 
loading terrain

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[LocoAnalogueControlMod] [Exception] OnUpdate: MissingMethodException - void LocoControllerSteam.SetSanderValve(single)
System.MissingMethodException: void LocoControllerSteam.SetSanderValve(single)
  at UnityModManagerNet.UnityModManager+UI.Update () [0x00055] in <ce28040a160e40178a59c28c9cca8e5b>:0 
WARNING: Shader Unsupported: 'Hidden/Nature/Terrain/Utilities' - All passes removed
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
ERROR: Shader Shader is not supported on this GPU (none of subshaders/fallbacks are suitable)WARNING: Shader Unsupported: 'Hidden/Nature/Terrain/Utilities' - Setting to default shader.
[LocoAnalogueControlMod] [Exception] OnUpdate: MissingMethodException - void LocoControllerSteam.SetSanderValve(single)
System.MissingMethodException: void LocoControllerSteam.SetSanderValve(single)
  at UnityModManagerNet.UnityModManager+UI.Update () [0x00055] in <ce28040a160e40178a59c28c9cca8e5b>:0 
Waiting for TerrainGrid to load terrains

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[LocoAnalogueControlMod] [Exception] OnUpdate: MissingMethodException - void LocoControllerSteam.SetSanderValve(single)
System.MissingMethodException: void LocoControllerSteam.SetSanderValve(single)
  at UnityModManagerNet.UnityModManager+UI.Update () [0x00055] in <ce28040a160e40178a59c28c9cca8e5b>:0 
[LocoAnalogueControlMod] [Exception] OnUpdate: MissingMethodException - void LocoControllerSteam.SetSanderValve(single)

(error repeats many times)

`
rcambrj commented 3 years ago

It used to be that the update sander line could be commented and the mod would work flawlessly.

But that's no longer the case :( there's another error.