Page 2 of 3

Posted: Sun Jul 01, 2007 4:33 pm
by Renegade_Turner
And he still doesn't get it because he's still doing it...

Posted: Sun Jul 01, 2007 9:24 pm
by Colicedus
BSAU479, Please! For the love of what ever Deity you hold dear, put a sock in it! :roll:

Posted: Mon Jul 02, 2007 3:43 am
by Makrond
Yeah, the third time was way too much, but I did it just for the hell of it, as having one instance of that card in all three sections of the Wolfire forums just seemed... fun.

But boredom is the most seductive of all - it beats truth, beauty, and convenience. As well as red hair, no hair, fame, innocence and a picture of you.

:lol:

Finally, since I have an excess of mana, I'll play my trump card.

Image

Posted: Mon Jul 02, 2007 4:24 am
by NickD
What? What about mana? Dost thou even know what mana is??

Posted: Mon Jul 02, 2007 2:44 pm
by Renegade_Turner
Makrond, that was not funny.

At all.

Posted: Mon Jul 02, 2007 6:32 pm
by Ultimatum479
Aww, poor Ren has a soft spot for retarded people. Sorta like Usagi's hatred of violence against children. Exploitable weaknesses ftw!

Posted: Mon Jul 02, 2007 6:39 pm
by Renegade_Turner
Did I say I had a soft spot for retarded people? And anyway, is it funny to make fun of retarded people?

Hey, you have no friends. Let's laugh at you! :lol: :lol: :lol:

Posted: Mon Jul 02, 2007 7:18 pm
by David
Should I just merge your accounts? All you post about is each other. Maybe I should make a new private forum just for the two of you.

Posted: Mon Jul 02, 2007 8:28 pm
by Makrond
Hey, I am retarded. No, seriously, I have the disability pension to prove it.

Just because someone is labeled as deficient doesn't mean they can't be successful, or an asshole, or a multitude of other things.

SO SHUT IT!

EDIT: Oh, and I wouldn't have a damn clue how to play Magic, I just like the pretty pictures on the cards. :lol:

Posted: Mon Oct 22, 2007 8:46 pm
by eriador
Okay, I hate to break this up when y'all are having so much fun, but I actually would like to get my hands on the source code. I managed to get the Linux code, but I was wondering if anybody knows where I can find the OS X version.

Thanks!

Posted: Mon Oct 22, 2007 9:25 pm
by rudel_ic
The code from icculus.org should compile on quite a lot of platforms as long as you've got SDL and OpenAL, at least as far as I know.

Posted: Mon Oct 22, 2007 10:56 pm
by eriador
I haven't been able to get it to compile, even with the latest frameworks. It seems to me, from reading the readme that comes with the OS X version that it took some work to get it running cleanly. Does anybody have some ideas what I'm doing wrong, and if not, how can I get in touch with Derek Arndt, the guy who did the OS X port?

Posted: Mon Oct 22, 2007 11:59 pm
by rudel_ic
Well, how are you attempting to compile it and what are the resulting compiling errors?

The most recent Makefile update (indicating a compiling version) in the trunk is 4 months ago, so you should be good with the most recent stable SDL, OpenAL and OggVorbis libraries.

Considering Derek from Battery Acid Games (I think that's the guy you're speaking of), you can mail him: [email protected]

Posted: Tue Oct 23, 2007 10:44 am
by eriador
Okay, I'll run you through what I did:

1) I checked out the source using SVN

Code: Select all

>svn co svn://svn.icculus.org/blackshades/trunk/ blackshades 
2) Switch into the source directory

Code: Select all

>cd blackshades/
3)

Code: Select all

