View Issue Details

IDProjectCategoryView StatusLast Update
0003151FSSCPPlatform-Engine interactionpublic2015-03-27 22:51
Reporterniffiwan Assigned Toniffiwan  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.7.2 RC5 
Target Version3.7.4 
Summary0003151: Issues with -mod entries on systems with case-sensitive filesystems
DescriptionThe MediaVPs (since the 3.6.12 patch) have used a mod directory with capitals in the name. Most mods ship their mod.ini file with a reference to an all lower-case name. This is not an issue on Windows and OSX (with HFS+) because these filesystems are case-preserving. However on Linux and BSD the default filesystems are case-sensitive and thus a number of support issues have occurred with Linux/BSD users and the recent MediaVPs_2014.
Steps To ReproduceUse the Installer to install any mod that has mediavps_2014 as a dependency (e.g. Blueplanet, FSPort, JAD2.21)
Select the mod & run FSO
Note the large number of warnings due to missing data
TagsNo tags attached.

Activities

niffiwan

2015-03-25 10:37

developer   ~0016573

I've created a patch that'll perform case-insensitive directory searches and add all matches to the -mod data structures used by FSO.

https://github.com/niffiwan/fs2open.github.com/commit/aac7ae7f812feeae7fafe21a48e1c78c4c2c06b3

And here's the branch:

https://github.com/niffiwan/fs2open.github.com/tree/case-insensitive-mod

I'd like to get some feedback and testing from other Linux/BSD users.

m_m

2015-03-25 12:14

developer   ~0016574

The code looks good.

niffiwan

2015-03-27 00:18

developer   ~0016577

Thanks for the review. Phantom_Hoover has also tested and reported that the patch works so I'll commit this in a day or so.

niffiwan

2015-03-27 22:51

developer   ~0016581

Fix committed to trunk@11291.

Related Changesets

fs2open: trunk r11291

2015-03-27 19:11

niffiwan


Ported: N/A

Details Diff
Fix mantis 3151

Implement case insensitive -mod dir search on *nix
Affected Issues
0003151
mod - /trunk/fs2_open/code/cmdline/cmdline.cpp Diff File

Issue History

Date Modified Username Field Change
2015-03-25 10:34 niffiwan New Issue
2015-03-25 10:34 niffiwan Status new => assigned
2015-03-25 10:34 niffiwan Assigned To => niffiwan
2015-03-25 10:37 niffiwan Note Added: 0016573
2015-03-25 10:37 niffiwan Status assigned => code review
2015-03-25 12:14 m_m Note Added: 0016574
2015-03-27 00:18 niffiwan Note Added: 0016577
2015-03-27 22:51 niffiwan Changeset attached => fs2open trunk r11291
2015-03-27 22:51 niffiwan Note Added: 0016581
2015-03-27 22:51 niffiwan Status code review => resolved
2015-03-27 22:51 niffiwan Resolution open => fixed