naxself Posted November 22, 2016 Share Posted November 22, 2016 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 More sharing options...
krlenjushka Posted November 22, 2016 Share Posted November 22, 2016 you can add new one or change defaults but need to change some lines in editor install folder Link to post Share on other sites More sharing options...
naxself Posted November 22, 2016 Author Share Posted November 22, 2016 6 minutes ago, krlenjushka said: you can add new one or change defaults but need to change some lines in editor install folder Thanks. I'll have a look around in there, but do you have any idea where to start? Link to post Share on other sites More sharing options...
krlenjushka Posted November 22, 2016 Share Posted November 22, 2016 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 More sharing options...
naxself Posted November 22, 2016 Author Share Posted November 22, 2016 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 More sharing options...
Nick Gallagher Posted August 2, 2017 Share Posted August 2, 2017 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 More sharing options...
Fredrik Posted August 2, 2017 Share Posted August 2, 2017 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 More sharing options...
Nick Gallagher Posted August 2, 2017 Share Posted August 2, 2017 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: how can I change permanently the currency name? thanks Link to post Share on other sites More sharing options...
Fredrik Posted August 2, 2017 Share Posted August 2, 2017 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 More sharing options...
Nick Gallagher Posted August 2, 2017 Share Posted August 2, 2017 10 minutes ago, Fredrik said: Just a thought but maybe you should have changed this instead: From the same currency-file. already tried. but the behaviour is the same Link to post Share on other sites More sharing options...
krlenjushka Posted August 3, 2017 Share Posted August 3, 2017 I tried also and without result. Also tried to add new currency to database but same problem again. I guess its disabled for some reason... Link to post Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.