• Welcome to SCdev.org. Please log in.

Welcome to the new SCdev forums!

Moonshell 0.7p1 for SC sd.

Started by deathrabbit, January 01, 2006, 07:47:02 PM

Previous topic - Next topic

memyselfandi

 am The Best and you Know it!!!

m2pt5

Quote from: "memyselfandi"And i have a CF supercard by the way.
Then you are you posting in the thread for the SD version?
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.

memyselfandi

yeah, i know but the people that know a lot about this stuff- like Cory- have the sd version and might be able to help me...
 am The Best and you Know it!!!

cory1492

memyselfandi: I had that problem when I used the IMFS create batch file or just used the _boot_mp.nds file directly, but when you use the EXFS batch file to creat a .ds.gba and rename it to .nds (even with no files in the EXFS files dir) it prepends the homebrew DS loader and it should then work fine for you (assuming your problem isnt related to flashme like some of the others)

Its just a little trickery, basically the M3 and SuperCards have memory that can be switched to look like a GBA cart, but still have the CF/SD available. The EXFS batch is for creating ROM's that will run off a GBA cart, and since M3 and SC both emulate a GBA cart by loading the ROM into memory first, the ROM should be created using the "create for GBA cart" method. Basically, the way the code is compiled, it tries to run because the homebrew builder (ndstool.exe) already puts a not so compatible loader into the game header, but for whatever reason this loader fails with moonshell, so the homebrew ndsmall/dsbuild must be used. Hopefully this will fix it on yours as well.

bitomule: you dont have to open your DS, just the DS's battery cover (unless you have one that when you look under the battery cover there is no longer 2 holes + 1 hidden under a white/pink sticker)

memyselfandi

I'm sorry Cory, but... YOU'RE JUST TO SMART FOR MY UNDERSTANDING!
what is it that ihave to do???, maybe you can send me a working file?(pretty please :oops: )
 am The Best and you Know it!!!

Dudu.exe


cory1492

basically: take the _BOOT_MP.nds (I had it mixed up earlier) and prepend the homebrew loader, its easy, the dsbuild in the wintools dir can do it for you, just drag the _BOOT_MP.nds onto it and it will spit out a _BOOT_MP.ds.gba ;)  (this is assuming that the moonshell you have been trying can work with SCCF, I will look at the source again and see if SCCF unlock was included)

I am more likely the backwards version of this "GOD LIVE" though..  :lol:

edit:/ yep, the code for M3CF and SCCF is still present, so the official package should work fine if you simply do as I say above, or run "WriteFiles_EXFS.bat" and put "_BOOT_MP_EXFS.ds.gba" renamed to "moonshell.nds" (or whatever you want I guess) onto your CF card. Just putting the "_BOOT_MP.nds" onto my SD from either package causes 2 black screens for me, although I know it froze up in debug like yours did in 0.6 without the loader...

Hope you got that and it works for you  8)

Phytagoras

the problem is, i dont have a screwdriver this tiny? any other tool that could help here?

KTZM

i used a sharp-ended knife  :lol:
AVIER ZANETTI - THE BEST FOOTBALLER EVER!!!

Phytagoras

Now i flashed it and it works  :D
But the sound sounds really cracky. I dont encounter when i play games but here i do. I encoded it as Koji said in his guide.
Any recommendations?

Koji

Quote from: "Phytagoras"Now i flashed it and it works  :D
But the sound sounds really cracky. I dont encounter when i play games but here i do. I encoded it as Koji said in his guide.
Any recommendations?

I got bad crackling and desyncs when I didn't set the sound frequency in the DPG encoder to match the mpeg file.

Easy way to find out if it's the mpeg file, or the DPG converter is before you convert it to DPG, load up the mpeg file in windows media player. If you hear the crackle there, double check your settings in TMPEGenc. If you only hear it on the finalized DPG file there is something not set correctly there.

Is absolutely important that the frequency in TMPEG matches that of DPG.

Noda

The sound volume is not bugfixed (cory version): if I don't set 100% volume in dpgenc, i got a 'pop' when starting the video then no sound...

Even, if i set 100% volume and freq match my mpeg (32khz) i got no desync, but ome cracklings i have not in the mpeg file (i didn't have this problem with first pre-version that played mp2 audio instead of gsm)

The cracklings may be due to some saturation when reencoding the audio to GSM, but due to the sound volume bug I can't test :(

Phytagoras

So. Now i got the sound working right, but now the videoplayback isnt really good. It stops every 4-5 secs for about a second. When i play the mpeg beforce encoding it to dpg on my pc it plays fine. So what to do, so that I dont encounter these "slowdowns".

memyselfandi

Quote from: "cory1492"basically: take the _BOOT_MP.nds (I had it mixed up earlier) and prepend the homebrew loader, its easy, the dsbuild in the wintools dir can do it for you, just drag the _BOOT_MP.nds onto it and it will spit out a _BOOT_MP.ds.gba ;)  (this is assuming that the moonshell you have been trying can work with SCCF, I will look at the source again and see if SCCF unlock was included)

I am more likely the backwards version of this "GOD LIVE" though..  :lol:

edit:/ yep, the code for M3CF and SCCF is still present, so the official package should work fine if you simply do as I say above, or run "WriteFiles_EXFS.bat" and put "_BOOT_MP_EXFS.ds.gba" renamed to "moonshell.nds" (or whatever you want I guess) onto your CF card. Just putting the "_BOOT_MP.nds" onto my SD from either package causes 2 black screens for me, although I know it froze up in debug like yours did in 0.6 without the loader...

Hope you got that and it works for you  8)

Thanks Cory but i've tryed that and it didn't work. I guess maybe the next version could work....
 am The Best and you Know it!!!

Noda

I have read some source of moonshell and actually it's easy to make changes to add support for dpg files with mp3 audio stream instead of gsm (although i have no idea of speed with that).

CORY: please can you send me all the directory with the compilation environnement in order to compile moonshell? i have no time to set it up myself (exams...) but if I can compile quickly changes (and tests) can be made very quickly... please upload it on rapidshare or on http://dl-a.free.fr/ (french but just search for your file with "parcourir", click "envoyer" and it gives you the link to download [1G size limit] it's fast and simple) thanks!

Anyway I also have to rewrite the dpg encoder (dpg format seems very simple: header, audio wtream then video stream) i want to add mp3 audio stream support, which i think is not a bad thing ;)

If I can i'll also look on that bug with th sound volume slider, it must be a small glitch on dpgenc.