launch-unreal-gold.yaml.in 1.53 KB
Newer Older
1
---
2
game: unreal
3 4 5 6 7 8 9
binary_only: true
required_files:
  - System/Core.so
  - System/Core.u
  - System/UnrealLinux.bin
  - Maps/Entry.unr
base_directories:
10 11
  - $prefix/lib/unreal-gold
  - $prefix/lib/unreal
12 13 14
  - $assets/unreal-gold
  - $assets/unreal
  - $assets/unreal-ut99-shared
15
working_directory: $${XDG_DATA_HOME}/unreal-gold/System
16 17
library_path: ["."]
argv: [./UnrealLinux.bin]
18 19 20 21
symlink_into_dot_directory:
  - System
copy_into_dot_directory:
  - System/*.ini
22 23 24 25
edit_unreal_ini:
  System/UnrealLinux.ini:
    once:
      # Debian Games Team policy: games start windowed
26
      - section: SDLDrv.SDLClient
27 28 29 30 31
        replace_key:
          StartupFullscreen: "False"
    always:
      - section: Core.System
        append_unique:
32 33
          - Paths=$prefix/lib/unreal-gold/Maps/*.unr
          - Paths=$prefix/lib/unreal-gold/Maps/UPak/*.unr
34 35 36
          - Paths=$assets/unreal-gold/Maps/*.unr
          - Paths=$assets/unreal-gold/Maps/UPak/*.unr
          - Paths=$assets/unreal/Maps/*.unr
37

38
          - Paths=$prefix/lib/unreal-gold/Textures/*.utx
39 40 41
          - Paths=$assets/unreal-gold/Textures/*.utx
          - Paths=$assets/unreal/Textures/*.utx
          - Paths=$assets/unreal-ut99-shared/Textures/*.utx
42

43
          - Paths=$prefix/lib/unreal-gold/Sounds/*.uax
44 45 46
          - Paths=$assets/unreal-gold/Sounds/*.uax
          - Paths=$assets/unreal/Sounds/*.uax
          - Paths=$assets/unreal-ut99-shared/Sounds/*.uax
47

48
          - Paths=$prefix/lib/unreal-gold/Music/*.umx
49 50
          - Paths=$assets/unreal-gold/Music/*.umx
          - Paths=$assets/unreal/Music/*.umx
51
...