OpenArena Message Boards

OpenArena Contributions => Development => Topic started by: Cacatoes on August 09, 2008, 08:42:02 am



Title: Anyone to build 0.8.0 for Mac ?
Post by: Cacatoes on August 09, 2008, 08:42:02 am
Hello,

From what I know, the person who normally does it is away for some time.
So, for Mac users who are in a hurry, one way to solve the problem would be to build the binary from SVN.
If anyone is skilled enough to do that, I suppose that would be fine.

Like previously, a single package for Linux/Mac/Windows would be made available on a download mirror.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: sago007 on August 09, 2008, 09:43:56 am
It is about 4 weeks ago that jackoverfull said he would be away for minimum 4 weeks


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Sauer2 on August 09, 2008, 02:41:46 pm
[feature request]
It would be also cool if someone could build deb. and .rpm packages.
[/feature request]


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: jackoverfull on August 09, 2008, 11:40:31 pm
hi, i'm writing this message from London/standted airport, using my iPod.


I'm sorry, but I have to confirm that I will not be able to build anything before the 30 of this month.

I hope someone else will do, if not, I'll be glad to do so at my return, as usual.


Have good games,

Jack Overfull


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: ctb on August 14, 2008, 12:02:43 am
hi, i'm writing this message from London/standted airport, using my iPod.


I'm sorry, but I have to confirm that I will not be able to build anything before the 30 of this month.

I hope someone else will do, if not, I'll be glad to do so at my return, as usual.


Have good games,

Jack Overfull

Hey Jackoverfull,

I'd be happy to also help build the Mac version. I've got a Core 2 iMac and am happy to put it to work. I tried building 0.8.0 from svn with the make-macosx-ub.sh script but get errors on libvorbis and libogg (amongst others).


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Reuti on August 16, 2008, 04:57:06 pm
I'd be happy to also help build the Mac version. I've got a Core 2 iMac and am happy to put it to work. I tried building 0.8.0 from svn with the make-macosx-ub.sh script but get errors on libvorbis and libogg (amongst others).

I built only pure Intel and PowerPC versions. I had to download the three packages libogg, libvorbis and libSDL. Usually I configure them to be put into something like:

./configure --prefix=/Users/reuti/local/libogg-1.1.3
make
make install

Similar with the other two packages and directory names. This way I don't have to be root to install them. Before compiling oa you need to export:

export LDFLAGS="-L/Users/reuti/local/libvorbis-1.2.0/lib -L /Users/reuti/local/libogg-1.1.3/lib"
make

Then I downloaded the Linux version of oa and threw away all stuff inside besides the "baseoa" and "missonpack". Copied the the libSDL-1.2.0.dylib from the /Users/reuti/local/SDL-1.2.13/lib thereto, and the openarena.ppc from the compilation folder "builds".

Then it must be started from the terminal, means it's not doubleclickable.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Timedude on August 23, 2008, 05:53:09 am
Well, that's gobbledegook to me... Do you have a Mac version completed or not?

-Timedude


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Reuti on August 23, 2008, 02:15:18 pm
Well, that's gobbledegook to me... Do you have a Mac version completed or not?

-Timedude

Yes. The supplied script to create an UB is failing, so I compiled by hand.

I got one binary for Intel and one for PowerPC - hence no UB. And it must be started from the commandline. But then it runs fine.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Cacatoes on August 23, 2008, 03:47:04 pm
Hmm, and maybe you can share this binary to others, even if not fully functionnal ? :D
I could even help you to host it. Maybe you could add a few explanations on how to start it for those who are not aware of command-line (I have no mac so no idea).

Would be better than nothing to have this binary.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Timedude on August 24, 2008, 05:57:27 am
Ugh... Command lines... Yuck. I have a hard enough time with freaking console commands. Still, could probably write an applescript file that would open it for me... Hmmm...

