• Welcome to SCdev.org. Please log in.

Welcome to the new SCdev forums!

RAIN 05 for DS, SC SD+CF + M3 + GBA MP - test pls?

Started by cory1492, November 24, 2005, 02:54:43 AM

Previous topic - Next topic

cory1492

If you look in the other thread, I have been mucking about with chishms FAT driver and the IO source, I did a new version of the FAT driver to match the latest posted source from Chishm, and I updated the latest RAIN and tested it with SC SD.

This build _should_ work with SC SD AND CF, GBA MP and M3 too, so if you have a CF or one of the others, can you test it to check if I broke it with my inclusions? (source included btw)

RAIN_0.5_with_SCSD.zip
Thanks!

edit:/
SATA has added support for SC SD in the latest build!
http://www.pat.hi-ho.ne.jp/sata68/nds.shtml
you will need to add a bootloader to it though for it to work or:
http://nds.cmamod.com/files/Rain06aSC.zip
- I note some errors with chkdsk on SD using this version, 256k files are not quite right. Be warned, it writes to the SD and can corrupt the file system :(

skydra

This tool is just what i was looking for thanx man!
wonderland is hell, and we're heading straight down the rabit hole!

Friend Code-1546-8067-2982

robot

Quote from: "cory1492"If you look in the other thread, I have been mucking about with chishms FAT driver and the IO source, I did a new version of the FAT driver to match the latest posted source from Chishm, and I updated the latest RAIN and tested it with SC SD.

This build _should_ work with SC SD AND CF, GBA MP and M3 too, so if you have a CF or one of the others, can you test it to check if I broke it with my inclusions? (source included btw)

RAIN_0.5_with_SCSD.zip
Thanks!

I have downloaded and tested with Nitendog, it works great. Thank you very much for porting this great tool to using SC SD file system.

m2pt5

It's funny... I have a version of Rain I downloaded on the 8th, and it workd perfectly fine on my SC SD. I even used it to load the save from the Mario Kart ROM I've been playing into an actual Mario Kart DS card.
Manually signing your posts is dumb.
---
Firmware versioning: Get a Passcard 3, a SuperKey, or a slot-1 flashkit. Then it doesn't matter which firmware you have.

cory1492

yeah, there was a RAIN that had just SC SD (v04d) from http://www7.plala.or.jp/zap/download.html - this one should do all 4, hoping someone with GBA MP or SC CF can test to make sure I didnt break anything...

m2pt5

Ahh, okay.

I'm happy with this one because all I have is SC SD.  :D
Manually signing your posts is dumb.
---
Firmware versioning: Get a Passcard 3, a SuperKey, or a slot-1 flashkit. Then it doesn't matter which firmware you have.

Koji

I think the point is just so that it's all in 1 file that way future releases can all be 1 version versus several versions for several devices (which I think is a great idea)

Works perfectly on my SD btw.

cory1492

Awesome reports, hopefully I can find the time to convert the asm to either inline asm or C for inclusion to the official fat library by Chishm, making it a drop in for all 4 devices (ie: build of scumm could use all 4 devices without having to go to great lengths to test it)

It would seem that this build got released to some chinese bbs's and spread from there, before I got any test results back and made a comment on my page, ah well, so long as its working it all good  8)

deathrabbit

Quote from: "cory1492"Awesome reports, hopefully I can find the time to convert the asm to either inline asm or C for inclusion to the official fat library by Chishm, making it a drop in for all 4 devices (ie: build of scumm could use all 4 devices without having to go to great lengths to test it)

It would seem that this build got released to some chinese bbs's and spread from there, before I got any test results back and made a comment on my page, ah well, so long as its working it all good  8)

Why do you want to convert the asm to C++? The asm is more efficient.

Also, is the 512 byte glitch fixed in this version?

EDIT: I found a problem.  After makeing a backup of a save file, I couldn't play Tony Hawk(2 white screens).  When I deleted the backup file off of the sd chip, it played fine again.

robot

Why not send your modification and disscuss your idea with the original author of Rain? It will saves his time to support SC SD and integrate your modification in the future release.

cory1492

robot, rain supports SC SD now in 06/06a ;)

He worked out essentially the same stuff I did, simply go to SATA's site to get the latest one, use dsbuild or dslazy to add a bootloader and there you go!

robot

Quote from: "cory1492"robot, rain supports SC SD now in 06/06a ;)

He worked out essentially the same stuff I did, simply go to SATA's site to get the latest one, use dsbuild or dslazy to add a bootloader and there you go!

Yes, I have downloaded the latest version of Rain0.7. I found the major difference between your port and SATA's version is:

IO_INTERFACE io_scsd = {
   0x44534353,   // 'SCSD'
   FEATURE_MEDIUM_CANREAD | FEATURE_MEDIUM_CANWRITE,
   (FN_MEDIUM_STARTUP)&SCSD_StartUp,
   (FN_MEDIUM_ISINSERTED)&SCSD_Unlock,
   (FN_MEDIUM_READSECTORS)&SCSD_ReadSectors,
   (FN_MEDIUM_WRITESECTORS)&SCSD_WriteSectors,
   (FN_MEDIUM_CLEARSTATUS)&MPCF_ClearStatus,
   (FN_MEDIUM_SHUTDOWN)&SCSD_Shutdown
} ;

SATA uses SCSD_Unlock function instead SCSD_IsInserted for FN_MEDIM_ISINSERTED function pointer. I think your version is more correct, although both versions work.