Homebrew Saturn emulation using Cotton/Guardian Force testing and debug

ZER-O

Well-Known Member
Member
Joined
Sep 25, 2021
Messages
876
Trophies
1
XP
2,739
Country
United Kingdom
Thanks you for your time, but it doesn't work as well. Maybe it is size related? I have an idea...hmm
lower it to be less then 900KB
the Background graphic is too much
i can make smaller size, i need time as i have gone to Eat Dinner

convert it to Webp and then Back to PNG it will destroy and resize it to the smallest size possible
 
  • Like
Reactions: EddieRiggs

EddieRiggs

Member
Newcomer
Joined
Oct 17, 2021
Messages
18
Trophies
0
Age
37
XP
67
Country
Russia
lower it to be less then 900KB
the Background graphic is too much
i can make smaller size, i need time as i have gone to Eat Dinner

convert it to Webp and then Back to PNG it will destroy and resize it to the smallest size possible
Yeah, I can confirm, that's size issue. Mostly black image's loading fine. But yesterday I've already tried to decrease size and ~850KB was still too much...
Anyway, the problem is solved. No need to worry, take your time and enjoy your meal=) Thanks!

EDIT: I've made it "The Saturn Way" via dithering. One step closer to real "no alpha channel" experience=)
Anyway, I'll leave this GF_00.tex here. Maybe someone will like it.
saturnlogo-japan.png
 

Attachments

  • saturnlogo.zip
    1,001.4 KB · Views: 84
Last edited by EddieRiggs,

shadow256

Well-Known Member
Member
Joined
Sep 30, 2017
Messages
188
Trophies
0
Age
38
XP
1,349
Country
France
yes i noticed if the font
is AKUMAJOU DRACULA X (TRACK 1).BIN
AKUMAJOU DRACULA X (TRACK 1).CUE
or inside .cue text

you must change all to small letters, nothing will work in CAPS on switch
No, I've tested just now with files in cap and no problem, the game launched. I think the binary(ies) filename(s) must be the exact same as indicated in the cue file, respecting lower and uper case letters etc...
 

Purple_Shyguy

Well-Known Member
Member
Joined
Nov 8, 2008
Messages
2,362
Trophies
2
Age
33
Location
Republic of Ireland
XP
4,795
Country
the issue is they both love to freeze randomly for no reason at all. its an issue thats been known for a long time but never fixed. I have to use Lakka to avoid the issue.
Didn't people find that was caused by the sound driver. Like 'switch_audren_thread' or something. You just change it to whatever the other option is and it fixed the freezing?
 

simbin

Well-Known Member
Member
Joined
Jul 28, 2015
Messages
588
Trophies
0
XP
1,387
Country
United States
What files and folders do we need inside LayeredFS titleID location?

Edit: ended up looking something like this
  • merged into single bin/cue with CDMage (saved as Cotton2)
  • renamed ini to reflect donor game (Cotton2)

Code:
\sxos\titles\0100A18015268002\romfs
\atmosphere\contents\0100A18015268002\romfs

Cotton2.cue
Cotton2.bin
Cotton2_Switch.ini
Texture.tex
 
Last edited by simbin,

ZER-O

Well-Known Member
Member
Joined
Sep 25, 2021
Messages
876
Trophies
1
XP
2,739
Country
United Kingdom
No, I've tested just now with files in cap and no problem, the game launched. I think the binary(ies) filename(s) must be the exact same as indicated in the cue file, respecting lower and uper case letters etc...
i always rename files to be shorter
including inside the .cue

always have all 3 matched
.bin
.cue
contents of .cue

i only run into black screen or error with long file names and a CAPS .BIN file name
 

bahgee

Member
Newcomer
Joined
Sep 18, 2009
Messages
18
Trophies
0
XP
53
Country
United States
Yeah, I can confirm, that's size issue. Mostly black image's loading fine. But yesterday I've already tried to decrease size and ~850KB was still too much...
Anyway, the problem is solved. No need to worry, take your time and enjoy your meal=) Thanks!

EDIT: I've made it "The Saturn Way" via dithering. One step closer to real "no alpha channel" experience=)
Anyway, I'll leave this GF_00.tex here. Maybe someone will like it.
View attachment 280451
Does this go in wallpaper or playing guide folder?
 

ZER-O

Well-Known Member
Member
Joined
Sep 25, 2021
Messages
876
Trophies
1
XP
2,739
Country
United Kingdom
Does this go in wallpaper or playing guide folder?
images as .tex can be placed anywhere you want, can be placed in Playing Guide, Credits, Wallpaper
just rename it to match whatever you are going to replace

if you want it to be the first image you see when you boot up the game, put it in PlayingGuide as first .tex

wallpaper is for backgrounds behind your game
 
  • Like
Reactions: bahgee

chobochobo

