Logo Platform
logo amplifiers simplified

[PC/Epic] Game will not launch

Reply
Copied to clipboard!
a year ago
Oct 1, 2023, 6:36:48 PM

Since the past few weeks I can't get the game to launch. I got it on the epic store and have put in a couple hundred hours already before it refused to launch at all. Reinstalled the game. Reinstalled the epic game store. I even updated my graphics card and have up to date drivers. 


OS: Windows 10.

Game Store: Epic

Version: Mercury_1.25.4236+2c3a8d99a8_FullPackage_Epic-Windows-Mono-Release-patched



Here's the diagnostics log (screenshotted/ can't upload the html file here).

0Send private message
0Send private message
a year ago
Oct 3, 2023, 12:55:17 PM

Bump. Can I do something to expedite this? I browsed through the FAQs and couldn't find a quick solution.

0Send private message
0Send private message
a year ago
Oct 11, 2023, 8:35:59 AM

Okay, I've talked to the producers, and they tell me the problem seems to be that the game does not have full permissions to access the folder where the registry.xml is stored. There might be a restriction setting on the folder, or you may need to try to run the game as admin.

0Send private message
a year ago
Oct 11, 2023, 9:43:04 AM

Thank you for your reply. I reinstalled Epic Games store, and humankind so that everything is in the C:\ drive to avoid these issues just now. Again, same results. I then verified the access settings and they all look perfectly fine to me as well. I'm attaching screenshots (and re-uploading logs) in case I missed anything.





As you can see, the permissions for all four users is for full access. 

I tried running humankind (from the folder here) as an administrator. No luck, either.


Here are the updated diagnostics, but they have the same error: 

`11:37:39:302 None Access to the path 'Registry.xml' is denied. `


Diagnostics (2023'10'11 @1137'36''845''').zip

Player.log







0Send private message
a year ago
Oct 11, 2023, 10:28:41 AM

Jus ashot into the dark. Do you by chance make use of (additional) antivirus software blocking the folder in question?

0Send private message
a year ago
Oct 11, 2023, 11:20:52 AM

Just the default windows defender. Also want to reiterate that I have played this game for hundreds of hours on this very PC before it stopped working.

0Send private message
0Send private message
a year ago
Oct 12, 2023, 10:06:54 AM

Hey, sorry to hear that it did not solve your problem.


Could you try to delete you "hk" folder? you can rename it with an "_old" to keep your saves and such.


I will take a look at the regsitry access code on our side but I pretty sure we didn't change it for the last few months... 


Cheers,

flo

0Send private message
a year ago
Oct 12, 2023, 10:09:56 AM

oh sorry quick note: you should not mess or look at the "epic games/Humankind" folder but your "My documents/Humandkind" where your saves, diagnostics files and profile information are kept.

Could you check the permission on this folder too?


Updated a year ago.
0Send private message
0Send private message
a year ago
Oct 12, 2023, 5:08:13 PM
ThorTillas wrote:

Hey, sorry to hear that it did not solve your problem.


Could you try to delete you "hk" folder? you can rename it with an "_old" to keep your saves and such.


I will take a look at the regsitry access code on our side but I pretty sure we didn't change it for the last few months... 


Cheers,

flo

Um.. there's no HK folder inside `~/My Documents/Humankind`. I had

- mod.io (empty)

- Temporary files (with diagnostics)

- Users with some '0x0000000000000000` like subfolders which too are empty inside. 


I deleted the entire Humankind folder and tried again. No luck. The diagnostics did change though so I guess there's that. Attached below.


Diagnostics (2023'10'12 @1905'48''776''').7z

Player.log


edit: forgot to mention that I checked the permissions and they look good as well.

Also want to add that I tried forcing windows to run the game with intel integrated graphics, as well as my GPU, and letting windows decide in "Settings -> Display -> Graphics Settings". No luck. 

Updated a year ago.
0Send private message
a year ago
Oct 12, 2023, 5:14:02 PM
adamstarckk wrote:

I tried running humankind (from the folder here) as an administrator. No luck, either.


Do you also have the Epic Games version, and are getting the "access to registry error" in your diagnostics file (see screenshot in the first post)? If so, it's good to know its not just me ^^

0Send private message
a year ago
Oct 13, 2023, 7:54:06 AM
shape_mismatch wrote:
ThorTillas wrote:

Hey, sorry to hear that it did not solve your problem.


Could you try to delete you "hk" folder? you can rename it with an "_old" to keep your saves and such.


I will take a look at the regsitry access code on our side but I pretty sure we didn't change it for the last few months... 


Cheers,

flo

Um.. there's no HK folder inside `~/My Documents/Humankind`. I had

- mod.io (empty)

- Temporary files (with diagnostics)

- Users with some '0x0000000000000000` like subfolders which too are empty inside. 


I deleted the entire Humankind folder and tried again. No luck. The diagnostics did change though so I guess there's that. Attached below.


Diagnostics (2023'10'12 @1905'48''776''').7z

Player.log


edit: forgot to mention that I checked the permissions and they look good as well.

Also want to add that I tried forcing windows to run the game with intel integrated graphics, as well as my GPU, and letting windows decide in "Settings -> Display -> Graphics Settings". No luck. 

Sorry about the confusion, I believe ThorTillas was referring to the "Humankind" folder itself, not a folder named hk. Renaming or deleting this folder will force the game to start "fresh" with default configurations.

0Send private message
a year ago
Oct 13, 2023, 3:03:56 PM

Yeah I suspected. I did delete that one and tried running the game again (as mentioned in your quoted message), no luck.

0Send private message
a year ago
Oct 18, 2023, 8:09:22 AM

Hum, the error changed. 


You still have some "Access to the path 'Registry.xml' is denied." but it's way down the line.


Are you launching the game from the Epic store? or directly by double clicking the Humankind.exe?


As far as I understand the error, Epic is telling us that we are sending an empty user. And the game is saying that it will use the "dev user" stored in the registry. 

So we probably miss your epic credential when launching the game. And by looking at the code which handle this, I see we expect your epic credential to be given as a commandline parameter... so it's probably something Epic add when using the store to launch the game.

(Edit: Hum, I use the word credential as a shortcut but it's more a "unique local public token" given by Epic and used to id your session. We are not using your password or some highly sensitive data here ^^')


Try launching it from the store to see if the login errors disappears... if not... perhaps delete the "epic games/Humankind/humankind.exe" file and try to "verify files" (right clic on Humankind in epic store library, then "Manage" and "Verify Files") and launch it again from Epic Store?

Updated a year ago.
0Send private message
a year ago
Oct 18, 2023, 9:54:50 AM

I might have been trying to run it directly from the exe. I followed the steps you suggested (delete executable, then verify game). And I got the old diagnostics back, where only access to registry is missing. Attached both, for reference:

Diagnostics (2023'10'18 @1134'59''502''') - RAN FROM EXE.zip

Diagnostics (2023'10'18 @1136'00''052''') - RAN FROM EPIC.zip


And thanks for the clarification but I'm sure you're not storing plaintext passwords, don't worry :)

0Send private message
a year ago
Oct 18, 2023, 1:06:43 PM

Ok so use the store to launch the game. We will add this to our current list of known bugs. For some reason we do not support launching the game directly from the exe when using Epic Store....


Now, back to the registry access problem...

I do run out of idea... I tried on my side with different setup and didn't manage to break it.

One of my fellow programmer sugested to force the "run as admin" on the "Humankind.exe" AND the "epic launcher". It seems like "RocketLeague" has these steps in their "default troubleshooting" with Epic (and steam apparently ^^)


You probably know how to do it, but for the sake of clarity:
- go to "C:\Epic Games\Humankind"

- Right click on "Humankind.exe" and choose "Properties"

- In the tab "Compatibility", check "Run this program as an administrator"

