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,301
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,046
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
482
Trophies
0
Age
43
XP
2,159
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,351
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,046
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,046
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
657
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
  • K3Nv2 @ K3Nv2:
    I know when to stop at least honestly don't get those that go and go with food
  • BigOnYa @ BigOnYa:
    Or those that order 2 big macs , large fry, ice cream sundie, then a diet coke
  • K3Nv2 @ K3Nv2:
    I might get downing two big macs but nah that's it
  • BigOnYa @ BigOnYa:
    Ok that will be $15.99, cash or charge?
  • K3Nv2 @ K3Nv2:
    My go to orders usually a mcdouble and a mcchicken and I'm happy rarely mess with fries
  • K3Nv2 @ K3Nv2:
    Pro tip ask for that clowns jizzmac sauce on your mcdouble
    +1
  • BigOnYa @ BigOnYa:
    Do they charge extra when you add sauce,etc? I know burger king used to not, but don't know nowadays
  • K3Nv2 @ K3Nv2:
    They may squrit it for free if you ask nice
    +1
  • K3Nv2 @ K3Nv2:
    Last time I got bk it was 35c per sauce fuck you king of my nutsack
    +1
  • K3Nv2 @ K3Nv2:
    I'll buy a bottle of baby rays BBQ for $2 and add it from home out of spite
    +1
  • BigOnYa @ BigOnYa:
    I like baby rays, my favorite is KC masterpiece tho. Figured all you could buy is that there.
  • K3Nv2 @ K3Nv2:
    The metro doesn't discriminate good sauce
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Baby Rays isn't that what killed the crocodile hunter?
  • Psionic Roshambo @ Psionic Roshambo:
    If only he had done an endorsement for them....
  • Psionic Roshambo @ Psionic Roshambo:
    Oy mate don't let a bad bbq sauce kill your party! Baby Rays are killing it!! The flavor hits you right in the chest!
    +1
  • Xdqwerty @ Xdqwerty:
    My phone only has 13% battery so i don't have much time left
  • Xdqwerty @ Xdqwerty:
    Now 12%
  • BigOnYa @ BigOnYa:
    Happy birthday, btw
  • Psionic Roshambo @ Psionic Roshambo:
    Time is running out for your phone!
  • Psionic Roshambo @ Psionic Roshambo:
    Sign up with Emperor Phone plan for unlimited power!!! And minutes!!!
  • AdenTheThird @ AdenTheThird:
    https://youtu.be/JmSqorj-EC0?si=vYqR8D7FZeO4N-TH
    At 1 AM, this video is the funniest thing in the world
    +1
  • K3Nv2 @ K3Nv2:
    Notes on Android got some cool new features like dropping a image in
    Sonic Angel Knight @ Sonic Angel Knight: BEEF :P