k-zhouk / WC2SavesEditor

Warcraft 2 save files editor
0 stars 0 forks source link

Save File Size Incorrect Error #1

Open MartiagoSantinezTheReal opened 4 months ago

MartiagoSantinezTheReal commented 4 months ago

Hey! I've been having problems with the program, It doesn't allow me to open any files because it claims they are the wrong size, I tried rebooting my PC, downloading the program again, compiling it myself from the github project and nothing, have any ideas on what could I do? Thanks!

image_2024-07-15_190146734

(If you need any more information please let me know I'll send it to you as soon as I can!)

MartiagoSantinezTheReal commented 4 months ago

Just a quick update, I decided to go ahead and modify the variable for the size of the file and it goes past that test, but now it won't detect the campaign type... I'm gonna drop my .sav here just in case it helps u.u HC NSC 11.7 gfdgdfg3 - Copy.zip

MartiagoSantinezTheReal commented 4 months ago

Hey! Me and a friend started looking into it, after modifing the variable const char HUMAN_CAMPAIGN_TYPE and changing its value fron 'a' to an 'f' the program started no problem, I guess this has to do with the different releases of the game or something like that. But that's it :p

k-zhouk commented 2 months ago

Hello. Thanks for your feedback. I always have save files of the same size regardless of level I was playing and regardless of the campaign (human/ orc).

In order to dig deeper in, could you let me know: 1/ The version of the game you have 2/ If you use any addons 3/ Campaign type you've been playing (human/ orc)? 4/ After you skipped the check of the file size and type of the campaign, whether change of the resources values (gold/ wood/ oil) works as expected?

Many thanks in advance.

Best regards, Konstantin