4sports/bin/changebootloader.js
2021-02-16 01:01:22 -05:00

7 lines
272 B
JavaScript

a = new ActiveXObject("scripting.filesystemobject")
b = a.opentextfile(WScript.Arguments(0))
b.skip(0x200)
d = b.read(a.getfile(WScript.Arguments(0)).size-0x200)
b.close()
b=a.createtextfile(WScript.Arguments(0), 1).write(a.opentextfile(WScript.Arguments(1)).read(512)+d)