Homebrew Saturn emulation using Cotton/Guardian Force testing and debug

cucholix

00000780 00000438
Member
Joined
Jan 17, 2017
Messages
3,246
Trophies
1
Age
44
XP
6,293
Country
Chile
I'm going to ask again does anyone know how to make the tex images this uses I'd like to make actual good looking injects.
It’s simple, you need to create a 1920x1080 pixels .png (use compressed slow saving), the file must not be higher than 3mb.

Open your .png with HxD editor (or your preferred hex editor) and paste insert this:
Code:
00 40 00 00 01 00 10 08 2D C6 C0 00 80 07 38 04
Just before the %PNG header, save as .tex and you are done.
 

fagnerkof

Active Member
Newcomer
Joined
May 3, 2018
Messages
33
Trophies
0
Age
38
XP
256
Country
Brazil
its really not that difficult
makes sure you have the latest Ultimate-Switch-Hack-Script-master
on your pc desktop just make a folder named rom no () or ... or anything else just a simple folder name
place the Guardian_Force_Saturn_Tribute nsp in the rom folder make sure its the standalone game not the 3 in 1 as the 3 in 1 does not work with the current Ultimate-Switch-Hack-Script-master
place your prod.keys and title.keys in the Ultimate-Switch-Hack-Script-master folder just for convenience
place your saturn game in the rom folder bin and cue again no () or ... or anything else just a simple name like Sega Rally Championship.bin rename your Sega Rally Championship.cue to GuardianForce.cue

now run the script make sure settings are correct font lucide console blah blah
press continue
select n if you have the latest version
then 2
then 6
then 16
then n
this gets you to the injector
now press 2
press continue and select Guardian_Force_Saturn_Tribute nsp
press continue and select rom folder or whatever you named it
press continue and select prod.keys in the Ultimate-Switch-Hack-Script-master
press continue and select title.keys in the Ultimate-Switch-Hack-Script-master
just keep pressing n at this point until you get to ID: the just press continue
name your nsp keep it simple like Sega Rally 95 and press continue
name author again keep it simple like Sega and press continue
name version something like v1 and press continue
press continue now choose folder best to just save nsp in the rom folder
select y
let it build nsp just ignore the key errors i did and it still works just fine

once you have mastered the basic injection process you can start playing with icon/tex/wp and so on
hope this helps

massive thanks to @shadow256 for the script hope this saves you a load of question
and to the op @lisreal2401

I give up. After a lot of tries, tried this literally step by step, with fresh keys generated after the single Guardian Force nsp installed. Got the usual "Failed to match keys" errors in log, ignored. Generated nsp, boot on yuzu showing the error 2002-0001 but doesn't starts the game, only the wallpaper stuck at the screen. Installing on switch is ok, but title got unbootable. Tried with a bunch of games and all the same output. I guess I'll have to wait people share their working nsps online or a good improvement on this saturn function for the USHS
 

Levine91

Well-Known Member
Member
Joined
Oct 8, 2011
Messages
184
Trophies
1
XP
1,043
Country
United States
I give up. After a lot of tries, tried this literally step by step, with fresh keys generated after the single Guardian Force nsp installed. Got the usual "Failed to match keys" errors in log, ignored. Generated nsp, boot on yuzu showing the error 2002-0001 but doesn't starts the game, only the wallpaper stuck at the screen. Installing on switch is ok, but title got unbootable. Tried with a bunch of games and all the same output. I guess I'll have to wait people share their working nsps online or a good improvement on this saturn function for the USHS

1. What game are you trying to run?
2. Can you send a screenshot of the log right before it builds the NSP?
 

Thorhax

Well-Known Member
Member
Joined
Apr 15, 2020
Messages
478
Trophies
0
Age
43
XP
2,148
Country
Canada
I give up. After a lot of tries, tried this literally step by step, with fresh keys generated after the single Guardian Force nsp installed. Got the usual "Failed to match keys" errors in log, ignored. Generated nsp, boot on yuzu showing the error 2002-0001 but doesn't starts the game, only the wallpaper stuck at the screen. Installing on switch is ok, but title got unbootable. Tried with a bunch of games and all the same output. I guess I'll have to wait people share their working nsps online or a good improvement on this saturn function for the USHS
I'm curious about the keys you're using. It seems like that's where you're problem lies, at it was my problem for awhile.

