https://bugs.winehq.org/show_bug.cgi?id=36944
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.fileplanet.com/1 |https://web.archive.org/web |95342/190000/fileinfo/Hotel |/20220920074941/https://dow |-Giant-2-Demo-%28UK%29 |nload.fileplanet.com/ftp1/1 | |22008/HG2-Demo_UK.exe?st=2G | |If1MZNISsfJCklUtI99w&e=1663 | |670866 Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download link via Internet Archive for documentation.
https://web.archive.org/web/20220920074941/https://download.fileplanet.com/f...
I can't reproduce the crash either with Wine 7.1. Clean WINEPREFIX (no winetricks).
The demo is stable / playable within its limits.
--- quote --- Demo is expired. Unable to test for now. --- quote ---
That's because the SecuROM 7.x DRM scheme of the trial/demo has a builtin expiry date of '2020-01-02 00:00:00'. That "timebomb" part is hard-coded into the DRM scheme itself, nothing the game developer can configure during build time integration.
To "trick" the DRM scheme you can use 'libfaketime' (the 32-bit part) and simply run Wine with whatever desired old date, way before Jan 2nd, 2020. Tidbit: Wine 7.2+ has a "regression" w.r.t. 32-bit 'libfaketime' usage, hence Wine <= 7.1 for the demo.
https://github.com/wolfcw/libfaketime https://gist.github.com/rmi1974/51244c06dbe1a84e052c09c5e142358a
It's best to use relative time spec when installing and running the demo.
FAKETIME="-10y"
If you use absolute time spec (not recommended), you need to use the 'start at' date spec "@YYYY-MM-DD hh:mm:ss" otherwise the DRM scheme crashes because it can't cope with a "stopped" system clock.
Be aware that SecuROM records the system time each time and detects backwards running clocks (from consecutive runs). So you might need to re-install the prefix if you did mess up that part once (forgot to export fake time).
Resolving 'fixed' here.
$ wine --version wine-7.1
Regards