Comments (4)
Hello @erri120, I used your findings and documentation from erri120/erri120.github.io#45 to also look into this.
I'm not entirely sure yet, but I think for the Win32_BaseBoard SerialNumber
and Win32_BIOS SerialNumber
we could take a shortcut. It's possible to read those values using wmic
inside a wine prefix.
The hardware_key
needed to decrypt my IS file has these values mapped as follows:
baseBoardSerialNumber: 'Default string'
biosSerialNumber: '0'
As you already noticed it's not possible to get those values from linux without root. From my understanding wine
does not have root access and therefore shouldn't be able to access those information either.
That's why I'm pretty confident that those values are always the same in a wine environment.
Then we have the "volume serial number". This might also be rather simple. In my wine prefixes this is always 43000000
, which is hex representation for "C", the drive letter. This can be changed with winecfg
, but then the value will be stored in C:/.windows-serial
. So either we have this file, with the correct value or it's 43000000
.
Do you have the ability to check if my assumptions apply to a wine installation?
The easiest way to get Win32_Processor ProcessorId
might be to just dispatch the wmic
call inside the prefix.
The only major showstopper for me at this time is Win32_VideoController PNPDeviceId
. I can get this value with wmic
, but the resulting string does not match the required string, they differ. I'm still looking into how to get the correct value.
from gamefinder.
@Sajito thanks for looking into it!
from gamefinder.
My problem with Win32_VideoController PNPDeviceId
seems to be a dead end for me.
I used x64dbg to step through the program. The wmi query used to get the video devices is Select * from Win32_VideoController
. The value is retrieved at 000000006E786BD9
, as a template string though. The final value is present at 000000006E786BFA
.
I tried doing exactly the same, using a simple dotnet tool. Using System.Management
to query the video devices using the same query. Checked the PNPDeviceId
, getting the same as using wmic PATH Win32_VideoController get PNPDeviceId
.
But the id I retrieve is not the same id, which is retrieved inside EABackgroundService.exe, therefore unusable to create the correct hardware key.
Maybe someone else can pick up at this point...
from gamefinder.
Some more information here.
Win32_BaseBoard SerialNumber
is not always "Default string", so it must be read from somewhere.
Also I figured out why my PNPDeviceId is different than the one used by EA App. I have an Nvidia gpu, which is hidden by dxvk dxgi. So when EA App queries the PNPDeviceId for the gpu, then an amd card is reported instead of my actual gpu.
Though I don't know yet how to obtain the same PNPDeviceId as EA App.
from gamefinder.
Related Issues (20)
- Support Heroic Games Launcher
- Change 'Can't find Manifest Folder / Directory' Errors to warnings HOT 1
- WMIHelper can't handle multiple result objects HOT 4
- Unknown hard error when parsing some Steam manifests HOT 3
- UbiConnect Support HOT 1
- Battle.net (Activision/blizzard) Launcher needs support HOT 1
- Fix Steam `AppManifestParser`
- Fix `BottlesWinePrefixManager`
- GameFinder fails to parse Steam Manifest if there is a quotation mark used in a drive label HOT 1
- GameFinder stops looking for Steam games if any Steam library isn't available HOT 2
- EGS: consider using different ID type HOT 6
- Mark every project as trimmable
- Add meta package
- Wine: `/z/*` should point to `/*`
- Decrypt IS file failed HOT 11
- GPL Licensed component HOT 4
- Allow multiple log message types (besides ErrorMessage) HOT 1
- Replace Moq with NSubstitute
- Game Discovery Issue on Steam HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gamefinder.