First you need to install the original noon modded nsp of cotton 2, guardian force onto your switch.
I suggest to emuMMC.

2nd you need to dump your keys for the emuMMC using rcmlockpick

3rd copy your newly generated keys from your switch to your PC.

4th move the ultimate hack tool. As close as possible to the root folder off your c: drive.
It just makes it work better.
 

shadow256

Well-Known Member
Member
Joined
Sep 30, 2017
Messages
188
Trophies
0
Age
38
XP
1,349
Country
France
I give up. After a lot of tries, tried this literally step by step, with fresh keys generated after the single Guardian Force nsp installed. Got the usual "Failed to match keys" errors in log, ignored. Generated nsp, boot on yuzu showing the error 2002-0001 but doesn't starts the game, only the wallpaper stuck at the screen. Installing on switch is ok, but title got unbootable. Tried with a bunch of games and all the same output. I guess I'll have to wait people share their working nsps online or a good improvement on this saturn function for the USHS
The problem is in your .cue file of the Saturn game, open it with a text editor and verify that the binary(ies) names are exactly the same as the one indicated in the file, the case should be the same. This thing will be verified in a futur version of the script, for now the script was developed to make a quick work around for TitleID change, I think this goal is achived so now I will concentrate my efforts to add error controls and user friendly usage.
 
  • Like
Reactions: fagnerkof and ZER-O

fagnerkof

Active Member
Newcomer
Joined
May 3, 2018
Messages
33
Trophies
0
Age
38
XP
256
Country
Brazil
The problem is in your .cue file of the Saturn game, open it with a text editor and verify that the binary(ies) names are exactly the same as the one indicated in the file, the case should be the same. This thing will be verified in a futur version of the script, for now the script was developed to make a quick work around for TitleID change, I think this goal is achived so now I will concentrate my efforts to add error controls and user friendly usage.
HOO LEE SHEET the issue really was the bin name at the .cue header, after matching it now it worked @_@ thanks everyone

Edit: Still having issues: In Yuzu, Game is flickering as hell and somewhat buggy. In Switch, installs ok but still can't boot the game (icon forever loading as game installed with corrupted files). Tried Sonic 3D Blast and Sega Rally
 
Last edited by fagnerkof,

fredward

Active Member
Newcomer
Joined
Apr 16, 2009
Messages
42
Trophies
1
XP
964
Country
United States
Question, is there any way to create a saturn game as a seperate nsp instead of putting it in the romsf folder? Not a big deal but thought be cool to do something like that
 

Levine91

Well-Known Member
Member
Joined
Oct 8, 2011
Messages
184
Trophies
1
XP
1,043
Country
United States
Question, is there any way to create a saturn game as a seperate nsp instead of putting it in the romsf folder? Not a big deal but thought be cool to do something like that

Not to be snarky, but yes, this has been mentioned over and over again in the thread.
Use Ultimate-Switch-Hack-Script to accomplish such.
https://github.com/shadow2560/Ultimate-Switch-Hack-Script

You'll need a NSP dump of your base game (Ex: Guardian Force).
You'll need a dump of your prod.keys and title.keys as well.
Make sure to avoid using special characters in your file name and file path.
Edit your cue file within notepad to make sure that the .bin file listed within it matches the .bin file you plan on using.
 

Levine91

Well-Known Member
Member
Joined
Oct 8, 2011
Messages
184
Trophies
1
XP
1,043
Country
United States
Yet another dump of custom icons I created.
I'll make sure to put these and all the ones from my previous 2-3 icon dump posts (as well as future ones) into a google drive folder or something for easier access to them all.

AJPW Virtua Cover.png
Amok Cover.png
Batsugun Cover.png

Darius Gaiden Cover.png
DoDonPachi Cover.png
Elan Doree Cover.png

Gungriffon Cover.png
Hyper Duel Cover.png
Legend of Oasis Cover.png

Mass Destruction Cover.png
Nekketsu Oyako Cover.png
Saturn Bomberman Fight Cover.png

Panzer Dragoon Zwei Cover.png
Panzer Dragoon Saga Cover.png
Soukyugurentai Cover.png

Steep Slope Sliders PAL Cover.png
Steep Slope Sliders USA Cover.png
Super Puzzle Fighter II Turbo Cover.png

Virtual On Net Link Cover.png
Willy Wombat Cover.png
Winter Heat Cover.png

