Giter VIP home page Giter VIP logo

dualsense4rockstar's People

Contributors

killface1980 avatar sijav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dualsense4rockstar's Issues

Can't get the mod to work

I've tried different versions of Script Hook RDR2 and ScriptHookRDR2DotNet V2, extracted them to the root folder of the game, and the mod in the folder "scripts", but I can't get it to work
What am I doing wrong?
The only thing I see is: "Could not find a part of the path 'C:\Temp\DualSenseX\DualSenseX_PortNumber.txt'."
And I really don't have that path, and neither does the file
Is there any way to create it, or maybe some dsx setting is responsible for this?

Here's the log from ScriptHookRDRDotNet.log

[22:16:10] [INFO] Config loaded from C:\Program Files\Games\RedDeadRedemption2\ScriptHookRDRDotNet.ini
[22:16:10] [DEBUG] Loading API from C:\Program Files\Games\RedDeadRedemption2\ScriptHookRDRNetAPI.dll ...
[22:16:10] [DEBUG] API from C:\Program Files\Games\RedDeadRedemption2\ScriptHookRDRNetAPI.dll loaded ...
[22:16:10] [DEBUG] Resolve handler removed
[22:16:11] [DEBUG] Loading scripts from C:\Program Files\Games\RedDeadRedemption2\scripts\ ...
[22:16:11] [DEBUG] Loading assembly DSX_Base.dll ...
[22:16:11] [INFO] Found 0 script(s) in DSX_Base.dll.
[22:16:11] [DEBUG] Loading assembly DualSense4RDR2.dll ...
[22:16:11] [DEBUG] compatibleApi resolved ScriptHookRDRNetAPI, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null
[22:16:11] [INFO] Found 2 script(s) in DualSense4RDR2.dll resolved to API 2.0.0.
[22:16:11] [DEBUG] Loading assembly Newtonsoft.Json.dll ...
[22:16:11] [INFO] Found 0 script(s) in Newtonsoft.Json.dll.
[22:16:11] [DEBUG] Instantiating script DualSense4RDR2.LEDs_RDR2 ...
[22:16:11] [INFO] Started script DualSense4RDR2.LEDs_RDR2.
[22:16:11] [DEBUG] Instantiating script DualSense4RDR2.Main_RDR2 ...
[22:16:11] [ERROR] Failed to instantiate script DualSense4RDR2.Main_RDR2 because constructor threw an exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Temp\DualSenseX\DualSenseX_PortNumber.txt'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)
at DSX_Base.Client.iO.Connect()
at DualSense4RDR2.Main_RDR2..ctor()
[22:16:11] [ERROR] Caught fatal unhandled exception:
System.Net.Sockets.SocketException (0x80004005): A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied
at System.Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes, IPEndPoint endPoint)
at DSX_Base.Client.iO.Send(Packet data)
at DualSense4RDR2.LEDs_RDR2.SendPacketRGB(Single red, Single green, Single blue)
at DualSense4RDR2.LEDs_RDR2.HandleLEDs()
at DualSense4RDR2.LEDs_RDR2.OnTick(Object sender, EventArgs e)
at RDR2DN.Script.MainLoop()
[22:16:11] [ERROR] The exception was thrown while executing the script DualSense4RDR2.LEDs_RDR2.
[22:16:11] [WARNING] Aborted script DualSense4RDR2.LEDs_RDR2.

Can't find native

Can't make it work. It's showing an error and crashing RDR2.

Logs:

