4 Commits
edge ... v1.3.1

Author SHA1 Message Date
3d71c9ac2d Merge pull request 'fix(bridge): resolve cliloc file case-insensitively on Linux shards' (#38) from fix/cliloc-case-insensitive-resolve into main
All checks were successful
Release overlay / release (push) Successful in 14s
Reviewed-on: #38
Reviewed-by: Colby Whitlock <whitlocktech@gmail.com>
2026-11-25 16:28:33 -06:00
f6b4525366 fix(bridge): resolve cliloc file case-insensitively on Linux shards
Cliloc import over the bridge failed on a Linux/Mono shard whose client
ships `Cliloc.enu` (capital C): `Ultima.Files.GetFilePath` probes for the
exact lowercase `cliloc.enu` and returns null on a case-sensitive
filesystem, so BridgeCliloc replied NOT_FOUND even though the file was
present and readable.

ResolvePath now falls back to the existing case-insensitive, by-enumeration
resolver `BridgeUop.FindClientFile` when the primary lookup misses — the
same treatment the UOP animation packages already got ("the gargoyles
import on my machine and not on the server"). Windows is unchanged
(GetFilePath still answers first); the message shape is unchanged, so no
PROTOCOL_VERSION bump.

Closes #37

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014HJEmcaKvWQ8LsnXHKha5y
2026-11-25 16:23:24 -06:00
59a6c446c6 Merge pull request 'feat(bridge): protocol 8 — the shard reads its own client files (Asset Bridge cutover, 1 of 5)' (#36) from edge into main
All checks were successful
Release overlay / release (push) Successful in -1m10s
Reviewed-on: #36
Reviewed-by: Colby Whitlock <whitlocktech@gmail.com>
2026-09-14 23:09:54 +00:00
f23a08d449 Merge pull request 'feat(bridge): protocol 7 — the Event System's shard half (Phase 16b cutover, 1 of 6)' (#26) from edge into main
Some checks failed
Release overlay / release (push) Failing after 11m52s
Reviewed-on: #26
Reviewed-by: Colby Whitlock <whitlocktech@gmail.com>
2026-09-09 19:53:39 +00:00

View File

@@ -236,18 +236,32 @@ namespace Server.Custom.Bridge
private static string ResolvePath(string lang)
{
string name = "cliloc." + lang;
try
{
// ServUO's own `Scripts/Misc/DataPath.cs` calls `Files.SetMulPath` for every
// configured data directory at Configure time, so this resolves against the
// client the SHARD is running on — including on Linux, where `Ultima.Files`'s
// registry lookup finds nothing on its own.
return Files.GetFilePath("cliloc." + lang);
string path = Files.GetFilePath(name);
if (path != null)
return path;
}
catch
{
return null;
// fall through to the case-insensitive resolver
}
// `Ultima.Files` probes for exactly `cliloc.<lang>` (lowercase). A Windows client
// tree copied onto a case-sensitive Linux filesystem ships it as `Cliloc.enu`, so
// that probe misses and `GetFilePath` returns null even though the file is right
// there and readable. Fall back to the same case-insensitive, by-enumeration
// resolver the UOP animation packages already use — see BridgeUop.FindClientFile
// ("the gargoyles import on my machine and not on the server"). Windows is
// unchanged: the primary GetFilePath still answers there.
return BridgeUop.FindClientFile(name);
}
// ── the decoded table ────────────────────────────────────────────────────────────────