Welcome, Guest. Please login or register.

Author Topic: ADF Viewer/Manager for macOS  (Read 12240 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline bloodlineTopic starter

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
ADF Viewer/Manager for macOS
« on: November 30, 2016, 11:11:40 PM »
I was cleaning through some old files and found some old code for an ADF manager I wrote for the Mac some time ago.

I have compiled the code and amazingly it works... if anyone here find it useful, let me know and I might add more features :)

https://drive.google.com/file/d/0B3CMG5yqFK4janJFaS1CUFRFek0/view?usp=sharing

Offline Matt_H

Re: ADF Viewer/Manager for macOS
« Reply #1 on: December 01, 2016, 02:59:09 AM »
Er, any chance you can do an OSX 10.6 compatible compile? ;)

I'm currently using The Archive Browser to examine ADFs on my Mac, but it's a little unstable...
 

Offline bloodlineTopic starter

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: ADF Viewer/Manager for macOS
« Reply #2 on: December 01, 2016, 07:34:17 AM »
Quote from: Matt_H;817120
Er, any chance you can do an OSX 10.6 compatible compile? ;)



I'll see if I still have an OS 10.6 sdk :)

guest6931

  • Guest
Re: ADF Viewer/Manager for macOS
« Reply #3 on: December 01, 2016, 02:48:42 PM »
Quote from: bloodline;817131
I'll see if I still have an OS 10.6 sdk :)

This  runs fine on Sierra.  Good job!

Is there any way you could add to this app to export the .info icons to the desktop as icns files, or png files?  I'd love to be able to replace icons in macos with amiga icons.
 

guest6931

  • Guest
Re: ADF Viewer/Manager for macOS
« Reply #4 on: December 01, 2016, 02:50:56 PM »
Quote from: Matt_H;817120
Er, any chance you can do an OSX 10.6 compatible compile? ;)

I'm currently using The Archive Browser to examine ADFs on my Mac, but it's a little unstable...
Chances are your adf has glowicons or newicons, which crashes ADFBench.
 

Offline bloodlineTopic starter

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: ADF Viewer/Manager for macOS
« Reply #5 on: December 01, 2016, 05:28:26 PM »
Quote from: Jason___;817136
This  runs fine on Sierra.  Good job!

Is there any way you could add to this app to export the .info icons to the desktop as icns files, or png files?  I'd love to be able to replace icons in macos with amiga icons.

I can add the feature for you :)

Things on the current todo list:
1. Implement 1.3 style window borders (no code yet)
2. Activate the missing gadgets (the code for scrolling and resizing is buggy)
3. Saving files to your Mac (I'll add saving out the icon image to this as well)
« Last Edit: December 01, 2016, 05:32:49 PM by bloodline »
 

Offline bloodlineTopic starter

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: ADF Viewer/Manager for macOS
« Reply #6 on: December 01, 2016, 05:30:11 PM »
Quote from: Jason___;817137
Chances are your adf has glowicons or newicons, which crashes ADFBench.


I don't have any ADFs with GlowIcons or NewIcons so I couldn't test them :(

Offline bloodlineTopic starter

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: ADF Viewer/Manager for macOS
« Reply #7 on: December 02, 2016, 09:27:07 AM »
@Matt_H: I can't compile for OS 10.6 because I have used ARC (Automatic reference counting) throughout the code, which is only supported in later versions of macOX :(

-Edit- I noticed that the error message code was disabled for some reason, I've reactivated it so the next release should now give a message when something goes wrong.

Screenshot:


https://drive.google.com/open?id=0B3CMG5yqFK4jeGZiZ2R0U1ZmMEE
« Last Edit: December 02, 2016, 10:37:16 AM by bloodline »
 

Offline bloodlineTopic starter

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: ADF Viewer/Manager for macOS
« Reply #8 on: December 03, 2016, 01:23:25 PM »
I have uploaded a new build.

To save the icon file to your Mac, right click on it and select the "Save Icon" option.

Enjoy :)


https://drive.google.com/file/d/0B3CMG5yqFK4janJFaS1CUFRFek0/view?usp=sharing

Note: this version is developer signed, I might add it to the Mac App store if there is enough demand. :)
« Last Edit: December 03, 2016, 02:52:38 PM by bloodline »
 

