Opened 20 years ago

Closed 20 years ago

Last modified 5 years ago

#7380 closed feature request

change behaviour of filesearch

Reported by: SF/dhwz Owned by: SF/ender
Priority: normal Component: GUI
Version: Keywords:
Cc: Game:

Description

I tried to put the german language.bnd in my english "the dig" directory but now it always loads the language.bnd even if i set the language to English (US). That results in a german game interface :-)

But i want that i can choose between english and german, is it possible to change the sourcecode that it ignores the language.bnd if set to English, because the original version of the dig has no language.bnd, only the international versions have it.

Or maybe we can use the extrapath option for every game and it looks there for files not found in path? that would be useful because some big games use the same files and have only different video/data files.

Ticket imported from: #1001160. Ticket imported from: feature-requests/196.

Change History (7)

comment:1 by fingolfin, 20 years ago

Loading of language files shouldn't be conditionalized upon the base language, I'd say. E.g. COMI does ship a translation file, even for the english version. Rather, if you want to share data files between multiple versions of a single game, either use symlinks (if you are on a unix-like operating system), or wait for us to extend extrapath to cover all file searches (I am only waiting for Ender to give his OK for this change before I commit it).

comment:2 by fingolfin, 20 years ago

Owner: set to SF/ender

comment:3 by fingolfin, 20 years ago

The changes I mentioned are in HEAD CVS (and thus in the daily builds), and should be contained in the next major release (like 0.7.0)

If ender agrees, we could backport those changes to 0.6.x, too - they are really trivial.

comment:4 by SF/ender, 20 years ago

Yeah, adding ExtraPath as a default directory was actually the intention (the initial Sword1 stuff was just me trying to test CD switching, there are many problems with it still). So backport at will :)

comment:5 by sev-, 20 years ago

Status: newclosed

comment:6 by sev-, 20 years ago

So, now it is backported, so I'll close the RFE.

comment:7 by digitall, 5 years ago

Component: GUI
Note: See TracTickets for help on using tickets.