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
229
Trophies
0
Website
alex-free.github.io
XP
1,261
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

GBATemp's Meme Lord
Member
GBAtemp Patron
Joined
Sep 13, 2022
Messages
7,449
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
21,118
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
229
Trophies
0
Website
alex-free.github.io
XP
1,261
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,104
Trophies
4
Location
WA State
Website
ko-fi.com
XP
17,335
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
229
Trophies
0
Website
alex-free.github.io
XP
1,261
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
  • K3Nv2 @ K3Nv2:
    Yeah mobile versions better people don't think about how apps are just shrunken down websites
  • K3Nv2 @ K3Nv2:
    Could be the phone connection etc I've mostly been fine with the app
  • K3Nv2 @ K3Nv2:
    Regardless fuck bezos
    +1
  • Sicklyboy @ Sicklyboy:
    Agreed. Crazy how both seeking a job at Amazon, and subsequently quitting Amazon, are both some of the best decisions I've ever made
  • K3Nv2 @ K3Nv2:
    Did someone loose a leg? You're fired
  • K3Nv2 @ K3Nv2:
    Ffs 55gb patch for hogwarts legacy
  • SylverReZ @ SylverReZ:
    @K3Nv2, Teslas are prob running Windows XP to this day.
  • Sicklyboy @ Sicklyboy:
    sometimes I wonder where I went wrong and why I'm so dissatisfied with my life
  • Sicklyboy @ Sicklyboy:
    Then I find myself arguing with someone on reddit about how blatantly wrong their understanding of the USB Power Delivery specification is.
  • Sicklyboy @ Sicklyboy:
    At 1 AM.
  • Sicklyboy @ Sicklyboy:
    Where did I go wrong, again? 😕
  • SylverReZ @ SylverReZ:
    @Sicklyboy, What do you mean?
  • K3Nv2 @ K3Nv2:
    @Sicklyboy, always blame women
  • Veho @ Veho:
    Blame woke.
  • SylverReZ @ SylverReZ:
    Blame society.
  • K3Nv2 @ K3Nv2:
    Woke isn't part of society they woke up from it
    +1
  • Veho @ Veho:
    *spends years yelling "wake up sheeple"
    *acts shocked when they actually wake up
  • Veho @ Veho:
    Make up your mind.
  • K3Nv2 @ K3Nv2:
    You mean the government doesn't care? :(
  • Veho @ Veho:
    I have no idea what you're talking about.
  • K3Nv2 @ K3Nv2:
    The government
  • K3Nv2 @ K3Nv2:
    Lol jedi fallen order crashed on SteamDeck through ea play guess the deck doesn't have the force
    K3Nv2 @ K3Nv2: Lol jedi fallen order crashed on SteamDeck through ea play guess the deck doesn't have the force