Fable - The Lost Chapters

Fable - The Lost Chapters

LuxServus May 12, 2014 @ 5:49pm
Use Your Xbox 360 Controller To Play Fable TLC {May/May Not Work for WIreless]
I'm one of those who first played Fable on a console gaming system. When I found I had to use a mouse and keyboard for this Steam port of Fable TLC I was rather disappointed. But I did a little digging around and was introduced to the program GlovePIE. I know it's been around awhile, but I just never needed to use anything like this until now. (And yes I know GlovePIE is not being developed anymore, and yes I know there is also FreePIE. But FreePIE had very little support for how to use it, and I just found GlovePIE easier. To each his own...)

Anyway, I wrote my own script to allow me to use my Xbox 360 controller with Fable TLC. I only found one other script out there for Fable, but I wanted to write my own, and honestly I think my script was simpler... and I like simple.

PLEASE NOTE: I use a wired xbox 360 controller, and from all accounts it should work 90% of the time for a wired controller. But if you read the posts below you'll see that one user had issues using their wireless xbox 360 controller with the Microsoft adapter. Theoretically, it should work for any Xbox 360 controller. If you have a wireless controller you will just have to test and see if this process works for you or not. If you are using a wireless controller AND IT DOES WORK write a little post letting me know. Maybe if we get enough data we can figure out why it's not working for others.

So for any of you who, like me, wish to use your controller in Fable TLC, here's what you do:

1.) Download GlovePie from the official site[www.glovepie.org].

2.) Download my Fable_Controller_Script[dl.dropboxusercontent.com] file.

3.) Extract the GlovePie zip file into a new folder (name it GlovePIE) and save that folder to whatever directory you wish it to be in.

4.) Within that new folder (now titled GlovePIE), create another new folder (name it Xbox360ControllerScripts).

5.) Extract Fable_Controller_Script.zip into the Xbox360Scripts folder.

6.) Now open the FableXBOX360Controls.PIE file. It will ask you what program to use when opening this file type. Manually navigate to the GlovePIE folder you've created and choose the PIEFree.exe file. (IT WILL ASK FOR ADMINISTRATIVE PRIVILEGES).

7.) Once the program is open, just click the RUN button at the top of the program window.

*NOTE: Read the README before you use FableXBOX360Controls.PIE with Fable TLC for the first time. Some settings will need to be altered.

8.) Run Fable TLC


That's all you have to do to get started. After this point you will have to open the .PIE file and run it every time you wish to play fable, before you run the game. But there is another solution...

Fable/GlovePIE StartUp Shortcut

1.) Open up Notepad, WordPad, or whatever plain text editor you choose.

2.) Copy and Paste this into the document:

@Echo Off .\\PIEFree.exe -Xbox360ControllerScripts\FableXBOX360Controls /r:"[*****]" Echo Loading Fable: The Lost Chapters... Ping -n 1 -w 2000 1.1.1.1>nul Exit

3.) Replace the [*****] with the file address path to your Fable.exe file. (Usually it's in Program Files or Program Files (x86)/Steam/SteamApps/common/"Fable The Lost Chapters"/Fable.exe) Make sure to leave the Quotation Marks that surround [*****] .

4.) Save the file into the GlovePie folder you made earlier as FableStart.bat .

Now you can run the FableStart.bat file like any other program, including making a shortcut to the .bat file for your desktop. DO NOT MOVE THE .BAT FILE FROM WHERE YOU SAVED IT. IT WON'T WORK.

*NOTE: You will still have to give GlovePie Administrative Privileges every time you run the .bat file. It's a pain, but just how it is to retain a somewhat secure system.

I hope this works for all of you. If you have questions let me know. I'm not a pro coder, but if I can't help you someone else here might be able to. Good luck!!
Last edited by LuxServus; Jun 22, 2014 @ 12:12pm
< >
Showing 1-15 of 32 comments
The script for automatic launching from the bat has a mismatched path. To fix this, simply rename the folder for the x360 scripts to: Xbox360ControllerScripts and ensure that the Fable control script is directly in that folder, not in another sub-directory within it.

Other than that, appeared to work fine. All I have to do is fix my launch issues, which are completely unrelated to this script. Thankyou for your work on this good sir.
LuxServus Jun 1, 2014 @ 5:07pm 
Thanks for the heads up and the appreciation Ace! I've corrected the instructoins to match the BAT file. All should work as written now. (If not let me know!)
I spent the last 3 minutes typing out a somewhat rude note on an issue I was having with the controller script, and then I remembered that I'd changed the default keybindings for fable tlc the last time I played it. Saved myself a little embarrasment there. Also, this whole thing introduced me to GlovePIE, which I thank you for good sir. I've started using it and writing scripts for it, AWESOME tool.
LuxServus Jun 2, 2014 @ 10:38am 
Definitely make sure the Key Bindings in-game are as they should be (as stated in the README). That is the easiest thing to miss. I missed that a few times while I was testing the script! GlovePIE is definitely an awesome tool for many various applications! Have fun!
belwrath Jun 21, 2014 @ 11:06am 
For whatever reason, the sticks arent working. When I run it, it says
76: Invalid XInput XBox 360 Contoller value 81: Invalid XInput XBox 360 Contoller value 399: "THEN" expected 409: "THEN" expected
I have no idea how to use GlovePIE, as if i did, I wouldnt post this :P
Last edited by belwrath; Jun 21, 2014 @ 11:06am
I don't use glovepie for x360 scripts, but my guess is that you have a different controller than glovepie is written for. What type of controller are you using?
belwrath Jun 21, 2014 @ 3:57pm 
The 360 controller that came with my xbox. Its wireless, and I've got the M$ adapter.
LuxServus Jun 21, 2014 @ 4:29pm 
Hey belwrath, I rechecked the code on those lines it referenced (76, 81, 399, & 409) and it definitely shouldn't be giving you those errors. It sounds to me like something changed either in the process of your downloading or opening and running the program.