I just wanna say this: I don't want Mac support for OpenArena to disappear the way it did for Alien Arena. When one of the more recent versions was released, they said that a Mac version would be along in a month... A month later, a topic was started to inquire on the problem. Turns out, the person who was originally going to compile it suddenly diappeared. Wait another week or two... Another guy has compiled a version, but, it's not compiled for any Mac, only for intel based ones. As such, when i tried to launch it, it said something like 'not supported on this architecture'. we post the problems in the topic, several of us who all had a different problem when trying to run it. And there's no reply. It's been 3 months at the least now.They even released an update. No mac version yet.

So ya see, this is making me nervous... I don't want OpenArena to die the same way.

-Timedude


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: sago007 on August 24, 2008, 06:08:58 am
There is a pre-written script called "make-macosx-ub.sh" that you can run to create a universal binary (if you have the right dependencies). Just remember not to include cgame*.dylib, qagame*.dylib and ui*.dylib.

From that script:
Quote
in order to build a binary with maximum compatibility you must
         build on Mac OS X 10.4 using Xcode 2.3 or 2.5 and have the
         MacOSX10.2.8, MacOSX10.3.9, and MacOSX10.4u SDKs installed
         from the Xcode install disk Packages folder.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Reuti on August 24, 2008, 07:13:41 am
There is a pre-written script called "make-macosx-ub.sh" that you can run to create a universal binary (if you have the right dependencies). Just remember not to include cgame*.dylib, qagame*.dylib and ui*.dylib.

From that script:
Quote
in order to build a binary with maximum compatibility you must
         build on Mac OS X 10.4 using Xcode 2.3 or 2.5 and have the
         MacOSX10.2.8, MacOSX10.3.9, and MacOSX10.4u SDKs installed
         from the Xcode install disk Packages folder.

Yes, I installed all the SDKs.

Anyway, this script is failing for me with some error messages (I tried in on Intal and PowerPC machines). The initial error is about glu.h, all others are follow up erros AFAICS.

-- Reuti


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Cacatoes on August 24, 2008, 08:06:03 am
Yop,
I hosted Reuti's powerpc build here :
http://download.tuxfamily.org/openarena/rel/080/oa080-mac-ppc.zip
The readme inside explains how to use it ;)


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: kick52 on August 24, 2008, 04:19:45 pm
Yop,
I hosted Reuti's powerpc build here :
http://download.tuxfamily.org/openarena/rel/080/oa080-mac-ppc.zip
The readme inside explains how to use it ;)


This doesn't work.

iBook:/Applications/Games/OpenArena$ /Applications/Games/OpenArena/openarena.ppc
dyld: Library not loaded: /Users/reuti/local/libvorbis-1.2.0/lib/libvorbisfile.3.dylib
  Referenced from: /Applications/Games/OpenArena/openarena.ppc
  Reason: image not found
Trace/BPT trap

References reuti's setup.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: ^5Ivan on August 24, 2008, 05:11:12 pm
Did anyone try to run Windows binaries on wine (http://winehq.org/) under Mac?


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Reuti on August 24, 2008, 05:55:11 pm
Yop,
I hosted Reuti's powerpc build here :
http://download.tuxfamily.org/openarena/rel/080/oa080-mac-ppc.zip
The readme inside explains how to use it ;)


This doesn't work.

iBook:/Applications/Games/OpenArena$ /Applications/Games/OpenArena/openarena.ppc
dyld: Library not loaded: /Users/reuti/local/libvorbis-1.2.0/lib/libvorbisfile.3.dylib
  Referenced from: /Applications/Games/OpenArena/openarena.ppc
  Reason: image not found
Trace/BPT trap

References reuti's setup.

Sorry, I thought that besides the libSDL all was linked statically. I'll send an update, which will also include the two dylibs.

