Hacking PS1/2 Homebrew app GSHAX Tool: Create PSX GameShark Codes That Gain Code Execution Mid-Game

alexfree

Well-Known Member
OP
Member
Joined
Nov 17, 2021
Messages
216
Trophies
0
Website
alex-free.github.io
XP
1,213
Country
United States
https://alex-free.github.io/gshax-tool

GSHAX Tool is a portable open source program that can generate complete GSHAX codes from scratch. GSHAX Tool can output GSHAX codes to either a text file (.txt) or a real valid GameShark Lite save game file.

GSHAX codes are PSX GameShark codes that modify an existing function in a running game to instead execute custom MIPS assembly.

As an example of usefulness, GSHAX codes are used in Tonyhax International to load the Tonyhax International loader PS-EXE off of a memory card in slot 1, enabling the play of backup and import discs with a GameShark or other cheat device. This is very useful for the various PSX cheat devices that do not include a built in swap trick. Before you decide to create a GSHAX code, it is a good idea to see if your PSX cheat device includes a swap trick as that can be used much more conveniently to boot the Tonyhax International Boot CD in such a use case.
 

SylverReZ

The planet is fine. The people are crazy.
Member
Joined
Sep 13, 2022
Messages
7,310
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
22,531
Country
United Kingdom
https://alex-free.github.io/gshax-tool

GSHAX Tool is a portable open source program that can generate complete GSHAX codes from scratch. GSHAX Tool can output GSHAX codes to either a text file (.txt) or a real valid GameShark Lite save game file.

GSHAX codes are PSX GameShark codes that modify an existing function in a running game to instead execute custom MIPS assembly.

As an example of usefulness, GSHAX codes are used in Tonyhax International to load the Tonyhax International loader PS-EXE off of a memory card in slot 1, enabling the play of backup and import discs with a GameShark or other cheat device. This is very useful for the various PSX cheat devices that do not include a built in swap trick. Before you decide to create a GSHAX code, it is a good idea to see if your PSX cheat device includes a swap trick as that can be used much more conveniently to boot the Tonyhax International Boot CD in such a use case.
Really neat stuff <3
 
  • Like
Reactions: alexfree

alexfree

Well-Known Member
OP
Member
Joined
Nov 17, 2021
Messages
216
Trophies
0
Website
alex-free.github.io
XP
1,213
Country
United States
  • Like
Reactions: KiiWii

Jo_Ribeiro

New Member
Newbie
Joined
May 16, 2024
Messages
1
Trophies
0
Age
49
XP
3
Country
Brazil
Muito legal.

Quase pensei que fosse um injetor de código GS no executável, como aqueles que as pessoas fizeram para PS2 e N64.
EI didn't know there was a tool for the N64
Post automatically merged:

Muito legal.

Quase pensei que fosse um injetor de código GS no executável, como aqueles que as pessoas fizeram para PS2 e N64.
EI didn't know there was a tool for the N64
 
  • Like
Reactions: _47iscool

Jayro

MediCat USB Dev
Developer
Joined
Jul 23, 2012
Messages
13,040
Trophies
4
Location
WA State
Website
ko-fi.com
XP
17,223
Country
United States
Would these be usable with a MiSTer setup? I don't think we can swap "discs" while keeping the simulated lid closed. As soon as we swap cue files, it reboots the core to that cue/bun and starts the bios.
 

alexfree

Well-Known Member
OP
Member
Joined
Nov 17, 2021
Messages
216
Trophies
0
Website
alex-free.github.io
XP
1,213
Country
United States
Would these be usable with a MiSTer setup? I don't think we can swap "discs" while keeping the simulated lid closed. As soon as we swap cue files, it reboots the core to that cue/bun and starts the bios.
Guess not. How do you play fear effect or parasite eve like that? Those are just 2 examples of games that require a disc change normally in game play, with no option to save and then reset the console with i.e. disc 2?
Post automatically merged:

@alexfree

Any news on a tool to convert the GS cart ROMs to PS-EXE's?
The executable could probably be extracted but I’m still not sure if it would work without the actual cart hardware. I’ll take a look when I have time.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BigOnYa @ BigOnYa: After watching, that I feel like I'm on them already