about summary refs log tree commit diff
path: root/pkgs/games/gog/war-for-the-overworld.nix
Commit message (Collapse)AuthorAgeFilesLines
* fetchGog: Default downloadName to "en3installer0"aszlig2020-06-231-1/+0
| | | | | | | | | | | | | Most of the games are using "en3installer0" as the downloadName, so it makes sense to use this as the default, since first of all do not support languages other than English except for a few games (eg. Albion) and second, there is no game with several installer packages to chose from (at least not on top of my head). Even if there would be, it would still be the exception rather than the rule, so let's optimise for the common scenario. Signed-off-by: aszlig <aszlig@nix.build>
* games/wfto: Update to version 2.0.4aszlig2018-09-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Gameplay/balance changes for units: * Archon (Titan) * Basic Attack -- Damage decreased from 400 to 350 * Exterminate -- Damage decreased from 500 to 400 * Behemoth (Titan) * Recuperation (Out of combat health regeneration) * Regeneration rate increased from 0.25% to 0.45% of maximum health per second * Relentless (In combat health regeneration) * Regeneration rate increased from 0.025% to 0.045% of maximum health per second * Eternal (Titan) * Time Vortex (Slowing Aura) * Now slows enemies by 50% down from 60% Visual Improvements: * The Evil Arcane theme now has its own worker. Evil dorfs arrive! Audio Changes: * Added Additional Unit VO: * Democorn * Sentinel & Stone Knight * Rat * Highguard * Thunderling Adjusted VO: * Chunder * Miscellaneous Improvements * Users on all platforms who were suffering from abnormally high GPU * Utilisation should no longer suffer from this issue Bug Fixes: * Crashes & Show-stoppers * A number of graphics related Linux crashes should no longer occur Levels / Campaigns: * Fix an issue on Level 13 of the War for the Overworld campaign where Arcane Templar's shields would appear without their texture Miscellaneous: * Fix some minor warnings This release also fixes the crash I encountered when adding the game in 54e484fa385b16858bad77041da19c52238ae1c9. Upstream ticket: https://brightrockgames.userecho.com/communities/1/topics/4685-x Signed-off-by: aszlig <aszlig@nix.build>
* games/gog: Switch everything to gogUnpackHookaszlig2018-07-311-3/+1
| | | | | | | | | | | | | | | | | | For Albion, Settlers 2 and World of Xeen we need to explicitly add gogUnpackHook, because for those the derivation containing the game data is not created via our buildGame wrapper. Everything else is just done by removing unpackCmd and unzip from the package arguments. One exception is Thimbleweed Park, which relied on custom path for unzip in order to get the desktop icon, but with our now hook, we get that icon now in xdg-icon.png with a flat directory structure. I've tested this by building all the games from GOG that we have packaged here. However, I didn't test whether every single one actually runs. Signed-off-by: aszlig <aszlig@nix.build>
* games/gog: Add War for the Overworldaszlig2018-07-191-0/+88
This was the whole reason why I implemented the monogame-patcher even though it is very useful for other games as well. So the main issue why patching was needed is that the game writes its savegames into the same directories as other assets, so we need to be very careful about which method we patch and how in order to avoid failures to load other assets rather than savegames. However while in principle the game runs fine there is a Heisenbug hidden, so it segfaults whenever strace is not used. Here is the backtrace: #0 0x0000000000f973be in ?? () #1 0x0000000000f8f444 in ?? () #2 0x0000000000f2379b in ?? () #3 0x0000000000f2940b in ?? () #4 0x0000000000f1fa87 in ?? () #5 0x00000000008e8cc8 in ?? () #6 0x00007ffff79bc5a7 in start_thread () from libpthread.so.0 #7 0x00007ffff61cf22f in clone () from libc.so.6 Disassembly around 0xf973be: f973a2: 45 0f b6 4f 02 movzbl 0x2(%r15),%r9d f973a7: ba 04 00 00 00 mov $0x4,%edx f973ac: 41 80 f9 02 cmp $0x2,%r9b f973b0: 74 05 je f973b7 f973b2: 41 0f b6 57 03 movzbl 0x3(%r15),%edx f973b7: 48 8b 40 30 mov 0x30(%rax),%rax f973bb: 83 f9 1b cmp $0x1b,%ecx >f973be: 8b 40 08 mov 0x8(%rax),%eax f973c1: 89 44 24 58 mov %eax,0x58(%rsp) f973c5: 0f 86 6d 01 00 00 jbe f97538 f973cb: c6 44 24 5f 00 movb $0x0,0x5f(%rsp) f973d0: 45 31 ff xor %r15d,%r15d f973d3: 89 54 24 28 mov %edx,0x28(%rsp) f973d7: 89 74 24 20 mov %esi,0x20(%rsp) f973db: 44 88 44 24 18 mov %r8b,0x18(%rsp) f973e0: 44 88 4c 24 30 mov %r9b,0x30(%rsp) f973e5: e8 16 fa 92 ff callq 8c6e00 The last callq is for <operator new(unsigned long)@@Base+0x27c9d0>, so I'd suppose this might be a bug in the patched Mono version of Unity but could also be a chain reaction (who knows). Probably the reason why it works with strace might be a race condition, but I haven't thoroughly debugged this. Especially if there are no symbols available it's very hard to debug, so I'll leave that to some day in the future. Signed-off-by: aszlig <aszlig@nix.build>