[Scummvm-devel] Fwd: Found cause for translation problem

Johannes Schickel lordhoto at gmail.com
Fri Jun 24 13:32:27 CEST 2011


On Fri, Jun 24, 2011 at 12:15 PM, Simon Sawatzki <SimSaw at gmx.de> wrote:
> despite the fix from LordHoto the priority still seems not to work. The translations.dat is still not used.
>

My priority "fix" was not about the priority issues we are talking
about here. It just added the Win resources in the priority the client
code requested instead of the default priority. If you check the
SearchManager clear function it is pretty obvious that it still
prefers "." (the cwd on *most* systems) over the Win resources.

> Johannes: The more I see problems with this recent added feature, the more I can only recommend to make an option in the configure to switch it off. I don't think it will be the last time there will be problems with this feature.
>   You say you see no point in adding it. I do: The feature is not working properly.
>

Yeah but since the feature is not working properly the proper fix
would be to make it work properly instead of disabling it.

In fact that we search the CWD is causing issues on various occasions.
It is not only limited to the Win resource code. If you have filenames
matching any game data in the CWD, those would be preferred over the
real game data too. For example in case of SCI if you have a script of
another SCI game in the CWD (happens when you dump resources from one
game via the debugger and start another SCI game in the same session
for example) it will usually cause ScummVM to error out too.

// Johannes




More information about the Scummvm-devel mailing list