Member
Newcomer
Joined
Oct 13, 2021
Messages
24
Trophies
0
Age
55
XP
213
Country
Hong Kong
I've made some tests and sometime a game image could cause problem even if it's a .cue and .bin format witch work on PC. For my test I try with Baku Baku Animal and my first launch was a big fail, two errors and black screen after the first screen to pass. So I've rewrite the file with Cdmage and the game has been finaly launched, audio is realy awful (I've tried to modify some settings in the ini but no change) but the game work. After this I look into the files differences and in the .cue file the path to my binary wasn't good because in the Switch it is case sensitive so be careful with this.
Thanks for confirming my experience. This is the only game that I wanted to play. The sound distortion seems less obvious when docked but I prefer to play it as a handheld.
 

timewarpgamer

Member
Newcomer
Joined
Aug 13, 2020
Messages
8
Trophies
0
Age
44
XP
148
Country
United States
First off, awesome work to everyone who discovered this and continues to contribute new insights, this is so freaking cool, and I'm really into it even though I already have two Saturns.

I'm dreaming on a 3-Game shmup-fest with the 3-in-one Cotton Guardian collection, Radiant Silvergun is a no-brainer, but what to do with the next two slots? So I turned my testing to some games not already available by other means (i.e. Retroarch), and hopefully some people will find this helpful:

  • Blast Wind (JP) - Can't get it to boot, prompts you for "RAM Backup" with two options in Japanese, tried both, and also tried amending the config file cartridge ID with "21" for RAM Backup, but still can't get past the TechnoSoft logo
  • Hyper Duel (JP) - Seemed to run fine at least initially, but the input lag was pretty terrible so I stopped playing
  • Shienryuu (JP) - Starts off ok, but starts to lag and then a rectangular graphical anomaly (like the graphics are freezing in spot) appears on the right side of the screen
 

Thorhax

Well-Known Member
Member
Joined
Apr 15, 2020
Messages
478
Trophies
0
Age
43
XP
2,148
Country
Canada
I got an error at the time of injection, everything seemed to be going ok up until I hit start.
Note: I'm using my title.keys generated in March of 2020, Could this be the problem?

Log attached.
 

Attachments

  • thorhax-virtualon-inject-error.zip
    2.5 MB · Views: 101

MatheusStaffa

Member
Newcomer
Joined
Mar 13, 2021
Messages
24
Trophies
0
Age
28
XP
232
Country
Brazil
Just finished Mega Man 8 anniversary edition on Cotton 2 injection. I finished 100% with only 2 minor bugs (maybe it's the game bug, not the emulator). The first one is 2 spikes just disappeared suddenly at search man stage and the second one when you defeat bass he has a slight graphical glitch. The game runs great on portable mode with no overclock.
I had to edit the cue file to make it work since it was searching for a iso file but the game was a bin file.
 
  • Like
Reactions: Levine91

shadow256

Well-Known Member
Member
Joined
Sep 30, 2017
Messages
188
Trophies
0
Age
38
XP
1,349
Country
France
I got an error at the time of injection, everything seemed to be going ok up until I hit start.
Note: I'm using my title.keys generated in March of 2020, Could this be the problem?

Log attached.
I've explained how to inject a game in one of my previous messages, yes your title.keys is the problem and the Hactoolnet error message is clear.
 

Thorhax

Well-Known Member
Member
Joined
Apr 15, 2020
Messages
478
Trophies
0
Age
43
XP
2,148
Country
Canada
ok, thank you, French isn't my native language so I'm relying a lot on google to lend a hand in the process, I think some things aren't translating well.

Again, I want to reiterate my many thanks for all the assistance you provide to the community.
I'm sure it must be frustrating to get the same questions over and over again. I'll try to be more diligent with research before asking again. Since I can see in your post a couple pages back explaining that the keys need to be generated from whichever nand the tribute emulator game is currently installed on.
 
Last edited by Thorhax,

helvetinperkeles

Well-Known Member
Member
Joined
Oct 8, 2021
Messages
180
Trophies
0
Age
40
XP
861
Country
Finland
Wierd. Now that i try again injection i got error check your sourcefiles and hard drive space. What this means? I do have plenty of free space on my hard drive. I have my guardian force nsp file stored in my switch sd card and it is installed in my Switch that i use as source. Have i missed some step or steps here? I tested in other gamefiles also and same result.
 

Attachments

  • 20211019_100855.jpg
    20211019_100855.jpg
    507.4 KB · Views: 66
Last edited by helvetinperkeles,

shadow256

Well-Known Member
Member
Joined
Sep 30, 2017
Messages
188
Trophies
0
Age
38
XP
1,349
Country
France
ok, thank you, French isn't my native language so I'm relying a lot on google to lend a hand in the process, I think some things aren't translating well.

Again, I want to reiterate my many thanks for all the assistance you provide to the community.
I'm sure it must be frustrating to get the same questions over and over again. I'll try to be more diligent with research before asking again. Since I can see in your post a couple pages back explaining that the keys need to be generated from whichever nand the tribute emulator game is currently installed on.
You don't have made the update of the function in the script? Normaly with this you shouldn't have the force french language problem.

Wierd. Now that i try again injection i got error check your sourcefiles and hard drive space. What this means? I do have plenty of free space on my hard drive. I have my guardian force nsp file stored in my switch sd card and it is installed in my Switch that i use as source. Have i missed some step or steps here? I tested in other gamefiles also and same result.
Without full log file I'll not helping.
 
  • Like
Reactions: Thorhax

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