marcussacana / MwareStuff

My tools to the Mware Engine
The Unlicense
60 stars 12 forks source link

UnauthorizedAccessException #27

Closed offline2007 closed 3 years ago

offline2007 commented 3 years ago

First of all, thanks for you hard work!

Sadly I have a problem with extracting the script.npk file from the game Yoe and Me and Her. I extracted the key without a problem, but when I try to extract the npk with the NPKTool, the program just throws me an UnauthorizedAccessException error. I tried running it with administrator rights, changed the folder and even tried it on an other system, but nothing is changing.

Am I doing something wrong here? Screenshot 2021-07-03 171338

marcussacana commented 3 years ago

strange, a folder with the same name exists? if you have visual studio you can try run while debugging to see the problem.

marcussacana commented 3 years ago

also send me the command line and the file to me test here

offline2007 commented 3 years ago

Yeah, the folder exists 100%. I tried it just in the root directory of my second disk and in two other folders. I don't have Visual Studio installed, but I can install it and try running it while debugging like you suggested, but my knowledge in Visual Studio is really limited.

Here the command line and file that I used: NPK3Tool.exe -KY E7E8A5F99BAF7C73AE6BDF3D8C90262FF25025A12DB539F9CFD6E8E57975B798 E:\script.npk script.zip

marcussacana commented 3 years ago

False positive, your file is marked as read-only in his proprieties, disable the read-only.

offline2007 commented 3 years ago

Oh wow, I feeling kinda stupid right now, though I'm not sure why the file was set to read-only in the first place. Thanks though.... and sorry :<