Save & Load InputSystem Configuration

Forum Home Forum Home > Construct Classic > Construct Classic Discussion > Help & Support using Construct Classic
 Post Reply Post Reply
Author
683 Rep
Post Options Post Options   Quote superpowerjoe Quote  Post ReplyReply Direct Link To This Post Topic: Save & Load InputSystem Configuration
    Posted: 20 Jun 2012 at 12:10pm
I've been trying all day and cannot get this to work

i also tried exactly as it is in the InputSystem examples.

what i think happens, is that whenever it saves it just adds to the already existing text, and then loads the beginning of it and disregard the rest. i DID add the file delete action, so i dont know.

this is the same as the example

+ Button_Save: On Button_Save clicked
-> File: Delete file "InputSystem.cfg"
-> Binary: Write string InputSystem.GetControlConfigData
-> Binary: Save to file "InputSystem.cfg"


+ Button_Load: On Button_Load clicked
-> Binary: Open file "InputSystem.cfg"
-> InputSystem: Set control configuration data to Binary.ReadString
Back to Top
8,017 Rep
Post Options Post Options   Quote Jayjay Quote  Post ReplyReply Direct Link To This Post Posted: 26 Jun 2012 at 8:02pm
Hmm, maybe it won't overwrite because the program currently has it open? I've not toyed around with this plugin yet, so I'm not certain of anything else that could be blocking the edits.
Jayjay =]
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down