DS-Homebrew / nds-bootstrap

Boot an nds file
https://wiki.ds-homebrew.com/nds-bootstrap/
GNU General Public License v3.0
1.16k stars 74 forks source link

WarioWare D.I.Y cannot fully save #306

Closed UDXS closed 3 years ago

UDXS commented 6 years ago

I've tested this in both release and nightly. The game runs totally fine but, after restarting it, it doesn't save any progress and reverts to a factory state.

dubbz82 commented 6 years ago

This game does work with a donor cart. I know the devs are aware of this already too but good to have it documented here.

OmeletHopper commented 6 years ago

Simply have a cart inserted in your console that has a matching SDK with the game you are launching.

RocketRobz commented 6 years ago

It's not the SDK that has to match. It's the save chip that has to match. To clear things up, the SDK is what the DS game is compiled with, and the save chips are what stores the game save. There's two types of save chips, EEPROM and FLASH. WW DIY however, uses a NAND save chip, and is the only game to do so.

dubbz82 commented 6 years ago

It will require what boils down to game specific code for it to work, so it's likely not very high priority at the moment.

ahezard commented 5 years ago

From GBATEK : Warioware D.I.Y. (uses a single NAND FLASH chip for both 'ROM' and 'SAVE')

ahezard commented 5 years ago

Most probably, since there are only one chip on the card, save access are done from the ARM9. This have to be confirmed but it makes things harder to implement. This is the only game that does that so a very specific code is probably present and needs to be reverse engineered. Then specific patches have to be developed.

ahezard commented 5 years ago

Wood contains a dedicated specific code/patch for WarioWare D.I.Y (nand saving) https://github.com/ahezard/woodrpg_forwarder/blob/e0280c91b21e28443c23f98a171012ef8a301b0c/akloader/arm9/source/patches_sd.cpp Something like that have to be done also in nds-bootstrap Jam with the Band seems to uses nand for saves also

ahezard commented 5 years ago

Seems to work now

Dartz150 commented 5 years ago

Just a question regarding this. Has been fixed? Because on my end, the game always saves to an empty state (no games/music/comics), progression through the game saves fine though.

MaymonAdir commented 4 years ago

I have the same issue Dartz150

MixedVictor commented 4 years ago

same for me

Dartz150 commented 4 years ago

Found this on DeSmuME src:

https://github.com/masterfeizz/DeSmuME/blob/master/src/addons/slot1_retail_nand.cpp

it explains a bit how NAND save type works.

MixedVictor commented 4 years ago

i just want to make diy minigames pls fix 😭

MixedVictor commented 4 years ago

hope its fixed on this year...

BlueZ-DJ commented 4 years ago

The reopening of this thread is the most hopeful thing I've ever seen

MixedVictor commented 4 years ago

now the game wont open it says an error as ocurred

RocketRobz commented 4 years ago

That will be fixed in the next version.

jeffyjeffy1023 commented 4 years ago

Aw man... But when will the next version drop?

rool36 commented 4 years ago

I'm new to cfw and it's the first game it got lol. Wanted to know if the new version is out? And how to get it? Thanks.

RocketRobz commented 4 years ago

@jeffyjeffy1023 @rool36 The new version is out. Download it from the release page, or update TWiLight Menu++.

Nintendo-png commented 4 years ago

Now WarioWare DIY is stuck at Creating save file.

RocketRobz commented 4 years ago

Just close the lid and reopen.

rool36 commented 4 years ago

Sorry in advance but what is a Lid? Explain what that is, please, and how to you close it?

RocketRobz commented 4 years ago

You know, the top lid of the console? Know how to put the console in sleep mode?

rool36 commented 4 years ago

Ah I get it now that makes sense. Thanks

Nintendo-png commented 4 years ago

It saves!

rool36 commented 4 years ago

Nice!

Nintendo-png commented 4 years ago

This is unfortunate. Microgames won't save this time.

BlueZ-DJ commented 4 years ago

This is unfortunate. Microgames won't save this time.

Yeah that's the reason this thread exists, right now only progress saves, but not your creations

rool36 commented 4 years ago

Man I want the games to save. But they use nand files. Best we can do is wait and support the coders

jeffyjeffy1023 commented 4 years ago

Alright, so that audio issue with the Game Makermatic that I told rob is still here, but it's less intense. Closing/Reopening the lid fixes it still.

TheGaboefects commented 4 years ago

I hope you guys manage to fix the issue, i have tons of minigames in a old save file that i can´t access. PD: The save file can be read just fine using an R4, can someone explain me why is different?

Nintendo-png commented 4 years ago

Probably because the R4 uses a game slot and has more support?

