Difference between revisions of "Write file"
Jump to navigation
Jump to search
m (oopsie forgot to remove a ") |
m |
||
Line 19: | Line 19: | ||
PS3 | PS3 | ||
<code>{write_file "GD:/dev_hdd0/game/" $syscfg}</code> | <code>{write_file "GD:/dev_hdd0/game/rootarray.dta" $syscfg}</code> |
Latest revision as of 17:51, 8 April 2024
Creates a file with specified contents.
{write_file File_Path Contents}
File_Path
The file path is requires the drive to be specified. For Xbox 360 you need to use GAME:/
as HDD:
isn't accessible, Rock Band 3 Enhanced adds RB3HDD:
to bypass this. For PS3 you need to use GD:
.
You cannot create folders through write_file
, if you try to write to a folder that doesn't exist the file will not be created and it will silently fail.
Contents
A DataArray to write to the file.
Example
Xbox 360
{write_file "GAME:/rootarray.dta" $syscfg}
PS3
{write_file "GD:/dev_hdd0/game/rootarray.dta" $syscfg}