>make
make bindir
mkdir -p ./objs
g++ -c -o objs/Camera.o Source/Camera.cpp -O2 -Wall -g -I/usr/local/include/SDL -D_THREAD_SAFE -I./Source -include Source/Support.h
In file included from <command line>:1:
./Source/Support.h:7:19: error: AL/al.h: No such file or directory
./Source/Support.h:8:21: error: AL/alut.h: No such file or directory
In file included from Source/Camera.cpp:2:
Source/Camera.h:9:19: error: GL/gl.h: No such file or directory
./Source/Support.h:51: error: 'ALenum' has not been declared
./Source/Support.h:52: error: 'ALsizei' has not been declared
./Source/Support.h:53: error: variable or field 'FreeOGG' declared void
./Source/Support.h:53: error: 'ALenum' was not declared in this scope
./Source/Support.h:53: error: expected primary-expression before 'void'
./Source/Support.h:53: error: expected primary-expression before 'unsigned'
./Source/Support.h:54: error: 'ALsizei' was not declared in this scope
./Source/Support.h:54: error: initializer expression list treated as compound expression
Source/Camera.cpp: In member function 'void Camera::Apply()':
Source/Camera.cpp:7: error: 'glTranslatef' was not declared in this scope
make: *** [objs/Camera.o] Error 1
4) That's no good, so I looked at the second makefile included in the code i checked out (Makefile.zakk). It seemed to have the OS X include paths right, so:

Code: Select all

>cp Makefile Makefile.old
>cp Makefile.zakk Makefile
>make
gcc -c -o objs/Camera.o Source/Camera.cpp -g -I/usr/local/include/SDL -D_THREAD_SAFE -I/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/Headers -I/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers -I/System/Library/Frameworks/GLUT.framework/Versions/A/Headers -I/System/Library/Frameworks/DrawSprocket.framework/Versions/A/Headers -I/Developer/Headers/FlatCarbon -I/System/Library/Frameworks/AGL.framework/Versions/A/Headers -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/sw/include -I/sw/include/AL -I/usr/X11R6/include -D POOLOOPS -I./Source
gcc -c -o objs/Decals.o Source/Decals.cpp -g -I/usr/local/include/SDL -D_THREAD_SAFE -I/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/Headers -I/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers -I/System/Library/Frameworks/GLUT.framework/Versions/A/Headers -I/System/Library/Frameworks/DrawSprocket.framework/Versions/A/Headers -I/Developer/Headers/FlatCarbon -I/System/Library/Frameworks/AGL.framework/Versions/A/Headers -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/sw/include -I/sw/include/AL -I/usr/X11R6/include -D POOLOOPS -I./Source
Source/MacInput.h:97: error: 'Boolean' does not name a type
Source/MacInput.h:99: error: 'Point' has not been declared
Source/MacInput.h:100: error: variable or field 'RefreshMouse' declared void
Source/MacInput.h:100: error: 'Point' was not declared in this scope
Source/MacInput.h:100: error: 'mouseloc' was not declared in this scope
Source/Files.h:86: error: 'Str255' has not been declared
Source/Files.h:99: error: 'Str255' has not been declared
Source/Files.h:101: error: 'Str255' has not been declared
Source/Files.h:102: error: 'Str255' has not been declared
Source/Models.h:50: error: 'Str255' has not been declared
make: *** [objs/Decals.o] Error 1
It looks as if there are some improper types defined, but I have no idea what headers might be missing. I downloaded the latest SDL to replace the framework in /System/Library/Frameworks/ and tried to do the same with OpenAL, but the link on the Creative site is down. However, I have 1.2, which comes bundled in Tiger and should be up-to-date. From my reading, Ogg Vorbis in OS X is done through OpenAL, so I should be up to date. I have no idea what's going on :(

Thanks for the help!

Posted: Tue Oct 23, 2007 3:43 pm
by rudel_ic
There's some sort of problem that actually needs a fix and/or the proper headers, it seems.

I'd say the SDL version doesn't match.. But you probably won't get it working by just going after some version.

I can't help you here, sorry, without a Mac to compile stuff, there's no point in trying to analyze and eventually fix the code. And icculus' bugzilla doesn't care bout blackshades. Try contacting zakk and bug him, I'd say. Or someone else who actually has some insight into this sort of machinery, operating system and library collection combo.

Try [email protected] - put in a meaningful subject so your mail doesn't get smorfed - get straight to the point - pray.

He may not care though, he's on other projects as far as I know. blackshades has a pretty low priority over there as well (doesn't surprise me, to be honest, compared to the other stuff they're doing, sorry).

Edit: Oh, by the way, the proper site for OpenAL is http://www.openal.org/
I guess it won't help you compiling though.