Paintball 2 forgatás OSX -en
Van ez a játék:
http://digitalpaint.planetquake.gamespy.com/news.php
Quake 2 engines paintball.
Van Linux/Windows x86 bináris, de nekem meg OSX -em van, ráadásul PPC gépen.
Nem baj, leforgatom. Előbb-utóbb csak sikerül...:)
Szóval letöltöttem a forrást, kicsomagoltam. Gondoltam belenézek a makefile -ba:
# Check OS type.
OSTYPE := $(shell uname -s)
# This nice line comes from the linux kernel makefile
ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc/ -e s/sparc64/sparc/ -e s/arm.*/arm/ -e s/sa110/arm/ -e s/alpha/axp/)
ifneq ($(OSTYPE),Linux)
ifneq ($(OSTYPE),FreeBSD)
$(error OS $(OSTYPE) is currently not supported)
endif
endif
ifneq ($(ARCH),x86_64)
ifneq ($(ARCH),i386)
ifneq ($(ARCH),ppc)
$(error arch $(ARCH) is currently not supported)
endif
endif
endif
[...]
Hát ez így nem lessz jó, gondoltam, darwin nem támogatott, akkor (teljesen spontán jött:D, mert az óvodában hallottam, hogy az osxben is bsd vér folyik):
# Check OS type.
OSTYPE :=FreeBSD
# This nice line comes from the linux kernel makefile
ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc/ -e s/sparc64/sparc/ -e s/arm.*/arm/ -e s/sa110/arm/ -e s/alpha/axp/)
ifneq ($(OSTYPE),Linux)
ifneq ($(OSTYPE),FreeBSD)
$(error OS $(OSTYPE) is currently not supported)
endif
endif
ifneq ($(ARCH),x86_64)
ifneq ($(ARCH),i386)
ifneq ($(ARCH),ppc)
ifneq ($(ARCH),Power Macintosh)
$(error arch $(ARCH) is currently not supported)
endif
endif
endif
endif
rendben, cd oda, make.
molnar-gyulas-mac-mini-2:~/Desktop/paintball2 baa$ make
Set to YES or NO at the top of this file the possible options to build by the makefile.
By default, it will build paintball2 and glx renderer.
Possible targets:
>> Add VERBOSE=YES to a verbose compilation output, defaults to NO
>> make release
>> make debug
>> make install (paintball2 home dir).
>> make install_root (required when was built with DATADIR/LIBDIR
options enabled, you must gain root privileges).
>> make clean (clean objects).
>> make clean_bin (clean executables).
>> make distclean (clean objects, executables and modified files).
>> make bz2 (create a tar.bz2 package with the full release distribution).
hát akkor
molnar-gyulas-mac-mini-2:~/Desktop/paintball2 baa$ sudo make install
Copying files to your home dir
......
[...]
......
Done
Jaj ne, gondoltam, akkor most mindent behányt a home mappámba...? Az mire jó? Hm... Akkor
molnar-gyulas-mac-mini-2:~/Desktop/paintball2 baa$ make release
make: *** No rule to make target `relase'. Stop.
Google azt mondja, hogy ez a make relase meg valami freebsd specifikus dolog... Mindegy, nem értek hozzá (gondolom látszik:))
Szóval a kérdés az lenne, hogy mégis hogyan kezdjek hozzá akkor ehhez az egészhez?
Tudom, hogy le leszek szólva, de ezt már tényleg csak végső elkeseredésemben "csináltam össze"...
- Tovább (Paintball 2 forgatás OSX -en)
- 1236 megtekintés