The Daily Click ::. Forums ::. Klik Coding Help ::. Output config file
 

Post Reply  Post Oekaki 
 

Posted By Message

pallokallo



Registered
  23/07/2009
Points
  7
23rd July, 2009 at 18:21:16 -

Is there way to output data from field to specific line in the config text file.
For example I have field where you can type your name then it takes that to config file and adds it to line 1 or whatever. I need it to add 'set name' with space to the beginning too.

field: Jack -> config.cfg

then it adds it like this

set name "Jack"

Working with quake 2 configuring generator where it needs to output data from fields to different lines

set name "pallokallo"
set m_directinput "1"
set m_fixaccel "0"
set in_dinputkeyboard "1"
set cl_run "1"
set freelook "1"
set sensitivity "9"
set hand "0"
set crosshair "1"

Edited by pallokallo

 
-<s-

pallokallo



Registered
  23/07/2009
Points
  7
23rd July, 2009 at 22:04:34 -

Though about this long time and made this... Just a hack is there way to not use .ini

Example
http://pallokallo.frametic.fi/files/gloom_config.mfa

 
-<s-
   

Post Reply



 



Advertisement

Worth A Click