// RDR 2 SCRIPT HOOK (build May 3 2022, v1.0.1436.31)
// (C) Alexander Blade 2019-2022
[17:46:41] INIT: Started
[17:46:41] INIT: Success, game version is VER_AUTO
[17:46:41] INIT: Registering script 'NativeTrainer.asi' (0x00007FFF1F57F620)
[17:46:41] INIT: Registering script 'ScriptHookRDRDotNet.asi' (0x00007FFF50D914B0)
[17:46:48] INIT: Pool 1 extended
[17:46:48] INIT: Pool 2 extended
[17:46:48] INIT: Pool 3 extended
[17:46:48] INIT: Pool 4 extended
[17:48:07] INIT: GtaThread collection size 331
[17:48:07] INIT: wnd proc 0x00000000FFFF01BF
[17:48:13] INIT: GtaThread collection is empty
[17:48:15] INIT: GtaThread collection size 331
[17:48:19] CORE: Requesting thread creation
[17:48:29] CORE: Creating threads
[17:48:29] CORE: Started control thread, id 52 active 1
[17:48:29] CORE: Started thread 'NativeTrainer.asi' (0x00007FFF1F57F620), id 53 active 1
[17:48:29] CORE: Started thread 'ScriptHookRDRDotNet.asi' (0x00007FFF50D914B0), id 54 active 1
[17:48:30] CORE: Launching main() for 'NativeTrainer.asi' (0x00007FFF1F57F620), id 53
[17:48:30] CORE: Launching main() for 'ScriptHookRDRDotNet.asi' (0x00007FFF50D914B0), id 54
[17:48:31] FATAL: Can't find native 0xA1253A3C870B6843
[17:49:03] UNINIT: Unregistering script 'ScriptHookRDRDotNet.asi'
[17:49:03] UNINIT: Unregistering script 'NativeTrainer.asi'

Possible issue when running mod but no dualsense connected/dsx running

I've done this several times with gta v and never had a problem but did today. The actual error and my scripthook log: https://imgur.com/a/vMbBPt7

