# quake3 **Repository Path**: databuser/quake3 ## Basic Information - **Project Name**: quake3 - **Description**: Quake3,移植自q3lite。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-24 - **Last Updated**: 2021-11-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 编译: 1. 修改config.mk中的PLATFORM变量来选择相应的平台 游戏部署: 1.新建一个quake3目录,比如/home/quake3 2.新建baseq3目录,将cgame.so、qagame.so、uix.so放入其中 3.新建missionpack目录,将cgame.so、qagame.so、uix.so放入其中 4.将q3ded、quake3、renderer_opengles1.so(或者renderer_opengl1.so)放入quake3目录下 5.将运行quake3所必需的资源文件放入到对应的目录下,资源文件在网盘上: 链接:https://pan.baidu.com/s/185_TEu-lmc6FfoO6-eqLvg 提取码:fit6 6.运行前确保相应的GPU驱动库已经部署到对应目录下,并且需要确保xinput模块已经加载,如果没有, 可以通过insmod /lib/modules/xinput.ko加载,运行程序前还需要执行shstack 1200000来增大程序栈空间,不然会运行失败。 使用鼠标键盘需要设置好环境变量: MOUSE=/dev/input/mse0 KEYBOARD=/dev/input/kbd0 游戏运行: 1. cd /home/quake3 2. ./quake3 源码编译依赖SDL2库,所以需要事先先编译libSDL2 如果想直接看demo效果,输入./quake3 demo FOUR.DM_68即可