SteamDatabase / FileDetectionRuleSets

🔎 Rules to detect game engines and other technologies based on Steam depot file lists
https://steamdb.info/tech/
MIT License
182 stars 74 forks source link

[Feature Request] Detecting web game engine which is packed to `.asar` file by electron #430

Closed dumganhar closed 11 months ago

dumganhar commented 11 months ago

There are some games created by game engines those support to publish games to web platforms, for example, Cocos Creator, BabylonJS, Three JS, PlayCanvas, and so on.

Although, Cocos Creator does support to publish games to Native platforms, e.g. Mac/PC/Android/iOS, some developers may still publish their games to web platform directly by some reasons and use Electron to package the web content.

So the electron package format .asar can't be a detection rule for checking which game engine its content uses.

For instance, this game https://steamdb.info/app/2001150/depots/ is created by Cocos Creator. The detection script could not recognize that it's made by Cocos Creator.

Could you support to unpack .asar file and apply file rules inside its content to detect game engines?

dumganhar commented 11 months ago

Hi @diedyesterdaywashere , thanks for your fast reply. May I ask how many electron apps were committed to Stream? Is it possible to add this feature if the number of electron app is small?

pandamicro commented 11 months ago

I saw that currently there is a little bit more than 500 games using electron, a very small portion of all games. But we fully understand the additional cost, if there could be other ways, for example just read file headers inside Zip file without decompressing it, this would save a lot.

Reference:

pandamicro commented 11 months ago

I see, download would be a noticeable cost too, what do you think @xPaw

xPaw commented 11 months ago

No plans to download files.