r0fld4nc3 / Stellaris-Exe-Checksum-Patcher

Patch the game's executable so that Ironman mode can be played with Mods henceforth enabling the pursuit of Achievements with Mods.
GNU Lesser General Public License v2.1
75 stars 3 forks source link

[SOLVED] Created exe for Steam v3.12.3 does not work. Crash on launch. #13

Open Drullo123 opened 4 months ago

Drullo123 commented 4 months ago

It seems the patched exe for the 3.12.3 Steam version does not work.

All mods disabled Verified files via steam before.

Game launched fine without mods/patched exe v3.12.3 and all versions before back to 3.8.x (no experience prior).

Game launched fine with mods/patched exe v3.12.2 all versions before back to 3.8.x (no experience prior).

ChecksumLog_

This message appears when trying to start the game with the patched exe with or without any mods enabled. The game runs fine with the original 3.12.3 exe

StellarisError

Edit: If I reverse the version to 3.12.2 or prior, creating a patched exe works fine without issues. Also trying to start the patched exe directly is blocked by Windows directly with 3.12.3 (original works).

LunaLunes commented 4 months ago

Just wanted to say this is happening for me too; it seems that there's only one file that this patcher modifies which the devs did NOT want modified. No idea what it is though.

GReinke commented 4 months ago

Same Issue here

Erixperience commented 4 months ago

Fourth-ing, alas

r0fld4nc3 commented 4 months ago

Hey everyone, thanks for letting me know. That is indeed incredibly odd. I'll try to have a look as soon as possible then!

r0fld4nc3 commented 4 months ago

Hey so an update here, @Erixperience @GReinke @Drullo123 @LunaLunes It seems that my version in development in branch 1-1-0-dev patches it correctly, as I had made changes that allow it to be more efficient.

I will try to get a build up as soon as possible as pre-release so that it still works.

Thank you for reporting it! I'll report back once it's up

r0fld4nc3 commented 4 months ago

All right, @Erixperience @GReinke @Drullo123 @LunaLunes

I've made available a very preliminary and likely unstable dev build, hopefully that fixes it. I am holding my breath it'll run on the first try, but if it does, I'll be relieved!

Find it here in the releases page, as v1.1.0-pre

Hoping it helps. Please let me know how it goes!

LunaLunes commented 4 months ago

All right, @Erixperience @GReinke @Drullo123 @LunaLunes

I've made available a very preliminary and likely unstable dev build, hopefully that fixes it. I am holding my breath it'll run on the first try, but if it does, I'll be relieved!

Find it here in the releases page, as 1.1.0-pre

Hoping it helps. Please let me know how it goes!

Thanks for such a quick fix!! Gonna try it out now

LunaLunes commented 4 months ago

All right, @Erixperience @GReinke @Drullo123 @LunaLunes

I've made available a very preliminary and likely unstable dev build, hopefully that fixes it. I am holding my breath it'll run on the first try, but if it does, I'll be relieved!

Find it here in the releases page, as 1.1.0-pre

Hoping it helps. Please let me know how it goes!

Ok! So! Two issues I've noticed One, Windows anti-virus is NOT a fan of the download. I was able to get it through after telling it to ignore a few times, but its worth mentioning. Two, the pop-up the patch creates to actually, yknow, patch, is a bit too big for my screen (1980x1080 or whatever the standard size is I can't remember). Because the patch buttons are on the far bottom of my screen, I cannot click them. Usually, I can just move the pop-up to access them, but its just. Not. I'm gonna try to figure this out on my end, just wanted to give an update quickly since you gave a quick update too.

r0fld4nc3 commented 4 months ago

All right, @Erixperience @GReinke @Drullo123 @LunaLunes I've made available a very preliminary and likely unstable dev build, hopefully that fixes it. I am holding my breath it'll run on the first try, but if it does, I'll be relieved! Find it here in the releases page, as 1.1.0-pre Hoping it helps. Please let me know how it goes!

Ok! So! Two issues I've noticed One, Windows anti-virus is NOT a fan of the download. I was able to get it through after telling it to ignore a few times, but its worth mentioning. Two, the pop-up the patch creates to actually, yknow, patch, is a bit too big for my screen (1980x1080 or whatever the standard size is I can't remember). Because the patch buttons are on the far bottom of my screen, I cannot click them. Usually, I can just move the pop-up to access them, but its just. Not. I'm gonna try to figure this out on my end, just wanted to give an update quickly since you gave a quick update too.

Thanks for the update.

