About Store Forum Documentation Contact



Post Reply 
[Critical] Problem on running published game .exe file
Author Message
tipforeveryone Offline
Member

Post: #1
[Critical] Problem on running published game .exe file
I publish a private build of my game for some friends to test. And there are 5 of them have propblem on running published exe file.

Double clicking exe file doesnt start game and leaves Error report in Windows Event Log, there are some dmp files in AppData/Local/CrashDumps/, open one of them by WinDbg show this: https://i.gyazo.com/eb76a3bba318104e8c6a...c881c9.png

It is annoying when published product get crashing on multiple machines, this give me a bad feeling on releasing my game. There will be many people who can't play

I am using build from source Esenthel version and VS2022. But this happens on even Stable binary Esenthel version with VS2019.
01-20-2022 10:32 AM
Find all posts by this user Quote this message in a reply
vohai2003 Offline
Member

Post: #2
RE: [Critical] Problem on running published game .exe file
I'm one of the closed beta tester. And I'm also the one who digged in that error.
And this is my info that I got so far:
1. The instruction pointer stopped at popcnt instruction, which is introduced in SSE4.2. My laptop haven't supported it for now.
2. Although VS prove that a CPU test will be taken before using any advanced instruction, that instruction still be passed to my CPU.
3. Changing the compiler option to Not Set didn't solve the problem.
My crash dumps: Crash Dumps
My specs: Spec
(This post was last modified: 01-20-2022 10:45 AM by vohai2003.)
01-20-2022 10:40 AM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #3
RE: [Critical] Problem on running published game .exe file
https://github.com/Esenthel/EsenthelEngi...c.cpp#L793
I see there's some popcnt usage there.
Didn't know it's SSE4 only.
Now I'm away from home, going back in couple days.
So you can try to disable popcnt usage and use the manual implementation over there.
01-20-2022 02:04 PM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #4
RE: [Critical] Problem on running published game .exe file
https://store.steampowered.com/hwsurvey/...e-to-Steam
According to steam SSE4 is supported by 98-99% computers
01-20-2022 02:42 PM
Find all posts by this user Quote this message in a reply
vohai2003 Offline
Member

Post: #5
RE: [Critical] Problem on running published game .exe file
(01-20-2022 02:42 PM)Esenthel Wrote:  https://store.steampowered.com/hwsurvey/...e-to-Steam
According to steam SSE4 is supported by 98-99% computers
There's a hugh different between 4 and 4.2. Lots of CPU supported 4.1 but not 4.2.
Well, It's really depend on where the survey took place. In Vietnam, lots of gamers still using old Pentium CPUs. While they're powerful enough to run most game, SSE4.2 are still not supported.
And we don't want anybody to be left behind.
01-20-2022 02:55 PM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #6
RE: [Critical] Problem on running published game .exe file
The cpu is from year 2009. I don't think I'll be making changes to the source code.
01-20-2022 03:00 PM
Find all posts by this user Quote this message in a reply
vohai2003 Offline
Member

Post: #7
RE: [Critical] Problem on running published game .exe file
(01-20-2022 03:00 PM)Esenthel Wrote:  The cpu is from year 2009. I don't think I'll be making changes to the source code.

Can you help us tweak the source code for this project only? We will be appreciated.
The only problem here is how to implement the popcount.
01-20-2022 03:03 PM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #8
RE: [Critical] Problem on running published game .exe file
There's a software implementation in the link I've provided. Just use that one
01-20-2022 04:08 PM
Find all posts by this user Quote this message in a reply
vohai2003 Offline
Member

Post: #9
RE: [Critical] Problem on running published game .exe file
(01-20-2022 04:08 PM)Esenthel Wrote:  There's a software implementation in the link I've provided. Just use that one

I saw that lines. Edited the codes. Compiling and waiting for result.
A little off-topic: if I modify your engine, it's no more Esenthel Engine but it's developed based on it. So basically we have to credit the Esenthel's dev and share revenue, right?
01-20-2022 04:16 PM
Find all posts by this user Quote this message in a reply
RedcrowProd Offline
Bronze Supporter

Post: #10
RE: [Critical] Problem on running published game .exe file
As stated on the github
GAME ENGINES
You may NOT integrate the source code into other game engines, that are not based on Esenthel Engine.
You can create your own game engines based on Esenthel, however they must clearly state that they're
"based on Esenthel Engine" with the name linking to:
http://esenthel.com or https://github.com/Esenthel/EsenthelEngine and 30% of income generated from
your engine and engine related services (including but not limited to: donations, license sales,
adding features, providing support) must be shared with Esenthel Engine creator.
01-20-2022 05:07 PM
Find all posts by this user Quote this message in a reply
Pixel Perfect Offline
Member

Post: #11
RE: [Critical] Problem on running published game .exe file
(01-20-2022 05:07 PM)RedcrowProd Wrote:  As stated on the github
GAME ENGINES
You may NOT integrate the source code into other game engines, that are not based on Esenthel Engine.
You can create your own game engines based on Esenthel, however they must clearly state that they're
"based on Esenthel Engine" with the name linking to:
http://esenthel.com or https://github.com/Esenthel/EsenthelEngine and 30% of income generated from
your engine and engine related services (including but not limited to: donations, license sales,
adding features, providing support) must be shared with Esenthel Engine creator.

Just a heads up on this, both Licences published on the Forum and Github currently state 15%. If this is not correct they probably want updating.
01-20-2022 08:06 PM
Find all posts by this user Quote this message in a reply
vohai2003 Offline
Member

Post: #12
RE: [Critical] Problem on running published game .exe file
The build with modified engine ran just well with old CPU.
Thanks for all your helps. The thread can be closed now.
01-21-2022 02:48 AM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #13
RE: [Critical] Problem on running published game .exe file
30% is old. I've lowered it to 15%. It applies only to engine services and license sales. Not games. You can still sell game for free.
01-21-2022 04:32 AM
Find all posts by this user Quote this message in a reply
Post Reply