PDA

View Full Version : ZCL Source Code Released



Deviance
06-08-2010, 05:11 AM
Couple days ago I have decided to release the popular app known as Zelda Classic Launcher source code.

You can find it in my svn.
http://www.dproj.info/projects-svn/

ZoriaRPG
06-06-2017, 10:38 AM
[ Gravedig ]

Does anyone have the current source? Sean?
Gleeok and Saffith should have it; right?

Saffith
06-06-2017, 06:17 PM
This is the newest version, as far as I'm aware: https://www.dropbox.com/s/5jdiu2z5z9wydhq/zcl.zip?dl=0

ZoriaRPG
06-06-2017, 09:49 PM
This is the newest version, as far as I'm aware: https://www.dropbox.com/s/5jdiu2z5z9wydhq/zcl.zip?dl=0

Danke shoen.

ZoriaRPG
07-17-2017, 07:25 PM
This is the newest version, as far as I'm aware: https://www.dropbox.com/s/5jdiu2z5z9wydhq/zcl.zip?dl=0

I'm looking at this now. In what language is this coded, and what is the main file, and what is the makefile equivalent, or the building solution file?

Hell, what environment should I be using as an IDE to update this thing?

Saffith
07-17-2017, 07:39 PM
Pascal. Specifically, it's in the form of a Lazarus (http://www.lazarus-ide.org/) project. I don't know anything about the file organization, but the code should come up when you open the project file.
After you build it, you should also run optimize.bat to compress it.

ZoriaRPG
07-17-2017, 07:56 PM
Pascal. Specifically, it's in the form of a Lazarus (http://www.lazarus-ide.org/) project. I don't know anything about the file organization, but the code should come up when you open the project file.
After you build it, you should also run optimize.bat to compress it.

Gorgeous. it looked vaguely familiar. Pascal has certainly changed a bit in thirty years; eh? Lazarus though...I was wondering what .lrs was about, as i had not run into that one before.

I'll grab Lazarus and look through it over the next few days. I need to add some flags to it, and make a few minor changes for 2.53; then make more drastic changes for 2.60. zclmain.pas seems simple enough.

I expect that I need to optimise it for Linux and OSX with the shell script, and on Windows with the batch file. Is that right; or does OSX use something else?

Saffith
07-17-2017, 08:31 PM
On Linux, yes. I don't believe there's ever been a Mac version. It would have to be pretty different, given how the applications work.

ZoriaRPG
10-01-2018, 04:14 AM
On Linux, yes. I don't believe there's ever been a Mac version. It would have to be pretty different, given how the applications work.

For the record, I did port it to OSX. The only real work involved, was in getting commands to the console with OSX's silly system of storing everything inside app bundles; although IDK if it works on anything newer than 10.6.

I have yet to align the Mac source, with the main source. I had done some work on each, independent of one-another, so I will need to go back in and see what needs to be crossed from one to the other. They are separate, because the OSX build is for 2.50.2, and the new Windows and Linux builds are for 2.53.x and above; so they don't use the same config files, and aren't compatible internally. Once I have a new Mac ZC build, I'll port over ZCL, and get that all synchronised.

If anyone wants the OSX stuff:
Sources (http://timelord.insomnia247.nl/zc/zc_dev/ZeldaClassicLauncher-mac-beta-2-src.zip)
Build (http://timelord.insomnia247.nl/zc/zc_dev/ZCL-Mac-Beta-2-10FEB2018.zip)

I built that using the latest version of Lazarus that runs on my system, which at the time, I believe was also the latest build of the programme. I seem to recall that I had to install fpc before Lazarus, and that setting it up took a bit of logistical effort because it wants components set up in a specific order.