Regarding the download: Yes, I am aware that unfortunately it is a problem. Unfortunately I'm not 100% versed on why but my knowledge so far and suspicions are because:

  1. It's a packaged Python .exe
  2. It's and unsigned/unknown .exe for many browsers/OS's, and naturally it'll trigger anti-virus protection.

I'm sorry for the inconvenience! I've been trying to find ways to potentially let it not be so suspicious.

Secondly, regarding the resolution, I find it quite odd that it would scale past your screen.... I might have to test it in a lower res and perhaps see if I can enable a resize depending on resolution. Thanks for the heads up!

If it wouldn't bother you too much, could you provide me with an image of this size issue? Of course block out any sensitive/unwanted data you don't want to share.

In the meantime I will try to find a fix for this scaling problem.

I'm at least happy it ran and launched!

LunaLunes commented 4 months ago

All right, @Erixperience @GReinke @Drullo123 @LunaLunes I've made available a very preliminary and likely unstable dev build, hopefully that fixes it. I am holding my breath it'll run on the first try, but if it does, I'll be relieved! Find it here in the releases page, as 1.1.0-pre Hoping it helps. Please let me know how it goes!

Ok! So! Two issues I've noticed One, Windows anti-virus is NOT a fan of the download. I was able to get it through after telling it to ignore a few times, but its worth mentioning. Two, the pop-up the patch creates to actually, yknow, patch, is a bit too big for my screen (1980x1080 or whatever the standard size is I can't remember). Because the patch buttons are on the far bottom of my screen, I cannot click them. Usually, I can just move the pop-up to access them, but its just. Not. I'm gonna try to figure this out on my end, just wanted to give an update quickly since you gave a quick update too.

Thanks for the update.

Regarding the download: Yes, I am aware that unfortunately it is a problem. Unfortunately I'm not 100% versed on why but my knowledge so far and suspicions are because:

  1. It's a packaged Python .exe
  2. It's and unsigned/unknown .exe for many browsers/OS's, and naturally it'll trigger anti-virus protection.

I'm sorry for the inconvenience! I've been trying to find ways to potentially let it not be so suspicious.

Secondly, regarding the resolution, I find it quite odd that it would scale past your screen.... I might have to test it in a lower res and perhaps see if I can enable a resize depending on resolution. Thanks for the heads up!

If it wouldn't bother you too much, could you provide me with an image of this size issue? Of course block out any sensitive/unwanted data you don't want to share.

In the meantime I will try to find a fix for this scaling problem.

I'm at least happy it ran and launched!

Here's an example of the sizing issue; like I said, usually I can simply move the window up a little bit which solves the issue, but I cant even move the window. Not even hiding the taskbar works. image_2024-05-30_202823656

LunaLunes commented 4 months ago

All right, @Erixperience @GReinke @Drullo123 @LunaLunes I've made available a very preliminary and likely unstable dev build, hopefully that fixes it. I am holding my breath it'll run on the first try, but if it does, I'll be relieved! Find it here in the releases page, as 1.1.0-pre Hoping it helps. Please let me know how it goes!

Ok! So! Two issues I've noticed One, Windows anti-virus is NOT a fan of the download. I was able to get it through after telling it to ignore a few times, but its worth mentioning. Two, the pop-up the patch creates to actually, yknow, patch, is a bit too big for my screen (1980x1080 or whatever the standard size is I can't remember). Because the patch buttons are on the far bottom of my screen, I cannot click them. Usually, I can just move the pop-up to access them, but its just. Not. I'm gonna try to figure this out on my end, just wanted to give an update quickly since you gave a quick update too.

Thanks for the update. Regarding the download: Yes, I am aware that unfortunately it is a problem. Unfortunately I'm not 100% versed on why but my knowledge so far and suspicions are because:

  1. It's a packaged Python .exe
  2. It's and unsigned/unknown .exe for many browsers/OS's, and naturally it'll trigger anti-virus protection.

I'm sorry for the inconvenience! I've been trying to find ways to potentially let it not be so suspicious. Secondly, regarding the resolution, I find it quite odd that it would scale past your screen.... I might have to test it in a lower res and perhaps see if I can enable a resize depending on resolution. Thanks for the heads up! If it wouldn't bother you too much, could you provide me with an image of this size issue? Of course block out any sensitive/unwanted data you don't want to share. In the meantime I will try to find a fix for this scaling problem. I'm at least happy it ran and launched!

Here's an example of the sizing issue; like I said, usually I can simply move the window up a little bit which solves the issue, but I cant even move the window. Not even hiding the taskbar works. image_2024-05-30_202823656

Aaand nevermind! I can just. Move it now. I'll go test it out and make sure it works in game. Thanks for being so quick to respond! I greatly appreciate it :3

LunaLunes commented 4 months ago

