francot514 / FreeSims

Open source engine used for The Sims
Other
232 stars 14 forks source link

freesims file path problems on Ubuntu #8

Open Darth-Tiktaalik opened 4 years ago

Darth-Tiktaalik commented 4 years ago

Several problems with file paths when run on this os:

  1. case sensitivity, for example it'll search for nhood.bmp with lowercase .bmp and fail because it's all caps(BMP) or search for colorpoly2d.xnb but fail because the D is uppercase.

  2. It fails to find driveby14.xa on loading an empty lot despite consistent capitalization because the last slash is a \ which windows sees as valid while linux only accepts / for paths.

francot514 commented 4 years ago

Hey good like you have tried, none reported before will check for those issues.

Darth-Tiktaalik commented 4 years ago

Decided to check if this effects compiling too and sure enough I needed to change capitalization of a couple of folders for this to build:

/FreeSims/sims.common/content to /FreeSims/sims.common/Content

And

/FreeSims/SimsVille/World/Model needed the M in Model to be uppercase.

francot514 commented 4 years ago

Good finding, can you tell post the output log when you run from compiled version on linux.