Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 27 Vote(s) - 3.81 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Amnesia Custom Story Installer
MulleDK19 Offline
Senior Member

Posts: 545
Threads: 21
Joined: Jun 2009
Reputation: 10
#1
Amnesia Custom Story Installer

Notice: Since this has confused several people, I'll start by making this clear: This program is not for installing custom stories. It's for developers to create installers, that people who want to play that particular developer's custom story, can then download and run, to easily install the corresponding custom story.

So unless you're a developer this tool is not for you!

You will only be interested in the output, which author's will upload and link to in their own threads.



Notice about anti-virus software: Some anti-virus applications seem to trigger when encountering the installer (The installers, not the creator).

This is a false positive, and is 'caused by the way the data is embedded within the installer.

As you can see, a few anti-virus applications reacts to it
http://www.virustotal.com/file-scan/repo...1284468199
Though, I guarantee that it's not a virus. It's simply due to hysterical anti-virus checks.

Solution: Disable your anti-virus while installing custom stories, or use another anti-virus.







I was drooling waiting for the editors to come out, and I decided that I might as well use the time on something useful.


Someone posted a suggestion to make some kind of installer for the stories:
http://www.frictionalgames.com/forum/thread-4199.html


So I've used the last 6-7 hours on creating a tool that can make installers for Amnesia: The Dark Descent, as easy as putting a finger up your... Wait, actually, it's a lot easier...


Video: http://www.amnesia.treesoft.dk/downloads...taller.wmv






Edit: 4-5 hours later Tongue
Version 1.0.1.3 is now available: http://amnesia.treesoft.dk/acsi/download...er1013.zip

Change Log
1.0.1.3
==========
[Changed] The installer now prompts the user where to install a story if both the retail and the Steam version is installed.

1.0.1.2
==========
[Changed] Removed fading of tool tips in the installer.
[Changed] The progress dialog is no longer top-most.
[Added] Installer will now give the user a choice if a Custom Story folder of the same name already exists.

1.0.1.1
==========
[Fixed] Installer now ignores case for the Custom Story image.
[Added] Tips for each control in the installer/creator.
[Added] Feature to dump a zip archive after creating the installer (For distribution to Linux/Mac users).
[Changed] Now ignores .map_cache files when creating installers.
[Added] Now displays the description of the Custom Story.
[Fixed] Using old temporary files, that could cause the installer to show an image for a Custom Story without an image, due to the old Custom Story having one.

1.0.1.0
==========
[Added] Progress status for each file.
[Added] Possibility to change compression-level (Previously forced to maximum).

1.0.0.9
==========
[Changed] Updates are now enforced.
[Fixed] Crashing when unable to contact update server.

1.0.0.8
==========
[Changed] Minor changes to the UI.

1.0.0.7
==========
[Fixed] The installer trying to install the files into a "redist" folder for the Steam version.

1.0.0.6
==========
[Fixed] The installer reporting that the game was not found when retail is not installed, even though Steam version is.

1.0.0.5
==========
[Removed] Logging.
[Changed] Now refuses to create installer for Custom Stories containing executables.

1.0.0.4
==========
[Fixed] Not detecting Steam version under 64-bit OS.

1.0.0.3
==========
[Fixed] Not detecting retail version under 64-bit OS

1.0.0.2
==========
[Fixed] The installer could be resized.
[Fixed] The installer dumping garbage when game is not installed.

1.0.0.1
==========
[Fixed] Program failing to launch if Custom Story Setting DefaultExtraLangFile and ExtraLangFilePrefix were not defined.

1.0.0.0
==========
[New] Initial release.



Features
- Supports both retail and Steam version (Windows only)
- Easily create installers for Custom Stories for Amnesia: The Dark Descent.
- Install Custom Stories with the click of a button.
- Now also displays a picture if defined in the custom_story_settings.cfg