All right, @Erixperience @GReinke @Drullo123 @LunaLunes I've made available a very preliminary and likely unstable dev build, hopefully that fixes it. I am holding my breath it'll run on the first try, but if it does, I'll be relieved! Find it here in the releases page, as 1.1.0-pre Hoping it helps. Please let me know how it goes!

Ok! So! Two issues I've noticed One, Windows anti-virus is NOT a fan of the download. I was able to get it through after telling it to ignore a few times, but its worth mentioning. Two, the pop-up the patch creates to actually, yknow, patch, is a bit too big for my screen (1980x1080 or whatever the standard size is I can't remember). Because the patch buttons are on the far bottom of my screen, I cannot click them. Usually, I can just move the pop-up to access them, but its just. Not. I'm gonna try to figure this out on my end, just wanted to give an update quickly since you gave a quick update too.

Thanks for the update. Regarding the download: Yes, I am aware that unfortunately it is a problem. Unfortunately I'm not 100% versed on why but my knowledge so far and suspicions are because:

  1. It's a packaged Python .exe
  2. It's and unsigned/unknown .exe for many browsers/OS's, and naturally it'll trigger anti-virus protection.

I'm sorry for the inconvenience! I've been trying to find ways to potentially let it not be so suspicious. Secondly, regarding the resolution, I find it quite odd that it would scale past your screen.... I might have to test it in a lower res and perhaps see if I can enable a resize depending on resolution. Thanks for the heads up! If it wouldn't bother you too much, could you provide me with an image of this size issue? Of course block out any sensitive/unwanted data you don't want to share. In the meantime I will try to find a fix for this scaling problem. I'm at least happy it ran and launched!

Here's an example of the sizing issue; like I said, usually I can simply move the window up a little bit which solves the issue, but I cant even move the window. Not even hiding the taskbar works. image_2024-05-30_202823656

Aaand nevermind! I can just. Move it now. I'll go test it out and make sure it works in game. Thanks for being so quick to respond! I greatly appreciate it :3

Seems to work! Sorry for comment spam chain. Thanks for such a quick fix! I appreciate it. Very good work !

r0fld4nc3 commented 4 months ago

Aaand nevermind! I can just. Move it now. I'll go test it out and make sure it works in game. Thanks for being so quick to respond! I greatly appreciate it :3

Seems to work! Sorry for comment spam chain. Thanks for such a quick fix! I appreciate it. Very good work !

Awesome awesome 😄 Sooo glad to hear! Yeah the scaling is definitely an issue, I'll have to spend more time investigating it!

On another note, I've updated the build again, so if you re-download the file, I've simply fixed the icons.. They should be showing up now!

Thank you so much for also testing and being so quick!

Erixperience commented 4 months ago

Back to normal, thank you you legend. Had to change browsers to download, but a small price to pay for two small mods.

r0fld4nc3 commented 4 months ago

Back to normal, thank you you legend. Had to change browsers to download, but a small price to pay for two small mods.

Oh wow! I'm so sorry for that! In the meantime I'll try to sign it again as I did with the previous versions, and hope that helps with that!

Thanks for confirming and participating! Happy achievements 😄

Drullo123 commented 4 months ago

Thanks for the quick fix. It worked.

Got no warnings for the download while using Brave.

FitzTack commented 4 months ago

Hey, I really appreciate your work. I'm not sure if the issue is with your new executable from the 1.1.0-pre build or with me.

Every time I try to run it, it hangs at "[INFO] Getting available Steam Libraries...", no matter if I run it from my Stellaris installation directory of not. I have also tried running it as an administrator or not, to see if that changed anything.

r0fld4nc3 commented 4 months ago

Hey, I really appreciate your work. I'm not sure if the issue is with your new executable from the 1.1.0-pre build or with me.

Every time I try to run it, it hangs at "[INFO] Getting available Steam Libraries...", no matter if I run it from my Stellaris installation directory of not. I have also tried running it as an administrator or not, to see if that changed anything.

Hey @FitzTack ! Thanks for the feedback! I've opened up an issue, Patcher sometimes stuck in finding Steam Library as it isn't the first time it's mentioned and I thought I had actually fixed it. I guess only partially. Let's talk over there for more details so I can try and track down what could be the cause of it!

r0fld4nc3 commented 4 months ago

On a possible final-ish note, @LunaLunes , most recent release I've just updated in 1.1.0-pre release has a possible fix/change to help with lower resolutions. It will try and detect the lower resolution and scale the window down considerably to it's minimum size, so at least it's not so big. If you end up having a chance to try it let me know if it works for you 🙂

Thanks everyone for all the feedback!