-- Reuti


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Cacatoes on August 24, 2008, 06:07:10 pm
Hehe, was worth trying ;)
(If you send new binaries tomorrow I may be able to upload them on the evening.)


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Reuti on August 24, 2008, 06:18:38 pm
Yop,
I hosted Reuti's powerpc build here :
http://download.tuxfamily.org/openarena/rel/080/oa080-mac-ppc.zip
The readme inside explains how to use it ;)


This doesn't work.

iBook:/Applications/Games/OpenArena$ /Applications/Games/OpenArena/openarena.ppc
dyld: Library not loaded: /Users/reuti/local/libvorbis-1.2.0/lib/libvorbisfile.3.dylib
  Referenced from: /Applications/Games/OpenArena/openarena.ppc
  Reason: image not found
Trace/BPT trap

References reuti's setup.

The new version should be linked statically for the other libs. The command:

otool -L openarena.pcc

should show all the unresolvable libs in the old version as I just found.

-- Reuti


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Cacatoes on August 24, 2008, 06:19:22 pm
Yups, the link has been updated, so hopefully they'll work this time.

http://download.tuxfamily.org/openarena/rel/080/oa080-mac-ppc.zip


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Cacatoes on August 25, 2008, 01:10:08 pm
And here is the Intel build : http://download.tuxfamily.org/openarena/rel/080/oa080-mac-i386.zip ;)


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: kick52 on August 26, 2008, 12:19:35 am
PPC binary works fucking fine now.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Reuti on August 26, 2008, 01:51:44 am
Ugh... Command lines... Yuck. I have a hard enough time with freaking console commands. Still, could probably write an applescript file that would open it for me... Hmmm...

I just wanna say this: I don't want Mac support for OpenArena to disappear the way it did for Alien Arena. When one of the more recent versions was released, they said that a Mac version would be along in a month... A month later, a topic was started to inquire on the problem. Turns out, the person who was originally going to compile it suddenly diappeared. Wait another week or two... Another guy has compiled a version, but, it's not compiled for any Mac, only for intel based ones. As such, when i tried to launch it, it said something like 'not supported on this architecture'. we post the problems in the topic, several of us who all had a different problem when trying to run it. And there's no reply. It's been 3 months at the least now.They even released an update. No mac version yet.

So ya see, this is making me nervous... I don't want OpenArena to die the same way.

-Timedude

I'll contact jackoverfulll when he is back and dig deeper into this in the future to provide a second source of support for Macs. So for now: don't worry.

-- Reuti


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: MordEth on August 26, 2008, 04:17:56 am
Does OpenArena still require the ioq3ded.ub binary on Mac OS X, or has this been merged into the openarena binaries that Reuti provided?  If it's been obsoleted, I can provide a GUI universal binary for Mac OS X.  If it's still needed, if someone can either give me directions on how to compile OA on Mac OS X (the SVN checkout that I performed did not include a make-macosx-ub.sh), or can provide PPC and i386 binaries, I can have this available ASAP.

Reuti's binaries work great for me, with the proper packaging.  I like the new sounds.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Cacatoes on August 26, 2008, 05:36:33 am
I'd say it still requires it, but I'm not sure if there is something special to do so that they are officially approved.
If they are officially approved, I'd mirror the whole OA 0.8.0 with Linux/Mac/Win in it, but I don't want to do that now if I have to re-do it when official ones come.

I thought I've seen the make-macosx-ub.sh script, after checking it's inside source/080/ioquake3svn1438.tar.bz2


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: sago007 on August 26, 2008, 06:53:39 am
(the SVN checkout that I performed did not include a make-macosx-ub.sh)