I would first suggest (if you haven't already) redownload the script I posted (Fable_Controller_Script[dl.dropboxusercontent.com]), open the file from GlovePIE (File>Open>...), then click the Run button. Then try using the controller in Fable again.

If that still doesn't work, then the best I can do is reupload the script I currently use, because there is probably something wrong with the currently downloadable one. From what I've read it shouldn't make a difference if it's a wired or wireless Xbox 360 controller, but I'm not completely sure. Are the buttons working even though the sticks aren't?
I can try run it again. I didn't get any errors when I've ran it before. Did you make sure your drivers for the controller are all up to date?
belwrath Jun 21, 2014 @ 6:38pm 
So I redownloaded it, and ran the script. Both by just double-clicking it and also by opening it from GlovePIE, both to no avail. I then redownloaded GlovePIE and the file again. Still to no avail.

Here are the actual lines I get with the download for the sticks that have the "errors"
//Left Stick [X\Y] var.LStickX = XInput.LeftStickX var.LStickY = XInput.LeftStickY //var.RightStick[X\Y] var.RStickX = XInput.RightStickX var.RStickY = XInput.RightStickY
For the sake of length, I removed the white space between each line.

And the other two errors (399* & 409**)
*if var.RSBCounter = 1 { var.MouseWheelUnit = 240; Mouse.DirectInputZ = var.MouseWheelUnit; } elseif var.RSBCounter = 2 { var.MouseWheelUnit = 600; Mouse.DirectInputZ = var.MouseWheelUnit; } elseif var.RSBCounter = 3; var.MouseWheelUnit = 0; Mouse.DirectInputZ = var.MouseWheelUnit; var.RSBCounter = 0; ** }

If its too much of a hassle, dont worry about it. I'll play with a keyboard. I only want the controller for nostalgias sake anyways lol.
Last edited by belwrath; Jun 21, 2014 @ 6:39pm
LuxServus Jun 21, 2014 @ 7:35pm 
Ok. All those code lines are syntactically correct. But here's one more thing you could try to test if you are recieving signal from your thumb sticks or not:

1.) Open up GlovePIE (just the program, not the script), you should see a blank input screen where the code should be

2.) type
debug=XInput.RightStickX

3.) click Run,

4.) then move the Right Stick [left or right]. There should be a text field at the top right showing you a number value between -1 & 1. If the number changes as you move the stick it means GlovePie is getting signal from the X plain of your Right Thumb Stick. If the value doen't change, then it, indeed, isn't working. To test the Y Axis just replace X with Y. And to test the Left Stick replace RightStick[X/Y] with LeftStick[X/Y].

You didn't tell me though; are the buttons working, or is it not responding to any input? I ask more out of curiosity. I use a wired controller, so I have no first hand knowledge of how the wireless works with this, though my research online seems to indicate they should work the same. And I'm very sorry it's not working well for you. "Tis the nature of free emulation I suppose. So many variables...
belwrath Jun 21, 2014 @ 8:16pm 
I did as you said, still the same error with no inputs. I typed it out and copied and pasted and got the same results.

I know the controller works as I have used the same controller for vehicles in Arma 2&3, Warthunder, and recently Euro Truck Sim plus countless games on the 360. And I could have sworn up and down that I said that xc. Yes, all other inputs are working. I can target, pause, attack, etc, ust not move. Apologies.

Maybe some other info? I downloaded that latest version of GlovePie .43, both with and without the Emotive thing, and have tried your instructions with both versions. I'm also using the latest (I believe) controller drivers, 1.2. Those are the only things I can really think that would interfere with this.
it honestly might be an issue with the fact that it's a wireless controller then. Most pc gamers use wired controllers, as the reciever is expensive. I don't know if you have a wired controller laying around, but maybe you might want to try the script on that.
LuxServus Jun 22, 2014 @ 12:23am 
Yep, if that's your driver version tha you are using current drivers, and EMotiv shouldn't affect your controller, so it must be that the wireless reciever translates the thumb sticks differently than a wired controller.

Ok... bear with me. Lets try one last thing:

Open GlovePie
Click the GUI tab
Click the Detect Output To Emulate
Move the right thumbstick to the right

Does it detect that you moved it and what does it say the Output Device is and also what control is highlighted in the list below that? Detecting is sometimes finiky, but it may work and give us the info we need. That's it... my last idea. I think. ;-)
Last edited by LuxServus; Jun 22, 2014 @ 12:23am
belwrath Jun 22, 2014 @ 11:25am 
I did as asked and there nothing came up. I then tried each individual button, again, nothing came up. So nothing from the dectect output thing.
< >
Showing 1-15 of 32 comments
Per page: 1530 50

Date Posted: May 12, 2014 @ 5:49pm
Posts: 32