Windows port, part 4a: Epic, GOG, Ubisoft, EA and Heroic on Windows, and the dual-boot hints (W4 part 1) #35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "windows-w4a"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Windows port, phase W4, part 1: the other launchers on Windows, and the dual-boot side on both systems. Plan section 4 (launcher table) and section 10 (W4 row). It is based on main and independent of #33 and #34; whichever merges after the others gets small conflicts in the help texts and docs.
Launchers on Windows
auto%ProgramData%\Epic\EpicGamesLauncher\Data\Manifests\*.item, orModSdkMetadataDirepic:<AppName>AppVersionString, plus each DLC's id and versionbIsIncompleteInstallnot a plainfalse, a staging folder that holds files or cannot be listed, a DLC still installingHKLM\SOFTWARE\WOW6432Node\GOG.com\Games\<id>gog:<id>buildId, plus DLC!Tempfolder holds files or cannot be listed%APPDATA%\heroic\…, the Linux code with Windows paths and no prefixesHKLM\…\Ubisoft\Launcher\Installs\<id>with the uninstall entry's nameubisoft:<id>DisplayVersionwhere writtenauto --include-newwaits for a versionISfile is not read)ea:<…>DisplayVersionlaunchers/recorded.rs), the same way Steam'sinstalldiris. Refused paths: not absolute, UNC or device paths,.., device names, colons, a trailing dot or space, and Linux-style paths. Such a record becomes anunreadablewarning.overlap.rs). Steam, Epic or GOG win over Ubisoft and EA, and Ubisoft wins over EA. With an Epic library present, Epic wins over Heroic (Heroic's Epic sync); on Linux there is no Epic library, so Heroic is unchanged there.ogc list(also--json),analyze,compress,autoandexcludework on all of them. Battle.net is the only launcher not looked for on Windows, andogc listnames it on stderr.epic:,gog:,heroic:,ubisoft:andea:selectors, in 13 languages.Dual boot (
src/dualboot/)ntfs, or ntfs-3g/fuseblk) and finds games with files Windows compressed (WOF, and classic LZNT1).ntfsdriver before its WOF support reads them as zeros (games do not start);EOPNOTSUPP(games do not start under Proton);ogc list(codewindows-compressed; JSONntfs_driver,windows_compressed) and under the NTFS drive's banner in the app, beside the existing move-to-btrfs offer.statfs), and the hourly timer never walks NTFS games.steamapps\compatdataholds something (Proton made it from Linux) is "auch von Linux genutzt" (used-by-linuxinogc list).autoand the background task skip its games, noting this once a day;ogc compressstill compresses them, with a warning.Tests
cargo test --all-featureswith Broadway andOGC_TEST_REQUIRE_BTRFS=1(1516 passed, 0 failed).check.shandwine-test.shin the container. The Wine smoke lists one game of each launcher (Epic with a forward-slash path, GOG with a DLC, Ubisoft pointing into Steam's Portal so Portal shows once, EA, Heroic), the Battle.net notice and theused-by-linuxhint.Not verified yet
ntfsdriver and ntfs-3g (plan §9.3 #8). The behaviour was taken from the 7.2 kernel modules;OGC_TEST_NTFS_DIRruns the probe test on a real drive.