Write file

From Milo Modding Wiki
Revision as of 17:43, 8 April 2024 by Ieee802dot11ac (talk | contribs) (init)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.