惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Troy Hunt's Blog
F
Fortinet All Blogs
D
DataBreaches.Net
Google DeepMind News
Google DeepMind News
Y
Y Combinator Blog
The Register - Security
The Register - Security
T
Tailwind CSS Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
月光博客
月光博客
V
Vulnerabilities – Threatpost
S
Securelist
S
SegmentFault 最新的问题
T
Threat Research - Cisco Blogs
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
P
Privacy International News Feed
S
Schneier on Security
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
L
LangChain Blog
GbyAI
GbyAI
Apple Machine Learning Research
Apple Machine Learning Research
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
美团技术团队
Cyberwarzone
Cyberwarzone
C
Cisco Blogs
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Google Online Security Blog
Google Online Security Blog
M
MIT News - Artificial intelligence
U
Unit 42
V
V2EX
C
CERT Recently Published Vulnerability Notes
云风的 BLOG
云风的 BLOG
B
Blog
博客园 - 叶小钗
Attack and Defense Labs
Attack and Defense Labs
Security Archives - TechRepublic
Security Archives - TechRepublic
aimingoo的专栏
aimingoo的专栏
Hacker News: Ask HN
Hacker News: Ask HN
博客园 - Franky
Engineering at Meta
Engineering at Meta
Schneier on Security
Schneier on Security
C
CXSECURITY Database RSS Feed - CXSecurity.com
酷 壳 – CoolShell
酷 壳 – CoolShell
T
The Blog of Author Tim Ferriss
IT之家
IT之家
W
WeLiveSecurity
Cisco Talos Blog
Cisco Talos Blog
K
Kaspersky official blog
Martin Fowler
Martin Fowler
SecWiki News
SecWiki News

博客园 - Andy Yang

SharePoint中Event Handler的触发 扩展SharePoint链接字段 树莓派的连接 树莓派版的家用NAS服务器 修改树莓派更新源及设置代理配置 开启树莓派的硬件看门狗功能 树莓派上安装2.8寸TFT触摸屏 树莓派上使用蚂蚁矿机挖矿 如何编译树莓派内核 代码导出Reporting Services报表文件 Bit-Coin收入的一分钱 新树莓派入手 如何通过PowerShell在Visual Studio的Post-build中预热SharePoint站点 将SharePoint 2010的快速启动改成弹出菜单样式 在SharePoint 2010的Team Site首页上显示Flash文件 SharePoint 2010搜索起步(下) SharePoint 2010搜索起步(上) 2009上班第一天 软件开发与心理张力
如何在树莓派上运行雷神之锤III
Andy Yang · 2014-03-06 · via 博客园 - Andy Yang

昨天在树莓派上尝试运行了一下雷神之锤III,流畅运行,效果不错~~~

RPI这个小身板的东东总是可以给你带来惊喜,这里记录一下步骤以备后续再用

先确保RPI的程序和固件都已经更新

sudo apt-get update

sudo apt-get dist-upgrade

sudo rpi-update 192

sudo reboot

如果更新很龟速,建议参考这篇文章,在Country为China的选项中选择离你近的服务器

我在北京,原先使用的清华,后来突然不能用了,现在改到了大连的那个

安装游戏相关的组件

sudo apt-get install git gcc build-essential libsdl1.2-dev

下载Quake III的源代码(核心文件也就几MB,牛掰呀)

    mkdir ~/src
    cd ~/src
    git clone https://github.com/raspberrypi/quake3.git
    cd quake3

修改build.sh文件

sudo nano build.sh
    第08行改成:  ARM_LIBS=/opt/vc/lib
    第16行改成:  INCLUDES="-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads"
    第19行注释掉:    #CROSS_COMPILE=bcm2708-

接着编译./build.sh

RPI的CPU很弱,所以这个时间比较久;我将CPU超频到950MHz后编译也花了N久,后来实在等不了睡觉去了,具体时长多久也不清楚

将游戏需要使用的资源文件拷贝到build/release-linux-arm/baseq3目录下;需要的资源文件可以点击这里

以前从来就没有用过Linux,文件拷贝使用的WinSCP这个工具,像是在用资源管理器,相当好使;下载安装可以点击这里

更新登录用户的权限

    sudo usermod -a -G video pi

完事以后重启机器,进图形界面

sudo reboot
startx

用资源管理器到~/src/Quake3/build/release-linux-arm目录下,双击运行ioquake3.arm

开打,虐去吧(或被虐),哈哈哈~~~~~

Andy Yang

2014.03.06