sebastian-heinz / Arrowgene.DragonsDogmaOnline

Server for Dragons Dogma Online
GNU Affero General Public License v3.0
166 stars 51 forks source link

Escape gmd.csv path fields #481

Closed alborrajo closed 2 months ago

alborrajo commented 2 months ago

To allow patching on linux, the gmd.csv has to have the paths to the arc files using forward slashes, which work both on windows and linux. However, after naively replacing all slashes to forward slahes in the csv, since arc files internally have their archived file paths using backward slashes, when comparing fields using a simple string comparison, the patcher couldn't find the files contained in the arc. To work around this, paths read from the csv are normalized into using backward slashes.

Checklist: