I was getting tired of having to drag the editor into view every time I launched it, because it'd start half way off screen. And the mouse in the editor has always felt kinda sluggish because it's rendered by the game, and therefore limited by your frame rate. This have caused me some pain when recording, because the mouse then becomes very laggy.
So I made this small tool, that's able to rectify both of these problems, and I figured other people may find it useful as well.
2015 version
Since the old tool doesn't support Amnesia v1.3, and wasn't written with updates in mind, I decided to start over from scratch with a new tool, known as Amnesia Development Enhancer 2015.
Added script injection (v1.3 only). Click the small cannula on the launch game button.
v1.1.3.411
Gave the launch buttons a more menu like flat style.
Fixed the update function crashing on subsequent updates.
v1.1.2.401
Added program corruption detection. If the installation is corrupted, the program will ask the user whether they want to attempt a repair, and redownload the damaged files.
Added -reset command line option to reset all the settings of the program.
Divided tool settings and general settings in the settings dialog. (General settings currently empty).
v1.1.1.390
No longer shows the disclaimer once it's been accepted.
v1.1.0.383
Added basic support for the game.
Fixed crash when attempting to launch a tool after restarting the program.
Installation
Simply click "DOWNLOAD HERE" below and run the program. Once started, it will automaticly install the program into your game folder, update it to the latest and start it.
If you have both the retail version and the Steam version installed, it'll prompt you to choose which one to install into.
It will automaticly install it into one of the following paths. Default paths
Retail: C:\Program Files (x86)\Amnesia - The Dark Descent\redist
Steam: C:\Program Files (x86)\Steam\steamapps\common\amnesia the dark descent
Usage
All you have to do, is run AmnesiaDevelopmentEnhancer.exe.
The program will run in the system tray:
To run the game or any of the tools, simply click (either mouse button) on the icon. A menu will appear. Click the application you want to launch:
To change enhancement options click the icon, then click "Settings". Go to the tab of the application you want to enhance, and set desired options.
Updating
When a new version of the program gets released, you don't have to download it from this thread again. The tool is able to update itself.
To check for updates and install the most recent version, follow these simple steps.
Click the program icon in the system tray.
Click "Settings".
Go to the "About" tab.
Click "Check for updates". Click "Update" if a new version is found.
Once the program has downloaded the new version, it will briefly exit to install the update. Once it's done, the icon will reappear in the system tray, and a notification will be shown to indicate it has completed the update.
Uninstallation
To uninstall the program, follow these simple steps.
Click the program icon in the system tray.
Click "Settings".
Go to the "About" tab.
Click "Uninstall", followed by "Yes".
The program will remove any files it may have created and erase itself. It will not uninstall the game or the tools, or remove any other files.
Changelog Upcoming version (Cancelled, see 2015 version instead)
Added support for v1.3 of Amnesia and the tools.
Fixed the tool using ModelEditor.cfg for the particle editor, and ParticleEditor.cfg for the level editor.
Fixed changing resolution for "Resize to fit screen" not working.
v4.15.11.1604 BETA
Fixed the tool/installer thought no game was installed if checking for the retail version failed.
v4.15.10.1574 BETA
Added mandatory registration.
The tool will now refuse to run multiple instances of itself.
Fixed the installer/tool thinking no games were installed if an error occurred while checking the installation of one version. (Eg. if it had already found out that the retail version was installed, but then encountered an error while checking if the Steam version was installed, it would determine the retail version wasn't installed either).
Added interception of debug messages.
Added interception of global/local variables.
Added option to prevent the game from exiting on fatal errors.
The logs window no longer activates a log tab when a message is added to it.
Fixed log and debugging messages containing multiple colons being truncated.
Changed fonts in logs dialog.
Altered the button design.
Made the launch buttons more compact.
Increased update speed.
Fixed updating sometimes failing with an error after successful download.
Added option to replace the tedious color picker in the level editor with a better one.
Fixed the "Modify Custom Story" button showing custom stories from both the retail and Steam version at the same time.
v3.15.10.999 BETA
Fixed logging interception not catching some messages like warnings and errors, etc.
The game/tools no longer crash with a "Object reference not set to an instance of an object." error.
Logging interception has been temporarily disabled for the level editor for technical reasons.
v3.14.10.962 BETA
It is now possible to choose which screen to place the game/tools on.
v3.13.10.943 BETA
Removed hook connection notifications.
Fixed the logging interception feature not working after restarting Amnesia Development Enhancer, without also restarting the game or tool.
Now intercepts the logging functionality even when the log window hasn't been opened.
v3.12.10.917 BETA
Added basic support for the Steam version. The program is able to launch the Steam version without having to go through the launcher, like you normally have to do to start the Steam version. However, features like log interception and script injection is NOT supported for the Steam version!
Moved the buttons a little in the About tab in the settings dialog.
Added B after the version number in the About tab in the settings dialog to indicate that a version is a beta.
v3.11.10.865 BETA
Fixed last update's fix "Now shows an error message if launching a tool fails." not working.
Added logging interception.
v3.10.10.791 BETA
Now shows an error message if launching a tool fails.
When crashing, the program now collects more useful information about the crash.
v3.10.9.686 BETA
Updated design.
The program now generates a crash report when crashing.
Added ability to inject AngelScript into the game. (Press F12 while in a level).
v2.10.9.120
Fixed incorrect tab indices.
Made the menu more compact.
Added the option to align the menu vertically.
v2.9.9.68
Added an option to make the program pop up asking to add new entries to the language file whenever a CustomSubItemType is specified in a level.
Fixed UI issues in the custom story settings dialog.
Added tool tips to the Notes section of the Localization section in the custom story settings dialog.
Added icons to the tab in the Localization section in the custom story settings dialog.
XML file analysis no longer validates the settings file for Amnesia Development Enhancer.
When opening a language file in the custom story settings dialog, the path defaults to the custom story folder.
v2.8.9.13
Added options to automaticly check/install updates.
v2.8.8.13
Added Notes section under Localization in the custom story settings dialog, to easily add, edit and remove notes, with multiple pages.
v2.7.8.13
Added ability to change the settings of a custom story, and language files.
v2.6.8.13
Added log window to display the logs from the game and tools in real-time.
v2.5.8.13
Added cursor selection to the particle editor.
v2.4.8.13
Fixed the program not showing the changelog when updating.
v2.4.8.12
Fixed the particle editor always crashing.
Fixed the inability to change cursor for the level editor, since yesterdays update.
v2.4.8.11
Fixed the level editor button launching the particle editor, and the particle editor button launching the model editor, after yesterdays update.
v2.4.8.10
Added check to prevent multiple instances of the program to be started at the same time.
v2.4.8.9
Added basic support for the particle editor.
v2.4.7.9
XML validation now checks for simple semantic errors, like invalid casing in language files, or missing elements in the custom_story_settings.cfg file.
v2.4.6.9
Redid the program from scratch. The program now works in a completely different way. The tool will run in the system tray, while you develop. This new version has support for both the game, level editor and model editor. When you click the icon, a small menu will pop up where you can choose to launch the editors, or the game.
v1.4.5.8
Fixed a crash occurring while exiting the level editor, if the leveleditor.cfg file is read-only.
v1.4.4.8
Made more strings localizable.
v1.4.3.8
Fixed a crash introduced in the previous version, occurring when using the "Launch automaticly" option.
v1.4.3.7
The tool will no longer error if the config file is read-only and "Run in fullscreen" is not checked.
Made the uninstall dialog more clear.
Added experimental multi-language support.
v1.3.3.7
Added option to use the default Windows cursor instead of the default SDL cursor.
The tool now automaticly adjusts the resolution when ticking "Run in fullscreen".
The program no longer appears shortly if "Launch automaticly" is checked.
The "uninstall" button no longer appears automaticly. To make it appear, run the program, then immediately hold Alt.
v1.2.3.0
Fixed (hopefully) the "Use regular Windows cursor" option causing an error on some systems.
Now centers the window faster.
Errors are no longer shown behind the program.
If an error occurs, the program will now present a log.
Added more detailed logging for debugging.
Added -reset launch option.
Added easier way to launch with launch options. Start the program and immediately hold Control. A dialog will appear.
v1.1.2.0
Added logging capabilities for debugging. Launch with -log.
v1.1.1.0
Fixed the editor not running full screen on rare occasions.
v1.1.0.0
Added option to run the editor in full screen. You must set the resolution of the level editor (Edit > Options) to the same as your screen, before using this.
v1.0.0.0
Initial release.
(This post was last modified: 02-19-2015, 09:58 PM by MulleDK19.)
---------------------------
Error!
---------------------------
An unexpected error occurred!
Only part of a ReadProcessMemory or WriteProcessMemory request was completed
at System.Diagnostics.NtProcessManager.GetModuleInfos(Int32 processId, Boolean firstModuleOnly)
at System.Diagnostics.NtProcessManager.GetFirstModuleInfo(Int32 processId)
at System.Diagnostics.Process.get_MainModule()
at #=qwAiFME9e8FFW6a3N0dDh4QBqzK1fI2bbqffDNkaa039mJSUB$x5C9oOcH7jCPXCI.#=q75smIwGiHW9GtF4247HExg==()
---------------------------
OK
---------------------------
I receive the same error on Windows 7 when trying to use the default cursor.
---------------------------
Error!
---------------------------
An unexpected error occurred!
Endast delar av en ReadProcessMemory- eller WriteProcessMemory-begäran har slutförts
vid System.Diagnostics.NtProcessManager.GetModuleInfos(Int32 processId, Boolean firstModuleOnly)
vid System.Diagnostics.NtProcessManager.GetFirstModuleInfo(Int32 processId)
vid System.Diagnostics.Process.get_MainModule()
vid #=qwAiFME9e8FFW6a3N0dDh4QBqzK1fI2bbqffDNkaa039mJSUB$x5C9oOcH7jCPXCI.#=q75smIwGiHW9GtF4247HExg==()
---------------------------
OK
---------------------------
On another note, during the first startup it didn't center the editor. It was probably due to long startup time (me clicking it away - thus editor showing "not responding" for a while). On second startup it worked fine (centering the editor).
I became irritated with this yesterday, having to manually center the editor, and voilá today this tool is released. Nice work :]
(02-09-2013, 06:36 PM)NaxEla Wrote: I get this error when I press Launch:
This only pops when I have the "Use a regular Windows cursor" ticked. Everything else works fine though. Thanks for making this
Can you please reproduce that error, then hit Ctrl+C when the message appears, and post that here?
Also, which operating system are you on?
I am on Windows 7 also.
---------------------------
Error!
---------------------------
An unexpected error occurred!
Only part of a ReadProcessMemory or WriteProcessMemory request was completed
at System.Diagnostics.NtProcessManager.GetModuleInfos(Int32 processId, Boolean firstModuleOnly)
at System.Diagnostics.NtProcessManager.GetFirstModuleInfo(Int32 processId)
at System.Diagnostics.Process.get_MainModule()
at #=qwAiFME9e8FFW6a3N0dDh4QBqzK1fI2bbqffDNkaa039mJSUB$x5C9oOcH7jCPXCI.#=q75smIwGiHW9GtF4247HExg==()
---------------------------
OK
---------------------------