debug=on!

August 10, 2010

PS2rd 0.5.3

Filed under: Hacking — Tags: , , — misfire @ 7:55 pm

I just released PS2rd 0.5.3 which mainly adds support for Open PS2 loader:

  • Improved compatibility with Open PS2 Loader; cheat system and video mode patcher integrate flawlessly.
  • Added ability to select game cheats manually (press up/down).
  • Activated cheats are now copied to cheat engine only once.
  • Added code type E for compatibility with other cheat systems.
  • Fixed freezing when there’s no game in drive.
  • Added quick hack to enable launching ELFs from mass (to be improved).
  • Clear screen if Y>25.
  • Moved setting cheats.file to loader.cheats.

Special thanks goes out to consx10 and dlsmd for testing, and to jimmikaelkael for his great patches.

July 21, 2010

PS2rd 0.5.2

Filed under: Hacking — Tags: , , — misfire @ 9:48 pm

I proudly present version 0.5.2 of the PS2 remote debugger.

The changes are:

  • Rewrote ntpbclient C tool in Perl for platform independence.
  • Updated PS2 port of libconfig to version 1.4.5.
  • Incorporated libcheats and libconfig into normal build process; it is no more required to install them manually to PS2SDK’s “ports” folder.
  • Changed Makefiles to support parallel building (make -j jobs).
  • Stripped unused library functions.

Go to Bitbucket for source code and downloads.

July 6, 2010

PS2DEV Source Code Mirror

Filed under: Devel — Tags: , — misfire @ 1:45 pm

As svn.ps2dev.org has had quite a lot of downtime lately, I decided to mirror some important projects. For this, I created a dedicated Bitbucket account at http://bitbucket.org/ps2dev/ which uses Mercurial instead of Subversion.

Here’s a list of projects I’ve added so far:

  • ps2client
  • ps2link
  • ps2sdk
  • ps2toolchain

I also modified the PS2 toolchain scripts to get current sources from Bitbucket. Now you can build the toolchain this way:

$ hg clone http://bitbucket.org/ps2dev/ps2toolchain
$ cd ps2toolchain/
$ sudo ./toolchain-sudo.sh

More projects will be mirrored soon.

UPDATE: I changed the PS2 toolchain scripts to download all source tarballs (gcc, binutils, etc.) from the Bitbucket account, making it truly “stand-alone”.

May 20, 2010

Mirror a Subversion repository

Filed under: Devel — Tags: , , — misfire @ 2:08 pm

Here’s a quick and dirty bash script — “svn-mirror” — allowing you to create a local mirror of an online SVN repository.

Usage: ./svn-mirror [init|sync] <absolute path to local repo> [source url]

For example, mirroring svn.ps2dev.org/ps3 is that easy:

$ ./svn-mirror init $(pwd)/ps3 svn://svn.ps2dev.org/ps3
$ ./svn-mirror sync $(pwd)/ps3

After initializing the local mirror, you can subsequently pull changes with the “sync” command.

To check out a working copy from the mirror:

$ svn co file://$(pwd)/ps3/ ps3-co

May 4, 2010

ps2rd 0.5.1

Filed under: Hacking — Tags: , , — misfire @ 8:35 am

FYI, version 0.5.1 of ps2rd is out.

This release only includes minor changes:

  • Added setting debugger.sms_modules to specify whether network modules from SMS should be loaded. Users reporting routing issues with those modules can turn it off to use the standard PS2SDK modules instead.
  • Improved pattern searching (auto hook etc.)
  • Fixed minor build issues.

As always, source code and downloads can be found at BitBucket.

Enjoy.

December 9, 2009

ps2rd 0.5

Filed under: Hacking — Tags: , , — misfire @ 1:57 am

jimmikaelkael and I proudly present version 0.5 of the PS2 remote debugger.

In this release, we significantly improved network transfer rates and game compatibility by optimizing/replacing code on the IOP side.

In detail, the changes are:

  • Replaced existing network modules with EEUG’s SMSMAP.irx and SMSTCPIP.irx, and optimized them for use in ps2rd (see below). This way, we almost doubled TCP transfer rates to about 1MB/s.
  • SMSMAP: try to force 100Mb/s full duplex mode.
  • SMSTCPIP: modify lwIP TCP/IP stack to save as much IOP RAM as possible.
  • Disabled netlog support and shrinked size of RPC buffer in debugger.irx.
  • Reduced footprint of dev9.irx and added dev9x device driver to it.
  • Do not use syscall 251 to store original vector of SifSetReg().
  • Tweaked Makefiles (less verbose etc.)
  • Added compiler flags to ntpbclient: -O2 -s -m32
  • Fixed games:
    • Black
    • Castlevania: COD – Demo
    • Devil May Cry
    • ICO – Demo
    • Maximo VS AoZ – Demo
    • Silent Hill 4: The Room
    • Soul Calibur 2
    • Soul Calibur 3
    • TMNT – The Movie
    • Tomb Raider: Anniversary
    • Tomb Raider: Legend

Source code and downloads are hosted at BitBucket.

It is also worth mentioning that we now have a dedicated ps2rd forum at PSX-Scene.

December 1, 2009

Simple Debian Package Repository

Filed under: Devel — Tags: , , , — misfire @ 5:51 pm

As I wanted to have a Debian package repository for this site, I searched the Web to find out how to do it the easy way. I learned about the tool apt-ftparchive and how package authentication can be established with GnuPG.

For simplicity, I wrote a bash script doing all the required steps in a row:

#!/bin/bash
# debindex.sh - generate index files for a Debian package repository

[ $# -lt 2 ] && exit 1

REPODIR="${1}"
KEYNAME="${2}"

cd "${REPODIR}" || exit 1
rm -f Packages* Release* || exit 1

echo "Generate Packages and Packages.gz ..."
apt-ftparchive packages . > Packages && gzip -9c Packages > Packages.gz || exit 1

echo "Generate Release ..."
apt-ftparchive release . > out && mv out Release || exit 1

echo "Signing Release ..."
gpg -u "${KEYNAME}" -o Release.gpg -ba Release || exit 1

echo "Done."

The result can be browsed here: http://packages.debugon.org/

Also see this page on how to make use of my repository.

Powered by WordPress