Well, I've tried every single tool out there to send this game windowed, yet nothing worked out: 3D Analyzer, DxWnd, D3D Windower, etc. Alt+Enter doesn't work, -w type parameters added to the shortcut don't work, etc.
Solution's come through debugging the game's executable:
Save file, run game and this is the result:
Windowed mode, bitches!
P.S.1: If you need minimize, maximize, close buttons to the top-right of the window, let me know, as parameters can be adjusted upon calling of CreateWindowExA API.
P.S.2: Same drill works in Brotherhood. Haven't yet tried AC2.
[ 11.01.2016 - First Release ]
Without further ado:
1. Start game (ACRSP.exe).
2. Open Cheat Engine 6.5 (yeah, you might want to update).
3. Target ACRSP.exe.
4. Download attached table and open it in CE.
5. Enable [Enable] script.
6. Enable Cheat Handler script.
What the above will do is hook Anvil's DebugMenu context, retrieve the pointer it needs and create a thread in which you can use set hotkeys to run internal debug cheats (or commands).
So far, the menu contains the following keys being set-up:
Numpad 0 - RefillPlayerHealth
Numpad 1 - RefillAllEquipment
Numpad 2 - GodMode
Numpad 3 - Invisible
Numpad 4 - ResetConflict
Numpad 5 - ToggleHookbladeAutograb
Numpad 6 - ToggleUseNewBombs
Numpad 7 - SetIncognito
Numpad 8 - ToggleHud
Numpad 9 - SetNotorious
Numpad . (Del) - IncreasePlayerMoney
Some are self-explanatory, but here's the rest:
ResetConflict - will render close-by enemies clueless to your presence (makes the witness indicator vanish from atop the enemy's head)
SetIncognito - kills the notoriety indicator
SetNotorious - does the opposite of the above
ToggleHud - disables hud (note, from testing, you won't get the hud back - although the command says 'toggle', it just disables it)
IncreasePlayerMoney - adds 1000 money with every press of the key
If you want to change hotkeys, open Cheat Handler script and edit the commands like:
push 68 // VK_NUMPAD8
push 69 // VK_NUMPAD9
..
etc.
Here's a table with equivalences: [Link].
If you want to test out other functions, just change the names (or add new ones to other keys) of the functions I am calling like so:
push 68 // VK_NUMPAD8
call GetAsyncKeyState
test ax,ax
jne ToggleHud <-- change to, say.. MasterAssassinMissionCheat
push 68 // VK_NUMPAD8
call GetAsyncKeyState
test ax,ax
jne MasterAssassinMissionCheat
Enjoy and report any issues.
Will add teleportation and all the remaining crap Smile
BR,
Sun
P.S.1: Tested on Steam (it actually calls-in Ubi's launcher) 1.03.
P.S.2: Will think of a way to keep the cheats enabled after a loading scene has occurred or they got disabled. For the time being, you'll have to re-enable them, if you - for example - see you take damage: Numpad 0 (to refill) + Numpad 2 (to get god), then Numpad 4 (to reset the behavior of any attackers) and Numpad 3 (to become invisible) Smile
How to use this cheat table?
- Install Cheat Engine
- Double-click the .CT file in order to open it.
- Click the PC icon in Cheat Engine in order to select the game process.
- Keep the list.
- Activate the trainer options by checking boxes or setting values from 0 to 1