/W_D-Hook

A script hook for Watch Dogs which exposes the lua API functions to users to allow them to create their own scripts. Please note that project is discontinued and doesn't work with the latest version and should be considered an educational project.

Primary LanguageC++GNU General Public License v2.0GPL-2.0

General

I've decided to release my Watch Dogs Script Hook as I still receive questions about the game and I don't really actively develop this (last commit around June).

Watch Dogs Script Hook

A script hook for Watch Dogs which exposes the lua API functions to users to allow them to create their own scripts. Doesn't work on the current version of the game. Supposed to act as an educational resource for game hacking, since it's very hacky and very bad/ugly code (e.g. mixed naming conventions). The last thing I was working on was getting lua callbacks for the d3d hook to work, but never found the time to properly implement it. The threading model is also very hacky.

Please don't blame for any code issues, this project is discontinued and was just a quick PoC. In addition, I never worked with lua so this implementation is probably going to hurt everyone who ever seriously worked with lua. Feel free to contribute/update for current version. Also feel free to ask questions, though I may not be able to answer since it's a long time since I worked on this.

Have fun and happy REing!

LMS

05-Dec-2014

License

The project is licensed under GNU GPLv3:

WatchDogs ScriptHook Copyright (C) 2014 LMS (lms@lms-dev.com)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

FW1FontWrapper by Erik Rufelt is distributed under the MIT license:

The MIT License (MIT)

Copyright (c) 2011 Erik Rufelt Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.