csf loading problem

Bug #895575 reported by .
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ares
Fix Released
Medium
AlexB

Bug Description

Except "ra2md.csf", other csf(ex:ares.csf, stringtableXX.csf) will not always be loaded in game.
p.s. I'm in chinese version.

Revision history for this message
. (cjy954) wrote :
Revision history for this message
DCoder DCoder (dcoder1337) wrote :

D'oh! We only have an ares.csf with the English language flag, and the code refuses to load CSFs with different language flags. Will have to think of a solution...

Revision history for this message
Renegade (renegade) wrote :

how about enabling a language suffix?
As in, ares.en.csf, ares.de.csf, ares.cn.csf?
We could at least supply German as well, and I'm sure the submitter could help with a proper Chinese translation.

Revision history for this message
. (cjy954) wrote :

I think "ares.zh.csf" better than "ares.cn.csf"
because "zh" represent chinese language,"cn" represent china(nation)
and upload it.

Revision history for this message
. (cjy954) wrote :

had uploaded new ares.zh.csf for r792.

Revision history for this message
REIN1 (rein1) wrote :

I use stringtable00.csf to solve this problem.

Revision history for this message
Linglin (linglin) wrote :

I think it should be both Simplified and Traditional version for this
REIN1,you haven't see the Description clearly,right?

Revision history for this message
DCoder DCoder (dcoder1337) wrote :

Can we load ares.zh-CN.mix if ares.mix cannot be loaded due to the language flag? Or do we need a a different naming scheme?

Revision history for this message
. (cjy954) wrote :

This is not serious point.
Ares only loaded ares.csf/stringtable*.csf with the value of the same language of ra2md.csf.
If it only have stringtable*.csf,other languages will not be loaded.
If the MOD have multi-lanugage version, it can use this feature.
So I proposed it can be set and the default language set it is not distinguish language.
The multi-language ares.csf is not necessary.

Revision history for this message
Death Saint (death-saint) wrote :

It's easy to solve it,open your ra2md.csf in Ra2CStredit(not Ra2srtedit or other editor,it's a Chinese csf edit), don't change any string table and save it.the editor will change some hex data automatically. Then the engine could read other csf normally.

Revision history for this message
AlexB (alexander-b) wrote :

A language ID of -1 or 0xFFFFFFFF is now considered "language-neutral" and will be loaded no matter what the actual language is. Also, Ares.csf will now always be read.

Changed in ares:
assignee: nobody → AlexB (alexander-b)
milestone: none → 0.a
status: New → Fix Committed
Revision history for this message
mevitar (mevitar) wrote :

Confirmed as working. With a ra2md.csf with a language value 0, giving stringtableXX.csf files a value of 02 makes the game ignore them. With a value of -1, they're read normally.

In 0.9, they're not read either way.

AlexB (alexander-b)
Changed in ares:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.