Jump to content

Renaming currency?


naxself

Recommended Posts

I was wondering if anyone knows if it's possible to rename any of the currencies in FM. That is, I'd like to create a custom currency for my created nation by renaming a currency that's not used. Since I can't seem to do it in the editor, would it be possible to do it using an LNC file or something like that? I'm pretty sure it's a purely cosmetic change.

Thanks in advance for any help/advice/suggestions!

Link to post
Share on other sites

go to: program files/steam/steamapp/common/football manager editor 2017/data/format/database ui - find database record lists.xml. Open it with notepad and find this:

<!-- currency table -->
      <record>
        <flags id="field" value="crls" />
        <translation id="name" translation_id="314583" type="use" value="Currencies[COMMENT: Competition editor; field name]" />
        <flags id="type" value="database_table" />
        <boolean id="is_section" value="true" />
        <boolean id="stretch_to_fit_screen" value="true" />
        <flags id="database_table_type" value="currency" />
        <boolean id="use_labels_for_columns" value="true" />
        <boolean id="allow_add" value="false" />
        <boolean id="allow_remove" value="false" />
        <boolean id="is_client_field" value="true" />
         <boolean id="dont_remove_unneeded_fields" value="true" />

        <record id="list_item">
          <flags id="fields" value="crcl" />
        </record>
      </record>

 

change bold line to  <boolean id="allow_add" value="true" />

save file and after that :

go to: program files/steam/steamapp/common/football manager editor 2017/data/format/database - find currency.xml  Open it with notepad and find this:

<!-- name -->
            <record>
                <flags id="field" value="dbnm" />
                <translation id="name" translation_id="229689" type="use" value="Name" />
                <flags id="type" value="string" />
                <boolean id="is_read_only" value="true" />
            </record>
            
       change bold line to "false"

save file and start editor

 

Link to post
Share on other sites

38 minutes ago, krlenjushka said:

go to: program files/steam/steamapp/common/football manager editor 2017/data/format/database ui - find database record lists.xml. Open it with notepad and find this:

<!-- currency table -->
      <record>
        <flags id="field" value="crls" />
        <translation id="name" translation_id="314583" type="use" value="Currencies[COMMENT: Competition editor; field name]" />
        <flags id="type" value="database_table" />
        <boolean id="is_section" value="true" />
        <boolean id="stretch_to_fit_screen" value="true" />
        <flags id="database_table_type" value="currency" />
        <boolean id="use_labels_for_columns" value="true" />
        <boolean id="allow_add" value="false" />
        <boolean id="allow_remove" value="false" />
        <boolean id="is_client_field" value="true" />
         <boolean id="dont_remove_unneeded_fields" value="true" />

        <record id="list_item">
          <flags id="fields" value="crcl" />
        </record>
      </record>

 

change bold line to  <boolean id="allow_add" value="true" />

save file and after that :

go to: program files/steam/steamapp/common/football manager editor 2017/data/format/database - find currency.xml  Open it with notepad and find this:

<!-- name -->
            <record>
                <flags id="field" value="dbnm" />
                <translation id="name" translation_id="229689" type="use" value="Name" />
                <flags id="type" value="string" />
                <boolean id="is_read_only" value="true" />
            </record>
            
       change bold line to "false"

save file and start editor

 

Awesome! Thank you!

I was looking in the wrong file, heh.

Link to post
Share on other sites

  • 8 months later...

Hi!

I've done the 2 changes described before. 

Now I can change the currency name but when I move to another field or page, the currency name reset automatically to the defualt

it happens both editing an existing currency and after adding a new currency.

so the currency name is not editable.

the exchange rate field is normally editable.

 

Do I need to do some other xml edits  to make permanent the change of currency name ?

 

P.S.

in the path "C:\Program Files\Steam\steamapps\common\Football Manager 2017 Editor\data\format\database ui\"   I didn't find the file "database record lists.xml" but "db record lists.xml"

 

Link to post
Share on other sites

Are you in the editor or in the game when you see the currency name change? It sounds like you would need to edit something more. 

 

EDIT: Just wondering if changing the "person name" file to set "false" instead of "true" here: 

Quote

<!-- nation -->
            <record>
                <flags id="field" value="Pnti" />
                <flags id="name" value="Nation" />
                <flags id="type" value="database_record_unique_id" />
                <flags id="database_table_type" value="nation" />
                <boolean id="is_read_only" value="true" />
            </record>

would remove the seemingly hard coded aspect of names in the database. 

Link to post
Share on other sites

I explain better

I want to change the currency name "Serbian Dinar" in "Yugoslav Dinar" and also the related "Exchange Rate" from 142.817 to 2.180

I've done the changes described before even if in the path "C:\Program Files\Steam\steamapps\common\Football Manager 2017 Editor\data\format\database ui\"   I didn't find the file "database record lists.xml" but one called "db record lists.xml"

 

On 22/11/2016 at 05:11, krlenjushka said:

go to: program files/steam/steamapp/common/football manager editor 2017/data/format/database ui - find database record lists.xml. Open it with notepad and find this:

<!-- currency table -->
      <record>
        <flags id="field" value="crls" />
        <translation id="name" translation_id="314583" type="use" value="Currencies[COMMENT: Competition editor; field name]" />
        <flags id="type" value="database_table" />
        <boolean id="is_section" value="true" />
        <boolean id="stretch_to_fit_screen" value="true" />
        <flags id="database_table_type" value="currency" />
        <boolean id="use_labels_for_columns" value="true" />
        <boolean id="allow_add" value="false" />
        <boolean id="allow_remove" value="false" />
        <boolean id="is_client_field" value="true" />
         <boolean id="dont_remove_unneeded_fields" value="true" />

        <record id="list_item">
          <flags id="fields" value="crcl" />
        </record>
      </record>

 

change bold line to  <boolean id="allow_add" value="true" />

save file and after that :

go to: program files/steam/steamapp/common/football manager editor 2017/data/format/database - find currency.xml  Open it with notepad and find this:

<!-- name -->
            <record>
                <flags id="field" value="dbnm" />
                <translation id="name" translation_id="229689" type="use" value="Name" />
                <flags id="type" value="string" />
                <boolean id="is_read_only" value="true" />
            </record>
            
       change bold line to "false"

save file and start editor

 

After that I can edit normally the field "Exchange Rate" of the Currency "Serbian Dinar" but if i try to change the name from "Serbian Dinar" to "Yugoslav Dinar", I can do it temporary. Indeed when I move the cursor in another field, the name reset to default to "Serbian Dinar" .

Indeed in tha page changes of the currency "Serbian Dinar" appears that:

img1.thumb.png.efa2df2a9ef88c64fafdf55346c9f9ed.png

 

how can I change permanently the currency name?

 

thanks


 

img.png

Link to post
Share on other sites

Just a thought but maybe you should have changed this instead:

Quote

<!-- name -->
            <record>
                <flags id="field" value="Cnam" />
                <translation id="name" translation_id="229689" type="use" value="Name" />
                <flags id="type" value="string" />
        <boolean id="is_read_only" value="true" />
      </record>

From the same currency-file. 

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...