Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: mmphosis Newsgroups: comp.sys.apple2,comp.sys.apple2.programmer Subject: Re: Update: Bmp2DHR and A2FCBmp - All Apple II Graphics Modes including Mode320 and Mode3200 SHR now provided Date: Fri, 3 Apr 2015 03:09:14 +0000 (UTC) Organization: Mac GUI Lines: 38 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 3 Apr 2015 03:09:14 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="ac9e0e4d7dd3957fb97803ee6801bab8"; logging-data="14982"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX194CxvLP9yIb9+CI4rKTyTD" User-Agent: Mac GUI Usenet In-Reply-To: Cancel-Lock: sha1:8kterDPZoYHaK4WzRhtkh6n5M+A= Xref: csiph.com comp.sys.apple2:24330 comp.sys.apple2.programmer:1583 > I'm trying to build it from source in OS X. The makefile is not really > Unix-friendly as it uses the backslash character for the path. Anyway, > I've tried to compile it myself using different compiler options (-arch > i386, -m32, -m64, -ansi, ...). I can get it build and run, but with > every image I try it I get "XYZ is in the wrong format!". This does not > happen when I use the pre-compiled binary linked from your page. > > So, could someone help me figure out how to build it correctly for > Darwin? The makefile included with the source code has been modified from the original one that I provided. I suspect that the backslash was put in there so that the makefile works with MinGW on Windows. For Darwin and similar platforms, it will build a binary named "..b2d" inside the src directory, although I don't think that the program will work as expected. ie. "XYZ is in the wrong format!" The binaries on this page: http://hoop-la.ca/apple2/appleoldies/bmp2dhr/ I built these some time ago from older source code. They may work but with fewer features. The PowerPC binaries may not work because of byte ordering issues. I did take a look at newer source code a few months ago, but it would take effort to make the source portable. You could run the exe using wine, or bootcamp or a virtual machine booting windows. The alternative is tohgr: http://wsxyz.net/tohgr.html tohgr works well with png images (requires libpng.) tohgr doesn't do as many modes as bmp2dhr. And, I have to say I am quite impressed with the results using "Buckels Dithering" :)