SrcPath "Subfolder" SrcPath "c:/folder/subfolder" SrcPath #Got
DestPath "Subfolder" DestPath "c:/folder/subfolder" DestPath #Got
MakePath "SubFolder"
GetFile "Please select the source data file"
LoadFile "RelativeFile.ext" LoadFile "c:/Folder/SubFolder/File.ext" LoadFile #Got"
Extract $1000 $10 "RelativeFile.ext" Swap16 Extract $10 $1000 "c:/Folder/SubFolder/File.ext" Swap32 Extract $256B $FF "SubFolder/RelativeFile.ext"
Copy "SrcFile.ext" "DestFile.ext" Copy "#Dest/SrcFile.ext" "#Src/DestFile.ext" Swap16 Copy "#Got/SrcFile.ext" "DestFile.ext" Swap32
Extern "SomeProgram.exe" "Param1" "Some.fil" "1234" Extern "compress" "#Src\\Data.bin" "#Dest\\Data.bin"
WorkPath "SubFolder" WorkPath "#Dest/SubFolder" WorkPath "#Src"
Print "X complete, now processing Y..."
Pause "Please press any key to continue"
RunBatch "ExtLev1.txt" RunBatch "Injector/InjBatL2.txt"
LoadInject "Inject.txt" LoadInject "Injector/InjLev1.txt"
AddInject "XtraStuf.txt" AddInject "Injector/MoreStuf.txt"
RunInject "SrcFile.ext" "DestFile.ext" RunInject "#Src/SrcFile.ext" "#Dest/SrcFile.ext" RunInject #Got #Got
Define ThisValue $FF Define ThisExpression $20 + ThisValue
Translate $000000 $080000 $880000
Dispose $22E974 $22F1AC
MaxSize $400000
StartSeg ThisSeg $1000 $200 Big_Endian StartSeg $2345 Little_Endian StartSeg ThisSeg StartSeg Little_Endian StartSeg $2345 StartSeg ThisSeg $2345 StartSeg ThisSeg Little_Endian StartSeg
EndSeg
LabelName: LabelName: BYTE $FF LabelName: include "File.ext"
include "RelativeFile.ext" include "SubFolder/RelativeFile.ext" Swap16 include "C:/Folder/SubFolder/File.ext" Swap32
BYTE $FF BYTE $10, $AB, $FF BYTE $10+DefineName BYTE LabelName2-LabelName1 BYTE LabelName BYTE LabelName+DefineName
WORD $FFFF WORD $10, $23, $FFFF WORD $10+DefineName WORD LabelName2-LabelName1 WORD LabelName WORD LabelName+DefineName
DWORD $FFFFFFFF DWORD $10, $ABCD, $FFFFFFFF DWORD $10+DefineName DWORD LabelName2-LabelName1 DWORD LabelName DWORD LabelName+DefineName
String "Replacment Text"