[04:35:33] [DEBUG] Loading API from .\ScriptHookVDotNet2.dll ...
[04:35:33] [DEBUG] Loading API from .\ScriptHookVDotNet3.dll ...
[04:35:33] [DEBUG] Loading scripts from H:\Gta 1.58 work\scripts ...
[04:35:33] [DEBUG] Loading assembly Advanced Bodyguards.dll ...
[04:35:33] [INFO] Found 1 script(s) in Advanced Bodyguards.dll resolved to API 2.11.5.
[04:35:33] [DEBUG] Loading assembly AMLSNativeUI.dll ...
[04:35:33] [INFO] Found 1 script(s) in AMLSNativeUI.dll resolved to API 2.11.5.
[04:35:33] [DEBUG] Loading assembly DSX_Base.dll ...
[04:35:33] [INFO] Found 0 script(s) in DSX_Base.dll.
[04:35:33] [DEBUG] Loading assembly DualSense4GTAV.dll ...
[04:35:33] [INFO] Found 3 script(s) in DualSense4GTAV.dll resolved to API 3.5.1.
[04:35:33] [DEBUG] Loading assembly GangMod.dll ...
[04:35:33] [INFO] Found 17 script(s) in GangMod.dll resolved to API 2.11.5.
[04:35:33] [DEBUG] Loading assembly LemonUI.SHVDN3.dll ...
[04:35:33] [INFO] Found 0 script(s) in LemonUI.SHVDN3.dll.
[04:35:33] [DEBUG] Loading assembly Mission Maker.dll ...
[04:35:33] [INFO] Found 2 script(s) in Mission Maker.dll resolved to API 2.11.5.
[04:35:33] [DEBUG] Loading assembly NativeUI.dll ...
[04:35:33] [INFO] Found 1 script(s) in NativeUI.dll resolved to API 2.11.5.
[04:35:33] [DEBUG] Loading assembly NAudio.dll ...
[04:35:33] [INFO] Found 0 script(s) in NAudio.dll.
[04:35:33] [DEBUG] Loading assembly Newtonsoft.Json.dll ...
[04:35:33] [INFO] Found 0 script(s) in Newtonsoft.Json.dll.
[04:35:33] [DEBUG] Loading assembly passengermod.dll ...
[04:35:33] [INFO] Found 1 script(s) in passengermod.dll resolved to API 2.11.5.
[04:35:33] [DEBUG] Loading assembly RadarZoom.dll ...
[04:35:33] [WARNING] Resolving API version 0.0.0 referenced in RadarZoom.dll.
[04:35:33] [INFO] Found 1 script(s) in RadarZoom.dll resolved to API 2.11.5.
[04:35:33] [DEBUG] Instantiating script AdvancedBodyguards ...
[04:35:35] [INFO] Started script AdvancedBodyguards.
[04:35:35] [DEBUG] Instantiating script AMLSNativeUI.AMLSBigMessageThread ...
[04:35:35] [INFO] Started script AMLSNativeUI.AMLSBigMessageThread.
[04:35:35] [DEBUG] Instantiating script BetterPassengerMod.PassengerMod ...
[04:35:35] [INFO] Started script BetterPassengerMod.PassengerMod.
[04:35:35] [DEBUG] Instantiating script DualSense4GTAV.Main_GTAV ...
[04:35:35] [INFO] Started script DualSense4GTAV.Main_GTAV.
[04:35:35] [DEBUG] Instantiating script DualSense4GTAV.Main_LEDs.Main_LEDs ...
[04:35:35] [INFO] Started script DualSense4GTAV.Main_LEDs.Main_LEDs.
[04:35:35] [DEBUG] Instantiating script GangMod.GangBackup ...
[04:35:35] [INFO] Started script GangMod.GangBackup.
[04:35:35] [DEBUG] Instantiating script GangMod.GangBrawl ...
[04:35:35] [INFO] Started script GangMod.GangBrawl.
[04:35:35] [DEBUG] Instantiating script GangMod.GangDragHomie ...
[04:35:35] [INFO] Started script GangMod.GangDragHomie.
[04:35:35] [DEBUG] Instantiating script GangMod.GangDriveby ...
[04:35:35] [INFO] Started script GangMod.GangDriveby.
[04:35:35] [DEBUG] Instantiating script GangMod.GangEventDestroyVehicle ...
[04:35:35] [INFO] Started script GangMod.GangEventDestroyVehicle.
[04:35:35] [DEBUG] Instantiating script GangMod.GangEventDriveby ...
[04:35:35] [INFO] Started script GangMod.GangEventDriveby.
[04:35:35] [DEBUG] Instantiating script GangMod.GangEvents ...
[04:35:35] [INFO] Started script GangMod.GangEvents.
[04:35:35] [DEBUG] Instantiating script GangMod.GangEventStoreRobbery ...
[04:35:35] [INFO] Started script GangMod.GangEventStoreRobbery.
[04:35:35] [DEBUG] Instantiating script GangMod.GangHUD ...
[04:35:35] [INFO] Started script GangMod.GangHUD.
[04:35:35] [DEBUG] Instantiating script GangMod.GangInteraction ...
[04:35:35] [INFO] Started script GangMod.GangInteraction.
[04:35:35] [DEBUG] Instantiating script GangMod.GangModInteractionMenu ...
[04:35:35] [INFO] Started script GangMod.GangModInteractionMenu.
[04:35:35] [DEBUG] Instantiating script GangMod.GangRecruitMember ...
[04:35:35] [INFO] Started script GangMod.GangRecruitMember.
[04:35:35] [DEBUG] Instantiating script GangMod.GangRelationships ...
[04:35:35] [INFO] Started script GangMod.GangRelationships.
[04:35:35] [DEBUG] Instantiating script GangMod.GangSelector ...
[04:35:35] [INFO] Started script GangMod.GangSelector.
[04:35:35] [DEBUG] Instantiating script GangMod.GangWar ...
[04:35:35] [INFO] Started script GangMod.GangWar.
[04:35:35] [DEBUG] Instantiating script GangMod.Main ...
[04:35:35] [INFO] Started script GangMod.Main.
[04:35:35] [DEBUG] Instantiating script GangMod.Settings ...
[04:35:35] [INFO] Started script GangMod.Settings.
[04:35:35] [DEBUG] Instantiating script Mission_Maker11_10_20171 ...
[04:35:35] [INFO] Started script Mission_Maker11_10_20171.
[04:35:35] [DEBUG] Instantiating script Mission_Maker11_10_20171+RandomSpawnThread ...
[04:35:35] [INFO] Started script Mission_Maker11_10_20171+RandomSpawnThread.
[04:35:35] [DEBUG] Instantiating script NativeUI.BigMessageThread ...
[04:35:35] [INFO] Started script NativeUI.BigMessageThread.
[04:35:35] [DEBUG] Instantiating script RadarZoom ...
[04:35:35] [INFO] Started script RadarZoom.
[04:35:36] [DEBUG] Instantiating script DualSense4GTAV.add ...
[04:35:36] [INFO] Started script DualSense4GTAV.add.
[04:36:29] [ERROR] Caught fatal unhandled exception:
System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.ReceiveFrom(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint& remoteEP)
at System.Net.Sockets.UdpClient.Receive(IPEndPoint& remoteEP)
at DualSense4GTAV.iO.GetStat(Int32& bat, Boolean& isConnected)
at DualSense4GTAV.Main_LEDs.Main_LEDs.OnTick(Object sender, EventArgs e)
at SHVDN.Script.MainLoop()
[04:36:29] [ERROR] The exception was thrown while executing the script DualSense4GTAV.Main_LEDs.Main_LEDs.
[04:36:29] [WARNING] Aborted script DualSense4GTAV.Main_LEDs.Main_LEDs.

