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

Certified GBATemp Boomer
Member
Joined
Sep 13, 2022
Messages
7,419
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
22,949
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
224
Trophies
0
Website
alex-free.github.io
XP
1,247
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,085
Trophies
4
Location
WA State
Website
ko-fi.com
XP
17,297
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
224
Trophies
0
Website
alex-free.github.io
XP
1,247
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
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    i don't care either, even if i'm american
  • BakerMan @ BakerMan:
    truth be told, i agree with psi, i dislike both candidates, but i'd probably vote trump simply because the economy was better during his presidency
    +1
  • AngryCinnabon @ AngryCinnabon:
    Just be careful, if trump ends up winning and using project 2025 America might really change...for the worse.
  • AngryCinnabon @ AngryCinnabon:
    I'm not american and even that sends shivers down my spine.
  • AngryCinnabon @ AngryCinnabon:
    anything that offers trump an opportunity to become an actual dictator
    is bad in my book, i could care less if it wasn't for that...
  • K3Nv2 @ K3Nv2:
    Canada: America's Russia
  • NinStar @ NinStar:
    people are so dramatic that I can't even tell if they are being serious
  • Psionic Roshambo @ Psionic Roshambo:
    Why so serious!
  • Psionic Roshambo @ Psionic Roshambo:
    @BakerMan, yeah that's about the only reason I would vote for Trump over Biden.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    In my opinion on all other factors they are pretty much the same.
    +1
  • Veho @ Veho:
    Economy was better under Trump, according to Fox News.
    +1
  • Veho @ Veho:
    I don't give a fuck about what happens to America but I would like it if your shit didn't spill out on the rest of the world, thank you.
    +3
  • AncientBoi @ AncientBoi:
    A Far Right news service company
  • AncientBoi @ AncientBoi:
    I give a fuck about what happens to America but I would like it if our shit didn't spill out on the rest of the world, thank you.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    @Veho, didn't need any news. Just going to the store and buying groceries is a constant reminder.
  • Veho @ Veho:
    A reminder that all corporations reported record profits these last few years?
  • Veho @ Veho:
    Reminded that every single price gouging law was blocked by republicans because "muh gubmint overreach"?
  • Veho @ Veho:
    Won't somebody please think of the corporations?!?!
  • Psionic Roshambo @ Psionic Roshambo:
    The problem with X party blocked X bill that would have prevented X is that yes the bill probably would have worked great, buuuttt they put XYZDCBG in said bill as an attempt to sneak things in that tend to be completely unrelated to the original bills intent. It sucks because if they would just do a single thing they could probably get something done...
  • Psionic Roshambo @ Psionic Roshambo:
    But congressman X needs to have government funding for his cousins unicycle business
  • Psionic Roshambo @ Psionic Roshambo:
    It's a sad state of affairs
    Psionic Roshambo @ Psionic Roshambo: It's a sad state of affairs