Skip to content

Full Linux support#42

Merged
AnakinRaW merged 62 commits into
developfrom
feat/support-linux
May 10, 2026
Merged

Full Linux support#42
AnakinRaW merged 62 commits into
developfrom
feat/support-linux

Conversation

@AnakinRaW
Copy link
Copy Markdown
Member

No description provided.

@AnakinRaW AnakinRaW changed the base branch from main to develop April 12, 2026 17:34
AnakinRaW and others added 12 commits April 14, 2026 14:13
Replaces custom path normalization logic in PetroglyphFileSystem with PathNormalizer from AnakinRaW.CommonUtilities. Moves LinuxDirectorySeparatorNormalizeOptions to a static readonly field. Cleans up unused usings and retains legacy code as comments for reference.
Renamed StringExtensions to Extensions. Added a generic Enum.Parse<T> extension method for NETFRAMEWORK builds to simplify enum parsing from strings.
Moved FriendlyName override to class body and removed the
Verify method implementation from AudioFileVerifier.
@AnakinRaW AnakinRaW changed the title [WIP] Full Linux support Full Linux support Apr 14, 2026
Check filePath length before allocating ValueStringBuilder to improve efficiency. Update warning log to use filePath.ToString() for overlong paths. Reorganize normalization logic for clarity and ensure proper resource disposal.
AnakinRaW and others added 29 commits April 15, 2026 17:05
ModPaths and AdditionalFallbackPath are now single string properties using the platform-specific path separator, instead of IList<string>. SettingsBuilder splits and normalizes these paths accordingly. Help texts are updated, and unit tests are added to verify correct path parsing and normalization using a mock file system.
Refactored texture existence checks by introducing IsNone and GuiSpecialTextureExists helpers. Special cases for "none" textures now avoid false warnings and are consistently cached. Centralized repository lookup logic for Scanlines, ButtonMiddle, and FrameBackground types. Improved error messages by clarifying origin labeling and adjusting error context.
…pport-linux

# Conflicts:
#	src/PetroglyphTools/PG.StarWarsGame.Engine.FileSystem/IO/PetroglyphFileSystem.Exist.cs
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ne had crc collision and loaded a different file.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ts strategy

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@AnakinRaW AnakinRaW merged commit c88191e into develop May 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant