8,484
edits
Paradox-01 (talk | contribs) mNo edit summary  | 
				Paradox-01 (talk | contribs)  m (version, license, progam bit version)  | 
				||
| Line 1: | Line 1: | ||
===  | ===General===  | ||
 logmessage license  | |||
 logmessage version  | |||
 ' examples:  | |||
 ' INFO : Softimage  | |||
 ' INFO : 13.0.114.0  | |||
 ' INFO : Mod Tool  | |||
 ' INFO : 7.5.203.0  | |||
 logmessage XSIUtils.ResolvePath("$XSI_USERHOME/")  | |||
 ' directory to addons and exported resources  | |||
 logmessage XSIUtils.ResolvePath("$XSI_HOME/")  | |||
 ' directory to a few imported core files that must be modified (Model.vbs, ModStartup.js, ...)  | |||
 ' example:  | |||
 ' INFO : C:\Users\Paradox-01\Autodesk\Softimage_2015\  | |||
 ' INFO : C:\Program Files\Autodesk\Softimage 2015\  | |||
 ' INFO : C:\Users\Paradox-01\Autodesk\Softimage_Mod_Tool_7.5\  | |||
 ' INFO : C:\Softimage\Softimage_Mod_Tool_7.5\  | |||
 logmessage XSIUtils.ResolvePath("$XSI_CPU/")  | |||
 ' shows programm bit version  | |||
 ' example:  | |||
 ' for 64-bit  | |||
 ' INFO : nt-x86-64\  | |||
 ' for 32-bit   | |||
 ' INFO : nt-x86\  | |||
===Build an vbs executable===  | |||
[[Image:VbsEdit_for_scripting_and_compiling.png|thumb]]  | [[Image:VbsEdit_for_scripting_and_compiling.png|thumb]]  | ||
Executable, app(lication), program. Whatever you call it, sometimes it might be necessary to compile the script into an actual program.  | Executable, app(lication), program. Whatever you call it, sometimes it might be necessary to compile the script into an actual program.  | ||
| Line 40: | Line 74: | ||
===  | ===Read file===  | ||
====  | ====Binary====  | ||
  scan_AKEV_file_table  |   scan_AKEV_file_table  | ||
| Line 138: | Line 172: | ||
===  | ===Modify file===  | ||
====  | ====Binary====  | ||
[[Image:Before_and_after_binary_patching_with_vbs.png|thumb|400px|Before and after patching.]]  | [[Image:Before_and_after_binary_patching_with_vbs.png|thumb|400px|Before and after patching.]]  | ||
Change FilePath and in case of binary patching use function "StringToByteArray".  | Change FilePath and in case of binary patching use function "StringToByteArray".  | ||
edits