From the OS X Terminal, typing ags-setup or ags makes it say "cannot open binary file". I'm mostly out of touch with CLIs, but I seem to have followed the FAQ, if not word for word, but to its ends.
Judging from your description, that you use OS X, I think you're using a Power MAC right? In that case the Linux builds probably won't work, I think the Linux builds currently work for x86 platforms only.
Will an emulator help?
I can't confirm, maybe some other people can.
Both the editor and the games are playable in an x86 emulator + windows, VirtualPC is the ones most use I think, some games have been made that way. Did you mean running 32 bit linux in an emulator and using that? It's possible... don't think anyone's tried it.
or someone could port them to Darwin (open source)...
Quote from: lysdexia on Mon 18/04/2005 13:35:13
or someone could port them to Darwin (open source)...
Extremely unlikely to happen, unless I get a Mac in the future :)
AGS and some of it's supporting libraries are not endian-friendly. Meaning, they don't support the different byte order that the PPC architecture uses.
Additionally, not all the libraries that AGS requires work on Mac OS X.
it's -> its
Well, G5s are used in Xboxes and IBM Blade servers too. Since I have a Mac, what would someone like me need to do to port it? Buy a compiler?
I expect there are free compilers for Macs, but as ETG says, there's an added complexity porting something to run on mac (PPC) CPUs from PC (x86) ones, and that is that the byte order of multi byte numbers is different (http://en.wikipedia.org/wiki/Endian).Ã, It's possible to make code work on both but some of the code in AGS or its libraries has been written in a way that assumes little endian (x86 style) hardware, macs are big endian.Ã, You'd have the same problem porting it to PPC linux.
So it's definately not something for a coding newbie.
Macs COME WITH excellent free compilers these days.
I would imagine that the endian issue is trivial compared to most problems one would encounter, eg missing libraries.
PS The XBox does not have a PPC in it. It's an Intel chip. (Not exactly a Pentium.)
Yeah, perhaps he meant the Xbox 2 (or Xbox 360), that's PPC based.
True.
I guess I still don't see the point though. I don't see an XBox360 or IBM BladeServer port any time soon :)
(Kind of) back on topic:
I think opening up AGS to Mac users (without them having to pay for Virtual PC) would be beneficial to the community. After all, Mac users are supposedly more artistic than PC users.
This isn't an appeal to Chris to do it, mind you. I'm of the opinion that if someone volunteers, it should be considered. I realise that releasing the source code is a sensitive issue. Obviously there would be obligations on the part of the volunteer - confidentiality, quality, support, etc...
Yes, I meant the new Xbox.Ã, But I'm not a he, and it's spelt definitely.
I had read about the endian issue in FOLDoC from Dictionary.com, but the entries didn't tell of the difficulty in translating between them. And how hard is it to learn? I made macro scripts and played with RoboWars code at 13, played with a shell and wrote in and edited ircii scripts at 14, then did nothing of the sort for awhile and forgot a lot, then wrote a few small IRC AppleScripts, then played with a little JavaScript and DHTML to make an animated signature in IE. But, as I said, I forget a lot.
lysdexia,
I don't know much about Mac OSX but perhaps something like dosbox (http://dosbox.sourceforge.net/news.php?show_news=1) would work for you. It's open source and you can download it from the link.
Rick, Dosbox might be ok for running some old AGS DOS games or roomedit, but it's primarily designed for games, I can't see it running windows software.
lysdexia, converting from one to another might not take too long to understand, but identifying which bits of the code suffer from the issue would require C++ experience and as has been said, missing libraries is an even bigger problem... you'd have to find libs with equivalent functionality that have a mac ports, and that might not even be possible depending on what they are. Unfortunately a Mac port seems like quite a large undertaking. If an experienced C++ programmer was willing to spend a few months on it I expect CJ would give them the source, I'd like to see that but I don't think it'll happen.
For someone called lysdexia you sure like to correct spelling :P
Thanks Scotch, for the info. Like I said I'm not knowledegable about either. I saw a few references to DOSBOX only very recently when I had ocassion to ask myself the same question Lysdexia poses. I am curious to see it how this discusion come out.
Btw, here is a page I found that lists a number of emulators for the mac, some are free and some aren't. I don't know that it will be helpful but here it is anyway.
Cheers.
http://www.macwindows.com/emulator.html
QuoteRick, Dosbox might be ok for running some old AGS DOS games or roomedit, but it's primarily designed for games, I can't see it running windows software.
Unless the game uses plugins, you should be able to run Windows-compiled AGS games with the DOS engine.
Or are we talking about the editor?
I don't know about DOSBOX on other platform, but I think AGS games compiled with newer versions of AGS can run rather slow under DOSBOX, at least that's what I had tried with windows port of DOSBOX and a game compiled using DOS engine V2.6+ .
occasion, discussion; also lots of missing semicolons...
Gilbot, what are you using? Someone did a lot of work on measuring up chips:
http://www.systemshootouts.org/processors.html
http://www.theregister.co.uk/2004/01/22/ibm_claims_massive_power_cut/
On a P4 ~2.5MHz with 256MB RAM (when i was testing), crappy onboard graphics card though, I think that doesn't matter much, since the game was only 320x240, 256 colours. The problem is that newer versions of AGS are probably considered more "modern" programmes that might not work well with DOSBOX, compared to older programmes (especially those old real mode DOS apps.).
I don't own a MAC, so I can't comment on how it'll perform on a MAC though, maybe for some reasons the AGS games can be run smoothly using DOSBOX there.
I always found it funny when people typed MHz instead.Ã, Hmm, I wonder why it was so slow?Ã, But Mac's not an acronym.
Slow? It's *emulating* a PC.
Emulators generally need a host machine 10x-30x the speed of the emulated machine.
Oh, and don't be throwing stones. Your last post wasn't exactly the model of clarity.
I wasn't asking anything as you didn't understand my delivery.
Doh.
I don't understand the Mac comment though - that still seems like a random nitpick.
Quote from: lysdexia on Wed 20/04/2005 09:08:44
occasion, discussion; also lots of missing semicolons...
Please stop doing that, it's not cool to nit-pick peoples spelling.
As for the original question, as EvilTypeGuy says it is non-trivial and would take a significant amount of work to do the port.
QuoteI don't understand the Mac comment though - that still seems like a random nitpick.
I think s/he meant that it is an abbreviation of Macintosh, not an acronym, hence it is written Mac, not MAC.