Requirements
- Legal copy of Amnesia: The Dark Descent for Windows.
- Microsoft .NET Framework 2.0 (Installed by default since Vista). If the program won't start, install the framework from here: http://www.microsoft.com/downloads/en/de...laylang=en

How To Use
Creating Installer
1. Simply start the program, choose your story from the list, and click "Create Installer".
2. When it's done, simply close the program, and navigate to your Amnesia\custom_stories folder, and there you should see your installer.

Installing Story
1. Start the installer.
2. Click "Install Story".


Known Bugs:
- None yet



Testing
Please try to break the program in any way you can, and report bugs, etc. in this thread.

I would like feedback from people with different versions (retail vs Steam), to see if anyone is experiencing problems.



Thank you.
Enjoy.

[Image: 16455.png]
(This post was last modified: 01-24-2012, 01:52 PM by MulleDK19.)
09-13-2010, 10:07 PM
Find
Frontcannon Offline
Senior Member

Posts: 538
Threads: 10
Joined: Jul 2010
Reputation: 2
#2
RE: Amnesia Custom Story Installer

Have an internet, kind sir.
09-13-2010, 11:58 PM
Find
thePyro13 Offline
Junior Member

Posts: 24
Threads: 0
Joined: Sep 2010
Reputation: 0
#3
RE: Amnesia Custom Story Installer

Just tried out your test installer. I reports that Amnesia is not installed on my computer. Running the installer in admin mode doesn't help.

I have the steam version of Amnesia, and it is installed on a drive other than my system drive. Running Windows 7 x64

I'll go try out the install generator and see how that works.

Install generator fails in the same manor.

EDIT: just noticed these ACSI.txt files generated after using the installer. I presume they're error logs from the installer.

Contents follow:

14/09/2010 1:44:02 PM - Retail version not found in the 32-bit department.
14/09/2010 1:44:02 PM - Key: SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
14/09/2010 1:44:02 PM - 64-bit key WAS found
14/09/2010 1:44:02 PM - Opening GUID
14/09/2010 1:44:02 PM - Key IS null

Both the test installer and installer generator leave identical logs.

I hope this helps. Big Grin
09-14-2010, 04:43 AM
Find
theDARKW0LF Offline
Member

Posts: 150
Threads: 17
Joined: Sep 2010
Reputation: 0
#4
RE: Amnesia Custom Story Installer

(09-14-2010, 04:43 AM)thePyro13 Wrote: Just tried out your test installer. I reports that Amnesia is not installed on my computer. Running the installer in admin mode doesn't help.

I have the steam version of Amnesia, and it is installed on a drive other than my system drive. Running Windows 7 x64

I'll go try out the install generator and see how that works.

Install generator fails in the same manor.

EDIT: just noticed these ACSI.txt files generated after using the installer. I presume they're error logs from the installer.

Contents follow:

14/09/2010 1:44:02 PM - Retail version not found in the 32-bit department.
14/09/2010 1:44:02 PM - Key: SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
14/09/2010 1:44:02 PM - 64-bit key WAS found
14/09/2010 1:44:02 PM - Opening GUID
14/09/2010 1:44:02 PM - Key IS null

Both the test installer and installer generator leave identical logs.

I hope this helps. Big Grin

Got the exact same error. Maybe due to ours being 64-bit and the installer designed for 32-bit?

Check out my custom stories(1)(2)!
09-14-2010, 05:11 AM
Find
MulleDK19 Offline
Senior Member

Posts: 545
Threads: 21
Joined: Jun 2009
Reputation: 10
#5
RE: Amnesia Custom Story Installer

(09-14-2010, 04:43 AM)thePyro13 Wrote: Just tried out your test installer. I reports that Amnesia is not installed on my computer. Running the installer in admin mode doesn't help.

I have the steam version of Amnesia, and it is installed on a drive other than my system drive. Running Windows 7 x64

I'll go try out the install generator and see how that works.

Install generator fails in the same manor.

