Attempt to improve Unix filesystem support
Add some new methods to PK3StructuredReader and DirectoryReader, which get the filename with the correct case, and get a file at a particular path. Replace backslashes in modeldef model paths with forward slashes, instead of doing the opposite, which was preventing some models from loading. I don't know whether or not this is a good solution or not, since I don't know the UDB codebase very well.
Showing
- Source/Core/Data/DirectoryReader.cs 8 additions, 3 deletionsSource/Core/Data/DirectoryReader.cs
- Source/Core/Data/PK3StructuredReader.cs 29 additions, 34 deletionsSource/Core/Data/PK3StructuredReader.cs
- Source/Core/ZDoom/ModeldefStructure.cs 1 addition, 1 deletionSource/Core/ZDoom/ModeldefStructure.cs
Loading
Please register or sign in to comment