Commit Graph
314 Commits
Author SHA1 Message Date
michaelneverwins 5b7865b45b Add "$@" to devilutionx.sh to pass command-line arguments to devilutionx executable 2023-09-03 07:51:59 +01:00
Gleb Mazovetskiy affae57254 RG99: Run from disk rather than from /opk squashfs
Turns out the squashfs mount has some non-trivial RAM overhead.

Copy the game to local storage and run from there to avoid the overhead.
This completely eliminates long 0 FPS periods when running the demo for PGO.

It may be possible to reduce the overhead by setting
CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE kernel setting to 1.
2023-09-03 00:40:53 +01:00
Gleb Mazovetskiy 70ff515f48 Stream demo messages
This entirely eliminates the demo memory overhead.
2023-09-02 20:54:24 +01:00
Gleb Mazovetskiy 9701101634 Switch to C++20
glibc compatibility remains the same.

We now use Clang 18 and static libc++ for the Aarch64 build.
Linux x86 and x86_64 builds now use GCC 13.
2023-09-01 21:56:59 +01:00
Gleb Mazovetskiy af869ac732 Merge branch 'master' into dev-merged 2023-09-01 20:49:34 +01:00
Anders Jenbo 26977f37c5 Update 1.5.1 release notes in metainfo 2023-08-31 10:32:23 +02:00
ephphatha 5f6e5ae9fb Refactor iterator parsing to allow more reuse 2023-08-29 15:17:54 +02:00
Oleksandr Kalko 6cfa1cc752 Add draft for 1.5.1 release notes in metainfo 2023-08-29 13:53:53 +02:00
ephphathaandGleb Mazovetskiy 32c3316743 Load experience data from file
Also added an iterator based API, though it's not useful for this use-case. Might be nice in the future?

The field/record iterators is single-pass input iterators with shared state.
To avoid rescanning fields unnecessarily parseInt currently can only be called once, it would be possible to make these iterators bidirectional with a bit of extra state (holding onto the start pointer)

Co-authored-by: Gleb Mazovetskiy <[email protected]>
2023-08-24 05:46:44 +02:00
Gleb Mazovetskiy caa4c2cc34 debian-cross-aarch64-prep.sh: Support file paths
These `file` paths are used to define mirrors on the GitHub Runner Image
for Ubuntu 20.04 and 22.04.

This should fix the flaky aarch64 build.
2023-08-23 01:21:00 +02:00
Gleb Mazovetskiy c98e9f5409 debian-cross-aarch64-prep.sh: Support file paths
These `file` paths are used to define mirrors on the GitHub Runner Image
for Ubuntu 20.04 and 22.04.

