xezno
Member
I've been trying for a while now. I'm trying to read from the spr2 code and I keep getting errors. My code so far:
and it won't convert the image. GAH!
Code:
Dim ifffile As New SimsLib.IFF.Iff("C:\Program Files\Maxis\The Sims Online\TSOClient\objectdata\objects\computerslaptop.spf")
Dim imgconv As New ImageConverter
PictureBox1.Image = imgconv.ConvertFrom(ifffile.GetSprite(1))