koolkdev / wzpp

WZ++ MapleStory .wz files C++ library
0 stars 0 forks source link

Opening IMG file gives invalid object type error #1

Open bogoshipda opened 5 months ago

bogoshipda commented 5 months ago

I'm trying to compile and run wzcpp with the attached img file from UI.wz but it throws an error.

Exception catch: Invalid Object type: 퍽P?닶

C:\Users\Admin\source\repos\wzpp\Debug\WZ++.exe (process 50384) exited with code 0.
Press any key to close this window . . .

The img file that I am trying to open is Logo.img (but I have also tested with the original 0100100.img file). Line 13 in WZ++.cpp can be changed to the name of the new file to be tested. I have attached two of the files that I tested before. The origin of the files are from the mapleroyals installer.

Not allowed to attach IMG files but here is a download link: https://pixeldrain.com/u/ZKJw4JcF 01010001.img https://pixeldrain.com/u/LBEz7BgW 0100100.img https://pixeldrain.com/u/1evv1A1w Logo.img https://pixeldrain.com/l/yTkqKtoN All 3 files

koolkdev commented 5 months ago

Hey, this is a very old code written 15 years ago for old versions of GMS that I have uploaded for archival purposes. It doesn't support encrypted strings which this version has.