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
225
Trophies
0
Website
alex-free.github.io
XP
1,250
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
GBAtemp Patron
Joined
Sep 13, 2022
Messages
7,432
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
21,012
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
225
Trophies
0
Website
alex-free.github.io
XP
1,250
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,089
Trophies
4
Location
WA State
Website
ko-fi.com
XP
17,298
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
225
Trophies
0
Website
alex-free.github.io
XP
1,250
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:
    @BigOnYa, and since the default emulator is below average i downloaded some "replacements" like snes9x for snes games for example
    +1
  • Xdqwerty @ Xdqwerty:
    And I also have my ps3
    +1
  • BigOnYa @ BigOnYa:
    Yea ps3 is a beast still to today compared to most "sticks"
  • K3Nv2 @ K3Nv2:
    If you just want pi for emulation no point when Anbernic releases new shit every two seconds
    +1
  • BigOnYa @ BigOnYa:
    What's really cool about Pi's tho is you can have multiple SD cards with different OS on each SD card and change from say a gaming machine to a full fledged pc if wanted
  • K3Nv2 @ K3Nv2:
    Plus all bios are set up and usually includes at least 128gbs or 64
  • K3Nv2 @ K3Nv2:
    Yeah but if your main goal is just to play n64 and GameCube you can save about $50 and have the portability option
    +1
  • BigOnYa @ BigOnYa:
    True, but on 2 monitors at 4k. Its just want you want really, to each they own.
  • K3Nv2 @ K3Nv2:
    For a kids aspect Anbernic would be the better option they'd probably melt over the price on a good 4k display
    +1
  • BigOnYa @ BigOnYa:
    For that texasroo guy, I'd recommend the Spell and speak as his first system.
    +1
  • K3Nv2 @ K3Nv2:
    So they buy a pi5 kit for about $150 and say a 28" 4k display probably looking around $400 total
  • K3Nv2 @ K3Nv2:
    They'll be getting in the territory of portable Pcs anyway
    +1
  • BigOnYa @ BigOnYa:
    Again you get what you pay for, its like buying a S series for $300 but its only 1440p native, if you want true 4k, gotta get the X model for $500. But yea you right, when moms buying it anyways, you gotta stay cheap.
  • K3Nv2 @ K3Nv2:
    They could use HD out on their TV no real need for a monitor these days tbh the purists will disagree
  • K3Nv2 @ K3Nv2:
    I'm kind of phasing out on the need for wanting all these consoles cool to have but they just become dust build ups
  • BigOnYa @ BigOnYa:
    I here ya there, I have too many myself, and have hard time letting them go, since most of mine I've modded at some point. Anymore I just play Switch on the go, seriesx at home.
  • Xdqwerty @ Xdqwerty:
    ack my throat
  • K3Nv2 @ K3Nv2:
    I need to invest in some storage totes tbh
  • BigOnYa @ BigOnYa:
    Tots?
  • K3Nv2 @ K3Nv2:
    Tootles
  • BigOnYa @ BigOnYa:
    Tootles? Wtf
  • K3Nv2 @ K3Nv2:
    Oh tootles
  • BigOnYa @ BigOnYa:
    Oh totes , lol, like Tupperware storage, I gotcha
  • BigOnYa @ BigOnYa:
    I'm designing my own entertainment cabinet for my man cave, to store all my systems, then I'm also designing a power supply/HDMI switcher so I can switch to whichever system I want, and power it also. Already picked up the cabinet board, but tinkering with my drawings before start
  • BigOnYa @ BigOnYa:
    But yea, I have frogger arcade cabinet that I gutted and put a Pi4 then Pi5 into, but it never gets played much anymore, should sell it
    BigOnYa @ BigOnYa: But yea, I have frogger arcade cabinet that I gutted and put a Pi4 then Pi5 into, but it never...