4sports/bin/changebootloader.js

7 lines
272 B
JavaScript
Raw Normal View History

2021-02-16 06:01:22 +00:00
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)