PDA

View Full Version : Zelda Classic 2.50.3 RC1



Saffith
12-04-2016, 06:55 PM
Downloads (http://www.zeldaclassic.com/downloads/) (at the bottom of the page)

Changes since 2.50.2
-=SPOILER=-

Double buffering is now enabled by default on Windows because it seems to fix display issues in newer versions of Windows. If you're updating in place, however, you'll need to edit ag.cfg or it will continue to use the old setting. The setting is doublebuffer in the [zeldadx] section; it should be set to 1.


There are a couple of relatively risky changes that could use some testing. I'm pretty sure they're okay, but some verification wouldn't hurt. If there are any problems, I don't expect they'll be subtle.

There was a change to the ladder. Historically, those have not worked out well. This change only applies when Link has flippers and is walking onto water horizontally with diagonal movement enabled; I don't anticipate any new problems in other scenarios.

Some FFC script data was moved, so check that those didn't break. In particular, make sure ffc->Misc[] and pointers work correctly, especially after changing screens. Don't forget the different carryover options.

There have been a couple of changes to the compiler. Initializing and writing to user-defined arrays is handled a bit differently now. There's also been a slight change to how the compiler handles getter and setter functions, meaning all Game->GetCurX functions and all built-in variables. Neither of these affects any existing quests; you'll need to recompile scripts to make sure nothing broke.
A couple of specific examples of array issues that should be fixed now:

arr[Link->X]=12345; // This would set arr[Link->X] to 0
int arr2[]={ arr[0], arr[1], arr[2] }; // This would initialize as { 0, 0, 0 }

DarkDragon
12-04-2016, 09:39 PM
Which github revision does this RC correspond to? (This information would be useful to post along with the announcement in the future as well).

Saffith
12-04-2016, 10:51 PM
8ba451d3ccc8634ca5caa973d91c35f6658a6f68 (https://github.com/ArmageddonGames/ZeldaClassic/commit/8ba451d3ccc8634ca5caa973d91c35f6658a6f68)
Meant to tag it, but I seem to have failed at that. Oh, well.

luckilla
12-09-2016, 05:43 PM
Zelda Classic 2.50.3 RC1 does not work on mac os 10.12.1 (1682555) or the Sierra version.

Saffith
12-09-2016, 06:28 PM
Did 2.50.1 or any earlier version work?

luckilla
12-09-2016, 08:50 PM
I have 2.50.1 saved on my mac from the day it was publicly released that works fine for me. I just went to download 2.5.0, and after I did that I had the same problem I did downloading 2.5.2 and 2.5.3 RC1. It seems to me anything I download with the new Sierra mac os 10.12.1 (1682555) version corrupts the the Zelda classic install. It is good to know the issue is not with the builds, but with the install into the new mac OS X version. At least we know more than we did.

ZoriaRPG
12-10-2016, 01:52 PM
Saffith: Didn't you also fix a critical bug, where ZC crashed if a script identifier was too long, and another, if a script buffer had too long of an open quoted string, or something like that?

Saffith
12-10-2016, 02:16 PM
I have 2.50.1 saved on my mac from the day it was publicly released that works fine for me. I just went to download 2.5.0, and after I did that I had the same problem I did downloading 2.5.2 and 2.5.3 RC1.
That's bizarre. I don't know if I built Allegro differently, or if some default setting is bad, or what.
Could you try downloading 2.50.1 again and see if it works or not? That would help determine if it's a difference in the program or something else. Here's the link. (https://www.dropbox.com/s/8k4eg1u8ek0t5t1/zc-2-50-1-mac.tgz?dl=0)


Saffith: Didn't you also fix a critical bug, where ZC crashed if a script identifier was too long, and another, if a script buffer had too long of an open quoted string, or something like that?
Those were both from long error messages.

luckilla
12-10-2016, 02:51 PM
I just downloaded 2.50.1 from the link and it also did not work, It seems to me any build I download now gets corrupted. The only thing not corrupted is the 2.50.1 build I have saved on my mac.

Saffith
12-10-2016, 03:15 PM
I think I might have found the problem. Apparently Sierra has a new security feature called translocation that can prevent an application from finding its data files. That sounds like what you're seeing.
Try this: in Finder, click and drag ZC to a different folder and run it there. Supposedly, that will disable translocation. You can presumably move it back afterward.

War Lord
12-10-2016, 03:28 PM
I think I might have found the problem. Apparently Sierra has a new security feature called translocation that can prevent an application from finding its data files. That sounds like what you're seeing.
Try this: in Finder, click and drag ZC to a different folder and run it there. Supposedly, that will disable translocation. You can presumably move it back afterward.

Great catch Saffith. I do believe that to be his issue after reading it. I have not experienced behavior like that on my mac at work but I don't download and run things out of Downloads often.


The basic gist is that if you download and run a Gatekeeper app from the Downloads folder, the OS will copy the app into a read-only disk image and run it from there instead. See the link above for more details.

luckilla
12-10-2016, 07:51 PM
I got it to now work for me. It downloaded all the quest files, then I downloaded the Zelda classic app, so I think that was the problem. I did not realize this was what I needed to do(I thought files were built right into the build itself?!?!?, but everything is good now, thanks for the ideas and help.

War Lord
12-10-2016, 08:23 PM
Thank you guys for pinpointing the problem. I wish I could get it to work, I am going to keep trying to figure this one out. If anyone has a good idea please let me know.

You've moved it out of the downloads folder like to your desktop and it still does the same thing?

Saffith
12-10-2016, 08:55 PM
I found another thing. Someone said having two applications packaged together seems to confuse it. So try this: in Finder, move ZC and ZQuest into two different folders, then move them back. Maybe that'll do it.

luckilla
12-10-2016, 10:53 PM
It looks like it (all the Mac builds) does not need the files it saved to run, the only thing that makes it run is being game folder. For some reason it seems any game folder is like a happy spot for the build to run correctly. it did not work correctly in the applications folder. This is weird, but at least I figured out how to fix the problem now.

luckilla
12-12-2016, 11:19 PM
I was playing the 5th quest on 2.50.3 RC1 and noticed 2 weird bugs. One bug was sometimes when playing - Link will just walk somewhere and not stop sometimes I can stop this from happening, but seems like bug. This only happens once in a while. Another glitch is sometimes the screen saver comes on too soon. These issues are with the Mac build just for clarification.

Saffith
12-13-2016, 12:08 AM
One bug was sometimes when playing - Link will just walk somewhere and not stop sometimes I can stop this from happening, but seems like bug.
That sounds like a key getting stuck or a key release not registering. Neither would be a bug, exactly. Does it happen more than before? Might be due to a change in 10.12, but I don't know what that might be...


Another glitch is sometimes the screen saver comes on too soon.
The game's screen saver or the OS's? The game's screen saved should be disabled by default. The OS's we probably can't do anything about.

luckilla
12-13-2016, 12:37 AM
It was the game's screen saver. Thank you for the info about the key getting stuck. It does not happen often when playing, but happens a few times when playing. Just trying to make sure these are not issues before 2.50.3 get released. I did not notice any other issues.