[Resolved] Mac Compatibility

Discussion in 'Help' started by DaPizzaMan, Apr 24, 2010.

Moderators: E.T., Zoroark
  1. DaPizzaMan

    DaPizzaMan Guest

    Last edited by a moderator: Nov 28, 2010
  2. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    That's a question we can't answer.

    To do that, we need people with mac and quite familiar with C++ / Compiling.
     
  3. DaPizzaMan

    DaPizzaMan Guest

    So if I were to happen to find someone with C++ and Compiling skills, who has a Mac, what would they do? Register here and help you work on a Mac compatible version?
     
  4. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Yes, probably.
     
  5. Steve

    Steve Active Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    491
    Likes Received:
    45
    There's a bunch of people who have already built this on Mac, but haven't bothered uploading it.
    Someone might eventually...
     
  6. DaPizzaMan

    DaPizzaMan Guest

    If they have it done, why would they waste time uploading it? Is it honestly that hard? <__<
     
  7. wandering scripter

    wandering scripter New Member

    Joined:
    Apr 24, 2010
    Messages:
    12
    Likes Received:
    0
    uploading? not at all hard. I'm the one who keeps up with the linux version, and its no issue to upload..
     
  8. DaPizzaMan

    DaPizzaMan Guest

    So what could possibly be taking so long for the Mac version to arrive? Apparently, it's done and only needs to be uploaded.
     
  9. Steve

    Steve Active Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    491
    Likes Received:
    45
    I dunno to be honest. Maybe the people that built it aren't interested in sharing. :/
     
  10. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    I know of only one person who built it on mac, and I can't get in touch with that person. And they don't seem to be such a fan of pokémon anyway :p
     
  11. Quacks

    Quacks Member

    Joined:
    Apr 22, 2010
    Messages:
    118
    Likes Received:
    0
    Friend of mine who uses a mac says PO works great in wine, might want to know that.
     
  12. DaPizzaMan

    DaPizzaMan Guest

    Someone else told me that too, but what is Wine? I still have no clue.
     
  13. zeroality

    zeroality Artificial Insanity

    Joined:
    Apr 22, 2010
    Messages:
    1,378
    Likes Received:
    1
    http://www.winehq.org/
     
  14. Lamperi

    Lamperi I see what you did there

    Joined:
    Apr 25, 2010
    Messages:
    2,647
    Likes Received:
    11
    I have run pogeymon-online since I discovered it on Mac. I've compiled it myself.
     
  15. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Well, that sounds... great :)

    Any particular thing you need to do? (like on linux, you need to install libzip and download Qt 4.6 libraries)

    And do you mind uploading the current working one? (rev 452 I believe)

    Thanks!
     
  16. Lamperi

    Lamperi I see what you did there

    Joined:
    Apr 25, 2010
    Messages:
    2,647
    Likes Received:
    11
  17. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Ok.

    Nothing about libzip?
     
  18. Lamperi

    Lamperi I see what you did there

    Joined:
    Apr 25, 2010
    Messages:
    2,647
    Likes Received:
    11
    Ok, I uploaded the zip. It's at http://valssi.fixme.fi/~lamperi/PokemonOnline.zip. Tell me if it works or not. libzip is included in the zip-file, but the Qt-files need to be downloaded separately.

    Binary is Intel and will not work on old PPC-macs
     
    Last edited: Apr 27, 2010
  19. pokenut

    pokenut New Member

    Joined:
    Apr 28, 2010
    Messages:
    4
    Likes Received:
    0
    What Qt-files do I need/where should I download them?
     
  20. Lamperi

    Lamperi I see what you did there

    Joined:
    Apr 25, 2010
    Messages:
    2,647
    Likes Received:
    11
  21. Lamperi

    Lamperi I see what you did there

    Joined:
    Apr 25, 2010
    Messages:
    2,647
    Likes Received:
    11
    Last edited: May 1, 2010
  22. pigeon

    pigeon New Member

    Joined:
    May 11, 2010
    Messages:
    6
    Likes Received:
    0
    Any chance of a build for Leopard?
     
  23. Steve

    Steve Active Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    491
    Likes Received:
    45
    You'll have to wait until someone with Leopard shows up and builds it. Else, you can give it a shot yourself. It's not really that difficult.
     
  24. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    On mac it's more complicated than on linux, from what I understood.
     
  25. Steve

    Steve Active Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    491
    Likes Received:
    45
    Ah, okay. Disregard what I said then.
     
  26. Sukid

    Sukid New Member

    Joined:
    Apr 23, 2010
    Messages:
    18
    Likes Received:
    0
    The complication is making it self contained, putting the "db" folder and such all inside the application package instead of relying on it being in the same directory. Mac apps are like their own program files folders.

    Also what needs to be built on leopard, if my hunch is correct, is libzip. Not the entire program. And I happen to have a leopard machine I can install macports and xcode tools on, so I can give that a shot.
     
  27. Steve

    Steve Active Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    491
    Likes Received:
    45
    Great. Good luck with it, and please let us know of the outcome.
     
  28. Sukid

    Sukid New Member

    Joined:
    Apr 23, 2010
    Messages:
    18
    Likes Received:
    0
    It works!

    ALL MAC USERS HERE WHO USE REGULAR LEOPARD, download Lamprei's build, then download this. Extract that, then right-click Pokemon-Online, go to contents then frameworks. Replace the libzip.1.dylib file that's already there with the one from the zip file I uploaded.
    Sorry I didn't do all this sooner, distractions and whatnot.


    Or just download the entire thing here.
    Still works on snow leopard by the way. Oh, and it's Universal, so any PPC macs using leopard should be able to play too, assuming the built in qt libraries are universal too.
     
    Last edited: May 12, 2010
  29. Steve

    Steve Active Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    491
    Likes Received:
    45
    Thanks for your help! :D
     
  30. Lamperi

    Lamperi I see what you did there

    Joined:
    Apr 25, 2010
    Messages:
    2,647
    Likes Received:
    11
    Too bad. They aren't ;) Great job Sukid
     
  31. Airblast

    Airblast Guest

    The executable in the /Contents/MacOS is Intel. So I don't think the .app is Universal...

    What about the Tiger users? Have you a way of build it for us?
     
  32. Steve

    Steve Active Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    491
    Likes Received:
    45
    There currently is no Tiger build. You'll have to build it yourself, or wait for a Tiger user to do it.
     
  33. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    From what I have understood he just needs to use Qt Libraries for Tiger with the given executable. Or I understood wrong :/
     
  34. Lamperi

    Lamperi I see what you did there

    Joined:
    Apr 25, 2010
    Messages:
    2,647
    Likes Received:
    11
    Yeah... the actual Pokemon-Online-binary is intel-only, so having tiger-native Qt-libs doesn't help. I really don't have time to dive into crosscompiling on Mac/Xcode, so someone else should do it if they want tiger-compactible executable.

    // at least PokemonOnline should work on top of wine on intel-tigers.. and who uses PPC-macs anymore?
     
  35. Sukid

    Sukid New Member

    Joined:
    Apr 23, 2010
    Messages:
    18
    Likes Received:
    0
    ... and why exactly are you still using Tiger? Practically nothing supports it anymore.

    It's... possible though. There is a version of QT for tiger and PPC. In fact, it's the first one on the list. It would have to be a separate binary though.

    If I could find a tiger disk image laying around I could install it in a VM or something and whip something up. ... I'll give it a shot tonight or tomorrow maybe.
    ... still, why are you even using tiger. Very old mac?
     
    Last edited: May 14, 2010
  36. Airblast

    Airblast Guest

    My mac is PPC and has not enough processor to run leopard. But the problem is not the Qt libraries, I changed them and it didn't work....
    I myself tried in the past to build Pokemon-Online, but it failed. Can someone tell me the steps to build it in mac? I have Qt and Xcode....
     
  37. Lamperi

    Lamperi I see what you did there

    Joined:
    Apr 25, 2010
    Messages:
    2,647
    Likes Received:
    11
    It's simple. Make sure to install libzip first ( http://nih.at/libzip/ ).

    I compiled it from command line, navigate into /path/to/pokemon-online/src/Teambuilder/, (hint: cd) then do command "qmake Teambuilder.pro -spec macx-g++", then "make". There should be binary in /path/to/pokemon-online/bin, which you can open by double clicking on Finder or issuing command "open Pokemon-Online.app" on command line.

    Note: you can't move the app-bundle, since it depends on files in bin-directory. Bundling the resources requires extra magic.
     
  38. Ecto

    Ecto New Member

    Joined:
    May 16, 2010
    Messages:
    1
    Likes Received:
    0
    Hey guys, What about the new update? When I came into a server, the application crashes... :(
     
  39. Lamperi

    Lamperi I see what you did there

    Joined:
    Apr 25, 2010
    Messages:
    2,647
    Likes Received:
    11
    Last edited: May 16, 2010
  40. Sukid

    Sukid New Member

    Joined:
    Apr 23, 2010
    Messages:
    18
    Likes Received:
    0
    Last edited: May 16, 2010
Moderators: E.T., Zoroark