Mac?
- Login to post comments
Sat, 03/27/2010 - 11:48
Well, hello, I was wondering how do we mac users make levels of WoG. I really like the game and I want to do a few levels more.
Is there an application I don't know, or should I use pure TextEdit? And how?
Thanks.
Well, WoG Editor is the only utility for making WoG levels (without text-edit)that is available right now. But, currently it's only platform is windows, so you can't download it directly.
However, some mac-users have managed to get it to work using the source code and applying it directly. You SHOULD be able to do the same. Click here for the source code. Click here for the Python installation. You need both to run it. I, personally, have never done it, but I know that it should work.
There is WoG Editor but only for windows. If you want to make levels on a mack then yeah, use pure TextEditor. But you have to know XML perfectly. Use encrypt/decrypt options in GooTool on a level.bin files and you will get level.xml files. But it's really hard to learn what's what and what does what. Good luck
My Gooish profile | Videos on YouTube | My WOG Mods
However, some mac-users have managed to get it to work using the source code and applying it directly. You SHOULD be able to do the same. Click here for the source code. Click here for the Python installation. You need both to run it. I, personally, have never done it, but I know that it should work.
Yeh, the problem is, WoG Editor uses py2exe, python module wich only creates .exe
However, it can't be so hard. I'm trying it.
Would an emulator work? (i.e. Windows cross-over for mac (you can get this on apple store) or boxer (look it up on google))
InfernoFans | Chest full of porkchops
Boxer is a DOS emulator, so no Windows program will run in it, and CrossOver only supports very few selected apps (according to this). Only solution I know of (apart from getting it to run directly like Enchanter said) would be using a virtual machine software like VMware.
my gooey profile | my video channel | author of Hazardous Environment
did you look at the apple store?
InfernoFans | Chest full of porkchops
VMware is awesome but mot cheap I know, I use it). For small tasks as this better use VirtualBox it's free
My Gooish profile | Videos on YouTube | My WOG Mods
Thanks, but I have an old PPC mac, so all those emulators doesn't work. There's Virtual PC, but I hope still I can build the python.
I'm looking for something called py2app. I'll tell you how did it go.
IF you do get it to run on a Mac, can you post it here so other mac users can download Editor?
My Gooish profile | Videos on YouTube | My WOG Mods
OK, of course.
The exact problem I have is, WoG Editor has a setup.py (installer) planned for an old version of py2exe. I have to write a new setup.py. I can manage it, I think.
OK, of course.
The exact problem I have is, WoG Editor has a setup.py (installer) planned for an old version of py2exe. I have to write a new setup.py. I can manage it, I think.
Alright. If it comes to it, I would use a windows emulator. Preferably something free like Sun Virtual Box (sun.com).
Bad news. The dependences I need to use wogeditor fail to build with macports, exactly qt4-mac. and qhen I use the Qt 4 installer, it looks like it worked, but Macports and PyQt4 source don't think so. And there's no pyqt4 for python2.6 installer for mac.
My last chance is try QEMU or Virtual PC(I have PPC mac, so Virtualbox, VMware and Parallels won't work).
I'm sorry.
If somebody can help me...
When you say "fail to build".. is that for Python "native" (or through IDE) or when you try to build an app / exe? I had problems with both steps on PC.
Just is case it helps, here's what I did....
For me there were 2 dependancies that didn't just come with python 2.6.. the crypto library and (Py)QT.
Crypto seemed to work "as expected"... I ran the installer, it put a load of files in a subfolder of my python.. and the "cannot import..." error went away.
PyQT didn't go so well, even through I used the "everything you need except python" installer. It put a load of stuff into subfolders of my python, but the IDE ( NetBeans6.8 ) still complained it couldn't find stuff.
I suspect it's a path problem, but don't know how to fix it properly.. so...
In the end... I took a copy of the files in the PyQt4 folder (under my python folder) and put it in the WoG Editor src folder as PyQT. And that sorted it!
Later when I came to compile as exe, py2exe complained about missing QT dll's... and I had to copy several of those into the PyQt folder in my src folder as well.
I don't know if the above will work on Mac... but might be worth a try!
Well, it's not the Python extension who connects Python and Qt , a.k.a the pyQt, who fails, is the Qt. When there's no Qt, pyQt can't be installed. And there's no "everything you need except python" , except one for the Python who comes with the Mac(2.3)
For me, crypto went fine.
I can compile all non-interface parts of WoGeditor(like scanbinfile) but the level editor doesn't work, because I have no pyQt.
The only thing that could help is a "everything you need except python" for mac and Python 2.6.
From what I can tell the "All-in-One" installed 3 critical things (and a whole bunch of "fluff")
All the critical stuff went into \Python26\Lib\site-packages\PyQt4
QT DLL Libraries (under pyQt4\bin)
SIP (whatever that is!) (pyqt4\sip\pyqt4\)
and the PyQT Files just in PyQt4\
The files I copied over to the src folder were all from the PyQt4\ folder
__init__.py and pyqtconfig.py
and a load of .pyd files which seemed to match some of the module names it was looking for. I probably didn't need to copy everything... but just to be sure
My suggestion would be... try to find a forum or site which deals with "pyqt for mac"... they will probably be able to help you all more than Goo fans can.
Or contact the guys who produced PyQT and ask if they've got any "step-by-step" instructions to get it installed / working.
Well, i've seen somewher that in leopard you need to say where "sip" and "qmake" are, with a flag in the command. Maybe in tiger it's the same. I'll do that.