F10 not hiding "dsx not running but mod is installed"

I did have another mod bound to f10 but I deleted it. My scripthook log:

[04:47:07] [DEBUG] Loading API from .\ScriptHookVDotNet2.dll ...
[04:47:07] [DEBUG] Loading API from .\ScriptHookVDotNet3.dll ...
[04:47:07] [DEBUG] Loading scripts from H:\Grand Theft Auto V.Premium Edition.EGS-Rip 1.0.2699.0 1.61\GTAV\scripts ...
[04:47:07] [DEBUG] Loading assembly Advanced Bodyguards.dll ...
[04:47:07] [INFO] Found 1 script(s) in Advanced Bodyguards.dll resolved to API 2.11.5.
[04:47:07] [DEBUG] Loading assembly AMLSNativeUI.dll ...
[04:47:07] [INFO] Found 1 script(s) in AMLSNativeUI.dll resolved to API 2.11.5.
[04:47:07] [DEBUG] Loading assembly DSX_Base.dll ...
[04:47:07] [INFO] Found 0 script(s) in DSX_Base.dll.
[04:47:07] [DEBUG] Loading assembly DualSense4GTAV.dll ...
[04:47:07] [INFO] Found 3 script(s) in DualSense4GTAV.dll resolved to API 3.5.1.
[04:47:07] [DEBUG] Loading assembly GangMod.dll ...
[04:47:07] [INFO] Found 17 script(s) in GangMod.dll resolved to API 2.11.5.
[04:47:07] [DEBUG] Loading assembly LemonUI.SHVDN3.dll ...
[04:47:07] [INFO] Found 0 script(s) in LemonUI.SHVDN3.dll.
[04:47:07] [DEBUG] Loading assembly NativeUI.dll ...
[04:47:07] [INFO] Found 1 script(s) in NativeUI.dll resolved to API 2.11.5.
[04:47:07] [DEBUG] Loading assembly NAudio.dll ...
[04:47:07] [INFO] Found 0 script(s) in NAudio.dll.
[04:47:07] [DEBUG] Loading assembly Newtonsoft.Json.dll ...
[04:47:07] [INFO] Found 0 script(s) in Newtonsoft.Json.dll.
[04:47:07] [DEBUG] Loading assembly passengermod.dll ...
[04:47:07] [INFO] Found 1 script(s) in passengermod.dll resolved to API 2.11.5.
[04:47:07] [DEBUG] Instantiating script AdvancedBodyguards ...
[04:47:09] [INFO] Started script AdvancedBodyguards.
[04:47:09] [DEBUG] Instantiating script AMLSNativeUI.AMLSBigMessageThread ...
[04:47:09] [INFO] Started script AMLSNativeUI.AMLSBigMessageThread.
[04:47:09] [DEBUG] Instantiating script BetterPassengerMod.PassengerMod ...
[04:47:09] [INFO] Started script BetterPassengerMod.PassengerMod.
[04:47:09] [DEBUG] Instantiating script DualSense4GTAV.Main_GTAV ...
[04:47:09] [INFO] Started script DualSense4GTAV.Main_GTAV.
[04:47:09] [DEBUG] Instantiating script DualSense4GTAV.Main_LEDs.Main_LEDs ...
[04:47:09] [INFO] Started script DualSense4GTAV.Main_LEDs.Main_LEDs.
[04:47:09] [DEBUG] Instantiating script GangMod.GangBackup ...
[04:47:09] [INFO] Started script GangMod.GangBackup.
[04:47:09] [DEBUG] Instantiating script GangMod.GangBrawl ...
[04:47:09] [INFO] Started script GangMod.GangBrawl.
[04:47:09] [DEBUG] Instantiating script GangMod.GangDragHomie ...
[04:47:09] [INFO] Started script GangMod.GangDragHomie.
[04:47:09] [DEBUG] Instantiating script GangMod.GangDriveby ...
[04:47:09] [INFO] Started script GangMod.GangDriveby.
[04:47:09] [DEBUG] Instantiating script GangMod.GangEventDestroyVehicle ...
[04:47:09] [INFO] Started script GangMod.GangEventDestroyVehicle.
[04:47:09] [DEBUG] Instantiating script GangMod.GangEventDriveby ...
[04:47:09] [INFO] Started script GangMod.GangEventDriveby.
[04:47:09] [DEBUG] Instantiating script GangMod.GangEvents ...
[04:47:09] [INFO] Started script GangMod.GangEvents.
[04:47:09] [DEBUG] Instantiating script GangMod.GangEventStoreRobbery ...
[04:47:09] [INFO] Started script GangMod.GangEventStoreRobbery.
[04:47:09] [DEBUG] Instantiating script GangMod.GangHUD ...
[04:47:09] [INFO] Started script GangMod.GangHUD.
[04:47:09] [DEBUG] Instantiating script GangMod.GangInteraction ...
[04:47:09] [INFO] Started script GangMod.GangInteraction.
[04:47:09] [DEBUG] Instantiating script GangMod.GangModInteractionMenu ...
[04:47:09] [INFO] Started script GangMod.GangModInteractionMenu.
[04:47:09] [DEBUG] Instantiating script GangMod.GangRecruitMember ...
[04:47:09] [INFO] Started script GangMod.GangRecruitMember.
[04:47:09] [DEBUG] Instantiating script GangMod.GangRelationships ...
[04:47:09] [INFO] Started script GangMod.GangRelationships.
[04:47:09] [DEBUG] Instantiating script GangMod.GangSelector ...
[04:47:09] [INFO] Started script GangMod.GangSelector.
[04:47:09] [DEBUG] Instantiating script GangMod.GangWar ...
[04:47:09] [INFO] Started script GangMod.GangWar.
[04:47:09] [DEBUG] Instantiating script GangMod.Main ...
[04:47:09] [INFO] Started script GangMod.Main.
[04:47:09] [DEBUG] Instantiating script GangMod.Settings ...
[04:47:09] [INFO] Started script GangMod.Settings.
[04:47:09] [DEBUG] Instantiating script NativeUI.BigMessageThread ...
[04:47:09] [INFO] Started script NativeUI.BigMessageThread.
[04:47:09] [DEBUG] Instantiating script DualSense4GTAV.add ...
[04:47:09] [INFO] Started script DualSense4GTAV.add.

