Harepacker-resurrected
Harepacker-resurrected copied to clipboard
NULL bitmap
Hi All,
After encrypting a Mob.wz file, it appears some images are not properly parsing/saving. The repacker itself works for all other files, but it appears it doesn't work well with encrypting Mob.wz files.
I debugged, went to a node that wasn't getting images saved, and received the following error:
System.NullReferenceException HResult=0x80004003 Message=Object reference not set to an instance of an object. Source=HaRepackerResurrected StackTrace: at HaRepacker.Converter.BitmapToImageSource.ToWpfBitmap(Bitmap bitmap) in C:\Z41Nencryption\Harepacker-resurrected\HaRepacker\Converter\BitmapToImageSource.cs:line 107
It could be with List.wz, as some of the .img are encrypted with a different IV.
Upload the Mob.wz, I'll take a look at it.
Here's the encrypted Mob.wz that has images missing: http://www.mediafire.com/file/l5dudjswa65w4n0/Mob.wz/file This one's the original unencryted Mob.wz that I wish to encrypt: http://www.mediafire.com/file/3c06xim5g6wrd8l/Mob.wz/file
Are you saying I should first save the unencrypted List.wz, save to the folder that my Mob is in, then try to encrypt the Mob.wz? If so, that's already been done as I encrypted other files with no problem.
In any case, thank you for replying so quickly. Love your work and appreciate the open source. Hope you had a great Thanksgiving!
(P.S - feel free to use any other IV to encrypt - I assume it fails on any IV other than original GMS. Just weird how other things work but Mob freaks out)