View Full Version : Hacking Wings on a Mac?
Ooooh, I hope this isn't heresy!
I was reading about compiling new icons for Wings over at the official forum and I was wondering if anyone could help with a few things?
I asked variations of this on a couple of other forums but had no replies yet.
1 - Where can I find out more about this kind of stuff?, cos I didn't really understand the thread I read at all! :o)
2 - What app would I use to examine/edit the files in question?
3 - Where are the icons graphics files to be found on a Mac?
Would it be possible for someone to write a patch to allow computer idiots like me to alter the icons in Wings in both Windows and Mac (Unix people probably already know what they're doing?) I'm sure there are plenty of Wingers out there who would appreciate it!
Baz
| |
wasamonkey
02-08-2003, 02:45 PM
first you need to download the source files
second you need to replace the icon bmp files with your own
thirdly you will need to use the compiler that comes with mac os
and compile the makefile in the icons directory
once they are compiled you will need to take the wings_icon.bundle and place it in the ebin folder of your current working wings directory
then start wings and the icons should be there
Im a mac user but if I showed you my mac you would scream and run in terror as it is an original mac that has been upgraded to a fat mac
a whole whoping 512 kbh of ram
so if you have problems I cant help
Thanks Wasamonkey, it's STARTING to make a bit more sense now!
Baz
wasamonkey
02-09-2003, 01:34 AM
bazc glad I could help
markyjerky
02-13-2003, 06:01 PM
"you will need to use the compiler that comes with mac os"
This above statement seems in error ... although you maybe have understood the spirit of what WasAMonkey was saying.
You should not need to use the "compiler" that comes with Mac OS. And you also should not need to compile the makefile.
You should only need to use "make" that comes with mac OS and then execute the makefile.
"Compiler" and "compile" have very specific connotations when it comes to software development. So I figure I should point this out ... even though the message seemed well received.
If I myself am in error, please let me know. I don't think a compiler is required to build Wings3D on Mac. But since i have not built Wings3D on mac, I'm not 100% sure.
Thanks Markyjerky, I'm TOTALLY ignorant about this sort of thing so I'm grateful for all assistance! :o)
Baz
beaker
02-13-2003, 10:27 PM
Of course you need a compiler. The make file executes gcc compiler commands. You compile a program with a compiler.
Just install the devkit cd that came with osx or download it off apple's site(free download, but its like 400 meg). The cd is a greyish brown.
If you don't have the cd, download it here:
http://developer.apple.com/tools/macosxtools.html
Just sign up for a free ADC membership.
You also need some additional libraries(Erlang, ESDL, SDL). The links and more info on compiling it is on the wings3d page:
http://www.wings3d.com/programming.php#osx
markyjerky
02-13-2003, 11:16 PM
Beaker ... there is no ERLC compiler that comes with Mac OS. That's what my response was supposed to indicate.
You build Wings3D and wings stuff with Erlc and tools that don't come with Mac OS. That's my argument with the original post. And I'm just trying to clarify for someone who might benefit.
You don't use a C compiler. Unless I'm mistaken. I just downloaded the ta single tar ball that most Wings3D developer would download and scanned it for any references to "gcc" there were only conincidental "gcc" tokens burried in the "*.bmp" files.
That's it. So perhaps there are other "makefiles" or "source" files we are talking about here ? I missed the reference. Please advise.
tsuru
02-14-2003, 12:01 AM
I don't think any OS comes with a Erlang Compiler....one can build the erlang compiler from source using a C compiler if they wish. Either way one must have Erlang whether it be from the binaries supplied on their website or by the source + compile. Once the system knows that erlc exists usually a simple 'make' command will suffice.
markyjerky
02-14-2003, 02:17 AM
You definately should not need the dev kit if you already have make. That's overkill.
Just go to a terminal window and type "make" and see if you get a response back like make is installed and looking for a makefile.
Why would anyone advise this guy to build Erlang from Sources ? Is that necessary on a Mac ? I figured he just downloads OTP for mac ... just as I downloaded OTP for Win32. I didn't need to build OTP/Erlang on my PC.
This guy just wants to edit bitmap for pete's.
beaker
02-14-2003, 02:29 AM
Sorry, that should have read:
"The make file executes gcc compiler(or any other compiler, ie erlang) commands" :)
as for the dev kit:
I always installed the devkit so I wasn't thinking about what tools come with it, but now that I think of it, "make" probably comes with the bsd subsystem option when you install osx. If he didn't install that he would have to go back to the install disks for it. Not sure if it is picked by default when you install osx(I know it wasn't with 10.1 and earlier, but I think it is with 10.2).
You need the erlang compiler, but you also
need gcc for esdl and for native file selection windows on the mac, see wings/plugins_src/mac_file as an example.
CGTalk Moderation
01-14-2006, 10:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2008, Jelsoft Enterprises Ltd.