哇,很强大啊,可见你编程能力很强啊,谢谢啊,首先要apt-get source, ,然后再修改源代码吗?我是直接通过软件中心安装的,是否是安装后就不能修改源代码了了需要安装前修改.stesen 写了:作弊器有没有不知道,但是可以改源码:
apt-get source chromium-bsu
cd chromium-bsu-0.9.14/src
1.修改武器伤害
vim HeroAmmo.cpp
找到 (我的是60行)第一个100是我自己改过的,原来的值忘掉了,你自己改改吧代码: 全选
ammoDamage[0] = 100; ammoDamage[1] = 6.0; ammoDamage[2] = 40.0;
黄色弹药是双倍的普通伤害
绿色是6.0的那个伤害
蓝色是40的那个
2.修改生命数:生命无限
vim HeroAircraft.cpp
找到这个函数(我的在833行): void HeroAircraft::startDeath()
改为3.改血条代码: 全选
void HeroAircraft::startDeath() { deathExplosions(); if(lives < 0) { //fireGun(false); //game->heroDeath = DEATH_TIME; //game->gameMode = Global::HeroDead; //dontShow = -1; lives = 0; superBomb = 1; reset(); dontShow = 130; } else { superBomb = 1; reset(); dontShow = 130; } }
vim define.h
找到改改大代码: 全选
#define HERO_SHIELDS 500.0
4.改子弹频率
vim HeroAircraft.cpp
找到函数:(我的在688行)
void HeroAircraft::update()改为代码: 全选
if(gunPause[i] >= 0) gunPause[i] -= game->speedAdj;
5.延长盾自动消失时间代码: 全选
if(gunPause[i] >= 0) gunPause[i] -= 10*game->speedAdj;
在上一个函数中,注释掉这几行:6.延长特殊武器代码: 全选
//-- decrement supershields if(shields >= HERO_SHIELDS) { shields -= 0.15*game->speedAdj; }
vim define.h
修改:然后回到chromium-bsu-0.9.14目录代码: 全选
#define AMMO_REFILL 150
sudo aptitude build-dep chromium-bsu
./configure
make
sudo make install
Game Chromium B.S.U好难啊,第一关都打不过(变态版可以虐电脑了)!
- dcbakkk
- 帖子: 196
- 注册时间: 2009-11-09 9:35
Re: Game Chromium B.S.U好难啊,第一关都打不过!
- stesen
- 帖子: 397
- 注册时间: 2008-11-16 11:11
Re: Game Chromium B.S.U好难啊,第一关都打不过!
dcbakkk, 我也是菜鸟,只是chromium-bsu的coding-style比较好,很容易看懂
是要apt-get source
先删掉原来的,sudo aptitude puge chromium-bsu,或者把自己编译的放在$PATH比较前面的位置
是要apt-get source
先删掉原来的,sudo aptitude puge chromium-bsu,或者把自己编译的放在$PATH比较前面的位置
等俺有钱了,俺把M$买来好好搓搓
- dcbakkk
- 帖子: 196
- 注册时间: 2009-11-09 9:35
Re: Game Chromium B.S.U好难啊,第一关都打不过!
呵呵,比我好呵,以后向你学习呵?stesen 写了:dcbakkk, 我也是菜鸟,只是chromium-bsu的coding-style比较好,很容易看懂
是要apt-get source
先删掉原来的,sudo aptitude puge chromium-bsu,或者把自己编译的放在$PATH比较前面的位置
对了我在。/configure时报错,是不是软件报没有安装
xutingfeng@Kernel:~/chromium-bsu-0.9.14$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether struct tm is in sys/time.h or time.h... time.h
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for floor... no
checking for setenv... yes
checking for sqrt... no
checking for strcasecmp... yes
checking for strchr... yes
checking for strerror... yes
checking for strrchr... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for X... libraries , headers
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking whether we are using the Microsoft C compiler... no
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking OpenGL/gl.h usability... no
checking OpenGL/gl.h presence... no
checking for OpenGL/gl.h... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for OpenGL library... no
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking OpenGL/glu.h usability... no
checking OpenGL/glu.h presence... no
checking for OpenGL/glu.h... no
checking for OpenGL Utility library... -lGLU
checking for varargs GLU tesselator callback function type... no
checking GL/glc.h usability... no
checking GL/glc.h presence... no
checking for GL/glc.h... no
checking QuesoGLC/glc.h usability... no
checking QuesoGLC/glc.h presence... no
checking for QuesoGLC/glc.h... no
checking for glcGenContext in -lGLC... no
checking for glcGenContext in -lglc32... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FTGL... no
checking for SDL... yes
checking for IMG_Load in -lSDL_image... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking GL/glut.h usability... yes
checking GL/glut.h presence... yes
checking for GL/glut.h... yes
checking GLUT/glut.h usability... no
checking GLUT/glut.h presence... no
checking for GLUT/glut.h... no
checking for GLUT library... no
checking for OPENAL... yes
checking for FREEALUT... no
checking for Mix_OpenAudio in -lSDL_mixer... yes
checking for pngBind in -lglpng... no
configure: error: cannot find OpenGL (drawing system)
- mayue617
- 帖子: 542
- 注册时间: 2009-04-12 13:20
- 联系:
- stesen
- 帖子: 397
- 注册时间: 2008-11-16 11:11
Re: Game Chromium B.S.U好难啊,第一关都打不过!
缺少库文件,装dev包
有没有aptitude build-dep chromium-bsu过?
有没有aptitude build-dep chromium-bsu过?
dcbakkk 写了:呵呵,比我好呵,以后向你学习呵?stesen 写了:dcbakkk, 我也是菜鸟,只是chromium-bsu的coding-style比较好,很容易看懂
是要apt-get source
先删掉原来的,sudo aptitude puge chromium-bsu,或者把自己编译的放在$PATH比较前面的位置
对了我在。/configure时报错,是不是软件报没有安装
xutingfeng@Kernel:~/chromium-bsu-0.9.14$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether struct tm is in sys/time.h or time.h... time.h
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for floor... no
checking for setenv... yes
checking for sqrt... no
checking for strcasecmp... yes
checking for strchr... yes
checking for strerror... yes
checking for strrchr... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for X... libraries , headers
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking whether we are using the Microsoft C compiler... no
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking OpenGL/gl.h usability... no
checking OpenGL/gl.h presence... no
checking for OpenGL/gl.h... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for OpenGL library... no
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking OpenGL/glu.h usability... no
checking OpenGL/glu.h presence... no
checking for OpenGL/glu.h... no
checking for OpenGL Utility library... -lGLU
checking for varargs GLU tesselator callback function type... no
checking GL/glc.h usability... no
checking GL/glc.h presence... no
checking for GL/glc.h... no
checking QuesoGLC/glc.h usability... no
checking QuesoGLC/glc.h presence... no
checking for QuesoGLC/glc.h... no
checking for glcGenContext in -lGLC... no
checking for glcGenContext in -lglc32... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FTGL... no
checking for SDL... yes
checking for IMG_Load in -lSDL_image... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking GL/glut.h usability... yes
checking GL/glut.h presence... yes
checking for GL/glut.h... yes
checking GLUT/glut.h usability... no
checking GLUT/glut.h presence... no
checking for GLUT/glut.h... no
checking for GLUT library... no
checking for OPENAL... yes
checking for FREEALUT... no
checking for Mix_OpenAudio in -lSDL_mixer... yes
checking for pngBind in -lglpng... no
configure: error: cannot find OpenGL (drawing system)
等俺有钱了,俺把M$买来好好搓搓
- dcbakkk
- 帖子: 196
- 注册时间: 2009-11-09 9:35
Re: Game Chromium B.S.U好难啊,第一关都打不过!
我执行了aptitude build-dep chromium-bsustesen 写了:缺少库文件,装dev包
有没有aptitude build-dep chromium-bsu过?
dcbakkk 写了:呵呵,比我好呵,以后向你学习呵?stesen 写了:dcbakkk, 我也是菜鸟,只是chromium-bsu的coding-style比较好,很容易看懂
是要apt-get source
先删掉原来的,sudo aptitude puge chromium-bsu,或者把自己编译的放在$PATH比较前面的位置
对了我在。/configure时报错,是不是软件报没有安装
)
现在都快把OpenGL相关的软件包安装完了还是会有这个提示
- uulele
- 帖子: 180
- 注册时间: 2007-06-14 20:08
- 联系:
Re: Game Chromium B.S.U好难啊,第一关都打不过!
tenzu 写了:游戏的名字写了,bsu
这游戏写出来就是bs你的,嗯嗯

- stesen
- 帖子: 397
- 注册时间: 2008-11-16 11:11
Re: Game Chromium B.S.U好难啊,第一关都打不过!
具体确哪个我也不知道了,因为常要编译,所以系统上装了一大堆开发用的包dcbakkk 写了:我执行了aptitude build-dep chromium-bsustesen 写了:缺少库文件,装dev包
有没有aptitude build-dep chromium-bsu过?
dcbakkk 写了:呵呵,比我好呵,以后向你学习呵?stesen 写了:dcbakkk, 我也是菜鸟,只是chromium-bsu的coding-style比较好,很容易看懂
是要apt-get source
先删掉原来的,sudo aptitude puge chromium-bsu,或者把自己编译的放在$PATH比较前面的位置
对了我在。/configure时报错,是不是软件报没有安装
)
现在都快把OpenGL相关的软件包安装完了还是会有这个提示
代码: 全选
stesen@debian:~$ dpkg -l |grep "\-dev"
ii autotools-dev 20100122.1 Update infrastructure for config.{guess,sub}
ii binutils-dev 2.20.1-10 The GNU binary utilities (BFD development fi
ii comerr-dev 2.1-1.41.12-1 common error description library - headers a
ii dpkg-dev 1.15.7.2 Debian package development tools
ii freeglut3-dev 2.6.0-1 OpenGL Utility Toolkit development files
ii libaa1-dev 1.4p5-38 ascii art library, development kit
ii libafterimage-dev 2.2.9-5 imaging library designed for AfterStep - dev
ii libalut-dev 1.1.0-2 OpenAL Utility Toolkit development files
ii libart-2.0-dev 2.3.21-1 Library of functions for 2D graphics - devel
ii libartsc0-dev 1.5.9-3+b1 development files for the aRts sound system
ii libasound2-dev 1.0.22-2 shared library for ALSA applications -- deve
ii libatk1.0-dev 1.30.0-1 Development files for the ATK accessibility
ii libaudio-dev 1.9.2-3 Network Audio System - development files
ii libaudiofile-dev 0.2.6-8 Open-source version of SGI's audiofile libra
ii libavahi-client-dev 0.6.25-3 Development files for the Avahi client libra
ii libavahi-common-dev 0.6.25-3 Development files for the Avahi common libra
ii libavahi-glib-dev 0.6.25-3 Development headers for the Avahi glib integ
ii libbabl-0.0-0-dev 0.0.22-1 Dynamic, any to any, pixel format conversion
ii libbonobo2-dev 2.24.3-1 Bonobo CORBA interfaces library -- developme
ii libbonoboui2-dev 2.24.3-1 The Bonobo UI library - development files
ii libboost-dev 1.42.0.1 Boost C++ Libraries development files (defau
ii libboost1.42-dev 1.42.0-3 Boost C++ Libraries development files
ii libc-dev-bin 2.11.1-1 Embedded GNU C Library: Development binaries
ii libc6-dev 2.11.1-1 Embedded GNU C Library: Development Librarie
ii libcaca-dev 0.99.beta17-1 development files for libcaca
ii libcairo2-dev 1.8.10-4 Development files for the Cairo 2D graphics
ii libcapi20-dev 1:3.9.20060704-10 ISDN utilities - CAPI development libraries
ii libcups2-dev 1.4.3-1 Common UNIX Printing System(tm) - Developmen
ii libcurl4-gnutls-dev 7.20.1-2 Development files and documentation for libc
ii libdatrie-dev 0.2.3-1 Development files for double-array trie libr
ii libdbus-1-dev 1.2.24-1 simple interprocess messaging system (develo
ii libdbus-glib-1-dev 0.86-1 simple interprocess messaging system (GLib i
ii libdirectfb-dev 1.2.10.0-3 direct frame buffer graphics library - devel
ii libdmx-dev 1:1.1.0-2 X11 Distributed Multihead extension library
ii libesd0-dev 0.2.41-7 Enlightened Sound Daemon - Development files
ii libexif-dev 0.6.19-1 library to parse EXIF files (development fil
ii libexpat1-dev 2.0.1-7 XML parsing C library - development kit
ii libffi-dev 3.0.9-2 Foreign Function Interface library (developm
ii libfontconfig1-dev 2.8.0-2.1 generic font configuration library - develop
ii libfontenc-dev 1:1.0.5-2 X11 font encoding library (development heade
ii libfreetype6-dev 2.3.11-1 FreeType 2 font engine, development files
ii libfribidi-dev 0.19.2-1 Development files for FreeBidi library
ii libfs-dev 2:1.0.2-1 X11 Font Services library (development heade
ii libgail-dev 2.20.1-1 GNOME Accessibility Implementation Library -
ii libgconf2-dev 2.28.1-3 GNOME configuration database system (develop
ii libgcrypt11-dev 1.4.5-2 LGPL Crypto library - development files
ii libgegl-0.0-dev 0.0.22-2 Generic Graphics Library (development files)
ii libgif-dev 4.1.6-9 library for GIF images (development)
ii libgl1-mesa-dev 7.7.1-2 A free implementation of the OpenGL API -- G
ii libglc-dev 0.7.2-1 An implementation of SGI's OpenGL Character
ii libglib2.0-dev 2.24.1-1 Development files for the GLib library
ii libglpng-dev 1.45-6 PNG loader for OpenGL - development files
ii libglu1-mesa-dev 7.7.1-2 The OpenGL utility library -- development fi
ii libglu1-xorg-dev 1:7.5+6 transitional package for Debian etch
ii libgmp3-dev 2:4.3.2+dfsg-1 Multiprecision arithmetic library developers
ii libgnome-keyring-dev 2.30.1-1 Development files for GNOME keyring service
ii libgnome2-dev 2.30.0-1 The GNOME library - development files
ii libgnomecanvas2-dev 2.30.1-1 A powerful object-oriented display - develop
ii libgnomeui-dev 2.24.3-1 The GNOME libraries (User Interface) - devel
ii libgnomevfs2-dev 1:2.24.3-1 GNOME Virtual File System library (developme
ii libgnutls-dev 2.8.6-1 the GNU TLS library - development files
ii libgpg-error-dev 1.6-1 library for common error values and messages
ii libgphoto2-2-dev 2.4.6-1 gphoto2 digital camera library (development
ii libgpm-dev 1.20.4-3.3 General Purpose Mouse - development files
ii libgtk2.0-dev 2.20.1-1 Development files for the GTK+ library
ii libhal-dev 0.5.14-2 Hardware Abstraction Layer - development fil
ii libhunspell-dev 1.2.11-1 spell checker and morphological analyzer (de
ii libibus-dev 1.3.4-1 New input method framework using dbus
ii libice-dev 2:1.0.6-1 X11 Inter-Client Exchange library (developme
ii libiconv-hook-dev 0.0.20021209-10 header files of libiconv-hook
ii libidl-dev 0.8.14-0.1 development files for programs that use libI
ii libidn11-dev 1.18-1 Development files for GNU Libidn, an IDN lib
ii libieee1284-3-dev 0.2.11-6 cross-platform library for parallel port acc
ii libimlib2-dev 1.4.2-8+b1 Imlib2 development files
ii libiw-dev 30~pre9-4 Wireless tools - development files
ii libjack-dev 1.9.5~dfsg-13 JACK Audio Connection Kit (development files
ii libjpeg62-dev 6b-16.1 Development files for the IJG JPEG library (
ii libkrb5-dev 1.8.1+dfsg-5 Headers and development libraries for MIT Ke
ii liblcms1-dev 1.18.dfsg-1.2+b1 Color management library (Development header
ii libldap2-dev 2.4.21-1 OpenLDAP development libraries
ii liblockfile-dev 1.08-4 Development library for liblockfile
ii libltdl-dev 2.2.6b-2 A system independent dlopen wrapper for GNU
ii libm17n-dev 1.5.5-1 a multilingual text processing library - dev
ii libmenu-cache1-dev 0.3.2-2 an implementation of the freedesktop menu sp
ii libmng-dev 1.0.9-1 M-N-G library (Development headers)
ii libmozjs-dev 1.9.1.9-7 Development files for the Mozilla SpiderMonk
ii libmpc-dev 0.8.2-1 multiple precision complex floating-point li
ii libmpeg3-dev 1.5.4-5 Headers and static libraries for libMPEG3
ii libmpfr-dev 2.4.2-3 multiple precision floating-point computatio
ii libncurses5-dev 5.7+20100313-2 developer's libraries and docs for ncurses
ii libnotify-dev 0.4.5-1 sends desktop notifications to a notificatio
ii libnspr4-dev 4.8.4-1 Development files for the NetScape Portable
ii libnss3-dev 3.12.6-2 Development files for the Network Security S
ii libopenal-dev 1:1.12.854-2 Software implementation of the OpenAL API (d
ii libopts25-dev 1:5.10-1.1 automated option processing library based on
ii liborbit2-dev 1:2.14.18-0.1 development files for ORBit2 - a CORBA ORB
ii libotf-dev 0.9.10-1 A Library for handling OpenType Font - devel
ii libpango1.0-dev 1.28.0-1 Development files for the Pango
ii libpciaccess-dev 0.11.0-2 Generic PCI access library for X - developme
ii libperl-dev 5.10.1-13 Perl library: development files
ii libpixman-1-dev 0.16.4-1 pixel-manipulation library for X and cairo (
ii libpng12-dev 1.2.43-1 PNG library - development
ii libpoppler-dev 0.12.4-1 PDF rendering library -- development files
ii libpoppler-glib-dev 0.12.4-1 PDF rendering library -- development files (
ii libpopt-dev 1.16-1 lib for parsing cmdline parameters - develop
ii libpthread-stubs0-dev 0.3-2 pthread stubs not provided by native libc, d
ii libpulse-dev 0.9.21-1.2 PulseAudio client development headers and li
ii libqt4-dev 4:4.6.2-5 Qt 4 development files
ii libqt4-opengl-dev 4:4.6.2-5 Qt 4 OpenGL library development files
ii librsvg2-dev 2.26.3-1 SAX-based renderer library for SVG files (de
ii libsane-dev 1.0.21-1 API development library for scanners [develo
ii libsane-extras-dev 1.0.21.2 API development library for scanners [develo
ii libsdl-image1.2-dev 1.2.10-2+b1 development files for SDL 1.2 image loading
ii libsdl1.2-dev 1.2.14-6 Simple DirectMedia Layer development files
ii libselinux1-dev 2.0.94-1 SELinux development headers
ii libsepol1-dev 2.0.41-1 SELinux binary policy maniulation library an
ii libslang2-dev 2.2.2-4 The S-Lang programming library, development
ii libsm-dev 2:1.1.1-1 X11 Session Management library (development
ii libsoup2.4-dev 2.30.1-1 an HTTP library implementation in C -- Devel
ii libsqlite3-dev 3.6.23.1-4 SQLite 3 development files
ii libssl-dev 0.9.8n-1 SSL development libraries, header files and
ii libstartup-notification0-dev 0.10-1 library for program launch feedback (develop
ii libstdc++6-4.4-dev 4.4.4-3 The GNU Standard C++ Library v3 (development
ii libsvga1-dev 1:1.4.3-29 console SVGA display development libraries a
ii libsysfs-dev 2.1.0-6 interface library to sysfs - development fil
ii libtasn1-3-dev 2.7-1 Manage ASN.1 structures (development)
ii libthai-dev 0.1.14-2 Development files for Thai language support
ii libtiff4-dev 3.9.2-3+b1 Tag Image File Format library (TIFF), develo
ii libts-dev 1.0-7 touch screen library, development files
ii libusb-dev 2:0.1.12-15 userspace USB programming library developmen
ii libv4l-dev 0.8.0-1 Collection of video4linux support libraries
ii libwebkit-dev 1.2.1-2 Web content engine library for Gtk+ - Develo
ii libwmf-dev 0.2.8.4-6.1 Windows metafile conversion development
ii libx11-dev 2:1.3.3-3 X11 client-side library (development headers
ii libxau-dev 1:1.0.5-2 X11 authorisation library (development heade
ii libxaw7-dev 2:1.0.7-1 X11 Athena Widget library (development heade
ii libxcb-render-util0-dev 0.3.6-1 utility libraries for X C Binding -- render-
ii libxcb-render0-dev 1.6-1 X C Binding, render extension, development f
ii libxcb1-dev 1.6-1 X C Binding, development files
ii libxcomposite-dev 1:0.4.1-1 X11 Composite extension library (development
ii libxcursor-dev 1:1.1.10-2 X cursor management library (development fil
ii libxdamage-dev 1:1.1.2-1 X11 damaged region extension library (develo
ii libxdmcp-dev 1:1.0.3-2 X11 authorisation library (development heade
ii libxext-dev 2:1.1.1-3 X11 miscellaneous extensions library (develo
ii libxfixes-dev 1:4.0.4-2 X11 miscellaneous 'fixes' extension library
ii libxfont-dev 1:1.4.1-2 X11 font rasterisation library (development
ii libxft-dev 2.1.14-2 FreeType-based font drawing library for X (d
ii libxi-dev 2:1.3-4 X11 Input extension library (development hea
ii libxinerama-dev 2:1.1-3 X11 Xinerama extension library (development
ii libxkbfile-dev 1:1.0.6-2 X11 keyboard file manipulation library (deve
ii libxml2-dev 2.7.7.dfsg-2 Development files for the GNOME XML library
ii libxmu-dev 2:1.0.5-1 X11 miscellaneous utility library (developme
ii libxmuu-dev 2:1.0.5-1 X11 miscellaneous micro-utility library (dev
ii libxp-dev 1:1.0.0.xsf1-2 X Printing Extension (Xprint) client library
ii libxpm-dev 1:3.5.8-1 X11 pixmap library (development headers)
ii libxrandr-dev 2:1.3.0-3 X11 RandR extension library (development hea
ii libxrender-dev 1:0.9.5-2 X Rendering Extension client library (develo
ii libxres-dev 2:1.0.4-1 X11 Resource extension library (development
ii libxslt1-dev 1.1.26-3 XSLT processing library - development kit
ii libxss-dev 1:1.2.0-2 X11 Screen Saver extension library (developm
ii libxt-dev 1:1.0.7-1 X11 toolkit intrinsics library (development
ii libxtst-dev 2:1.1.0-2 X11 Record extension library (development he
ii libxv-dev 2:1.0.5-1 X11 Video extension library (development hea
ii libxvmc-dev 2:1.0.5-1 X11 Video extension library (development hea
ii libxxf86dga-dev 2:1.1.1-2 X11 Direct Graphics Access extension library
ii libxxf86vm-dev 1:1.1.0-2 X11 XFree86 video mode extension library (de
ii linux-libc-dev 2.6.32-14 Linux support headers for userspace developm
ii manpages-dev 3.24-1 Manual pages about using GNU/Linux for devel
ii manpages-posix-dev 2.16-1 Manual pages about using a POSIX system for
ii mesa-common-dev 7.7.1-2 Developer documentation for Mesa
ii python-dev 2.5.4-9 Header files and a static library for Python
ii python-gobject-dev 2.21.1-1 Development headers for the GObject Python b
ii python-gtk2-dev 2.17.0-2 GTK+ bindings: devel files
ii python2.5-dev 2.5.5-6 Header files and a static library for Python
ii qt4-dev-tools 4:4.6.2-5 Qt 4 development tools
ii unixodbc-dev 2.2.14p2-1 ODBC libraries for UNIX (development files)
ii uuid-dev 2.17.2-2 universally unique id library - headers and
ii x11proto-bigreqs-dev 1:1.1.0-1 X11 Big Requests extension wire protocol
ii x11proto-composite-dev 1:0.4.1-1 X11 Composite extension wire protocol
ii x11proto-core-dev 7.0.16-1 X11 core wire protocol and auxiliary headers
ii x11proto-damage-dev 1:1.2.0-1 X11 Damage extension wire protocol
ii x11proto-dmx-dev 1:2.3-2 X11 Distributed Multihead X extension wire p
ii x11proto-dri2-dev 2.3-1 X11 DRI2 extension wire protocol
ii x11proto-fixes-dev 1:4.1.1-2 X11 Fixes extension wire protocol
ii x11proto-fonts-dev 2.1.0-1 X11 font extension wire protocol
ii x11proto-gl-dev 1.4.11-1 X11 OpenGL extension wire protocol
ii x11proto-input-dev 2.0-2 X11 Input extension wire protocol
ii x11proto-kb-dev 1.0.4-1 X11 XKB extension wire protocol
ii x11proto-print-dev 1.0.3.xsf1-1 X11 Printing extension (Xprint) wire protoco
ii x11proto-randr-dev 1.3.1-1 X11 RandR extension wire protocol
ii x11proto-record-dev 1.14-2 X11 Record extension wire protocol
ii x11proto-render-dev 2:0.11-1 X11 Render extension wire protocol
ii x11proto-resource-dev 1.1.0-1 X11 Resource extension wire protocol
ii x11proto-scrnsaver-dev 1.2.0-2 X11 Screen Saver extension wire protocol
ii x11proto-video-dev 2.3.0-1 X11 Video extension wire protocol
ii x11proto-xcmisc-dev 1.2.0-1 X11 XC-Miscellaneous extension wire protocol
ii x11proto-xext-dev 7.1.1-2 X11 various extension wire protocol
ii x11proto-xf86bigfont-dev 1.2.0-2 X11 Big Fonts extension wire protocol
ii x11proto-xf86dga-dev 2.1-2 X11 Direct Graphics Access extension wire pr
ii x11proto-xf86dri-dev 2.1.0-1 X11 DRI extension wire protocol
ii x11proto-xf86vidmode-dev 2.3-2 X11 Video Mode extension wire protocol
ii x11proto-xinerama-dev 1.2-2 X11 Xinerama extension wire protocol
ii xaw3dg-dev 1.5+E-18 Xaw3d widget set development package
ii xlibmesa-gl-dev 1:7.5+6 transitional package for Debian etch
ii xorg-dev 1:7.5+6 the X.Org X Window System development librar
ii xserver-xorg-dev 2:1.7.7-1 Xorg X server - development files
ii xtrans-dev 1.2.5-1 X transport library (development files)
ii xulrunner-dev 1.9.1.9-7 Development files for the Gecko engine libra
ii xutils-dev 1:7.5+3 X Window System utility programs for develop
ii zlib1g-dev 1:1.2.3.4.dfsg-3 compression library - development
代码: 全选
stesen@debian:~$ dpkg -l |grep "opengl" -i
ii freeglut3 2.6.0-1 OpenGL Utility Toolkit
ii freeglut3-dev 2.6.0-1 OpenGL Utility Toolkit development files
ii libgl1-mesa-dev 7.7.1-2 A free implementation of the OpenGL API -- G
ii libgl1-mesa-dri 7.7.1-2 A free implementation of the OpenGL API -- D
ii libgl1-mesa-glx 7.7.1-2 A free implementation of the OpenGL API -- G
ii libglc-dev 0.7.2-1 An implementation of SGI's OpenGL Character
ii libglpng 1.45-6 PNG loader for OpenGL
ii libglpng-dev 1.45-6 PNG loader for OpenGL - development files
ii libglu1-mesa 7.7.1-2 The OpenGL utility library (GLU)
ii libglu1-mesa-dev 7.7.1-2 The OpenGL utility library -- development fi
ii libqt4-opengl 4:4.6.2-5 Qt 4 OpenGL module
ii libqt4-opengl-dev 4:4.6.2-5 Qt 4 OpenGL library development files
ii x11proto-gl-dev 1.4.11-1 X11 OpenGL extension wire protocol
等俺有钱了,俺把M$买来好好搓搓
- dcbakkk
- 帖子: 196
- 注册时间: 2009-11-09 9:35
Re: Game Chromium B.S.U好难啊,第一关都打不过!
呵呵,对的,回头我也去试试看,对了,你安装的这些软件包占用的多少磁盘空间啊?我只给/分配了10G现在还有5G了.stesen 写了:具体确哪个我也不知道了,因为常要编译,所以系统上装了一大堆开发用的包dcbakkk 写了:我执行了aptitude build-dep chromium-bsustesen 写了:缺少库文件,装dev包
有没有aptitude build-dep chromium-bsu过?
dcbakkk 写了:呵呵,比我好呵,以后向你学习呵?stesen 写了:dcbakkk, 我也是菜鸟,只是chromium-bsu的coding-style比较好,很容易看懂
是要apt-get source
先删掉原来的,sudo aptitude puge chromium-bsu,或者把自己编译的放在$PATH比较前面的位置
对了我在。/configure时报错,是不是软件报没有安装
)
现在都快把OpenGL相关的软件包安装完了还是会有这个提示
- stesen
- 帖子: 397
- 注册时间: 2008-11-16 11:11
Re: Game Chromium B.S.U好难啊,第一关都打不过!
dev包应该不大吧,而且编译好就可以卸掉了,我的/也只有11G,随时clean就行了
dcbakkk 写了:stesen 写了:dcbakkk 写了:stesen 写了: 呵呵,对的,回头我也去试试看,对了,你安装的这些软件包占用的多少磁盘空间啊?我只给/分配了10G现在还有5G了.
等俺有钱了,俺把M$买来好好搓搓
- dcbakkk
- 帖子: 196
- 注册时间: 2009-11-09 9:35
Re: Game Chromium B.S.U好难啊,第一关都打不过!
stesen,
。/cofigure成功了,但是make有出错了
:~/chromium-bsu-0.9.14$ make
make all-recursive
make[1]: Entering directory `/home/xutingfeng/chromium-bsu-0.9.14'
Making all in po
make[2]: Entering directory `/home/xutingfeng/chromium-bsu-0.9.14/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/xutingfeng/chromium-bsu-0.9.14/po'
Making all in misc
make[2]: Entering directory `/home/xutingfeng/chromium-bsu-0.9.14/misc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/xutingfeng/chromium-bsu-0.9.14/misc'
Making all in src
make[2]: Entering directory `/home/xutingfeng/chromium-bsu-0.9.14/src'
g++ -DHAVE_CONFIG_H -I. -I.. -pthread -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL "-DPACKAGE=\"chromium-bsu\"" "-DLOCALEDIR=\"/usr/local/share/locale\"" "-DPKGDATADIR=\"/usr/local/share/chromium-bsu\"" -g -O2 -MT chromium_bsu-AudioOpenAL.o -MD -MP -MF .deps/chromium_bsu-AudioOpenAL.Tpo -c -o chromium_bsu-AudioOpenAL.o `test -f 'AudioOpenAL.cpp' || echo './'`AudioOpenAL.cpp
AudioOpenAL.cpp: In member function ‘bool AudioOpenAL::loadWAV(const char*)’:
AudioOpenAL.cpp:911: error: invalid const_cast from type ‘const char*’ to type ‘ALbyte*’
AudioOpenAL.cpp: In member function ‘bool AudioOpenAL::loadMP3(const char*)’:
AudioOpenAL.cpp:967: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
AudioOpenAL.cpp: In member function ‘bool AudioOpenAL::loadVorbis(const char*)’:
AudioOpenAL.cpp:1013: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
make[2]: *** [chromium_bsu-AudioOpenAL.o] Error 1
make[2]: Leaving directory `/home/xutingfeng/chromium-bsu-0.9.14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/xutingfeng/chromium-bsu-0.9.14'
make: *** [all] Error 2
这个游戏真难编译哦, 通过软件中心安装又不能修改源代码?
。/cofigure成功了,但是make有出错了
:~/chromium-bsu-0.9.14$ make
make all-recursive
make[1]: Entering directory `/home/xutingfeng/chromium-bsu-0.9.14'
Making all in po
make[2]: Entering directory `/home/xutingfeng/chromium-bsu-0.9.14/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/xutingfeng/chromium-bsu-0.9.14/po'
Making all in misc
make[2]: Entering directory `/home/xutingfeng/chromium-bsu-0.9.14/misc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/xutingfeng/chromium-bsu-0.9.14/misc'
Making all in src
make[2]: Entering directory `/home/xutingfeng/chromium-bsu-0.9.14/src'
g++ -DHAVE_CONFIG_H -I. -I.. -pthread -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL "-DPACKAGE=\"chromium-bsu\"" "-DLOCALEDIR=\"/usr/local/share/locale\"" "-DPKGDATADIR=\"/usr/local/share/chromium-bsu\"" -g -O2 -MT chromium_bsu-AudioOpenAL.o -MD -MP -MF .deps/chromium_bsu-AudioOpenAL.Tpo -c -o chromium_bsu-AudioOpenAL.o `test -f 'AudioOpenAL.cpp' || echo './'`AudioOpenAL.cpp
AudioOpenAL.cpp: In member function ‘bool AudioOpenAL::loadWAV(const char*)’:
AudioOpenAL.cpp:911: error: invalid const_cast from type ‘const char*’ to type ‘ALbyte*’
AudioOpenAL.cpp: In member function ‘bool AudioOpenAL::loadMP3(const char*)’:
AudioOpenAL.cpp:967: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
AudioOpenAL.cpp: In member function ‘bool AudioOpenAL::loadVorbis(const char*)’:
AudioOpenAL.cpp:1013: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
make[2]: *** [chromium_bsu-AudioOpenAL.o] Error 1
make[2]: Leaving directory `/home/xutingfeng/chromium-bsu-0.9.14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/xutingfeng/chromium-bsu-0.9.14'
make: *** [all] Error 2
这个游戏真难编译哦, 通过软件中心安装又不能修改源代码?
上次由 dcbakkk 在 2010-06-02 16:01,总共编辑 1 次。
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
Re: Game Chromium B.S.U好难啊,第一关都打不过!
94 估计有人不知道。所以。。nickdgd 写了:还行,打到第4关,关键是不能让敌人从屏幕下方溜走,溜走一个掉一条命,所以宁愿跟敌人死拼,也就拼掉一点血而已。
还不如玩 Osmos 算了。多轻松的。
● 鸣学
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
- dcbakkk
- 帖子: 196
- 注册时间: 2009-11-09 9:35
Re: Game Chromium B.S.U好难啊,第一关都打不过!
呵呵是啊?就是想虐下电脑。eexpress 写了:额。折腾啥。
还改源码?
怎么样,也不如直接玩“雷电”经典吧。
- stesen
- 帖子: 397
- 注册时间: 2008-11-16 11:11
Re: Game Chromium B.S.U好难啊,第一关都打不过!
试试这个
http://sourceforge.net/projects/chromiu ... z/download
我不记得我是sf上下的还是apt-get source
http://sourceforge.net/projects/chromiu ... z/download
我不记得我是sf上下的还是apt-get source
dcbakkk 写了:stesen,
。/cofigure成功了,但是make有出错了
:~/chromium-bsu-0.9.14$ make
make all-recursive
make[1]: Entering directory `/home/xutingfeng/chromium-bsu-0.9.14'
Making all in po
make[2]: Entering directory `/home/xutingfeng/chromium-bsu-0.9.14/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/xutingfeng/chromium-bsu-0.9.14/po'
Making all in misc
make[2]: Entering directory `/home/xutingfeng/chromium-bsu-0.9.14/misc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/xutingfeng/chromium-bsu-0.9.14/misc'
Making all in src
make[2]: Entering directory `/home/xutingfeng/chromium-bsu-0.9.14/src'
g++ -DHAVE_CONFIG_H -I. -I.. -pthread -pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL "-DPACKAGE=\"chromium-bsu\"" "-DLOCALEDIR=\"/usr/local/share/locale\"" "-DPKGDATADIR=\"/usr/local/share/chromium-bsu\"" -g -O2 -MT chromium_bsu-AudioOpenAL.o -MD -MP -MF .deps/chromium_bsu-AudioOpenAL.Tpo -c -o chromium_bsu-AudioOpenAL.o `test -f 'AudioOpenAL.cpp' || echo './'`AudioOpenAL.cpp
AudioOpenAL.cpp: In member function ‘bool AudioOpenAL::loadWAV(const char*)’:
AudioOpenAL.cpp:911: error: invalid const_cast from type ‘const char*’ to type ‘ALbyte*’
AudioOpenAL.cpp: In member function ‘bool AudioOpenAL::loadMP3(const char*)’:
AudioOpenAL.cpp:967: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
AudioOpenAL.cpp: In member function ‘bool AudioOpenAL::loadVorbis(const char*)’:
AudioOpenAL.cpp:1013: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
make[2]: *** [chromium_bsu-AudioOpenAL.o] Error 1
make[2]: Leaving directory `/home/xutingfeng/chromium-bsu-0.9.14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/xutingfeng/chromium-bsu-0.9.14'
make: *** [all] Error 2
这个游戏真难编译哦, 通过软件中心安装又不能修改源代码?
等俺有钱了,俺把M$买来好好搓搓