- Click "ok" button to apply the changes


Epic game launcher should be in "C:\Epic Games\Launcher\Engine\Binaries\Win32" or "C:\Epic Games\Launcher\Engine\Binaries\Win64"
For some reason, my computer use the 32 version and not the 64... so to be sure enable the "run as admin" on both ^^'

Are you using onenote to sync your document folder with the cloud? if yes, it could be interesting to put ~/Documents/Humankind folder out of onenote...


If it does not help, we could perhaps send you some "custom DLL" with more logging to try to pin point the problem... 


I am very sorry we are not able to solve this quicker...




0Send private message
a year ago
Oct 18, 2023, 2:08:28 PM

First off, please don't apologize. You folks have been very active and are trying to make sense of this. As a fellow developer, I appreciate that.


I did try all of that. I set Humankind.exe to run as admin in the Properties -> Compatibility window. Then changed both Epic launchers (WHY WOULD THEY HAVE TWO?!?) in the same way. Aaaaaand I still end up with the same situation. 


I don't use OneNote/Onedrive stuff. Had to remove them to be able to mod skyrim in peace.


And I'll be open to running some custom DLLs but if its' too much work, don't worry about it honestly. I should have bought the game on steam anyway.

0Send private message
a year ago
Oct 19, 2023, 10:20:52 AM

It so weird... It should work ^^ like almost all the bugs, I have to say ^^


If you can paste the Amplitude.Framework.dll in c:\Epic Games\HUMANKIND\Humankind_Data\Managed, try again and send me the diagnostics files that would be awesome. 

Please rename the original dll before so you can reset it back to normal afterward ^^'. Normally it's the same dll with some more log but... you never know...

Amplitude.Framework.dll.zip

0Send private message
a year ago
Oct 19, 2023, 6:14:50 PM

> It so weird... It should work ^^ like almost all the bugs, I have to say ^^


At this point it could be a "me" issue as well. I may have some idiosyncrasies about my Windows which lead to this bug. But every other game I've tried seems to work more or less stably. 


Here are the updated diagnostics, btw.

Diagnostics (2023'10'19 @2009'52''094''') - CUSTOM DLL.zip


> Normally it's the same dll with some more log but... you never know... 

You're absolutely right. Like most soft-magic systems, the way code behaves can never truly completely be predicted.

Updated a year ago.
0Send private message
a year ago
Oct 20, 2023, 7:24:47 AM

Ok thanks for the test and diags!


As far as I follow the code, it raise an exception when trying to clean up some folder in the "AppData".

To keep it short: for console/plateform agnostics reasons, we use a "temp" folder to "mount" your data before using/modifiying them. Then when we see fit, we write it back to the "original" location.

When we launch the application, we try to mount the "registry folder". To do that, we check if the "appdata" folder already exists and if yes, we delete it then create it afresh and copy your local files.

The application seems to crash when we try to delete the "mount" folder.


Could you check you have the right permission in the folder: "C:/Users/Admin/AppData/Local/Temp/AMPLITUDE Studios/Humankind\Mount\"? you can delete any folder already there if you like. It's our temporary folder so it will be destroyed anyway by our storage system when launching the game.


I will add to the backlog that we should "add some more specific error" in this part of the application. We could separate a little our actions and log more precise information along the way... Or even check beforehand if we have the right to do it and raise a popup to warn the player and allow him/her to fix it...


0Send private message
a year ago
Oct 21, 2023, 8:28:41 PM

That... did the trick. I'm in the game! 


The access checks were perfectly in the C:/Users/Admin/AppData/Local/Temp/AMPLITUDE Studios/Humankind  folder. But some parts of the folder were marked as readonly. I unchecked that and the game worked.


Thank you so much!


0Send private message
a year ago
Oct 25, 2023, 3:06:39 PM

Nice to hear that!


Thanks for you time and effort! And I hope you will enjoy our game!


Cheers,

flo.

0Send private message
?

Click here to login

Reply
Comment