Skip to content

InjectFile

StackZ edited this page Jun 17, 2021 · 1 revision

Script function: InjectFile

UniversalEdit.InjectFile(Offset, InputFile);

This function expects 2 parameters.

  • Offset: The offset to where to inject.
  • InputFile: Path to the file which to inject.

Example

-- The line below will inject the file `sdmc:/3ds/Universal-Edit/Hex-Editor/Dump.bin` into offset 0x0 up to the filesize.
UniversalEdit.InjectFile(0x0, "sdmc:/3ds/Universal-Edit/Hex-Editor/Dump.bin");
Clone this wiki locally