Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to bind an action to loading a file on demand #117

Closed
jacobdufault opened this issue Oct 29, 2020 · 6 comments
Closed

Unable to bind an action to loading a file on demand #117

jacobdufault opened this issue Oct 29, 2020 · 6 comments

Comments

@jacobdufault
Copy link

The readme uses this example as a valid command:

HOME = "GTA_driving.txt"

However, when entering it on version 2.0.3 I get this error

Error: "GTA_driving.txt" is not a valid command
Error in entering the command. Enter README to bring up the user manual.

Thanks for all the hard work on this project - it overall works really well.

@JibbSmart
Copy link
Owner

Thanks for the feedback :) Just to be sure, do you have a file called "GTA_driving.txt" in the same folder as JoyShockMapper.exe?

@jacobdufault
Copy link
Author

Creating one does not seem to make a difference. I was trying to look through the code and my best guess is that this regex is rejecting it, but I didn't test/debug further than that.

@JibbSmart
Copy link
Owner

Hmm... that's weird. Here's what happens when I do it on 2.0.3:
image

@jacobdufault
Copy link
Author

That is strange. I tried passing an absolute path, opening JSM via command prompt, and also opening as admin but none made a difference.

image

@jacobdufault
Copy link
Author

Ah, found the mistake. I was creating a file named "GTA_driving.txt.txt". Sorry about that!

@jacobdufault
Copy link
Author

jacobdufault commented Oct 29, 2020

(though it'd be great if the error message indicated the file could not be found instead of just invalid command)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants