Difference between revisions of "Category:Ini Functions (Lutana)"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Gribbleshnibit8
(Created page with "{{Bc|Functions (Lutana)}} ==Info== INI files are read from and written to in the Data\config\ folder (as in MCM's INI functions). [http://en.wikipedia.org/wiki/INI_file#Exampl...")
 
imported>Gribbleshnibit8
(Add useful link to file and folder access functions)
 
Line 9: Line 9:
A keystring is a string containing both the section and key in the format: "Section:Key" ('\' and '/' may also be used as the delimiter.)
A keystring is a string containing both the section and key in the format: "Section:Key" ('\' and '/' may also be used as the delimiter.)
[[Category:Functions (Lutana)]]
[[Category:Functions (Lutana)]]
==Additional==
If you don't know the name of the INI file, or you want to provide the ability for users to drop additional files with additional settings (say, for renaming objects) then these functions are also useful, allowing you to get all the files in a folder and process them without hard-coding in file names. [[GetFilesInFolder]] [[GetFoldersInFolder]]

Latest revision as of 23:08, 17 December 2016

Info[edit | edit source]

INI files are read from and written to in the Data\config\ folder (as in MCM's INI functions). Format Example

If no filename is specified, the name of the mod the function is called from is used. Subdirectories can be defined in the path, e.g. "subDir\nameOfFile"

Writing to an INI file that does not exist will create it along with any non-existent subdirectories in its path.

A keystring is a string containing both the section and key in the format: "Section:Key" ('\' and '/' may also be used as the delimiter.)

Additional[edit | edit source]

If you don't know the name of the INI file, or you want to provide the ability for users to drop additional files with additional settings (say, for renaming objects) then these functions are also useful, allowing you to get all the files in a folder and process them without hard-coding in file names. GetFilesInFolder GetFoldersInFolder

Pages in category "Ini Functions (Lutana)"

The following 9 pages are in this category, out of 9 total.