mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-05 03:06:35 +00:00
Merge branch 'main' of https://github.com/a2-4am/4cade
This commit is contained in:
commit
ad46a33a67
@ -2,4 +2,4 @@ a=new ActiveXObject("scripting.filesystemobject")
|
||||
offset=a.getfile("BUILD\\TOTAL.DATA").size
|
||||
new ActiveXObject("wscript.shell").run('cmd /c copy /b /y BUILD\\TOTAL.DATA + ' + WScript.Arguments(0) + ' BUILD\\TOTAL.DATA', 0, 1)
|
||||
size=a.getfile(WScript.Arguments(0)).size
|
||||
a.createtextfile(WScript.Arguments(1)).write(";\r\n; Index record for " + WScript.Arguments(0).replace(/\\/, "/") + "\r\n;\r\n; This file is automatically generated\r\n;\r\n !byte 0\r\n !be24 " + " ".substr(0, 8 - offset.toString().length) + offset + "\r\n !le16 " + " ".substr(0, 8 - size.toString().length) + size + "\r\n")
|
||||
a.createtextfile(WScript.Arguments(1)).write(";\r\n; Index record for " + WScript.Arguments(0).replace(/\\/, "/") + "\r\n;\r\n; This file is automatically generated\r\n;\r\n !byte 0\r\n !be24 " + offset + "\r\n !le16 " + " ".substr(0, 8 - size.toString().length) + size + "\r\n")
|
||||
|
Loading…
Reference in New Issue
Block a user