GTAV: Leds not working (scripts didn't start due to exception)

Adaptive triggers do seem to be working, but leds script won't due to wrong string format.

SHVDN log:
[INFO] Started script DualSense4GTAV.add.
[ERROR] Caught fatal unhandled exception:
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Convert.ToInt32(String value)
at DualSense4GTAV.iO.Connect()
at DualSense4GTAV.iO.GetStat(Int32& bat, Boolean& isConnected)
at DualSense4GTAV.LEDs_GTAV.OnTick(Object sender, EventArgs e)
at SHVDN.Script.DoTick()
[ERROR] The exception was thrown while executing the script DualSense4GTAV.LEDs_GTAV.
[WARNING] Aborted script DualSense4GTAV.LEDs_GTAV.
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort()
at SHVDN.Script.Abort()
at SHVDN.Script.DoTick()
at SHVDN.Script.MainLoop()
[ERROR] Caught fatal unhandled exception:
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Convert.ToInt32(String value)
at DualSense4GTAV.add.Connect()
at DualSense4GTAV.add.onTick(Object sender, EventArgs e)
at SHVDN.Script.DoTick()
[ERROR] The exception was thrown while executing the script DualSense4GTAV.add.
[WARNING] Aborted script DualSense4GTAV.add.
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort()
at SHVDN.Script.Abort()
at SHVDN.Script.DoTick()
at SHVDN.Script.MainLoop()
[ERROR] Caught unhandled exception:
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Convert.ToInt32(String value)
at DualSense4GTAV.iO.Connect()
at DualSense4GTAV.iO.GetStat(Int32& bat, Boolean& isConnected)
at DualSense4GTAV.Config.ControllerConfig.OnKeyDown(Object sender, KeyEventArgs e)
at SHVDN.Script.DoTick()
[ERROR] The exception was thrown while executing the script DualSense4GTAV.Main_GTAV.

lock fps during use dualsense

Hello, when connected dualsense fps locked at 40, if during the game disable dualsense, fps becomes 130. Lowering settings doesn't help. dsx steam
Help please
изображение

изображение

Mod triggers don't work GTA V

Hello, good evening, can someone help me please? I acquired the dsx through steam just to enable the adaptive triggers with mod in gta v, until 1 month ago they worked, but now the triggers don't work anymore, and I already left everything updated script hook v, I downloaded and uninstalled everything from the game, until the dsx I uninstalled and installed again, but the error continues, can you fix or update? I bought the program just for this reason and I can't use it anymore :(

in the game the error says that I don't have the folder: 'C:\Temp\DualSenseX\DualSenseX_PortNumber.txt'

and really this folder does not exist, is there an error with the dsx steam itself?

dsx error

Input string was not in a correct format

Mod works! I'm getting haptic feedback, but for some reason the menu does not work. When I hit the function key, I get the following:

[17:03:31] [DEBUG] Loading API from .\ScriptHookVDotNet2.dll ...
[17:03:31] [DEBUG] Loading API from .\ScriptHookVDotNet3.dll ...
[17:03:31] [DEBUG] Loading scripts from C:\Program Files\Epic Games\GTAV\scripts ...
[17:03:32] [DEBUG] Loading assembly DSX_Base.dll ...
[17:03:32] [INFO] Found 0 script(s) in DSX_Base.dll.
[17:03:32] [DEBUG] Loading assembly DualSense4GTAV.dll ...
[17:03:32] [INFO] Found 3 script(s) in DualSense4GTAV.dll resolved to API 3.6.0.
[17:03:32] [DEBUG] Loading assembly LemonUI.SHVDN3.dll ...
[17:03:32] [INFO] Found 0 script(s) in LemonUI.SHVDN3.dll.
[17:03:32] [DEBUG] Loading assembly Newtonsoft.Json.dll ...
[17:03:32] [INFO] Found 0 script(s) in Newtonsoft.Json.dll.
[17:03:32] [DEBUG] Instantiating script DualSense4GTAV.LEDs_GTAV ...
[17:03:32] [INFO] Started script DualSense4GTAV.LEDs_GTAV.
[17:03:32] [DEBUG] Instantiating script DualSense4GTAV.Main_GTAV ...
[17:03:34] [INFO] Started script DualSense4GTAV.Main_GTAV.
[17:03:34] [DEBUG] Instantiating script DualSense4GTAV.add ...
[17:03:34] [INFO] Started script DualSense4GTAV.add.
[17:03:34] [ERROR] Caught fatal unhandled exception:
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Convert.ToInt32(String value)
at DualSense4GTAV.iO.Connect()
at DualSense4GTAV.iO.GetStat(Int32& bat, Boolean& isConnected)
at DualSense4GTAV.LEDs_GTAV.OnTick(Object sender, EventArgs e)
at SHVDN.Script.DoTick()
[17:03:34] [ERROR] The exception was thrown while executing the script DualSense4GTAV.LEDs_GTAV.
[17:03:34] [WARNING] Aborted script DualSense4GTAV.LEDs_GTAV.
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort()
at SHVDN.Script.Abort()
at SHVDN.Script.DoTick()
at SHVDN.Script.MainLoop()
[17:03:34] [ERROR] Caught fatal unhandled exception:
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Convert.ToInt32(String value)
at DualSense4GTAV.add.Connect()
at DualSense4GTAV.add.onTick(Object sender, EventArgs e)
at SHVDN.Script.DoTick()
[17:03:34] [ERROR] The exception was thrown while executing the script DualSense4GTAV.add.
[17:03:34] [WARNING] Aborted script DualSense4GTAV.add.
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort()
at SHVDN.Script.Abort()
at SHVDN.Script.DoTick()
at SHVDN.Script.MainLoop()

Honestly debatable whether troubleshooting is worth the time, so no rush. I'm having fun with the mod, I'm just stubborn and curious. Thanks in advance for taking a look.

Unclear instructions

I have absolutely no idea how I am meant to download this mod or which files to put where. Help would be appreciated as I cannot find any online.

PS: I am tying to play RDR2 and have it on the rockstar launcher

Feature request: vehicle RPM emulation with triggers.

Currently, the vehicle triggers will only emulate gearbox changes and while that is nice it would be really cool if you could implement a form of RPM emulation where you can feel the speed of the car in the appropriate trigger.

HERE is a link for a mod for the game cyberpunk 2077 which does this. Basically you can feel the speed of the car/bike or any motor in the right or left trigger.

Would be really cool and help alot with immersion if you could implement this.

RDR crash after apply the ScriptHookRDR2DotNet v2 by TuffyTown

Hi, can you help me with this problem?
For me it's not working, after i apply all the files, and enter the game, it's crashing on loading screen.
If i delete the ScriptHookRDR2DotNetv2 files the game is loading and is working with RDR 2 PlayStation Icons Replacement and NativeTrainer.
Am I missing something?
Thank You!

Game crash if Lenny Mod Loader is used

The Mod works great if LML is not used in combination with this mod. Every time i use both for exemple the Dualsense Buttons mod and this the game crash.
Is there a solution for this?
Thank you!

Crash after firing gun

I had a little oopsie, uninstalled scriphook. Reinstalled it, yes v2, yes latest versions. Now every time i fire a gun my game freezes. And then i have to restart.

Help please

Hello, first of all I must say that I am using Google translate to write this message. Im sorry :/

It's my first time installing mods.
I can't get my adaptive triggers to work. I've followed all the steps to install the mod and I can't see what I'm doing wrong. I leave some captures of my F8.

Log1
Log2
log3

And here is my RDR2 folder and logs

Folderandlogs

Thanks in advance!

Instruction's unclear?

so I have never had to do anything like this to get a controller working so bare with me. I have download script hook that's fine and working both if them I'm sure of it as well as asi loader, but there is no script file any where? so create one yea... but where? in the root folder? then do I put your ddl file in there or do I put script hook ddl in there because I'm sure script hook is definitely supposed to be in the root folder? also it dose not seem to matter where I put your files no change in triggers or led at any point? also i assume DSX is meant to be open right? because if its not reddead don't read the controller and on it just keeps my default settings so what the hell am supposed to do?

Can anyone help me what shall I do to fix this issue?

image
image

So I have downloaded all the recommended files, copied them.
I was unable to find the C://Temp folder, so I have created the whole structure manually and there's an empty file created in it with required name and is linked to DSX as well.

But, I'm still getting this error, any idea how can I fix this?

I have attached image for the reference as well.

Do not load scripts from ./Scripts folder

I have the following logs:
[23:16:17] [INFO] Config loaded from E:\Games\Red Dead Redemption 2\ScriptHookRDRDotNet.ini
[23:16:17] [DEBUG] Loading API from E:\Games\Red Dead Redemption 2\ScriptHookRDRNetAPI.dll ...
[23:16:17] [DEBUG] API from E:\Games\Red Dead Redemption 2\ScriptHookRDRNetAPI.dll loaded ...
[23:16:17] [DEBUG] Resolve handler removed
[23:16:17] [DEBUG] Loading scripts from E:\Games\Red Dead Redemption 2\scripts\ ...
But that is all. I think it should loaded scripts from DSX_Base.dll, DualSense4RDR2.dll and Newtonsoft.Json.dll. But nothing.
I debug solution with ScriptHookRDRDotNet and found that static bool IsManagedAssembly(string filename) return false for those assemblies. Do you know why scripts were not loaded?

Does not work. Help me please!

I did everything as in the instructions, the folders correspond to your example and do not work, what could be the problem? Help me please.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.