Fable Window Mode Hook [message #33167] |
Tue, 30 October 2007 06:12 |
Wiccaan
Messages: 5 Registered: October 2007 Location: 127.0.0.1
|
|
|
|
Hey all, a friend of mine has just recently got me playing Fable as something to do and hack. Been working on a tool that I have yet to be seen done surprisingly after noticing how much of an active community this game has with modding and such.
I have attempted the basics when it comes to getting the game to run in a window at first to be sure my time wouldn't be wasted working on this project The basics would include:
- Hitting ALT+Enter when in game.
- Using command line arguments (-win -window -w -console -dev etc.)
- Altering configuration files.
- Altering save game files.
And so on. None of which seemed to work for this game so yea.. I created this project.
Currently this is just a work-in-progress thing to become something a little bigger if I have the time to keep putting work into it. But yea, basically all it does right now is allows you to play Fable in a window.
As of this post, I have it setup to allow you to configure:
- Window size at launch.
- Window location at launch.
- Enable or disable window border. (Better to have it on.)
- Use hardware mouse. (I suggest not using this.)
A screenshot of proof:
I figured I'd share it here as this seems to be the most active community for Fable according to Google Currently, I don't have a public release ready but should be done within the day or so. I want to make sure all the bugs are out and make sure its fully working for public release.
Known bugs / issues as of now:
- Mouse is locked to window. This is due to the fact the mouse is used in game. Removing the mouse from being hooked causes issues and the mouse does not properly align with the in-game mouse. It's better to leave this the way it is.
- The mouse is not always free'd correctly when you alt+tab away from the game. Simply clicking anywhere on the screen brings it back though.
- You cannot move the window or minimize/maximize it (easily) due to the mouse being rehooked as soon as the window regains focus. When the window has focus you also cannot grab the window and move it because it cannot leave the inner rect.
Some things to note:
- You can safely readjust your resolution while in game. It will not effect the overall window size, but instead, it will adjust the in-game GUI only to fit the current window resolution.
- The loader loads the settings.ini file when its launched, and saves it when you click Launch before launching the game. So you can easily edit the settings before running the game.
Any issues just contact me, I will check this thread every now and then. Requests are fine too, although I can't guarantee anything. (At this time, this is remaining closed source. I plan to add more to it for other things. Might release the source later on though.)
Enjoy!
- Wiccaan
edit: *Sticky* - BlueTooth
-
Attachment: FableHook.rar
(Size: 156.93KB, Downloaded 14469 times)
[Updated on: Tue, 30 October 2007 14:20] by Moderator Report message to a moderator
|
|
|
|
|
Re: Fable Window Mode Hook [message #33170 is a reply to message #33168] |
Tue, 30 October 2007 08:11 |
Wiccaan
Messages: 5 Registered: October 2007 Location: 127.0.0.1
|
|
|
|
JohnDoe wrote on Tue, 30 October 2007 09:59 | Please don't be discouraged, but I think some us don't mind Alt+Tab, and the rest of us use this thing.
But if you can make one with a less confusing interface, something that anyone can easily understand, it'll be a winner.
|
3DAnylzer isn't the best method to do things as it's an emulation of something you don't have. (And their window mode hook is far from... well.. good.) I have used 3DAnalyzer on my laptop for a few games due to the crappy gfx card it has, and have used their window mode hook and can't say I'm impressed by it.
This project on the other handle will eliminate the need for using 3DAnaylzer to run the game in a window Alt+Tab works, it just has a bug or two that needs to be worked out.
I have a release almost ready for public testing as well
|
|
|
|
Re: Fable Window Mode Hook [message #33172 is a reply to message #33167] |
Tue, 30 October 2007 08:48 |
Wiccaan
Messages: 5 Registered: October 2007 Location: 127.0.0.1
|
|
|
|
Making some progress with the bugs and such as I want to try to fix everything before releasing. (Or at least everything that I can figure out right now.)
Firstly, the major bug that I wanted to fix is fixed. The mouse is no longer 'invisible' until you click when you alt+tab out of the game. It's freed normally now and should be visible as soon as the game looses focus. (This can fail sometimes, but it's working 95% of the time.)
I removed the ability to remove the window border, it caused too many issues with some things so it was better to just remove it instead of leave it and have people complain about glitches cause of it.
I cleaned up the hook a little bit to 'optimize' some things and such to make sure it stays small, compact, and does what it should Loader is working fine from what I can see as well. There was one bug with it not being able to close when you right click it and choose close from the task bar. But that is also fixed now too.
Version 1.4 is looking to be the public release version. Just testing it a little more and making sure things are a-ok
|
|
|
Re: Fable Window Mode Hook [message #33174 is a reply to message #33167] |
Tue, 30 October 2007 11:27 |
Wiccaan
Messages: 5 Registered: October 2007 Location: 127.0.0.1
|
|
|
|
Updated main post with download. Theres still one major bug that I can't figure out whats causing it right now. Nothing huge though.
When you ALT+TAB out of the game. You need to make sure that you either use ALT+TAB to go back into it, or click the icon on the task bar for the window. Do not directly click the window to go back to it. It wont crash or anything, it's just the next time you ALT+TAB, you have to click to see the mouse. I can't figure out which message is causing the click to mess up the ALT+TABing.
Other then that, I think it's all good. Tested on 3 machines, all worked fine. Hope it works for you guys
Enjoy!
|
|
|
|
Re: Fable Window Mode Hook [message #33178 is a reply to message #33167] |
Tue, 30 October 2007 12:51 |
|
Satan
Messages: 1033 Registered: September 2005 Location: Hades
|
Administrator
|
|
|
Nice work. It seems I'm one of the only ones to never have a problem with 3DAnalyzer.
There is nothing in the Void.
There is no point to it's being.
I wish there was a reason.
There is nothing in the Void,
But what we put there.
[Updated on: Tue, 30 October 2007 12:55] Report message to a moderator
|
|
|
|
|
Re: Fable Window Mode Hook [message #46067 is a reply to message #33167] |
Sun, 05 October 2008 19:02 |
Wiccaan
Messages: 5 Registered: October 2007 Location: 127.0.0.1
|
|
|
|
Hello all, sorry I haven't really done much more with this. I had planned on doing quiet a bit more to it but, sadly I lost interest in the game and such, just not something I was kept interested in with the story line.
I plan on releasing the source to this soon so others can update it with more features and such if wanted. So I will try to clean it up and release it soon.
|
|
|
|
|
|
Re: Fable Window Mode Hook [message #53025 is a reply to message #53022] |
Fri, 24 July 2009 02:29 |
|
Charwaii
Messages: 7 Registered: October 2008
|
|
|
|
JohnDoe wrote on Fri, 24 July 2009 17:55 | You open the tool, select resolution of the desired window for Fable, click launch.
|
where do you set the resolution?
can you make it a bit easier to understandd?
sorry lol
[ERROR] Failed to Launch the Process
omgomgomg??
|
|
|
|
|
|
|