Sgl Importer Asm Functions

smoochy boys on tour

NickAKAVexus

Golden Oldie
Golden Oldie
Apr 16, 2005
1,427
1
145
New york
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
 

Attachments

  • TargaEncode32Patcher.txt
    8.2 KB · Views: 11
  • TargaEncode32Viewer.txt
    8.3 KB · Views: 11
  • WriteFunctions.txt
    41.8 KB · Views: 8

EMPEROR

Dedicated Member
Dedicated Member
Apr 23, 2005
136
1
65
I know, Ill get all stuff that involves SGL and maybe it will help someone.