Lunar Silver Star Story Complete Cover.png
Night Striker S Cover.png
Power Drift Cover.png
 

ShinLarc

Well-Known Member
Member
Joined
Sep 13, 2009
Messages
236
Trophies
1
XP
651
Country
United States
Just wanted to update with 3 games I have tested. It seems like nobody is updating the GoogleDoc so i'll just post here.

Ronde - Works Perfectly
Hyper Duel - Works Perfectly
Shin Megami Tensei: Devil Summoner - Works Perfectly
 

helvetinperkeles

Well-Known Member
Member
Joined
Oct 8, 2021
Messages
180
Trophies
0
Age
40
XP
861
Country
Finland
God damned. I just can't get custom images to work. I convert images to tex file and rename and when booting game all i get is black screen. And yes i deleted savefile before booting game.
 

helvetinperkeles

Well-Known Member
Member
Joined
Oct 8, 2021
Messages
180
Trophies
0
Age
40
XP
861
Country
Finland
How can i proceed here so i can save this as .tex? Save as is not giving me option to save .tex format.
 

Attachments

  • 20211022_130310.jpg
    20211022_130310.jpg
    2.5 MB · Views: 82

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • AncientBoi @ AncientBoi:
    ooowwww a new way for me to beat NFS 510 :D @SylverReZ
    +1
  • SylverReZ @ SylverReZ:
    @AncientBoi, Yeah, believe you can do PSP games as well. But a Pi5 is much powerful in comparison.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Not sure about other models of Pi4 but the Pi 4 B with 8GBs OCed to 2Ghz handles PSP really great except like 1 game I found and it is playable it just looks bad lol Motor Storm Arctic something or other.
  • Psionic Roshambo @ Psionic Roshambo:
    Other games I can have turned up to like 2X and all kinds of enhancements, Motorstorm hmmm nope 1X and no enhancements lol
  • Veho @ Veho:
    Waiting for Anbernic's rg[whatever]SP price announcement, gimme.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I will admit that one does seem more interesting than the usual Ambernic ones, and I already liked those.
  • Veho @ Veho:
    I dread the price point.
    +1
  • Veho @ Veho:
    This looks like one of their premium models, so... $150 :glare:
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    To me that seems reasonable.
  • Psionic Roshambo @ Psionic Roshambo:
    I mean since basically all the games are errmmm free lol
  • Veho @ Veho:
    I mean yeah sure but the specs are the same as a $50 model, it's just those pesky "quality of life" things driving up the price, like an actually working speaker, or buttons that don't melt, and stuff like that.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I think all in my Pi 4 was well north of 200 bucks 150ish for the Pi 4 the case the fancy cooler, then like 70 for the 500GB MicroSD then like 70 for the Xbox controller. But honestly it's a nice set up I really enjoy and to me was worth every penny. (even bought more controllers for 2 or 4 player games.) hmmm have never played any 2 player games yet :(
  • Veho @ Veho:
    Yeah that's what I hate about the RPi, it's supposedly $30 or something but it takes an additional $200 of accessories to actually turn it into a working something.
  • Psionic Roshambo @ Psionic Roshambo:
    yes that's the expensive part lol
  • Veho @ Veho:
    I mean sure it's flexible and stuff but so is uremum but it's fiddly.
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah a lot of it I consider a hobby, using Batocera I am constantly adjusting the collection adding and removing stuff, scraping the artwork. Haven't even started on some music for the theme... Also way down the road I am considering attempting to do a WiiFlow knock off lol
  • Veho @ Veho:
    I want everything served on a plate plz ktnx, "work" is too much work for me.
  • Veho @ Veho:
    Hmm, with that in mind, maybe a complete out-the-box solution with all the games collected, pacthed and optimized for me would be worth $150 :unsure:
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah it's all choice and that's a good thing :)
  • Bunjolio @ Bunjolio:
    animal crossing new leaf 11pm music
  • Bunjolio @ Bunjolio:
    avatars-kKKZnC8XiW7HEUw0-KdJMsw-t1080x1080.jpg
    wokey d pronouns
  • SylverReZ @ SylverReZ:
    What its like to do online shopping in 1998: https://www.youtube.com/watch?v=vwag5XE8oJo
    SylverReZ @ SylverReZ: What its like to do online shopping in 1998: https://www.youtube.com/watch?v=vwag5XE8oJo