百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

psx-modding-toolchain

> 编程语言
开源

一套用于修改和反向工程 PSX 游戏的工具。

191 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

一套用于修改和反向工程 PSX 游戏的工具。

PSX Modding Toolchain

The goal of this project is to provide a set of tools for PSX developers in order to make modding and reverse engineering games easier, while using modern non-proprietary software.

Watch the demo:

Features

  • Compile, playtest and build an ISO in just a few clicks;
  • Compile C code into multiple overlays, targetting any PSX RAM address;
  • Test code and asset changes in game during runtime;
  • Replace game textures using custom images;
  • Automatic rebuild a PSX iso with your own modifications.
  • Generate xdelta patches to easily distribute your ROM hacks. You can apply xdelta patches using this web application

To discuss PSX development, hacking, and reverse engineering in general, please join the PSXDev Network Discord server:

Setup

Prerequisites

python3.7+
python-pip

Note: some python installations might be incomplete. Make sure that you have installed python, pip and add them to your PATH.

To compile the GCC mipsel toolchain (incomplete)

make
libgl1 with GLIBC_2.35 # if using prebuilt

Setup

Clone this repository:

$ git clone https://github.com/mateusfavarin/psx-modding-toolchain.git

python dependencies

Install the python dependencies from the command line

$ pip install --upgrade pip setuptools wheel
$ pip install -r requirements.txt

Note: don't use whitespaces in the folder names. This will break the make script. TODO: Verify this is still the case

gcc-mipsel-none-elf toolchain:

Windows:

Run the following command in a terminal like cmd or powershell

$ powershell -c "& { iwr -UseBasicParsing https://raw.githubusercontent.com/grumpycoders/pcsx-redux/main/mips.ps1 | iex }"

In a new terminal, run the following

mips install 13.1.0

OR pre-built installations are found at

  • https://static.grumpycoder.net/pixel/mips/g++-mipsel-none-elf-13.1.0.zip
  • https://www.github.com/Lameguy64/PSn00bSDK/releases/latest

Extract the folder, e.g. g++-mipsel-none-elf Then add both of these folders to your PATH

g++-mipsel-none-elf/bin
g++-mipsel-none-elf/mipsel-non-elf/bin

Linux

You can compile the necessary gcc && mipsel-none-elf from source using this script. It takes a few hours.

OR you can find pre-built binaries here

  • https://www.github.com/Lameguy64/PSn00bSDK/releases/latest

The install_toolchain_prebuilt.sh extracts them to /opt/gcc-mipsel-none-elf/ (you may need sudo access). You just need to add them to your PATH

bash
export PATH="$PATH:/opt/gcc-mipsel-none-elf/bin"
export PATH="$PATH:/opt/gcc-mipsel-none-elf/mipsel-none-elf/bin"

Note: This isn't permanent and only works in a single terminal at a time.

OR you can run the dockerfile (EXPERIMENTAL) from the root of this directory

bash
docker build -t psx-modding .
docker run -d -t psx-modding
MacOS

You'll need brew, and then run:

bash
brew install ./tools/macos-mips/mipsel-none-elf-binutils.rb
brew install ./tools/macos-mips/mipsel-none-elf-gcc.rb

PCSX-Redux

PCSX-Redux is a PSX emulator heavily focused on development, debuggability, and reverse engineering. This project uses Redux's web server in order to connect the PSX modding toolchain to the emulator, allowing the developer to seamlessly hot-reload code while playing the game and update the emulator debugger symbols during runtime.

In order to setup the emulator, you'll need to download PCSX-Redux and change the following settings under the configuration/emulation tab:

[ ] Dynarec CPU # Leave this unchecked
[ ] 8MB # Optional
[x] Enable Debugger
[x] Enable GDB Server
[x] Enable Web Server

NoPS

NotPSXSerial, or NoPS for short, is a Serial/TTY suite for Unirom 8 featuring kernel-resident debugging, cart/EEPROM flasher, .exe/.elf upload, memcard tools, peeks, pokes, dumps and bugs. This project is integrates NoPS in order to hot-reload code directly in your PS1.

You can download the latest release of Unirom here, and then set the NoPS folder to your PATH.

Usage

Check the docs for information about configuring and using the tools.

If you're interested in decompiling a game, you might be interested in checking out this real time function unit tester.

Testing

We use pytest for testing

cd /tools/mod-builder
python -m pytest

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言