I took these from the woool patcher. The executable imports images from packages downloaded onto your pc.
So for those who know ASM this will come in handy.
What I found out: The importing of images just uses TargaBuild32 which then calls TargaEncode32; our TargaEncode32 and TargaBuild32 do not match 100% but they are still close.
Good luck converting maybe some good can come from this.
Below are attachments.
TargaBuild32Patcher.txt = TargaEncode32 function from wooolpatcher.exe
TargaBuild32Viewer.txt = TargaEncode32 function from the delphi viewer source code
WriteFunctions.txt = GrabImageData function and WriteImageData function from wooolpatcher.exe
So for those who know ASM this will come in handy.
What I found out: The importing of images just uses TargaBuild32 which then calls TargaEncode32; our TargaEncode32 and TargaBuild32 do not match 100% but they are still close.
Good luck converting maybe some good can come from this.
Below are attachments.
TargaBuild32Patcher.txt = TargaEncode32 function from wooolpatcher.exe
TargaBuild32Viewer.txt = TargaEncode32 function from the delphi viewer source code
WriteFunctions.txt = GrabImageData function and WriteImageData function from wooolpatcher.exe