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

推荐订阅源

S
Securelist
L
LangChain Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
腾讯CDC
月光博客
月光博客
S
Schneier on Security
Simon Willison's Weblog
Simon Willison's Weblog
WordPress大学
WordPress大学
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
D
Darknet – Hacking Tools, Hacker News & Cyber Security
C
Cisco Blogs
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
美团技术团队
S
Security @ Cisco Blogs
人人都是产品经理
人人都是产品经理
L
LINUX DO - 热门话题
S
SegmentFault 最新的问题
D
DataBreaches.Net
C
CXSECURITY Database RSS Feed - CXSecurity.com
Microsoft Security Blog
Microsoft Security Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
N
News | PayPal Newsroom
W
WeLiveSecurity
F
Fortinet All Blogs
The Hacker News
The Hacker News
The Register - Security
The Register - Security
P
Palo Alto Networks Blog
Engineering at Meta
Engineering at Meta
T
The Exploit Database - CXSecurity.com
Vercel News
Vercel News
G
GRAHAM CLULEY
博客园 - 聂微东
P
Privacy International News Feed
P
Privacy & Cybersecurity Law Blog
Hacker News: Ask HN
Hacker News: Ask HN
Webroot Blog
Webroot Blog
G
Google Developers Blog
T
Tailwind CSS Blog
V
Vulnerabilities – Threatpost
L
Lohrmann on Cybersecurity
T
Tenable Blog
Cisco Talos Blog
Cisco Talos Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
S
Security Affairs
云风的 BLOG
云风的 BLOG
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
B
Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Hugging Face - Blog
Hugging Face - Blog
T
Threatpost

博客园 - 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