Offline Matt_H

Re: ADF Viewer/Manager for macOS
« Reply #9 on: December 03, 2016, 05:00:54 PM »
Quote from: bloodline;817175
@Matt_H: I can't compile for OS 10.6 because I have used ARC (Automatic reference counting) throughout the code, which is only supported in later versions of macOX :(


Ah well, thanks for trying. Will give it a spin on my 10.10 partition next time I have it booted. :)
 

Offline bloodlineTopic starter

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: ADF Viewer/Manager for macOS
« Reply #10 on: December 06, 2016, 10:11:18 AM »
Quote from: Matt_H;817241
Ah well, thanks for trying. Will give it a spin on my 10.10 partition next time I have it booted. :)
Here is a 10.10 (Yosemite) build just for you :)

https://drive.google.com/open?id=0B3CMG5yqFK4jbE1pNjIxUDJPN2M

guest6931

  • Guest
Re: ADF Viewer/Manager for macOS
« Reply #11 on: December 07, 2016, 05:53:27 PM »
Quote from: bloodline;817232
I have uploaded a new build.

To save the icon file to your Mac, right click on it and select the "Save Icon" option.

Enjoy :)


https://drive.google.com/file/d/0B3CMG5yqFK4janJFaS1CUFRFek0/view?usp=sharing

Note: this version is developer signed, I might add it to the Mac App store if there is enough demand. :)

This is great!  Is it possible to add a recursive save feature, to save every .info on a disk at the same time?  Also, being able to select which states to save would be nice--selected,unselected,both.  I like how it saves to .TIF.  Is it also possible to add an option to save as ICNS to skip the editing/saving on the mac side step?

You should definitely add this to the mac store once its polished.  I think people would happily pay a couple bucks for this.  I know I would.
 

guest6931

  • Guest
Re: ADF Viewer/Manager for macOS
« Reply #12 on: December 07, 2016, 06:03:47 PM »
Just discovered a bad bug for saving icons.  The OSX display antialiases the icon image, so when saved, its not in its original 4 colors. (lots of extraneous colours and data)
 

Offline bloodlineTopic starter

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: ADF Viewer/Manager for macOS
« Reply #13 on: December 07, 2016, 09:15:09 PM »
Quote from: Jason___;817418
Just discovered a bad bug for saving icons.  The OSX display antialiases the icon image, so when saved, its not in its original 4 colors. (lots of extraneous colours and data)
I appreciate the feedback! I'll get to work fixing the bugs and implementing the features you requested.

PS I'm not planning on charging for this, I just hope someone finds it useful :)

Offline bloodlineTopic starter

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: ADF Viewer/Manager for macOS
« Reply #14 on: January 14, 2017, 12:17:39 PM »
Quote from: Jason___;817418
Just discovered a bad bug for saving icons.  The OSX display antialiases the icon image, so when saved, its not in its original 4 colors. (lots of extraneous colours and data)

I've implemented a "Save All Icons" feature in the "Amiga Disk Files" menu, which will save all the icons it finds in your ADF as tiff files. The normal and selected states are placed one on top of the other... that's the only way I can make this work for now (I'll see what I can do). I have removed the antialiasing so the original 4 colours are used.

I few little improvements as well, windows can now be resized, double clicking a window will raise it to the front most view.
The screen area can be any size you like... which includes full screen (looks awesome... especially in 1.3 view mode: atl-cmd-t).

The browser supports multiple ADFs, I want to implement greater interaction between disk files at some point.


Keep the suggestions coming :)
« Last Edit: January 14, 2017, 12:25:56 PM by bloodline »