Jump to content

Photo

ZC Mac Updates / Progress


  • Please log in to reply
7 replies to this topic

#1 Timelord

Timelord

    The Timelord

  • Banned
  • Location:Prydon Academy

Posted 06 February 2018 - 01:51 PM

I thought that I would post a general progress report on building ZC on OSX:

I have my Mac Pro set up now, and running with all of the needed utilities.

I have XCode 3.2.6 set up, plus CMake, Git, Code::Blocks, Lazarus (FPC), and some related tools.

I have built ZLaunch for OSX, and I worked out the major issues. One notable problem is that the ZC/ZQuest config files are stored in the application bundles; but these should now be accessible via some pathing tricks; however, spaces in path names are still a problem.

In my limited environment, ZCL launches ZC and ZQuest properly.

More will follow as I am able to make progress. I may release ZCL for Zelda Classic 2.,50,2, in the interim.

 

I noticed that I cannot run ZQuest while ZC is open; and that I cannot launch ZC while ZQuest is open. Is that normal?

 

Have all of you been suffering with this, unspoken, for years?!

 

I'm unsure why this is true, but it could be because of how the .cfg files are stored inb the application bundles; that they are locked while one is open, and the other cannot access the config files or it could be an access limitation on the libs.


  • Cukeman and Joaish (RedTribeLink) like this

#2 Saffith

Saffith

    IPv7 user

  • ZC Developers

Posted 06 February 2018 - 02:23 PM

I noticed that I cannot run ZQuest while ZC is open; and that I cannot launch ZC while ZQuest is open. Is that normal?
 
Have all of you been suffering with this, unspoken, for years?!

Yep, that's been going on for as long as I'm aware. Seems to be an Allegro issue; it's allegro_init that fails. I never was able to figure out why. I'd guess there's some shared resource or lock it's holding.
My experience was that they'd usually work together after a few minutes, though. Start ZQuest, wait maybe ten minutes, then start ZC, and it would probably work fine.

#3 Timelord

Timelord

    The Timelord

  • Banned
  • Location:Prydon Academy

Posted 06 February 2018 - 03:32 PM

Yep, that's been going on for as long as I'm aware. Seems to be an Allegro issue; it's allegro_init that fails. I never was able to figure out why. I'd guess there's some shared resource or lock it's holding.My experience was that they'd usually work together after a few minutes, though. Start ZQuest, wait maybe ten minutes, then start ZC, and it would probably work fine.

I noticed that, too. It seemed intermittent, and the time could be seconds, or minutes.

I'm wondering if it's because the resources are being shared between app bundles, but if it's an allegro bug, ugh. Let's pray that it is fixed in 4.4. Obviously a conflict that the Allegro people overlooked, because Mac < Windows < Linux.

I don't remember this in the old PPC builds that Takuya made, but that was 12 years ago, and I may simply be remembering wrongly. Those builds were unstable as heck, anyway.

#4 TheRock

TheRock

    Go glitches

  • Members

Posted 06 February 2018 - 04:50 PM

 

 

I noticed that I cannot run ZQuest while ZC is open; and that I cannot launch ZC while ZQuest is open. Is that normal?

 

Have all of you been suffering with this, unspoken, for years?!

 

When I first got into zelda classic back in 2014 I remember that both of them were able to open at once, but for whatever reason both of them will not be opened at the same, also, I don't think the midi bug has been fixed on the mac version, since every time curtain midis play, some of the other midis get reason messed up sounding.


Edited by TheRock, 06 February 2018 - 06:09 PM.


#5 Timelord

Timelord

    The Timelord

  • Banned
  • Location:Prydon Academy

Posted 06 February 2018 - 05:44 PM

When I first got into zelda classic back in 2014 I remember that both of them were able to open at once, but for whatever reason both of them will be opened at once, also, I don't think the midi bug has been fixed on the mac version, since every time curtain midis play, some of the other midis get reason messed up sounding.

eee

By this, do you mean that the behavious of running ZC and ZQuest changed?

IDK about MIDI issues, at present. Being able to build a Mac version comes first, before fixing it, in any regard.

I set the system up to allow remore login for other people with OSX dev experience, although I highly doubt that this 'feature' will be used.

#6 TheRock

TheRock

    Go glitches

  • Members

Posted 06 February 2018 - 06:12 PM

I got the wording wrong, only one of them will ever be opened at once. No, the behavior always works fine.


Edited by TheRock, 06 February 2018 - 06:22 PM.


#7 Cukeman

Cukeman

    "Tra la la, look for Sahasrahla. ... ... ..."

  • Banned
  • Location:Hyrule/USA

Posted 06 February 2018 - 06:56 PM

Yep, that's been going on for as long as I'm aware. Seems to be an Allegro issue; it's allegro_init that fails. I never was able to figure out why. I'd guess there's some shared resource or lock it's holding.
My experience was that they'd usually work together after a few minutes, though. Start ZQuest, wait maybe ten minutes, then start ZC, and it would probably work fine.

 
Really? I've never been able to get them both open at the same time. I just tried ten minutes with no success.
 
 


I noticed that I cannot run ZQuest while ZC is open; and that I cannot launch ZC while ZQuest is open. Is that normal?
 
Have all of you been suffering with this, unspoken, for years?!


 
I've always been vocal about issues like this but without knowing where to speak up, they just got placed in random posts, I'm thinking that's true for other users as well.

Edited by Cukeman, 06 February 2018 - 06:58 PM.


#8 Timelord

Timelord

    The Timelord

  • Banned
  • Location:Prydon Academy

Posted 07 February 2018 - 07:56 AM

If 4.4 doesn't fix this, it might be viable to have a separate lib each for ZC and ZQ. I doubt this would help, but; who knows?

 

I'm definitely not up for hacking Allegro.

 

Edit:

 

I'm beginning to think that time is not the factor involved. Doing random tasks in the Finder seemed to clear the lock???

 

Here's a video:

 

 

P.S. I recorded this on my Windows laptop, using OBS, plus a Window Capture of a VNC connection to the Mac Pro. That's why you see Windows elements at the end; OBS doesn't run on OSX 10.6.8.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users