Homebrew Saturn emulation using Cotton/Guardian Force testing and debug

  • Thread starter Thread starter lisreal2401
  • Start date Start date
  • Views Views 433,928
  • Replies Replies 2,005
  • Likes Likes 32
New issue has cropped up.. trying to do a Save State on Bomberman crashes the game now. (Didn't before). Even when trying to Max OC, it still crashes.

EDIT: Tried yet another game, Albert Odyssey, same thing, crash when trying to Save State.
This again wasn't an issue before using the script @shadow256

Probably again this "control.nacp" witch cause some troubles, the language change and the savestate.

For the language problem if you change it, exit the game and go to the game again the language always change?

For the savestate I have an idea, it's probably an incomplete TitleID replacement in "control.nacp" and/or "main.npdm", I will try to fix it as soon as possible.

For the manual wallpaper replacement I will look again into it, probably a bug in the script.
 
Probably again this "control.nacp" witch cause some troubles, the language change and the savestate.

For the language problem if you change it, exit the game and go to the game again the language always change?

For the savestate I have an idea, it's probably an incomplete TitleID replacement in "control.nacp" and/or "main.npdm", I will try to fix it as soon as possible.

For the manual wallpaper replacement I will look again into it, probably a bug in the script.

Yeah I'm able to change the language, controls, and wallpaper, leave the game, re-open it, and it will have saved my configuration of said changes. (Unless the game crashes instead of me willingly quitting the game after making the changes).

No biggie either on issues cropping up, I'm just thankful you are so helpful and quick with correcting things.
Really really appreciate all the work you've done.
 
Yeah I'm able to change the language, controls, and wallpaper, leave the game, re-open it, and it will have saved my configuration of said changes. (Unless the game crashes instead of me willingly quitting the game after making the changes).

No biggie either on issues cropping up, I'm just thankful you are so helpful and quick with correcting things.
Really really appreciate all the work you've done.
OK so it could be intresting to install a completly new game, launch it and play just one minute, dump it with GCDumpTool (we just need to have the folders of the game, the NSP or NCA are less intresting), launch again the game and change the settings and play one minute, again make a GCDumpTool. With this I think we could compare the two dumped games and see what's different. IF you have time you could do this and send me the result without the .bin and .cue files cause they are the biggest part and they will not be useful for the test, you can send me this via MP for example or via another method if it's not permited on the forum.
 
OK so it could be intresting to install a completly new game, launch it and play just one minute, dump it with GCDumpTool (we just need to have the folders of the game, the NSP or NCA are less intresting), launch again the game and change the settings and play one minute, again make a GCDumpTool. With this I think we could compare the two dumped games and see what's different. IF you have time you could do this and send me the result without the .bin and .cue files cause they are the biggest part and they will not be useful for the test, you can send me this via MP for example or via another method if it's not permited on the forum.
he can use a saturn game that has a size less then 30 mb, Batman forever is 11 MB for example
 
OK so it could be intresting to install a completly new game, launch it and play just one minute, dump it with GCDumpTool (we just need to have the folders of the game, the NSP or NCA are less intresting), launch again the game and change the settings and play one minute, again make a GCDumpTool. With this I think we could compare the two dumped games and see what's different. IF you have time you could do this and send me the result without the .bin and .cue files cause they are the biggest part and they will not be useful for the test, you can send me this via MP for example or via another method if it's not permited on the forum.

I just PM'd you the 2 dumps (minus bin files).
Let me know if this information helps.
 
New issue has cropped up.. trying to do a Save State on Bomberman crashes the game now. (Didn't before). Even when trying to Max OC, it still crashes.

EDIT: Tried yet another game, Albert Odyssey, same thing, crash when trying to Save State.
This again wasn't an issue before using the script @shadow256


If you change the cartridge id to 5c
State saving becomes impossible.

It could be possible by editing the ini somewhere, but I haven't been able to find it yet.

4m rampack games will have to give up state saving for the time being.

Other games can be used without problems if they are built with 5a.
 
Last edited by dj5927,
  • Like
Reactions: Purple_Shyguy
If you change the cartridge id to 5c
State saving becomes impossible.

It could be possible by editing the ini somewhere, but I haven't been able to find it yet.
then i suggest that we only change that setting for 4 MB required games, and keep it at 5a for everything else
 
@dj5927 @ZER-O that is NOT the case. I just tried the old bin/cue swap method as I was pretty sure I could do a save state with 4MB on the config and sure enough, I was able to just fine. If it's strictly an issue now when going through the script, then it's something with it.

Arghh disregard on that, I forgot to delete the save file first. 4MB does make Save State crash. My apologies.
 
Last edited by Levine91,
@dj5927 @ZER-O that is NOT the case. I just tried the old bin/cue swap method as I was pretty sure I could do a save state with 4MB on the config and sure enough, I was able to just fine. If it's strictly an issue now when going through the script, then it's something with it.
I havn't used the script myself, but if it's not using the original texture.tex, try that.
 
I havn't used the script myself, but if it's not using the original texture.tex, try that.

Oh btw I tried your config an hour or 2 ago, couple of issues.
For some reason the game screen is a little bit bigger at Max/Full than normal, so it overlaps the overlays.
Also it seems to kill the sound for Albert Odyssey atleast.

I tried looking at your settings but I couldn't determine what was causing either issue.
I THINK the BufferSize=“2” may be causing the sound to mute, as MemoryAccessWait=“1” is there like it should be for correcting no sound issues.
 
Last edited by Levine91,
Oh btw I tried your config an hour or 2 ago, couple of issues.
For some reason the game screen is a little bit bigger at Max/Full than normal, so it overlaps the overlays.
Also it seems to kill the sound for Albert Odyssey atleast.

I tried looking at your settings but I couldn't determine what was causing either issue.
I THINK the BufferSize=“2” may be causing the sound to mute, as MemoryAccessWait=“1” like it should be for correcting no sound issues.
yea some of the settings may vary depending on the games, you will need to do trial and error to see what works. I did find a wiki for the old SSF emulator, and may offer some hints to fix certain games. I've compiled a list of settings that I could find on the web, most of them seem to do something. Either good or bad results. Only tested a few games, with some slight overclock (1122-1326) and decent optimized ini, I can get full speed on games like BR, VF2 and Sega Rally.

EDIT: Not sure about the overlay thing, I use black borders/no wallpaper.
 
Last edited by xYuunax,
오 btw 1~2시간 전에 구성을 시도했는데 몇 가지 문제가 있습니다.
어떤 이유로 게임 화면이 일반보다 Max/Full에서 조금 더 커서 오버레이가 겹칩니다.
또한 적어도 Albert Odyssey의 사운드를 죽이는 것 같습니다.

설정을 살펴보았지만 두 문제의 원인을 확인할 수 없었습니다.
나는 BufferSize="2"가 소리를 음소거하는 원인이 될 수 있다고 생각합니다. MemoryAccessWait="1"은 소리 문제를 수정해야 하는 것처럼 거기에 있기 때문입니다.


Fixed menu overlay transparency
Replace the texture.tex file with the original extracted file and build
Then the transparent overlay is applied and built.
 
single nsp basis

CottonBoomerang
010077001526E000 = icon.jpg / config.ini
010077001526E002 = bin + cue

GuardianForce
0100C67015270000 = icon.jpg / config.ini
0100C67015270002 = bin + cue

Cotton2
0100A18015268000 = icon.jpg / config.ini
0100A18015268002 = bin + cue
This worked and now finally everything is all good! Thanks! 👌
 
no i did not, the private app author said he could rename all steings, so i left the cue name same as the original NSP
tell me if its possible to extract Success, zebra engine images from the NSP, i want to replace them with SEGA Logo and Sega Saturn Name Logo followed by Sega Saturn Image Logo

when you start the NSP you get greeted by 3 Logos, if you can extract the 3 images, i will edit them with pictures i shared below

also try and inject this file :Clean_Menu_Texture.rar use the Textur.tex made by cucholix and replace the file inside the NSP

and for the wallpaper backgrounds replace the .tex files with this one (dont forget to rename them properly, they are for Guardian Force
https://gbatemp.net/attachments/wallpaper-zip.279278/
by @dj5927

Hey a heads up on the opening logos.. I didn't change anything but I realized the NSP the script is creating launches directly to the controller image (Do we have a generic replacement one yet btw?) completely eliminating the Success, Zebra Engine, etc logos. Idk if you'd still want to inject the Saturn and Sega logos, but yeah.
 
Oh btw I tried your config an hour or 2 ago, couple of issues.
For some reason the game screen is a little bit bigger at Max/Full than normal, so it overlaps the overlays.
Also it seems to kill the sound for Albert Odyssey atleast.

I tried looking at your settings but I couldn't determine what was causing either issue.
I THINK the BufferSize=“2” may be causing the sound to mute, as MemoryAccessWait=“1” is there like it should be for correcting no sound issues.
Just tested Albert Odyssey, my sound works fine.
 
Tried x men vs sf, it loads but I can’t get to the selection screen .I enable Ram support and still can’t get it to run properly .

Shinobi legions gets to the loading screen then freezes sadly
 
I see you updates your config a few hours ago.
When I tested, it was still the second revision, now it's on the third. So yeah, idk, but glad it's working for ya.
yea it's a constant work in progress, basically trying all the settings the PC emulator had and seeing if it has any effects.
 

Site & Scene News

Popular threads in this forum