Jump to content

its not save to user.cfg Engine.ConfigDB_WriteValueToFile


seeh
 Share

Recommended Posts

 

i wonder that it is not saved to the :( config file

i try it since 2 hours. totally wired for me.

i have often used Engine.ConfigDB_WriteValueToFile successful but this dont work

Engine.ConfigDB_WriteValueToFile("user", nameLabel, cleanLabel, "config/user.cfg");

if you maybe have idea how to solve?

i now my problem description is poor. sorry

complete source here . https://github.com/sl5net/0ad-TTS-speaking-population/commit/ceb3506e37f57365d114d34ecc5965d8b833bde4

Link to comment
Share on other sites

2 hours ago, seeh said:

 

i wonder that it is not saved to the :( config file

i try it since 2 hours. totally wired for me.

i have often used Engine.ConfigDB_WriteValueToFile successful but this dont work

Engine.ConfigDB_WriteValueToFile("user", nameLabel, cleanLabel, "config/user.cfg");

if you maybe have idea how to solve?

i now my problem description is poor. sorry

complete source here . https://github.com/sl5net/0ad-TTS-speaking-population/commit/ceb3506e37f57365d114d34ecc5965d8b833bde4

What value do you pass to the variables?

  • Thanks 1
Link to comment
Share on other sites

2 hours ago, Stan` said:

What value do you pass to the variables?

thanks now its working.

i did some mistakes that hint me to seeing the changes.

for e.g. this helps:

            Engine.ConfigDB_CreateValue("user", nameLabel, cleanLabel);

to see the changes later in the GUI. and a other typo.

thanks for re-asking. now it works :cheers:

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...