Write file
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.