Homebrew Saturn emulation using Cotton/Guardian Force testing and debug

cucholix

Banners guy
Member
Joined
Jan 17, 2017
Messages
2,884
Trophies
1
Age
41
XP
3,817
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
36
XP
228
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
156
Trophies
0
XP
343
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
206
Trophies
0
Age
40
XP
474
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
145
Trophies
0
Age
35
XP
510
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
36
XP
228
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 @[email protected] 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
39
Trophies
0
XP
692
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
156
Trophies
0
XP
343
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
156
Trophies
0
XP
343
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
219
Trophies
0
Age
30
Location
Texas
Website
www.twitch.tv
XP
549
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
Newcomer
Joined
Oct 8, 2021
Messages
98
Trophies
0
Age
37
XP
79
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
Newcomer
Joined
Oct 8, 2021
Messages
98
Trophies
0
Age
37
XP
79
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: 14
General chit-chat
Help Users
  • The Real Jdbye @ The Real Jdbye:
    submarines are quite a lot bigger
    Gift
  • The Real Jdbye @ The Real Jdbye:
    i don't think we have reactors small enough to fit in a car yet
    Gift
  • Veho @ Veho:
    But the generator itself is relatively small.
    Gift
  • Veho @ Veho:
    And in any case you couldn't get proper cooling on the Moon so a powerful nuclear generator is out of the question.
    Gift
  • The Real Jdbye @ The Real Jdbye:
    just run it at night
    Gift
  • The Real Jdbye @ The Real Jdbye:
    and run on battery power at day
    Gift
  • Veho @ Veho:
    Cooling issues.
    Gift
  • The Real Jdbye @ The Real Jdbye:
    the moon is like -170C at night i'm sure that's enough
    Gift
  • Veho @ Veho:
    And the only way to take advantage of that cold is to burrow cooling fins into the ground.
    Gift
  • Veho @ Veho:
    Contrary to popular belief, the vacuum of space is not cold, it's nothing.
    Gift
  • Veho @ Veho:
    Heat does radiate from warm objects but the effectiveness of radiation cooling is negligible.
    Gift
  • Veho @ Veho:
    You need a medium to take up the heat and take it away.
    Gift
  • Veho @ Veho:
    And the denser the medium, with a higher specific heat capacity, the better.
    Gift
  • Veho @ Veho:
    This is why water cooling is better than air cooling.
    Gift
  • Veho @ Veho:
    And why cooling is a major problem in space.
    Gift
  • The Real Jdbye @ The Real Jdbye:
    the moon isn't quite a vacuum
    Gift
  • Psionic Roshambo @ Psionic Roshambo:
    I would like better cooling for my PC lol
    Gift
  • KennieDaMeanie @ KennieDaMeanie:
    Jds always right about things listen to him
    Gift
  • Veho @ Veho:
    The Moon's atmosphere is closer to vacuum than it is to Earth's atmosphere. Close enough.
    Gift
  • KennieDaMeanie @ KennieDaMeanie:
    I've always been told showing my anus is close to a moon
    Gift
  • Veho @ Veho:
    Stop mooning people, Ken.
    Gift
  • Gift
  • KennieDaMeanie @ KennieDaMeanie:
    Allergies are starting up Yay cold weather seasons
    Gift
  • Sovikos tempBOT:
    Sovikos has left the room.
    Gift
  • L tempBOT:
    Lynn:-) has left the room.
    Gift
    L tempBOT: Lynn:-) has left the room.