This should fix the flaky aarch64 build.
2023-08-23 00:20:29 +01:00
Gleb Mazovetskiy 2f03bbb2e9 Xbox One: Fix SDL2 checkout command
Also updates SDL2 version to the latest SDL2 branch commit.
2023-08-13 21:38:15 +02:00
Gleb Mazovetskiy 429823c882 Xbox One: Fix SDL2 checkout command
Also updates SDL2 version to the latest SDL2 branch commit.
2023-08-13 20:36:07 +01:00
Oleksandr Kalko f841fca1b6 Remove flatpak manifest
It now lives in flathub repo and will be maintained there
2023-07-21 13:26:46 +02:00
Oleksandr Kalko 8912d0333a Metainfo improvements (#6388) 2023-07-19 16:41:52 +02:00
Oleksandr Kalko 1955c089ed Add install instructions to metainfo
This info will be displayed in Flathub and stores like KDE Discover
and Gnome Software Center
2023-07-17 18:21:45 +02:00
Gleb Mazovetskiy d6b7949dab Fonts: Use pre-cropped CLX sprites
Built-in font size decreased by 121,587 bytes
(2,287,332 -> 2,165,745).

Fixes #6361
2023-07-16 06:02:19 +02:00
ikonomov ee91d9ecf5 update arenas
Removed the murky pools, simplified the areas and made them accessible without teleport.
2023-07-15 02:23:01 +02:00
Anders Jenbo d5b6066664 Update discord link 2023-07-12 00:07:47 +02:00
Oleksandr Kalko 5046f10b23 Flatpak install improvements (#6245) 2023-06-19 05:32:41 +02:00
Gleb Mazovetskiy a88374cae8 LinuxReleasePackaging.sh: Copy discord_game_sdk
Also adds a `devilutionx.sh` launcher which sets `LD_LIBRARY_PATH` so
that `discord_game_sdk.so` can be loaded from the same directory.
2023-06-17 14:46:54 +01:00
Anders Jenbo fc91b65958 Add widescreen hive loadscreen 2023-06-01 01:15:54 +02:00
Anders Jenbo 83a984d019 Add widescreen crypt loadscreen 2023-05-28 01:45:43 +02:00
Gleb Mazovetskiy 78f542b611 OpenDingux / Miyoo: Disable system libfmt
libfmt soversion changes frequently.
Disable the system (SDK) version for wider compatibility.
2023-05-21 08:36:04 +01:00
Gleb Mazovetskiy 8896a34a13 Overhaul version handling
Stop using git for the version tag.
The new process is as follows:

1. The `VERSION` file contains the version.
   For release, it should contain "1.5.0".
   Immediately after the release, it should be changed to "1.6.0-dev".
2. The build type is included in the version string unless it is
   "Release". The commit hash is now included into the version string
   whenever the `VERSION` file has a suffix (i.e. 1.5.0-dev rather than
   just 1.5.0). The full version string for development builds now
   looks like this: `1.5.0-dev-Debug-b102dccf8`.

This means we longer need git or `-DVERSION_NUM` to get a sensible version number.

The in-development versions are now always clearly indicated with the
`-dev` suffix no matter how DevilutionX was built.
2023-05-06 21:18:50 +01:00
Gleb Mazovetskiy 9021e3b89e Automate Linux x86_64 release
Also adds `discord_game_sdk.so` to the Linux release builds.
2023-05-02 10:41:31 +02:00
Gleb Mazovetskiy ae99697cfc GitHub actions: Automate i386-linux-gnu release
Also updates aarch64 to be basically the same as the i386 one.
2023-04-26 02:40:57 +01:00
Anders Jenbo f9b5c61f68 Extract pause translations table as a data file 2023-04-19 23:28:33 +02:00
ephphatha 2ce420425e Remake talkbutton.clx as a sheet of two sprites 2023-04-16 08:44:22 +02:00
Gleb Mazovetskiy 6d1064b57a Re-encode all the bundled CLX assets
Following the CLX encoding fix in https://github.com/diasurgical/devilutionx-graphics-tools/pull/3
2023-04-10 17:51:58 +02:00
Anders Jenbo 82d233baf9 Add widescreen version of level 16 loadscreen 2023-04-04 01:40:36 +02:00
Gleb Mazovetskiy dd3103497a aarch64-linux-gnu cross-compilation
Allows one to easily cross-compile for aarch64 on a Debian/Ubuntu host.
Also adds a GitHub Action for it.
2023-04-01 17:56:02 +01:00
Trihedraf 13e38c2c30 Update Linux Packaging Script 2023-04-01 10:08:35 +01:00
Anders Jenbo 5a1f0f4280 Add widscreen load background for Hell 2023-03-27 01:33:26 +02:00
Anders Jenbo 839690a74f Add cutttw widescreen load screen (#5923) 2023-03-24 20:01:33 +01:00
Anders Jenbo 45023b5680 Add files via upload 2023-03-24 00:33:05 +01:00
Anders Jenbo 4bd0148f49 Add cave widescreen 2023-03-22 05:18:33 +01:00
Gleb Mazovetskiy d57e59d9ee Fix OpenDingux/build.sh buildroot prep
1. Creates the missing `shared-dl` directory.
2. Unsets some environment variables that interfere with buildroot.
3. Disables `BR2_PER_PACKAGE_DIRECTORIES`, which prevented us
   from using the partial sysroot build.

Also documents the `TOOLCHAIN=...` option in docs/building.md.
2023-03-21 05:44:43 +00:00
Anders Jenbo 92244af90d Re generate load screen graphics 2023-03-18 21:54:45 +01:00
Anders Jenbo 20eb12570f Add catacombs widescreen (#5889) 2023-03-16 18:31:31 +01:00
Anders Jenbo 28ea755e32 Add churche widescreen 2023-03-16 00:49:53 +01:00
Gleb Mazovetskiy f2cb9f0fa0 file_util: Implement RecursivelyCreateDir
With this, we no longer require `std::filesystem` support to create the
save file directory when it does not exist.

Note that by default the save file directory exists because it is
created by SDL, so this is mostly useful on platforms that override the
save directory or use `UNPACKED_SAVES`.
2023-03-11 17:47:29 +00:00
danie1kr c2c0211ad8 updated buildscripts
recent changes made it necessary to add new packages to be installed and build options to be adapted
2023-02-23 00:07:50 +01:00
staphen 9acedd25e4 Fix yellow color used in UI dialog 2023-02-13 19:41:57 +01:00
staphen 0cfc60783a Reenable tests on MSVC build 2023-02-03 12:51:03 -05:00
c99f7cf644 Floating numbers (#5639)
Co-authored-by: qndel <[email protected]>
Co-authored-by: Stephen C. Wills <[email protected]>
2023-01-22 07:20:10 +01:00
Gleb Mazovetskiy 2d1773f644 Update RG99 PGO script and add instructions
Updates the script for compatibility with `UNPACKED_SAVES` and adds an
instructions document.
2023-01-20 13:50:55 +00:00
Gleb Mazovetskiy 2dd57475a5 Update SDL to the latest SDL2 branch 2023-01-16 19:33:15 +00:00
Felipe Wannmacher 34077e775c Renewed uwp certificate (#5669)
Added new certificate with expiration set for 100 years
2023-01-16 16:10:36 +00:00
Felipe Wannmacher f25c365c00 fixed issue https://github.com/diasurgical/devilutionX/issues/5661 (#5665) 2023-01-15 18:00:16 +01:00