• Welcome to SCdev.org. Please log in.

Welcome to the new SCdev forums!

Modified version of MoonShell for SD

Started by Critical_Impact, November 07, 2005, 08:24:54 PM

Previous topic - Next topic

m2pt5

Quote from: "cidtrips"forgive me, I've been around a salais.
So... did you do it?
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

Quote from: "cidtrips"
QuoteCory1492:the "IMplanted File System" (IMFS) has a very specific maximum size it can allow. You can delete some of the extraneous files like the test sound, but essentially you must make the backgroundQuote:
BMP image must be 256 x 192 pixels.
and 50KB or less in size.

Why not just increase the IMFS size to 512Kb? in the arm9/data dir use
"IMFS_CreateBin IMFSROM.bin 512" <---gives you a 512Kb (1/2 a meg)
then re-compile. my bmp is 145kb, with no problems... and using the WriteFiles_EXFS.bat BLOATS the rom with extra, non-essential data (basically a copy of the imfs). .bat file here will append loader and rename the .ds.gba automagically. plus doesn't bloat.
Actually, when I use writefiles EXFS, it adds approximately 2k to the ROM size... as well as replace the IMplanted File System (IMFS is a demarcated section of the ARM9 binary that can be found by the IMFS.exe thing, and needed to be a set size so that the entire thing could be replaced simply) as running makeIMFS would do, but you are right, its doing more than it needs to by adding the reame.txt in the EXFS files to the end of the ROM image as well as the .8k loader to the beggining...

Your batch file is messed up, if you delete it you cant dsbuild it after.(just a side note, one can use the "make_chgimfs.bat" to do the IMFS size mod ;) - but this actually DOES bloat the binary since IMFS is loaded to DS memory before boot, which slows things down especially if it has to downsample the image to display it on the resolution the DS supports)

Here is a full, tested package for SuperCard SD (no need to get and then modify files in the official MoonShell package) with a new improved bat file, and only the necissary stuff. The mod code was added to allow the menu position fixes (thanks!!) and I used a 512k IMFS so there should be no problems with larger background .bmps. Also, cidtrips cleaned up the ini file, so its now english readable and more compact (another thanks!)

http://nds.cmamod.com/files/MoonShell0.6_SCSD_fullmod.zip (3MB zip file)

cidtrips

So cory1492, seems you are a better project manager than I. Good work, I'm just glad to see my work go into something... Sorry, im just not that attentive to nuiances....  Hope you don't mind if I mirror your set on my page..... if so just let me know....

I'm working on porting projectM to moonshell as I said earlier, if done, would you be so kind as to include it into an SD build for me?

thedon

cool, mp3s work great.... can moonshell play videos? and if so what format

KTZM

Great Job all of you.
I'm enyoing my new wallpaper and starting music a lot:D.
Many thanks
AVIER ZANETTI - THE BEST FOOTBALLER EVER!!!

cory1492

Quote from: "cidtrips"So cory1492, seems you are a better project manager than I. Good work, I'm just glad to see my work go into something... Sorry, im just not that attentive to nuiances....  Hope you don't mind if I mirror your set on my page..... if so just let me know....

I'm working on porting projectM to moonshell as I said earlier, if done, would you be so kind as to include it into an SD build for me?

You got the important part right, which was the patches to source ;) (would have taken me alot longer to do that one  :lol: )

If you get some new stuff ready and send me the modified files I can build it and test it for you, feel free to mirror the set, and if you replace the initial mp file and do a couple quick edits to the batch and ini (replacing SCFS with MPCF) it would work just as well with the CF version as a CF version set.

thedon: there is a conversion utility included with MoonShell called DMV, so it can play DMV files made with that utility. I dont know the specifics about what kind of files the converter can take though, although its likely been discussed to death in the moonshell thread over in gbadev.org nds forums.

m2pt5

Quote from: "cory1492"Here is a full, tested package for SuperCard SD
I've found one slight flaw with your package:

When viewing text files, there are large spaces between each line of text, and I can only see two lines on the screen at once.
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.

zon7

I've posted it on Supercard official forum but noone answered it.
Can anyone play ogg files directly from SD with this version?
Because I can't. Only able to play ogg files if i pack them into the rom

cory1492

QuoteCan anyone play ogg files directly from SD with this version?
Because I can't. Only able to play ogg files if i pack them into the rom
The MP3 plugin required a modification to lower the frequency as reading from SD is slower than from CF, unfortunately OGG was not modified. Anyone know where to grab some decent OGG files to try out with this, maybe I can get it working...

QuoteWhen viewing text files, there are large spaces between each line of text, and I can only see two lines on the screen at once.
I should have been more explicit, only the mods were fully tested (port to work on SD, MP3 fix and  the config file mod) I have no problems viewing .txt files with it though, they appear exactly as they do in notepad.

In the meantime, I fixed a problem that was brought to my attention by email, I had forgotten (actually didnt forget, just changed something so it had skipped the necissary step :( ) to recompile the binaries for the alternate codepage files - the MoonShell0.6_SCSD_fullmod.zip has been updated fixing that problem. Read the codepage file if you need to change codepages.

On that note, also please remember that this is only a temporary solution until a full driver is released that does not require specific SD patches. Hopefully such a thing is possible and is being worked on.

zon7

You can download sample ogg files from the vorbis webpage.
Just search "ogg samples" on google
http://www.xiph.org/vorbis/listen.html

m2pt5

It seems to be a bug with the "default position" paramaters. If they don't exist, the text is widely spaced. If they do, it's normal.

Edit: Specifically, "DateTimeWindowPosition_x=0" appears to affect text spacing. Set it to something other than 0 (or comment it so it defaults to whatever) and the text will be equally widely spaced.
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

thanks zon, I am assuming that these play normally from the EXFS, but will try any way.

Ill give it a go m2pt5, not sure why a change to that should affect text spacing - can you tell based on your setting for the window position if the spacing would be just like giving that window position to the text pixel setting in the ini? I will see (as soon as I warm up, blasted canada winter  :evil: ) if I can reproduce the problems (there were bound to be a few).

Thanks for the info, its a step closer to getting the SD version working better, isolate the problems ;)

m2pt5

Changing that setting changes both the Date/Time window position and the text spacing.

Changing the SpacePixel (text spacing) parameter does nothing at all.
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.

cidtrips

QuoteEdit: Specifically, "DateTimeWindowPosition_x=0" appears to affect text spacing. Set it to something other than 0 (or comment it so it defaults to whatever) and the text will be equally widely spaced.

DateTimeWindowPosition_x defaults to 56 (middle of screen). I've not experienced this problem with the SC CF so i'm tempted to think that it's an error with the SD read code, not interpret zeros correctly maybe? or it changes something that would cross the two variables in memory. also if anyone could post a screenshot of this, I'll look into it.

cory1492

I have to redo winXP, so its gonna take me a couple days before I have things up again :( - Im thinking its parsing the same number twice, Ill have to go in and add some printfs to see what is really going on.