RocketRobz commented 4 years ago

@Nintendo-png No. It's because the firmware patches more functions that nds-bootstrap currently doesn't.

Nintendo-png commented 4 years ago

Maybe you could import the patches from the R4 firmware. Is it open source?

NightScript370 commented 4 years ago

kernel* Also, the R4 kernel is not open source. An old Wood RPG kernel is, but the code is spaghetti according to ahezard.

BlueZ-DJ commented 4 years ago

I hope you guys manage to fix the issue, i have tons of minigames in a old save file that i can´t access. PD: The save file can be read just fine using an R4, can someone explain me why is different?

I don't know if this helps but similarly, the DeSmuMe emulator also saves microgames fine (without needing save states)

Nintendo-png commented 4 years ago

Drastic also reads nand saves fine.

MixedVictor commented 4 years ago

i completed the game just for waiting it fixes lol

MixedVictor commented 4 years ago

hey i founded a way out to save games, music and comics is on the makermatic itself but we only have 2 spaces to save...

jeffyjeffy1023 commented 4 years ago

What, in those online boxes using alternate WFC?

On Jul 31, 2020 11:58 AM, MixedVictor notifications@github.com wrote:

hey i founded a way out to save games, music and comics is on the makermatic itself but we only have 2 spaces to save...

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/ahezard/nds-bootstrap/issues/306#issuecomment-667197161, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AK2WA3FJLPPYOVOFNTMNFUTR6LS3FANCNFSM4FJSASFA.

MixedVictor commented 4 years ago

What, in those online boxes using alternate WFC?

uhhh its on makermatic itself not the wfc. (You create the game and let it saved right?)

TheGaboefects commented 4 years ago

How??? Why is it limited to 2 spaces?

Enviado desde mi iPhone

El 31 jul. 2020, a la(s) 11:58 a. m., MixedVictor notifications@github.com<mailto:notifications@github.com> escribió:

hey i founded a way out to save games, music and comics is on the makermatic itself but we only have 2 spaces to save...

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/ahezard/nds-bootstrap/issues/306#issuecomment-667197161, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APMFZ5AUPSCVWQGJNZNDWVDR6LS3HANCNFSM4FJSASFA.

MixedVictor commented 4 years ago

How??? Why is it limited to 2 spaces?

I dont know maybe the ds storage is too small then it uses nand to store all the games (i know nothing about ds storage and nand just talking)

jeffyjeffy1023 commented 4 years ago

The DS and DS Lite only have enough NAND on board for the firmware + user settings. Plus, cartridge games (if played on a real cart or flashcart) save to the cartridge itself you chimbo

On Jul 31, 2020 1:59 PM, MixedVictor notifications@github.com wrote:

How??? Why is it limited to 2 spaces?< I dont know maybe the ds storage is too small then it uses nand to store all the games (i know nothing about ds storage and nand just talking)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/ahezard/nds-bootstrap/issues/306#issuecomment-667256224, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AK2WA3EJ36KEM6CUFDRIOADR6MA6PANCNFSM4FJSASFA.

MixedVictor commented 4 years ago

@jeffyjeffy1023 Yeah you're right...

jeffyjeffy1023 commented 4 years ago

It's alright. Not everyone knows everything.

On Jul 31, 2020 2:02 PM, MixedVictor notifications@github.com wrote:

@jeffyjeffy1023https://github.com/jeffyjeffy1023 Yeah you're right...

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/ahezard/nds-bootstrap/issues/306#issuecomment-667258110, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AK2WA3EKW72I37JHNWDOMZDR6MBMLANCNFSM4FJSASFA.

Dartz150 commented 4 years ago

Ok, let me get this clear. You are saying that the game now actually saves, but it can do it in two slots only? I'm a bit confused with this conversation because of the mail respones mess, sorry.

MixedVictor commented 4 years ago

Ok, let me get this clear. You are saying that the game now actually saves, but it onlyu can do it in two slots? I'm a bit confused with this conversation because of the mail respones mess.

nope just in the maker makermatic

jeffyjeffy1023 commented 4 years ago

Oh that's just bullsh*t, but I guess it'll have to do for now.

On Jul 31, 2020 3:01 PM, MixedVictor notifications@github.com wrote:

Ok, let me get this clear. You are saying that the game now actually saves, but it onlyu can do it in two slots? I'm a bit confused with this conversation because of the mail respones mess.

nope just in the maker makermatic

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/ahezard/nds-bootstrap/issues/306#issuecomment-667302252, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AK2WA3EDTGYYPM4GHA5IXN3R6MIJZANCNFSM4FJSASFA.