I got this mod working right away with no issues (surprisingly my pc didn't even flag it as suspicious when I ran it) but I have 2 questions.
1. Since we are using an entirely new launcher to play the game, does this screw up our 4gb patched DAOrigins.exe file? We aren't using that anymore to launch the game and I need that 4gb patched .exe file since I use *a lot* of mods.
2. There was another mod that came out in late 2009 called "Auto Highlight". Comments say it doesn't work anymore so I didn't even try to use it but it does mention a config file and one of the options was to turn off creature highlighting. Since no such config file is mentioned here and since this mod is a decade old, I'm assuming we can't somehow turn off creature highlights? I want to have Interactables to be always highlighted so I don't miss items or quest things but I don't want my character and party to always be glowing too lol.
1. No. It doesn't. This mod basically runs an AutoHotKey ( https://autohotkey.com ) script along with the game executable, that essentially forces tab to be held when it's toggle on. AutoHotKey is a separate program that allows end users to interact with Windows via scripts, without having to make Windows API calls directly. Basically, it can be used to modify all sorts of things, including acting like you're holding a key down, when you're actually not. There are side effects to this, so it's not a perfect solution, but it's mostly fine.
2. The other mod not working isn't strictly true. It does work, but it doesn't play well with other fix pack mods, that some people consider mandatory nowadays, as it utilises the same mod override files. Either way, there are no configurations for this mod, as mentioned in point #1, this is a Windows based solution, and so isn't technically anything to do with the game's executable at all. It doesn't technically know anything about the game, it's just telling windows that when the game is open, you're always holding down the tab key.
My computer kept flagging the special launcher as malicious and wouldn't let me use it, even if I tried to run it in administrator mode. However, if you download Autohotkey you can just use the script included in the download and forget about the launcher. You DO have to turn it on manually, but it works great otherwise.
REM Step 1: Start autorun_tab_toggle.exe start autorun_tab_toggle.exe
REM Step 2: Start daorigins.exe with CPU affinity and enable console start /affinity 1f /wait daorigins.exe -enabledeveloperconsole
REM Step 3: After daorigins.exe closes, kill autorun_tab_toggle.exe taskkill /IM autorun_tab_toggle.exe /F
Mine is currently restricted to 4 cores. Change the 1f if you want to use a different amount. It also enables the developer console. Lastly, it will clean-up the auto-run process when you close Dragon Age like with HikariWS's post below.
In GOG Galaxy I did the following to make it my default executable:
Manage installation -> Configure... -> Features -> Add another executable / arguments
Select INSTALL_DIR\GOG Galaxy\Dragon Age Origins\bin_ship\launchaffinity.bat as the file.
Add a label to "My label" to differentiate it, if you want.
Works great for me! I do have to manually launch both the "Special Launcher" and the "autorun_tab_toggle" applications in the bin_ship folder, but pressing tab with both running keeps all the objects perma highlighted as intended. Note that if you alt-tab into another program and alt-tab back into the game, you'll have to hit tab once more to activate the mod again.
For those who can't get it to run in the Steam version; I found an easy fix;
Run the game in windowed mode, the go to the bin-ship and run the toggle application manually. It seems to work just fine, although a little slow to start up properly. It also un-toggles itself if you click away from the window, but you can just re-toggle it.
I haven't confirmed whether it works in borderless or fullscreen.
works in fullscreen as well -- just need to press down the tab key until all floating names are displayed.It disappears once you toggle out off the game window. Just press down the tab key again.
[If you enable "Bugs" in your mod setup, I can file a bug report instead of taking up your comments section.]
This doesn't appear to work with the Steam version of the game. It launches the autokey program, then the steam launcher runs, and the autokey program exits.
Thanks for your work on this and I know this isn't malicious code but I got sick of the constant AVG popups so I found this autohotkey script which does what I need:
state:=0
$Tab:: state:= !state if state Send {TAB down} else Send {TAB Up} return
Just paste that into notepad, save it as whatever.ahk and you can run it with autohotkey to hold down tab for you.
The original mod has the ahk source code, there we can change the shortcodes if we wanna bind other buttons. It works for both Origins and 2.
Some more detailed explanation of how it works:
- AutoHotKey is a gret app that makes easier to bind shortcuts to other keys and make macros, it's also good because it allows us to use its own language to do simple custom stuff instead of having to develop apps in C++.
- This "mod" is based on ahk. When we press the defined key, it sends the keystroke of a key bing hold down. When the key is pressed again, it sends it being freed up.
- The key that's hold down and the key that triggers the action mustn't be the same.
Your DAO Special Launcher.exe didn't work properly for me. It creates 2 files on temp folder every time it's run. That makes Comodo not recognize them and ask permission for them to run every time, very annoying.
So, instead of using it, I used its batch with the simple code:
@echo off start DAO_autoruntabtoggle.exe start /W daorigins.exe taskkill /im DAO_autoruntabtoggle.exe
It runs the macro, starts DAO and waits for it to close, then closes the macro.
Then I used Hstart to run this batch, without opening the console.
26 comments
1. Since we are using an entirely new launcher to play the game, does this screw up our 4gb patched DAOrigins.exe file? We aren't using that anymore to launch the game and I need that 4gb patched .exe file since I use *a lot* of mods.
2. There was another mod that came out in late 2009 called "Auto Highlight". Comments say it doesn't work anymore so I didn't even try to use it but it does mention a config file and one of the options was to turn off creature highlighting. Since no such config file is mentioned here and since this mod is a decade old, I'm assuming we can't somehow turn off creature highlights? I want to have Interactables to be always highlighted so I don't miss items or quest things but I don't want my character and party to always be glowing too lol.
2. The other mod not working isn't strictly true. It does work, but it doesn't play well with other fix pack mods, that some people consider mandatory nowadays, as it utilises the same mod override files. Either way, there are no configurations for this mod, as mentioned in point #1, this is a Windows based solution, and so isn't technically anything to do with the game's executable at all. It doesn't technically know anything about the game, it's just telling windows that when the game is open, you're always holding down the tab key.
Here is what I am using as my launchaffinity.bat in the bin_ship folder to combine this with Automatically set CPU Affinity - CPU Core Crash Fix for Dragon Age Origins:
@echo off
REM Step 1: Start autorun_tab_toggle.exe
start autorun_tab_toggle.exe
REM Step 2: Start daorigins.exe with CPU affinity and enable console
start /affinity 1f /wait daorigins.exe -enabledeveloperconsole
REM Step 3: After daorigins.exe closes, kill autorun_tab_toggle.exe
taskkill /IM autorun_tab_toggle.exe /F
Mine is currently restricted to 4 cores. Change the 1f if you want to use a different amount. It also enables the developer console. Lastly, it will clean-up the auto-run process when you close Dragon Age like with HikariWS's post below.
In GOG Galaxy I did the following to make it my default executable:
Run the game in windowed mode, the go to the bin-ship and run the toggle application manually. It seems to work just fine, although a little slow to start up properly. It also un-toggles itself if you click away from the window, but you can just re-toggle it.
I haven't confirmed whether it works in borderless or fullscreen.
This doesn't appear to work with the Steam version of the game. It launches the autokey program, then the steam launcher runs, and the autokey program exits.
state:=0
$Tab::
state:= !state
if state
Send {TAB down}
else
Send {TAB Up}
return
Just paste that into notepad, save it as whatever.ahk and you can run it with autohotkey to hold down tab for you.
The original mod has the ahk source code, there we can change the shortcodes if we wanna bind other buttons. It works for both Origins and 2.
Some more detailed explanation of how it works:
- AutoHotKey is a gret app that makes easier to bind shortcuts to other keys and make macros, it's also good because it allows us to use its own language to do simple custom stuff instead of having to develop apps in C++.
- This "mod" is based on ahk. When we press the defined key, it sends the keystroke of a key bing hold down. When the key is pressed again, it sends it being freed up.
- The key that's hold down and the key that triggers the action mustn't be the same.
Your DAO Special Launcher.exe didn't work properly for me. It creates 2 files on temp folder every time it's run. That makes Comodo not recognize them and ask permission for them to run every time, very annoying.
So, instead of using it, I used its batch with the simple code:
@echo off
start DAO_autoruntabtoggle.exe
start /W daorigins.exe
taskkill /im DAO_autoruntabtoggle.exe
It runs the macro, starts DAO and waits for it to close, then closes the macro.
Then I used Hstart to run this batch, without opening the console.