File: launch-ut99.yaml.in

package info (click to toggle)
game-data-packager 73
  • links: PTS, VCS
  • area: contrib
  • in suites: bookworm
  • size: 23,420 kB
  • sloc: python: 11,086; sh: 609; makefile: 59
file content (80 lines) | stat: -rw-r--r-- 2,509 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
---
binary_only: true
required_files:
  - "$${UT99System}/Core.so"
  - System/Core.u
  - System/UnrealTournament.ini
  - Maps/Entry.unr
base_directories:
  - $prefix/lib/ut99
  - $assets/ut99
  - $assets/unreal-ut99-shared
dot_directory: ~/.utpg
old_dot_directories:
  - ~/.loki/ut
working_directory: "$prefix/lib/ut99/$${UT99System}"
library_path: ["$prefix/lib/ut99/$${UT99System}"]
argv: ["$prefix/lib/ut99/$${UT99System}/ut-bin", "-log"]
symlink_into_dot_directory:
  - "$${UT99System}"
  - System
copy_into_dot_directory:
  - "$${UT99System}/*.ini"
  - "System/*.ini"
edit_unreal_ini:
  System/UnrealTournament.ini:
    once:
      # Replace Windows paths with Unix paths
      - section: Core.System
        replace_key:
          SavePath: ../Save
          CachePath: ../Cache
        delete_matched:
          - "Paths=..\\System\\?.u"
          - "Paths=..\\Maps\\?.unr"
          - "Paths=..\\Textures\\?.utx"
          - "Paths=..\\Sounds\\?.uax"
          - "Paths=..\\Music\\?.umx"
      # Enable Bonus Packs for use and auto-download by default
      - section: Engine.GameEngine
        append_unique:
          - ServerPackages=epiccustommodels
          - ServerPackages=multimesh
          - ServerPackages=relics
          - ServerPackages=de
          - ServerPackages=tcowmeshskins
          - ServerPackages=tnalimeshskins
          - ServerPackages=tskmskins
          - ServerPackages=SkeletalChars
    always:
      - section: Core.System
        append_unique:
          - Paths=../System/*.u

          - Paths=../Maps/*.unr
          - Paths=$prefix/lib/ut99/Maps/*.unr
          - Paths=$assets/ut99/Maps/*.unr

          - Paths=../Textures/*.utx
          - Paths=$prefix/lib/ut99/Textures/*.utx
          - Paths=$assets/ut99/Textures/*.utx
          - Paths=$assets/unreal-ut99-shared/Textures/*.utx

          - Paths=../Sounds/*.uax
          - Paths=$prefix/lib/ut99/Sounds/*.uax
          - Paths=$assets/ut99/Sounds/*.uax
          - Paths=$assets/unreal-ut99-shared/Sounds/*.uax

          - Paths=../Music/*.umx
          - Paths=$prefix/lib/ut99/Music/*.umx
          - Paths=$assets/ut99/Music/*.umx

          - LangPaths=../SystemLocalized/<lang>/*.<lang>
          - LangPaths=$assets/ut99/SystemLocalized/<lang>/*.<lang>
          - LangPaths=../System/*.<lang>
          - LangPaths=$assets/ut99/System/*.<lang>

      # We package everything needed for the Game of the Year edition
      - section: UTMenu.UTLadder
        replace_key:
          bGOTY: "true"