SCUMM: HE games create files in wrong location (Regression)
|Reported by:||Kirben||Owned by:||Kirben|
Latest ScummVM CVS (Either branch) Compiled with GCC 3.4.2 under mingw. All HE games.
ScummVM currently creates files in the directory ScummVM was started from. While before ScummVM would create files in the game's data files directory. This is caused by changes in common/file.cpp revision 1.173. This causes regressions, for example: Changes to the colors of paintings in fbpack are no longer saved, since the 'fbpack.pal' file is created in wrong location. The original versions of HE games always created files in the game's data files directory. HE games usually create/delete a 'test' file to check if directory is writiable on startup and handle any file errors via scripts. This could
Ticket imported from: #1088136. Ticket imported from: bugs/1850.