-
-
Notifications
You must be signed in to change notification settings - Fork 854
Description
User Story
Not all Unreal Engine games use .ut2 map format
Hardcoded in
| rm -rfv "${serverfiles:?}/Maps/"*.ut2.uz2 |
| mv -fv "${serverfiles}/Maps/"*.ut2.uz2 "${compressedmapsdir}" |
Expected fix
a) use Server config(ini) [URL] MapExt variable instead of ut2.
b) use LGSM game presets. config-lgsm/{server}/_default.cfg defaultmap="{map}.{ext}" if dot found. With fallback to ut2. Need testing to prevent possible ext errors, but anyway it must fix more bugged behavour than can create.
c) remove .ut2(it is Maps folder so expecting only maps inside). Possible conflict with Not expected fix.
Why it need to be fixed(Expected fix)
- It is LGSM code(affects lgsm servers only).
- Now it have unexpected behavior on kfserver and roserver(.rom). But UE games have lots of other MapExt that may have influence on other server implementations.
- Module DO NOT FILTER input files(map.ext.uz2.uz2.uz2...) Right now on almost default kfserver I've got compressed maps ~0.5GB. If do not remove them manually we now have geometric progression for each compress maps run. After 10 runs we will got 500GB+. So it not even "Automated"-ready.
Not expected fix
compressedmapsdir="${rootdir}/Maps-Compressed" is fastdl analogue.
I expecting wontfix(so I do not create different issue for that "Not expected fix"), but if anyone want I must write it to prevent possible conflict with Expected fix.
I'll skip story part. Now exists 3 variants:
- uncompressed files on server. No fastld.
- compressed files on server. No fastdl.
- compressed files on fastdl. Compressed all not-default content(maps, textures, mods). All compressed files in one fastdl dir(UE version specific).
This will most likely fix: ut99server, ut2k4server, roserver, kfserver.
Now 1 and 2 works for roserver, kfserver(due to current MapExt mv bug). Maybe on some other servers too.
Expected behavour(user selection):
a) let MapExt files stay in dirs(for no fastdl)
b) move all compressed files to ~/public_html/fastdl/. Print hint(webdl settings in Game config file, [IpDrv.HTTPDownload] RedirectToURL= and UseCompression=True)
Basic info
- Distro: not distro specific
- Game: [Killing Floor] [Red Orchestra: Ostfront 41-45]
- Command: [map-compressor]
- LinuxGSM version: [v21.3.2]
Further Information
A clear description of what the feature is and any ideas on how to achieve this.
Make "Expected fix". It will fix roserver and kfserver. Map Compression module would be Automated-ready.
"Not expected fix" described for reference only(as It may require old servers refactoring for map-compressor, maybe fastdl and lgsm-logic).
Further Reading
Provide any useful documentation or resources that might help.
Redirection and Compression - UnrealAdminWiki
Metadata
Metadata
Assignees
Labels
Type
Projects
Status