Giter VIP home page Giter VIP logo

Comments (6)

Killface1980 avatar Killface1980 commented on May 28, 2024

Weird. Do your folders look like this? Maybe rename the folder to "scripts" (lower case)?

image
image

from dualsense4rockstar.

dmustimenko avatar dmustimenko commented on May 28, 2024

Correct, all these files are the same in my RDR2 folder. I also changed scripts folder to lower case but I still have the same problem - scripts has not been loaded.

from dualsense4rockstar.

Killface1980 avatar Killface1980 commented on May 28, 2024

[18:55:01] [INFO] Config loaded from D:\Rockstar Games\Red Dead Redemption 2\ScriptHookRDRDotNet.ini
[18:55:01] [DEBUG] Loading API from D:\Rockstar Games\Red Dead Redemption 2\ScriptHookRDRNetAPI.dll ...
[18:55:01] [DEBUG] API from D:\Rockstar Games\Red Dead Redemption 2\ScriptHookRDRNetAPI.dll loaded ...
[18:55:01] [DEBUG] Resolve handler removed
[18:55:02] [DEBUG] Loading scripts from D:\Rockstar Games\Red Dead Redemption 2\scripts\ ...
[18:55:02] [DEBUG] Loading assembly DSX_Base.dll ...
[18:55:02] [INFO] Found 0 script(s) in DSX_Base.dll.
[18:55:02] [DEBUG] Loading assembly DualSense4RDR2.dll ...
[18:55:02] [DEBUG] compatibleApi resolved ScriptHookRDRNetAPI, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null
[18:55:02] [INFO] Found 3 script(s) in DualSense4RDR2.dll resolved to API 2.0.0.
[18:55:02] [DEBUG] Loading assembly Newtonsoft.Json.dll ...
[18:55:02] [INFO] Found 0 script(s) in Newtonsoft.Json.dll.
[18:55:02] [DEBUG] Instantiating script DualSense4RDR2.add ...
[18:55:02] [INFO] Started script DualSense4RDR2.add.
[18:55:02] [DEBUG] Instantiating script DualSense4RDR2.LEDs_RDR2 ...
[18:55:02] [INFO] Started script DualSense4RDR2.LEDs_RDR2.
[18:55:02] [DEBUG] Instantiating script DualSense4RDR2.Main_RDR2 ...
[18:55:02] [INFO] Started script DualSense4RDR2.Main_RDR2.

The log is supposed to look like this. I have no info about IsManagedAssembly;
Are you using the SH v2 of the SHRDN together with the v2 version of the mod? I've added a link to the requirements of SHRDN v2 https://github.com/Halen84/ScriptHookRDR2DotNet-V2 can you check if you have everything installed? I guess the keys defined in ScriptHookRDRDotNet.ini Console/Reload F8/F9 (mine) don't work as well?

from dualsense4rockstar.

dmustimenko avatar dmustimenko commented on May 28, 2024

I'm sorry, my bad, I loaded files from https://github.com/Killface1980/DualSense4Rockstar/tree/master/__RELEASE/RDR2 directly as "Save link as ..." but it was not correct and files were saved invalid. I downloaded all git files and zip contains correct script files. Now scripts are loading. But I have one difference with your log file:
[11:54:19] [INFO] Config loaded from E:\Games\Red Dead Redemption 2\ScriptHookRDRDotNet.ini
[11:54:19] [DEBUG] Loading API from E:\Games\Red Dead Redemption 2\ScriptHookRDRNetAPI.dll ...
[11:54:19] [DEBUG] API from E:\Games\Red Dead Redemption 2\ScriptHookRDRNetAPI.dll loaded ...
[11:54:19] [DEBUG] Resolve handler removed
[11:54:19] [DEBUG] Loading scripts from E:\Games\Red Dead Redemption 2\scripts\ ...
[11:54:19] [DEBUG] Loading assembly DSX_Base.dll ...
[11:54:19] [INFO] Found 0 script(s) in DSX_Base.dll.
[11:54:19] [DEBUG] Loading assembly DualSense4RDR2.dll ...
[11:54:19] [DEBUG] compatibleApi resolved ScriptHookRDRNetAPI, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null
[11:54:19] [INFO] Found 2 script(s) in DualSense4RDR2.dll resolved to API 2.0.0.
[11:54:19] [DEBUG] Loading assembly Newtonsoft.Json.dll ...
[11:54:19] [INFO] Found 0 script(s) in Newtonsoft.Json.dll.
[11:54:19] [DEBUG] Instantiating script DualSense4RDR2.LEDs_RDR2 ...
[11:54:19] [INFO] Started script DualSense4RDR2.LEDs_RDR2.
[11:54:19] [DEBUG] Instantiating script DualSense4RDR2.Main_RDR2 ...
[11:54:19] [INFO] Started script DualSense4RDR2.Main_RDR2.

As you can see the following are absent:
[18:55:02] [DEBUG] Instantiating script DualSense4RDR2.add ...
[18:55:02] [INFO] Started script DualSense4RDR2.add.

is it critical?

from dualsense4rockstar.

Killface1980 avatar Killface1980 commented on May 28, 2024

Nope, I think the mod should be doing fine from now on.
The add() script was a remainder from development with no purpose. I removed it with one of the recent updates.

Hope you like the mod :-)

from dualsense4rockstar.

dmustimenko avatar dmustimenko commented on May 28, 2024

Yes, sure, your work is awesome! DualSense adaptive triggers are working great! Thank you!

from dualsense4rockstar.

Related Issues (20)

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.