EDIT: just noticed these ACSI.txt files generated after using the installer. I presume they're error logs from the installer.

Contents follow:

14/09/2010 1:44:02 PM - Retail version not found in the 32-bit department.
14/09/2010 1:44:02 PM - Key: SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
14/09/2010 1:44:02 PM - 64-bit key WAS found
14/09/2010 1:44:02 PM - Opening GUID
14/09/2010 1:44:02 PM - Key IS null

Both the test installer and installer generator leave identical logs.

I hope this helps. Big Grin

Thanks, I know what the problem is.

(09-14-2010, 05:11 AM)theDARKW0LF Wrote:
(09-14-2010, 04:43 AM)thePyro13 Wrote: Just tried out your test installer. I reports that Amnesia is not installed on my computer. Running the installer in admin mode doesn't help.

I have the steam version of Amnesia, and it is installed on a drive other than my system drive. Running Windows 7 x64

I'll go try out the install generator and see how that works.

Install generator fails in the same manor.

EDIT: just noticed these ACSI.txt files generated after using the installer. I presume they're error logs from the installer.

Contents follow:

14/09/2010 1:44:02 PM - Retail version not found in the 32-bit department.
14/09/2010 1:44:02 PM - Key: SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
14/09/2010 1:44:02 PM - 64-bit key WAS found
14/09/2010 1:44:02 PM - Opening GUID
14/09/2010 1:44:02 PM - Key IS null

Both the test installer and installer generator leave identical logs.

I hope this helps. Big Grin

Got the exact same error. Maybe due to ours being 64-bit and the installer designed for 32-bit?

It's designed for both, it is simply a bug in the installer. Working on a fix now.


Edit: Released new version. I need some feedback.

[Image: 16455.png]
09-14-2010, 08:52 AM
Find
thePyro13 Offline
Junior Member

Posts: 24
Threads: 0
Joined: Sep 2010
Reputation: 0
#6
RE: Amnesia Custom Story Installer

Tried the new version. It still gives the same error. Sad
09-14-2010, 09:54 AM
Find
MulleDK19 Offline
Senior Member

Posts: 545
Threads: 21
Joined: Jun 2009
Reputation: 10
#7
RE: Amnesia Custom Story Installer

(09-14-2010, 09:54 AM)thePyro13 Wrote: Tried the new version. It still gives the same error. Sad

I think I fixed it now. Can you verify?

[Image: 16455.png]
09-14-2010, 10:16 AM
Find
thePyro13 Offline
Junior Member

Posts: 24
Threads: 0
Joined: Sep 2010
Reputation: 0
#8
RE: Amnesia Custom Story Installer

So close. Big Grin

The tools are running now, but they are detecting the wrong directory.

They are installing into and generating from : "Steam\steamapps\common\amnesia the dark descent\redist\custom_stories"

Rather than just "Steam\steamapps\common\amnesia the dark descent\custom_stories"
09-14-2010, 10:37 AM
Find
MulleDK19 Offline
Senior Member

Posts: 545
Threads: 21
Joined: Jun 2009
Reputation: 10
#9
RE: Amnesia Custom Story Installer

(09-14-2010, 10:37 AM)thePyro13 Wrote: So close. Big Grin

The tools are running now, but they are detecting the wrong directory.

They are installing into and generating from : "Steam\steamapps\common\amnesia the dark descent\redist\custom_stories"

Rather than just "Steam\steamapps\common\amnesia the dark descent\custom_stories"

Ya, I just found out Tongue

Fixed. New version released.

[Image: 16455.png]
09-14-2010, 10:38 AM
Find
thePyro13 Offline
Junior Member

Posts: 24
Threads: 0
Joined: Sep 2010
Reputation: 0
#10
RE: Amnesia Custom Story Installer

Yay, works perfectly.

You are credit to Internet Tongue
09-14-2010, 10:59 AM
Find




Users browsing this thread: 1 Guest(s)