I don't know how to compile on Mac but http://brie.ostenfeld.dk/~poul19/public_files/oa/dev080/ioquake3serverFix.tar.bz2 contains the script.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Reuti on August 26, 2008, 07:08:08 am
Did anyone try to run Windows binaries on wine (http://winehq.org/) under Mac?

AFAICS the Mac version is only available as a commercial one, not for free. And I tried it with the demo just for curiosity: it starts up, but you can move the mouse only in a part of the window, hence it's not playable this way. I even had to cmd-alt-esc the oa, as I couldn't move the mouse to the exit button :-/


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Cacatoes on August 26, 2008, 07:32:23 am
@Reuti,
Did you compile using sago's sources ? Otherwise network code may be fucked up in the builds you made :-/
I'm not sure SVN already takes into account the fix sago provided ...


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Reuti on August 26, 2008, 08:25:01 am
@Reuti,
Did you compile using sago's sources ? Otherwise network code may be fucked up in the builds you made :-/
I'm not sure SVN already takes into account the fix sago provided ...

Which sago-source? I downloaded from svn/source/080/ioquake3svn1438.tar.bz2 and that's all. The script wasn't working, so compiled just by hand on two machines for ppc and i386. I play via network w/o probs.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: LANS on August 26, 2008, 12:49:03 pm
I decided to try to compile 0.8.0 for OSX, and after a bunch of work to get it almost to the point where it needs to run LD, I discovered (through tracing errors that were thrown) that code/qcommon/files.c is missing a "}" on the last line. Adding one eliminated the errors. I've decided to give up on make-macosx-ub.sh for now and just make my universal binary by hand. I will host my build and such when I get it working, but you should trust Reuti's build first.

edit: I forgot to note this before, but I had to add "-fnested-functions" to
Code:
#############################################################################
# SETUP AND BUILD -- MAC OS X
#############################################################################

ifeq ($(PLATFORM),darwin)
  HAVE_VM_COMPILED=true
  CLIENT_LDFLAGS=
  OPTIMIZE=
 
  BASE_CFLAGS = -Wall -Wimplicit -Wstrict-prototypes
To get it to compile at all. I added it on suggestion from the compiler error messages.

Whether I use the SVN source or that source from that link posted by sago above, I get to this error. I'm not really sure where to go from here. Any suggestions?
Code:
DED_CC code/sys/con_tty.c
LD build/release-darwin-ppc/oa_ded.ppc
Undefined symbols:
  "_FS_PureServerSetLoadedPaks", referenced from:
      _Com_Error in common.o
      _Com_Error in common.o
  "_FS_LoadedPakNames", referenced from:
      _SV_SpawnServer in sv_init.o
  "_FS_FOpenFileByMode", referenced from:
      _FS_FOpenFileByMode$non_lazy_ptr in sv_bot.o
      _SV_GameSystemCalls in sv_game.o
  "_FS_Flush", referenced from:
      _FS_ReadFile in files.o
      _FS_ReadFile in files.o
      _FS_ReadFile in files.o
  "_FS_ReferencedPakNames", referenced from:
      _SV_WriteDownloadToClient in sv_client.o
      _SV_SpawnServer in sv_init.o
  "_FS_ReferencedPakChecksums", referenced from:
      _SV_SpawnServer in sv_init.o
  "_FS_Restart", referenced from:
      _SV_SpawnServer in sv_init.o
  "_FS_LoadedPakChecksums", referenced from:
      _SV_SpawnServer in sv_init.o
  "_FS_FilenameCompletion", referenced from:
      _Field_CompleteFilename in common.o
      _Field_CompleteFilename in common.o
  "_FS_ClearPakReferences", referenced from:
      _SV_SpawnServer in sv_init.o
  "_FS_InitFilesystem", referenced from:
      _Com_Init in common.o
  "_FS_LoadedPakPureChecksums", referenced from:
      _SV_VerifyPaks_f in sv_client.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [build/release-darwin-ppc/oa_ded.ppc] Error 1
make[1]: *** [targets] Error 2
make: *** [release] Error 2
As you can see, it compiles but does not link.

Edit2: I'm compiling on leopard on a macbook.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Cacatoes on August 26, 2008, 08:04:15 pm
@Reuti,
Did you compile using sago's sources ? Otherwise network code may be fucked up in the builds you made :-/
I'm not sure SVN already takes into account the fix sago provided ...

Which sago-source? I downloaded from svn/source/080/ioquake3svn1438.tar.bz2 and that's all. The script wasn't working, so compiled just by hand on two machines for ppc and i386. I play via network w/o probs.
You can play, but I'm not sure you can host ... and so you may not be able to play LAN. (it would stay in "awaiting gamestate")


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: MordEth on August 27, 2008, 03:18:34 am
Here you go, a working Univeral Binary GUI app of 0.8.0:  oa080-mac-ub.tbz (http://mordeth.bitbucket.be/oa/oa080-mac-ub.tbz) (4.5mb).

Let me know if anyone has any difficulties using it, but I've tested it on both my G5 (PPC) desktop and Intel MacBook Pro, so it should work flawlessly.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Reuti on August 27, 2008, 03:51:22 am
Here you go, a working Univeral Binary GUI app of 0.8.0:  oa080-mac-ub.tbz (http://mordeth.bitbucket.be/oa/oa080-mac-ub.tbz) (4.5mb).

Let me know if anyone has any difficulties using it, but I've tested it on both my G5 (PPC) desktop and Intel MacBook Pro, so it should work flawlessly.

I have here an Intel iMac with 10.4.11. It quits immediately with:

dyld: Library not loaded: /opt/local/lib/libvorbisfile.3.dylib

in the console application. During my built I was wondering, that also the dylib must by UB and how to compile them this way.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: MordEth on August 27, 2008, 03:57:22 am
Hrm.  How did you compile it to tell it that the .dylib files are included in the same dir that the binary is in?

I had previously installed libsdl, libvorbis, and libogg via MacPorts, and it puts those dylib files in /opt/local/lib.  The dylibs included inside the .app are the ones packaged with the previous official .app release (0.7.8).


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Reuti on August 27, 2008, 04:45:18 am
Hrm.  How did you compile it to tell it that the .dylib files are included in the same dir that the binary is in?

I had previously installed libsdl, libvorbis, and libogg via MacPorts, and it puts those dylib files in /opt/local/lib.  The dylibs included inside the .app are the ones packaged with the previous official .app release (0.7.8).

I removed all of the .dylib versions of these files, and then the linker will fall back to use the .a files to be linked in statically. So in my built only libSDL is dynamic. Why the libSDL get's linked in with "@executable_path/libSDL-1.2.0.dylib " according to a "oTool -L" must be somewhere in the Makefile part for OS X.

-- Reuti




Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Timedude on August 27, 2008, 05:26:29 am
Not a whole lot of this makes sense to me... Other than the one compiled by cacatoes, which requires console use, do we have a working version? To me, it looks like a no... But I could be wrong.

-Timedude


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: MordEth on August 27, 2008, 05:37:53 am
I've updated my .tbz again, and I think that I've fixed the dependencies on /opt/local/bin (MacPorts).

Someone want to test this (http://mordeth.bitbucket.be/oa/oa080-mac-ub.tbz) and confirm that it works?


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Reuti on August 27, 2008, 05:46:00 am
I've updated my .tbz again, and I think that I've fixed the dependencies on /opt/local/bin (MacPorts).

Someone want to test this (http://mordeth.bitbucket.be/oa/oa080-mac-ub.tbz) and confirm that it works?

Nope, now I get:

PID:    15962
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0 Crashed:
0   libSystem.B.dylib           0x9010c802 _malloc_initialize + 992
1   libSystem.B.dylib           0x900028d7 malloc + 29
2   ws.openarena.openarena      0x0015a01a main + 1766 (SDLMain.m:354)
3   ws.openarena.openarena      0x00002566 start + 54


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: MordEth on August 27, 2008, 06:36:17 am
OK, I think I got it this time (http://mordeth.bitbucket.be/oa/oa080-mac-ub.tbz).

Can someone confirm that it works?  I tested on my system by moving those dylib files out of /opt/local/lib, so it should work.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Reuti on August 27, 2008, 06:56:00 am
OK, I think I got it this time (http://mordeth.bitbucket.be/oa/oa080-mac-ub.tbz).

Can someone confirm that it works?  I tested on my system by moving those dylib files out of /opt/local/lib, so it should work.

Same error as before on an Intel iMac with 10.4.11, on another Intel iMac with 10.5.4 it's working though.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: MordEth on August 27, 2008, 07:03:04 am
OK.  I don't have any machines still running 10.4.11, and didn't even think about trying to factor in compile options for 10.4.x.

Glad to hear that I solved the dependency issue on Leopard, though.  I'll play with it more and post when I have something that should work on both 10.4.x and 10.5.x.  Hopefully everyone who was wanting this has Leopard.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: roflsours on August 29, 2008, 11:59:15 am
Great, can't wait :)


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Flipendo on August 29, 2008, 06:29:23 pm
i'm on 10.4...
still waiting though


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: roflsours on August 30, 2008, 10:57:40 am
You could always just download these:

http://download.tuxfamily.org/openarena/rel/080/oa080-mac-ppc.zip
http://download.tuxfamily.org/openarena/rel/080/oa080-mac-i386.zip

Follow the instructions in the readme file and just create an alias to the openarena.ppc file. It feels pretty close to the real thing, apart from opening in terminal.

Also: get leopard :P


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: jackoverfull on September 02, 2008, 09:27:58 am
hi, i'm back. ;-)

I just fixed the make-macosx-ub.sh script (the problem was that it expects "ioquake3" and "ioq3ded" bins, but they're now called "openarena" and "oa_ded") and trying to build the usual way.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: jackoverfull on September 02, 2008, 09:35:56 am
built ub for 10.4/10.5. Seems that 10.2 build is broken, but it's been for a while now and i doubt that this will be a problem. I'm going to try a 10.3 build too, for max compatibility, then i'll test the thing a bit and upload it if everything is ok.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: sago007 on September 02, 2008, 10:01:43 am
Just to make sure... you are compiling from: http://brie.ostenfeld.dk/~poul19/public_files/oa/dev080/ioquake3serverFix.tar.bz2 right?


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: jackoverfull on September 02, 2008, 10:05:48 am
no, from the svn.

i'm still in time to build from that one, if it's the right one.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: sago007 on September 02, 2008, 10:10:10 am
The one in svn (and all the binaries in openarena-0.8.0.zip) all suffers for the same "Awaiting gamestate..." bug if you use it to host a server.

But if you are not in a hurry I might want to clean the serverfix tar up a little to better reflect that it is an engine only tarball.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: jackoverfull on September 02, 2008, 10:15:45 am
Quote
The one in svn (and all the binaries in openarena-0.8.0.zip) all suffers for the same "Awaiting gamestate..." bug if you use it to host a server.
ok. i'll try the other one.

Quote
But if you are not in a hurry I might want to clean the serverfix tar up a little to better reflect that it is an engine only tarball.
what's wrong with it?



mmmh, for some reason the script doesn't build oa_ded.ppc (but builds oa_ded.i386), although it builds well if built directly. Investigating.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: sago007 on September 02, 2008, 10:33:47 am
what's wrong with it?
It contains unused files and outdated files. I want to split the source in a engine only and vm only, since they are developed separately. I believe the bug in 0.8.0 was introduced during merging.

VM source will also be updated from 0.8.n to 0.8.n+1 while the engine is supposed to be the same until 0.9.0, so it makes good sense to separate them.

http://brie.ostenfeld.dk/~poul19/public_files/oa/dev080/openarena-engine-source-0.8.x-1.tar.bz2 is smaller.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: jackoverfull on September 02, 2008, 10:36:44 am
ok, so i'll build this one.

but i still don't know what's the matter with the dedicated server bins. will have to check again.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: jackoverfull on September 02, 2008, 11:07:47 am
Built again, managed to get the ded server bin built for both intel and ppc.



as i noticed a couple of tentatives ago, the script drops the oa_ded.ppc in release-darwin-ub and not in the release-darwin-ppc. Do you know if there is a reason for that odd behavior?

I'm attaching a working make-macosx-ub.sh file. i left that strange behavior in it. You'll need to edit it to match your libogg/libvorbis/libvorbisfile configuration (i explained that in a doc about a year ago, it should be around somewere, will probably republish it soon in an updated form).

now i'll relink the libs, do some test and upload the engine.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: jackoverfull on September 02, 2008, 11:24:32 am
done it.  everything seems to be working on both 10.5 (g4) and 10.4 (g3) and networking between the two systems and the internet works too. mission pack works, but lots of things are broken (but i suppose that's already known).

i got this screen two times: firstly, on the server, trying to join a missionpack game using a non missionpack client, secondly on the client, trying to join a missionpack game (with missionpack enabled on the client too) without changing the default configuration. i think that the second time the problem was caused by the default config, that doesn't call to a model that isn't recognized by missionpack.

(http://img68.imageshack.us/img68/5106/immagine1hf8.th.png) (http://img68.imageshack.us/my.php?image=immagine1hf8.png)

will now package everything and upload in a few minutes.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: jackoverfull on September 02, 2008, 11:49:20 am
finished.

mac engine (client and server), for 10.4/10.5 (may work on 10.3.9 too), intel and ppc (intel is untested), in a mac-like application on a nice dmg, complete with installation instructions.

Enjoy!

http://www.jazzmobile.it/jackoverfull/games/openarena/oamac080.dmg.gz


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Timedude on September 02, 2008, 07:10:43 pm
Hey! jackoverfull, thanks for getting to compiling this! After seeing the large amount of other buggy releases, I had decided to just wait for you to post your build... I'll test it out and let you know how it works as soon as I complete the download of all the other files I need. Thanks again, man!

-Timedude


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: nocturne on September 02, 2008, 07:24:56 pm
Thank you very much, Jack! Seems rather slower to load than 0.7.7 on my G4, but so far no functional problems. Thanks, again!


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Cacatoes on September 03, 2008, 06:38:04 am
Hi,
I was planning to repackage OA 0.8 with Mac/Win/Linux versions.
Should I join the .dmg.gz, or unzip it, or would there be a more appropriate format to use ?


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Timedude on September 03, 2008, 03:26:42 pm
Yep, works fine on mine too!

-Timedude


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: roflsours on September 03, 2008, 06:37:31 pm
Thanks, works great on my end (10.5)


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: kick52 on September 04, 2008, 01:16:54 am
Hi,
I was planning to repackage OA 0.8 with Mac/Win/Linux versions.
Should I join the .dmg.gz, or unzip it, or would there be a more appropriate format to use ?

.dmg with compression is pretty good/recognized.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: jackoverfull on September 04, 2008, 11:51:28 am
yes, but if you're going to do a single release for all3 platforms it's better to take only the engine, not the whole .dmg.

Just take this file (http://www.jazzmobile.it/jackoverfull/games/openarena/oamac08-engine.zip), extract the "OpenArena.app" folder and put it in the same folder of "baseoa".
Linux and windows users will probably see it as a folder, but it will appear a an application to mac users.

The mac has a built-in extractor for zip, gzip and bzip2 (and, obviusly, tar), every one of those will be fine.

------

I see that you already uploaded the whole package. No matter, if someone need OpenArena.app outside the dmg it's that file.


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: Cacatoes on September 04, 2008, 02:22:54 pm
Hehe, sorry for being impatient ;)


Title: Re: Anyone to build 0.8.0 for Mac ?
Post by: jackoverfull on September 04, 2008, 03:37:53 pm
no problem. ;-)