View Full Version : DS-X Manager for Windows
ShortFuse
11-16-2006, 07:57 AM
DS-X Manager
The point of this program is to facilitate the use of your DS-X. This allows you to trim roms (to save more space) when copying to the DS-X. It's meant to be like a syncing application, as you would use iTunes/Winamp for your MP3 player.
Latest versions are:
v0.2.6.1 (beta)
v0.2.4 (stable)
v0.2.4
------
Supports Zip files
Asynchronous Transfers
Just download it and try it. It's less than 100KB.
Notes on colors in DS-X window.
Green = Trimmed to smallest, safest size possible
Yellow = Can be trimmed more
Red = Overtrimmed
v0.2.6+
-------
ROM Cache for faster previewing
Supports Zip and Rar Files
Asyncronous Transfering and Queuing
Uses Library for quick access to files
View ROMs by Size or Region
Support for homebrew files not written to NDS specs
*REQUIRES .NET FRAMEWORK 2.0
To clarify, this a homebrew project and I'm writing this for the fun of it. I'm not part of the DS-X. I just like coding. :)
If somebody wants to host webspace for me to put these files, it would be very much appreciated being that DS-X forums require registration to download files. Also, if I get can get a webspace, I could implement an auto-update feature.
And the donate button:
https://www.paypal.com/en_US/i/btn/x-click-but04.gif (https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=clshortfuse%40hotmail%2ecom&item_name=DS%2dX%20Manager%20Donation&no_shipping=1&no_note=1&tax=0¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8)
Changes in v0.2.6.1
Set Game Icon back to first column as default
Resorting of column is saved on exit
Missing files aren't displayed in the library
Version number is displayed on form
To do list
Move Sync List to tree view
Give TreeView different appearance (probably buttons Outlook Style)
Add Total Queue Size to StatusBar
Add right click functionality to .nds files in explorer
Internet Updates
Fix Resizing
Finish implimenting custom lists
Finish Card Size Filtering
Fix Size Sorting on the table
Create "View More Info..." Dialog box
Use the unused CRC code (will be used in "More Info")
Save Support (should be next version)
Insert Country Flags
Make option of Japanese, English, French, German, Italian, Spanish as default Game Title language
Please note, v0.2.6+ is more complex compared to v0.2.4
If you're not so deadset on rar support, rom caching and a permanent library, use v0.2.4
Download here:
DS-X Manager v0.2.4 (http://rapidshare.com/files/15250222/DS-X_Manager_v0.2.4.zip.html)
DS-X Manager v0.2.6.1 (http://rapidshare.com/files/15250411/DS-X_Manager_v0.2.6.1.zip.html) (dll's included)
aeSentinel
11-16-2006, 08:10 AM
Sounds like a bloody good idea. No requests as of yet. Can't wait to see it finished. :D
ShortFuse
11-16-2006, 08:27 AM
the NDS file system is so weird. it's very similiar to the GCM file system, but the hex data is all backwards... does anybody know the specs to the banner/icon file?
kuhmist
11-16-2006, 08:33 AM
http://www.bottledlight.com/ds/index.php/FileFormats/NDSFormat
ShortFuse
11-16-2006, 08:37 AM
w00t, thanx. been referencing gcm files and some ndstool source. this helps a lot
teonintyfive
11-16-2006, 09:23 AM
This sounds ultra awesome
Siouxsie
11-16-2006, 09:24 AM
That kind of program would be great! I'm assuming it would work similarly to iTunes for an iPod - where you can browse the contents of a specified folder on your computer (only showing .nds, .sav and .zip) or the DS-X, and transfer files like you would using an FTP client, with this trimming feature implemented in the transfer, if chosen in preferences =)
Do you have an approximate date for release? (I'd be happy to test it out for you if you need a beta tester or such)
Edit: I don't know if this counts as a request, but if possible, using the games' built-in icons as icons in the file manager would be a great feature. Maybe that's what you were after asking for the banner location, though.
ShortFuse
11-16-2006, 10:14 AM
that's exactly what the banner questions were for
I can't do it yet. I had trouble getting the gamecube icons converted so i'll leave that for later
Sogetsu Kazama°
11-16-2006, 10:23 AM
That's what I was hoping for, a NDS version of GBA Front, that was extremely helpful to me.
ShortFuse
11-16-2006, 10:58 AM
i'm realizing dslazy's included NDS Rom Trimmer trims more than it should. it might cause problems for some games. the header says where the rom ends on the card, but dslazy's trimmer deletes trailing FF's and 00's from the last file. I'm assuming it's working backwards, from the end of the cart to the last file, but it keeps going until it finds something that's not 00 or FF... I think it shouldn't be done. I haven't had a problem yet... but... I'll trim up to where the developers said where the empty data starts (which is, as i said, specified in the header)
but seeing as how that didn't affect games... maybe i can trim the trailing FF's and 00's from all the files, reconstruct the file allocation tables and file name tables and trim even more...
thoughts?
alfatreze
11-16-2006, 12:57 PM
Perhaps u could add profile support, so u can save from different peoples carts or users, & change the save file from each game based on the profile!
ShortFuse
11-16-2006, 01:16 PM
that's the plan. i'm giving up on the icon for now. it's probably the same format as the gamecube banner and i couldn't decode that one either. i'll leave it for later. if somebody has some source code to display/convert the icon form the banner, please post
IBNobody
11-16-2006, 02:28 PM
i'm realizing dslazy's included NDS Rom Trimmer trims more than it should. it might cause problems for some games. the header says where the rom ends on the card, but dslazy's trimmer deletes trailing FF's and 00's from the last file. I'm assuming it's working backwards, from the end of the cart to the last file, but it keeps going until it finds something that's not 00 or FF... I think it shouldn't be done. I haven't had a problem yet... but... I'll trim up to where the developers said where the empty data starts (which is, as i said, specified in the header)
but seeing as how that didn't affect games... maybe i can trim the trailing FF's and 00's from all the files, reconstruct the file allocation tables and file name tables and trim even more...
What byte location holds the ROM size?
There's a GBA rom trimmer that someone on the forums pointed me to:
http://www.cellularmobilephones.com/gba_net/Reduce_GBA_ROM_Size.zip
It's better than DSLazy/Trimmer because it can process multiple files.
On to the suggestion...
I'd like to have the program append the CRC32 hashcode to the ROM filename. If the file name contains a CRC32 hashcode, the program should inform the user that a CRC mismatch occured.
Here's a good (and free) CRC32 class:
http://www.codeproject.com/csharp/marcelcrcencoding.asp
jsl2247
11-16-2006, 03:02 PM
Wow this program sounds great. I will be happy to beta if yo u need someone.
ShortFuse
11-16-2006, 03:21 PM
0x080 to 0x083 holds the ROM Size
DSLazy/Trimmer starts cutting backwards from the end. The problem is that in the file table, it says where in the rom a file begins and a file ends. it's luck it works. let's say the last file on the table was a sprite file and it's between 101 and 150. Let's say the header says the rom ends in 150, being that it's the last file. let's say from 141 to 150, it's all FF (in hex). And finally, let's say the card size is 200.
According to the header, the unused space is from 151 to 200. Now this is true. What DSLazy/Trimmer does, it counts back from 200 until it finds a value not equal to 00 or FF. It should erase up to 151, but since the end of the last file has FF, it keeps going until 141. In some games, this might not cause a problem.
Now supposed the last file on the ROM is a sprite, and the developer sends a command to copy it the memory or whatever, maybe send it via wifi, anything. When it looks to send the file, it checks the FAT (file allocation table) and expects to read from 101 to 150, but in fact, the file has been truncated from 101 to 140. This might cause problems when it tries to read sector 141 as in, a crash. So I'm not going to truncate from the last file and any rom that has truncated files is flagged red in my program.
Edit: When I said the NDS roms are backwards compared to the GCM, i meant that literally. The ROM size has to be read in backwards order, in hex. 0x83, 0x82, 0x81, 0x80. Don't ask me why.
gameboyflash
11-16-2006, 06:24 PM
I think you need to take a look at the No-Intro site. Several alike tooks can be found there. Also RomCenter, OfflineList and some others have dat files for NDS. (Maybe I'm not exactly understanding what great tool you're designing, sorry then. Still the tools on No-Intro might be usefull.)
http://www.gbadat.altervista.org/
IBNobody
11-16-2006, 07:13 PM
Edit: When I said the NDS roms are backwards compared to the GCM, i meant that literally. The ROM size has to be read in backwards order, in hex. 0x83, 0x82, 0x81, 0x80. Don't ask me why.
That backwards order is called little-endian. The lowest byte comes first.
Some processors (Intel) store data in little-endian format (0123). Others (Motorola, IBM) store data in big-endian format (3210).
ShortFuse
11-16-2006, 07:22 PM
i see, well, it's only 4 bytes. i'm done with the reading and trimming of the ROM. right now i'm implementing RAR support. I'm trying to get it so i don't have to extract the file completely to get the header. i can get the filename and filesize from within rar file w/o extracting, but the header is like 1kilobyte anyway. after rar, then zip support. then release, i guess. i'll work on save files later
Blalien
11-16-2006, 07:29 PM
Nice!
With which language are you doing this?
Becouse i was planning to build a tool in C# for exploring etc...
And offcourse in Visual Studio :P
But this sounds coowl! ^^
ShortFuse
11-16-2006, 07:36 PM
in vb.net 2005
the unRAR dll from rarlabs.com doesn't let me pause extraction or peek at a file. it's full extraction or none... any suggestions?
IBNobody
11-16-2006, 07:48 PM
in vb.net 2005
the unRAR dll from rarlabs.com doesn't let me pause extraction or peek at a file. it's full extraction or none... any suggestions?
Do you have to use RAR's? Why not 7z? RAR is way too proprietary, while 7z is open source.
All of the files I have come ZIPped, and I get them in blocks of 50 apps. Many of us get them this way.
ShortFuse
11-16-2006, 07:50 PM
okay, i won't stress myself with rar at the moment. i know how to do zip, let me get that done at least. doesn't 7z extract rar files too?
ShortFuse
11-16-2006, 10:01 PM
i just need to finalize trimming from zip format and then i can post the first beta.
ShortFuse
11-16-2006, 10:30 PM
what a waste, it's so much slower extracting to the DS-X, i should just extract it to the hard drive temporarily and then copy it.
felkor
11-16-2006, 10:40 PM
Yes, the first couple apps I put on my DS-X I copied straight from my zip file and they took forever... it's way faster if you unzip files before transferring them.
ShortFuse
11-16-2006, 11:10 PM
Beta 0.1
Just so you guys know, the green means trimmed, yellow can be trimmed more and red means overtrimmed. Don't worry, I know it's lacking at the moment, but I'll get it better.
Check the first post
jsl2247
11-17-2006, 01:26 AM
It gives an error when trying to load this program.
red_rurouni
11-17-2006, 01:56 AM
You need to have Microsoft .net Framework 2.0 installed.
ShortFuse
11-17-2006, 02:24 AM
i still have to definitely work on it. i switched from using datagridviews to listviews, but i might just go back because the sorting thing on a listview is weird.
jsl2247
11-17-2006, 02:24 AM
thanks red
shortfuse,
verry impressive bro
IBNobody
11-17-2006, 03:54 AM
ShortFuse: It's throwing an exception because it can't find the DS-X.
************** Exception Text **************
System.IO.IOException: The device is not ready.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.__Error.WinIODriveError(String driveName, Int32 errorCode)
at System.IO.DriveInfo.get_VolumeLabel()
at DS_X_Manager.Form1.RefreshDSX()
at DS_X_Manager.Form1.Button1_Click_1(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
It is also throwing exceptions when I try to display my files...
************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: driveName
at System.IO.DriveInfo..ctor(String driveName)
at DS_X_Manager.Form1.RefreshStatusBarLabels()
at DS_X_Manager.Form1.ListView1_ItemChecked(Object sender, ItemCheckedEventArgs e)
at System.Windows.Forms.ListView.OnItemChecked(ItemCh eckedEventArgs e)
at System.Windows.Forms.ListView.WmReflectNotify(Mess age& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
ShortFuse
11-17-2006, 04:06 AM
did it happen once? or just always?
maybe after you connect the DS-X you have to give it a few seconds
With windows, when you connect a removable usb drive, it addeds to the list of drives, then 2 seconds later erases it, then 3 seconds later, adds it again.
IBNobody
11-17-2006, 05:32 AM
did it happen once? or just always?
maybe after you connect the DS-X you have to give it a few seconds
With windows, when you connect a removable usb drive, it addeds to the list of drives, then 2 seconds later erases it, then 3 seconds later, adds it again.
Both exceptions are repeatable.
eric1000
11-17-2006, 08:11 AM
same here... allways an "System.IO.IOException:"
the drop down list is empty.
but it looks nice.. ;-)
hope it will work for me sometime. :)
NotAgOat
11-17-2006, 08:19 AM
Sounds neat. I had no idea dslazy was not trimming correctly. Ive had no problems with some 15 .nds files as of yet. If I retrim my original files with your trimmer will it still use the save files I have?
gamekill
11-17-2006, 12:05 PM
I tried to report it yesterday, I thought I had done so, but my post is not here! ANyway, I am also having the same IO issue, the app doesn't find my DSX... :(
:( :) :(
ShortFuse
11-17-2006, 12:52 PM
i'll redo the reading of the removable drives. maybe it's because i'm running vista. are you guys running windows xp? and dslazy's trimming seems to not affect too much, but better safe than sorry if you're going to try to save 10-50k. save games shouldn't be affected. they're just eeprom dumps anyway.
at the moment, make sure your drive has a label
i figured it out, the problem with the reading of the drive
ShortFuse
11-17-2006, 03:32 PM
how many of you guys can get it working, and how many cannot?
i think i'm going to release what i have working now. i now have asynchronized copying to the DSX, then i'll allow support for non DS-X cards. how do you get NDS roms on to the other devices? (ie: what folder do you copy to and if you need to patch)
IBNobody
11-17-2006, 03:39 PM
i'll redo the reading of the removable drives. maybe it's because i'm running vista. are you guys running windows xp?
I'm running XP. I won't switch to Vista until I have a gun pointed to my head. (Or until they turn off Aero while you're playing a game.)
felkor
11-17-2006, 03:40 PM
Yeah, I've trimmed a lot of apps and so far have no troubles, but if I do, I'll know what happened at least!
And yes, you can still use your old save files (I went from non-trimmed to trimmed and the saves worked fine - as long as your .nds file still has the same name (or you change the name of your .sav file to match.))
Sounds neat. I had no idea dslazy was not trimming correctly. Ive had no problems with some 15 .nds files as of yet. If I retrim my original files with your trimmer will it still use the save files I have?
ShortFuse
11-17-2006, 03:51 PM
vista does disable aero. it switches to basic desktop automatically for some, if not, right click, on compatibility tab, there's an option. when i use Media Player Classic, it switches to basic desktop automatically. might have to do with the video overlay. anyway. vista went final. i only use my computer for programming, ie, movies, downloading and aim. i use my DS for games =Þ
but back to the topic. i fixed the resizing issue and have the rom list using datagridview while the DS-X contents using listview. checkboxes are gone, you have to hold control while clicking. you can't type the game title while inside the datagridview as you can in a listview. you sacrifice that for the ability to sort by any column. now that i mention it, i have to fix it from sorting the trimmed size column alphabetically. doh!
IBNobody
11-17-2006, 04:38 PM
Update the first post with a new alpha build, and I'll let you know how it goes.
ShortFuse
11-17-2006, 04:48 PM
too late now. hehe. i starting doing asynchronous rom listing and somehow, that created a problem with reading zip files. er? soon, after i fix this
ShortFuse
11-17-2006, 06:14 PM
Version 0.2 is out
(check first post)
Resizing the window now works.
Changed from ListView to DataGridView.
Can now transfer asynchronously.
Can now list ROMs asynchronously
Fixed drive reading issue.
ShortFuse
11-17-2006, 06:34 PM
I had to make a version 0.2.1 because 0.2 had a problem reading zip files. fixed now
stefer
11-17-2006, 07:40 PM
wow, keep up the good work!
As long as the save files work with trimmed files, etc.
Its really neat, can't wait to get home in an hour to try this out!!!
Please add a function that autobacks up before every transfer or something like that. I'd see something that does this :
- you set a folder on your local harddrive for backups of save files
- each transfer to the cart you do, it makes a subfolder in the folder you had chosen, with date and time, and copies saves there
- it would let you choose the number of save folders to keep over time, like 3, 4, etc...
ionno, its just an idea like that
ShortFuse
11-17-2006, 09:45 PM
sounds like a good idea. keep the requests coming. i'll put in features, i might just menu list of small functions/utilities, if i don't make it standard.
alfatreze
11-17-2006, 10:05 PM
Could u add several folder support, this way we could have things organized by categories, say games, homebrew games, homebrew apps, or any other we need, much easier to organize
Also it could save synchronized sets, for example i could have a group of apps from several categories & chose to remove all those & substitute with another set or single file!
Add file management support, rename / delete!
Autobackup saves option
Drag n' Drop Support
Cover support, load either folder.jpg, same name as file, or any whatsoever
Bugs: (Running XP SP2 )
Should save last Entered .nds folder
Does not read nds files from DS-X card ( I have no nds in the root, all are organized in categorized folders )
Many Japanese file names appear with strange texts, maybe unicode support, or a font that has Japanese characters?, not quite sure here!, perhaps i just need XP in JAP :P
When implemented we'll need skin folder support aswell :D
GREAT job so far, really hope to see this improving!!!
Error when copying, copies ok but always gives the error!
************** Exception Text **************
System.IO.IOException: The process cannot access the file 'I:\apps\0580 - 42 All-Time Classics (E)(Legacy).nds' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.IO.FileInfo.Open(FileMode mode, FileAccess access, FileShare share)
at DS_X_Manager.Form1.ComboBox1_SelectedIndexChanged( Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChang ed(EventArgs e)
at System.Windows.Forms.ComboBox.set_SelectedIndex(In t32 value)
at DS_X_Manager.Form1.RefreshDSX()
at DS_X_Manager.Form1.Button2_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
DS-X Manager
Assembly Version: 0.2.1.0
Win32 Version: 0.2.1.0
CodeBase: file:///C:/Documents%20and%20Settings/alfatreze/Ambiente%20de%20trabalho/DS-X%20Manager%20v0.2.1/DS-X%20Manager.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
stefer
11-17-2006, 10:44 PM
sounds like a good idea. keep the requests coming. i'll put in features, i might just menu list of small functions/utilities, if i don't make it standard.
-Save rom path and such somewhere...
-Temp files cleanup
ShortFuse
11-17-2006, 10:49 PM
I didn't realize DS-X read subfolders. Not hard to add. I'm going to make a renaming structure using the GameCode.
It does have Unicode support. The NDS rom has 5 or 6 different languages for the Game Title. It's version v0.2 and I haven't even made options to be saved.
TheWintergreen
11-17-2006, 11:05 PM
I don't know if this is a bug but...
When I select the save tab (On xp, sp 2) it shows two blank white boxes and nothing else. My saves are located in the apps folder.
Edit: Also, could you list the region of the roms?
ShortFuse
11-17-2006, 11:59 PM
save isn't implemented yet. i started 2 days ago so rom transferring comes first.
The Region is the last letter in the region code. I'll add the option later.
E = USA
J = Japan
P = Europe
alfatreze, make sure you're running 0.2.1
IBNobody
11-18-2006, 02:51 AM
It works. Thank you.
seta21
11-18-2006, 03:19 AM
so basically this application trims the rom and copies it to the ds-x? It doesn't replace the original rom right?
ShortFuse
11-18-2006, 03:33 AM
no, it doesn't replace the original. the program is very basic, yes. but it's oh so perty. =Þ
linkycat
11-18-2006, 03:42 AM
seriously great work, keep it up. Here is a project that has some potential to be useful for a long time, for a lot of people.
Way to go!
ShortFuse
11-18-2006, 06:02 AM
I realized that I messed up with the Game Title, as some game titles are multi-lined. Also, the last line in the game title is the name of the developer. for this reason, in my build, i made the height of the rows longer. if i could figure out how to convert the banner to bmp i'd easily paste the icon on there. some help?
alfatreze
11-18-2006, 11:02 AM
save isn't implemented yet. i started 2 days ago so rom transferring comes first.
The Region is the last letter in the region code. I'll add the option later.
E = USA
J = Japan
P = Europe
alfatreze, make sure you're running 0.2.1
Yup running 0.2.1
seta21
11-18-2006, 11:49 AM
I didn't know trimming the roms is possible. This would really be very helpful especially with the 512mb size of the DS-X. :)
thechimp
11-18-2006, 12:12 PM
This piece of software seems to be very interesting... i'll try this one, once i'll get my DS X-treme :'(
Intruder
11-18-2006, 02:04 PM
It seems difficult to find any info about it so I'll just post here.
Trimming roms.What is it and why do we do that?
Thanks.
IBNobody
11-18-2006, 02:21 PM
It seems difficult to find any info about it so I'll just post here.
Trimming roms.What is it and why do we do that?
Thanks.
Here's the story in a general nutshell. Reminder: No ROM talk.
Rom chips (PROM, EPROM, EEPROM, flash, etc.) come in various sizes. 8MB, 16MB, 32MB, 64MB, and 128MB.
The data that gets put on a rom chip is rarely exactly 8MB, 16MB, 32MB, 64MB, or 128MB.
When someone copys the contents of a rom chip, they save the entire contents of the rom, both the software part AND any space not used by the software. This is called a dump. You may end up with a 128MB file that only has 1MB of data and 127MB of wasted space.
Trimming involves taking one of these dumps and removing the unused space. Trimming the 128MB dump I mentioned earlier would result in a 1MB file.
Make sense?
Intruder
11-18-2006, 02:34 PM
Yep.So this app in this thread makes this possible eh?
In fact,I knew it but I didn't know it is called trimming...
Thanks.
I want you to be able to edit the game title.
Because there is a game at the title blank, too:(
TheWintergreen
11-18-2006, 05:02 PM
I would like to thank you for such a good program.
I could fit about 30% more files on the DS-X thanks to you.
I think this thread needs to be stickied, that's how useful shortfuse's program is.
Siouxsie
11-18-2006, 10:19 PM
Vital feature request: Make it save a data file on the computer which contains the compiled list of files. Then you can have two options, either reload the whole list - or look for newly added files in the chosen directory. This way, it won't have to search through 700 files each time you start the program.
And to me, the whole thing is a bit slow - it's nice to have the whole table feature, but at the moment, I can do it faster manually. This is probably mainly due to my computer (333MHz, 192MB RAM, you get the picture), but the extracting takes longer time through DS-X Manager than it does through WinRAR. Any ideas why this is?
As already stated, some names are blank, why is this? Also, one game.. 0132 I think, showed "Trimmed size: 0.00MB", I don't feel like scaning through the files again right now.. with this slow computer.. should be 0132/0123 or similar.
Did you know of this? It's the only file I've seen which shows this behaviour - I didn't try to trim it though, lack of time, so I don't know what happens. But it could be an error in my file, or a bug in the recognition of cutting point? Maybe the file actually uses every byte on the cart, and your algorith doesn't find where to trim? I don't know, just an idea.
Still, don't get me wrong; this program is awesome and has to keep being enhanced! Soon comes save support, and in the future - maybe skin organizing?
dairyface
11-18-2006, 10:48 PM
For me it doesnt always pick up all the files I have in my ds folder, each time i press refresh it picks up a different selection.
with 0.21 btw
stefer
11-19-2006, 01:37 AM
I think this thread needs to be stickied, that's how useful shortfuse's program is.
Yeah i vote for stickied
ShortFuse
11-19-2006, 03:57 AM
yeah, the title problem has been fixed, i'm trying to get the banner converted to bitmap. i didn't enable scanning subfolders in the DS-X. eh, it's only been the first few days since release.
umnop00
11-20-2006, 09:53 AM
another "nice to have" would be screenshots and links to reviews of the application or game. and type of file ("homebrew action game", "application", ...). and thanks for such a application :)
stefer
11-22-2006, 11:23 AM
another "nice to have" would be screenshots and links to reviews of the application or game. and type of file ("homebrew action game", "application", ...). and thanks for such a application :)
That would need a lot of work and effort. Unless there is the option of reading it from a file, and then we could fill in the blanks and offer the files for download. (like a csv file)
mikescandy
11-22-2006, 11:49 AM
Screenshots are not so hard to handle. We could make a community screenshot pack, maybe based on screenshots from review.
quiet_core
11-22-2006, 12:34 PM
how about a mac version :D
IBNobody
11-22-2006, 02:05 PM
how about a mac version :D
That shouldn't be too hard, as long as SF releases his source. It was written for .NET 2.0, which I believe has a distribution for macs.
thechimp
11-22-2006, 03:11 PM
Screenshots are not so hard to handle. We could make a community screenshot pack, maybe based on screenshots from review.
Yep, maybe you can implement direct downloading of the cover from amazon.com or from another online store.
makikata
11-22-2006, 05:15 PM
This software is promising. Good luck!
spider2k
11-23-2006, 02:07 AM
nice job. keep up the good work.
XmemphistoX
11-23-2006, 02:13 AM
Im getting an application error when I try to run it.
"The application failed to initialize properly (0xc0000135). Click on OK to terminate the application." Any ideas?
extremst
11-23-2006, 02:56 AM
Im getting an application error when I try to run it.
same here. (xp pro sp2)
XmemphistoX
11-23-2006, 03:02 AM
I just found out what was wrong with it. I did a windows update and did every possible update i could and now it runs. Most likely the Frame Network updates? Not sure but you should try that.
Wow what an excellent program. Makes life a lot easier!
What would make it even better is an option to auto rename nds files accordingly to thier title name upon transfer to the DS-X.
reety
11-23-2006, 06:42 AM
offline list and ndscrc both use lists + images. it should be possible to use a similarsystem.
a search function to help locate roms would be nice if possible.
thx, and great program
Reety
edit: any chance you can include a changelog or release notes in the archive? just to keep track of new functions, known broken etc.
feaks
11-23-2006, 10:45 AM
Awesome Work ^^ I was looking for a trimming software and i found this, really easy to use. Maybe you could add the changelog in the first post and also add what's yet to be supported (like the options and the saves so someone trying the software for the first time don't have to read all the pages to figure out why it's not working ^^)
I may have one small request, please add something in the list that tells you wich games are already on the DS-X
XmemphistoX
11-24-2006, 03:17 AM
FYI - The bottom window actually does show you what is on your DS-X.
escusado
11-24-2006, 04:01 AM
VERY GOOD WORK!!!
Keep on going
List of possibles features what do you people think (some has been said before):
Icon extraction for each app to show in the app list (i don't know how hard is this).
Screenshot/Boxart on coursor hovering.
I'm offering my self for any help with this, icon interface, transfering animations, screenshot gruop, anything i can help n_n.
VERY GOOD WORK AGAIN xD
nuwonda
11-24-2006, 07:49 AM
a list of favorites would be nice, i.e. some sort of "filter" when displaying roms (favorites, 2d platform, puzzle, year, etc...)
ShortFuse
11-25-2006, 01:47 AM
sorry about not updating. the wii has been keeping me busy.
error 0xc0000135 means you don't have .net framework 2.0
i had no idea .net framework can run on macs. time to google search.
can anybody help convert the logo from the ds rom to bitmap?
stefer
11-25-2006, 02:30 AM
the wii has been keeping me busy.
mouahha, join the club!
Steve
11-25-2006, 02:06 PM
Good work, ShortFuse. Post paypal account to make donations to you.
extremst
11-25-2006, 02:39 PM
got .net framework last night and now it seems to work for me. looking real good so far. thanks.
ShortFuse
11-26-2006, 06:35 PM
i got the palette working, i just need to fix the output. it's 64 4x4 squares, i did it as one big 32x32 square. oops. let me fix that now. closer and closer to a new release
ShortFuse
11-26-2006, 07:38 PM
crap. um. i don't know how exactly, i'm doing this wrong. it's all corrupt. i'm not putting the pixels in the right order. taking longer
Siouxsie
11-26-2006, 07:41 PM
So, in this new version you're on - is the image the only addition, or have you implemented an archive list for already found files? Or do you still have to reload the library each time you start the manager? Cause that's the most important feature that's missing, in my opinion. As my computer is quite slow and 700+ files takes some time loading each time =\
If it's not ready yet, can you please confirm or deny whether you will add it at all?
arsa13
11-26-2006, 08:26 PM
save isn't implemented yet. i started 2 days ago so rom transferring comes first.
The Region is the last letter in the region code. I'll add the option later.
E = USA
J = Japan
P = Europe
alfatreze, make sure you're running 0.2.1
Could you make it so that U is USA,
E is Europe,
J is Japan,
I is Italy,
F is France
and so on... as far as I know these conventions are far more popular than using the last letter in the region code.
Thanks!
arsa13
11-26-2006, 08:28 PM
how about a mac version :D
I second that! :cool:
ShortFuse
11-26-2006, 09:25 PM
as for the mac version, there's the mono-project. i don't know much about it, other than the site is here:
http://www.mono-project.com/Main_Page
for the gamecode thing. i will make the usa/japan/europe section, with a flag to distinguish. the gamecode, is the gamecode and should never been changed.
and it was taking me long because bottledlight's documentation said 4x4 16 color tiles which really means 8x8pixel boxes. now i'm having problems that once i create maybe half of the images, the colors all disappeared. i think it's the palette. back to work..
gah. i forgot bitmaps work from bottom right and work up to left. oops!
rj118
11-26-2006, 10:28 PM
This project looks like it's coming along nicely!
A quick question: Does trimming a file (I've been using DSlazy) affect the ability to use .sav files? I have a problem with corrupted save files, and I trim every .nds file I put on my DS-X. Is there a link between these two things?
ShortFuse
11-27-2006, 12:03 AM
got icons up, it was well worth it. now for the important stuff.
saves aren't affected. i answered that before. gotta make a FAQ later
Done so far:
Filters
Game icons
EbbTide
11-27-2006, 04:33 AM
Looking really good. Now all I need is the ds xtreme :P I'll be ordering one this week.
On a more serious note, I'm a .net developer and I'd be willing to help out on this.
red_rurouni
11-27-2006, 04:39 AM
This is really amazing work ShortFuse.
NotAgOat
11-27-2006, 07:07 AM
I don't know if its been mentioned yet but it would be nice if you could attach icons to files that do not have one yet.
roboticas
11-27-2006, 02:26 PM
Hello ShortFuse,
I would like to ask you something on the programming side.
Where do you retrieve the Game Title from? Opening the .nds file with a hex editor, I can see that the first 12 bytes contain a short description of the title. However, I cannot find the full game title (the one that is displayed in boot menu) anywhere...
Could you please help me out?
Thanks!!!
ShortFuse
11-27-2006, 03:48 PM
i'm looking into this Mono-Project, as it can do .NET code and runs on Windows, Mac and Linux. I'll probably have the Windows version run .NET 2.0 and Mac and Linux run on Mono 1.2.1
as for the game title. check the bottledlight site. one of the say where the banner is located, which has the icon and titles. there are 4 titles, for different languages. jap, eng, spanish and french, i think. i know jap is first, then english, but i'm too lazy to click on the site to find out. anyway, the location of the banner file is variable, but the offset is somewhere in the header, from then, seek that offset, jump to the offset for english text and convert from unicode. and viola. back to coding...
ShortFuse
11-27-2006, 05:00 PM
is there another compatibility list other than
http://wiki.scorpei.com/index.php/DSX_compatibility_list
roboticas
11-27-2006, 05:16 PM
as for the game title. check the bottledlight site. one of the say where the banner is located, which has the icon and titles. there are 4 titles, for different languages. jap, eng, spanish and french, i think. i know jap is first, then english, but i'm too lazy to click on the site to find out. anyway, the location of the banner file is variable, but the offset is somewhere in the header, from then, seek that offset, jump to the offset for english text and convert from unicode. and viola. back to coding...
One nice little word you said helped me :) . UNICODE... argh.... Thanks !!!! Now it is ok! The offset was tricky, why is it backwards?
Thnx for the info...
stefer
11-27-2006, 05:16 PM
is there another compatibility list other than
http://wiki.scorpei.com/index.php/DSX_compatibility_list
only one i know.
haralds
11-27-2006, 05:36 PM
I tried v0.21 on two different XP systems. After pointing to the folder containing the ROMs, the top pane stayed empty - even when enabling sub folders and 'Refreshing.'
What am I doing wrong? .net is installed etc.
ShortFuse
11-27-2006, 05:59 PM
no rar support yet, check that. or try another folder. try putting the roms (.nds files) in a folder in the root like C:\NDS
i know it supports networks because i use \\mediacenter\nds myself.
if trying another folder worked, give me the directory path of the folder that didn't work.
ShortFuse
11-27-2006, 06:01 PM
I don't know if its been mentioned yet but it would be nice if you could attach icons to files that do not have one yet.
that's a little more complicated only because the palette system is a bit complicated for me. i got it working but it was tricky because of lack of good documentation. i might do it in the future, but for the meantime, you can use ndstool.exe on darkfader's site. i think it's the -b option.
ShortFuse
11-27-2006, 06:05 PM
Hello ShortFuse,
I would like to ask you something on the programming side.
Where do you retrieve the Game Title from? Opening the .nds file with a hex editor, I can see that the first 12 bytes contain a short description of the title. However, I cannot find the full game title (the one that is displayed in boot menu) anywhere...
Could you please help me out?
Thanks!!!
what are you trying to code. hopefully a linux/mac version, right? hopefully not windows competition. :p i think i'll release the source code soon anyway. i need somebody to convert it to C# as i'm using vb.net atm. not that i don't know C#, but VB is SOOOO much easier/quicker. after it being converted to C#, mac and linux versions for everyone. yay! (mono only works with c# not vb.net)
roboticas, i'm thinking of adding file structure support in the future, but i'm concentrated on user requests and save functionality now. i have the source code of my gamecube image viewer that is like the nds one but can list and extract files from the file system in a tree/node style. interested in that? it's more or less the same, other than the fact that GCM hex isn't backwards as in NDS
you can get a converter for that....
i think. I know C# and a very very tiny amount of VB and its more confusing for me :) heheh.
I even think with the full version of Visual Studio you can actually see the C# code.
anw... you probably know this.. :)
ShortFuse
11-27-2006, 06:35 PM
you can get a converter for that....
i think. I know C# and a very very tiny amount of VB and its more confusing for me :) heheh.
I even think with the full version of Visual Studio you can actually see the C# code.
anw... you probably know this.. :)
converters are always spotty. i could sit down and convert the code to C#, but eh.
C# is more powerful/faster, but i'll with VB.NET i'm more sure of the code. stability + features > speed
version 0.2.2 is up.
i rushed this because i didn't have subfolder support when reading from the DS-X. some people couldn't use it. the games will still be copying to the root (x:\apps) because i haven't exactly decided on what folder structure i would want. for that i could just make it open a Windows Explorer window and have people decide on where to move it, etc. but then it's just silly.
IBNobody
11-27-2006, 07:12 PM
I've been thinking of writing a module that backs up saves (on the PC and on the DS-X), but I didn't want to write a gui for it. If I wrote the module and made it .NET compliant, would you consider including it?
roboticas
11-27-2006, 07:43 PM
what are you trying to code. hopefully a linux/mac version, right? hopefully not windows competition. :p i think i'll release the source code soon anyway. i need somebody to convert it to C# as i'm using vb.net atm. not that i don't know C#, but VB is SOOOO much easier/quicker. after it being converted to C#, mac and linux versions for everyone. yay! (mono only works with c# not vb.net)
roboticas, i'm thinking of adding file structure support in the future, but i'm concentrated on user requests and save functionality now. i have the source code of my gamecube image viewer that is like the nds one but can list and extract files from the file system in a tree/node style. interested in that? it's more or less the same, other than the fact that GCM hex isn't backwards as in NDS
Come on! Some competition is always nice and healthy :) . No seriously. Because I am not so familiar with windows programming (I am more into C hardware programming) I found this as a good opportunity to learn some Delphi, which by the way it almost coding on its own!!! heheheh really!
So yes, i am building a windows app, but not for competition :p . Your app looks pretty nice anyway!
So I just started exploring the .nds file, made a simple list GUI to grab all the info out of each file. What I am actually thinking is to do a centralized internet based, ds-x information for each rom, where users would able to post comments (and more) for each one. And integrate that into an app similar to yours. So when one wants to play a rom, he will be able to view what other users have to say about that (corrupted save files for example). I am not really sure, just something to keep me learning :)
Keep up the good work!
ShortFuse
11-27-2006, 07:54 PM
I've been thinking of writing a module that backs up saves (on the PC and on the DS-X), but I didn't want to write a gui for it. If I wrote the module and made it .NET compliant, would you consider including it?
well, i don't see the need, no offense. the save file has the same name as the rom and the first few bytes have the gamecode to distinguish them. i don't have a problem reading the save files and managing them, i just haven't really decided on HOW to organize it. do i put a subfolder on the HD, put it on the DS-X (being that they are really small), do i have mulitple saves? i haven't really thought about it too much. maybe i'll just the saves in x:\saves on the DS-X. maybe somebody can write a program for the DS-X that reads the FAT partition and can move/rename files. you have a save game selector ON the DS-X. but i don't know how to code for the DS-X, but it would be awesome. (no computer needed for swapping saves)
what i mostly need is a a compiled list, (with the gamecode as the key) of maybe link of reviews, compatibility. maybe i'll add another tab. make the first ROM transfer, second, ROM Info, and then, saves. i really need to work on compiling an offline database as reading 500 roms gets tedious.
DjoeN
11-27-2006, 08:49 PM
Much appreciate your work, it's a nice utility lotsa ds-x users will really appriciate.
everything is great so far :D, i love the zip/rar support!
I didn't read all reply's so sorry if anything i named below has already been mentioned :D
---------------------------------------------------------------------------------------
Just a few things i like to tip you on to improve it.
* save screen settings of the file browser same for the ds-x file browser (i have a wide screen and i like to have my screen filled.) (héhé, personal thing)
* be able to set an input folder so whe don't have to browse everytime to the dir
* Save manager would be nice, i saw the screen's are already pressent :D (1 screen pc disk other ds-x disk, option to set the save dir on pc and move between them, more is not needed) (ok option to rename/delete saves would also be nice, but is not really needed :P )
* Why does it always search on my A drive when i change the ds-x drive or when pressing "Refresh" or "Delete" or "Copy to device" ? it's the only program doing this.
Anyway, these are just tips :D
Great job so far!
Siouxsie
11-27-2006, 08:53 PM
Transfer/Info separate tabs sounds wonderful, cause all that info can be useful, but when transferring, you're mainly after the trimmed size, file name and icon =)
I don't have time to try out the new version right now, but I will download it =D Still longing for list database, but it's nice to see you will work on it. And I don't expect you to have the program ready in a weeks work, that's not it. I was just requesting features =)
Edit: Plus, would you mind adding a line of code to delete the temp files before closing the program (or whenever most convenient)? It might not be necessary, but it's not really hard and I don't like the temp files =p If you don't want to, that's fine too. Just wanted to get it "out there". =)
ShortFuse
11-27-2006, 09:02 PM
Plus, would you mind adding a line of code to delete the temp files before closing the program (or whenever most convenient)? It might not be necessary, but it's not really hard and I don't like the temp files =p If you don't want to, that's fine too. Just wanted to get it "out there". =)
that's already in v0.2.2
i think i'm going to make a file with the information, database. at most, 1k per item, meaning maximum 700kb database file so it won't read all the time. it'll read the game code from the file and compare file size and date modified (to make sure it's the same) and then read from db.
After I trimmed Mario Kart and New Super Mario Bros, the download play stopped working even though it worked just fine before I trimmed them (they hang at the Nintendo logo of the recieving DS). However, Star Fox download play works perfectly.
IBNobody
11-27-2006, 09:13 PM
well, i don't see the need, no offense. the save file has the same name as the rom and the first few bytes have the gamecode to distinguish them. i don't have a problem reading the save files and managing them, i just haven't really decided on HOW to organize it. do i put a subfolder on the HD, put it on the DS-X (being that they are really small), do i have mulitple saves?
What I was going to do was have the save data copied to a My "Documents\DS-X Saves" directory, with a .0000 appended to the filename. I would also copy the saves to a backup folder on the DS-X. Local and remote backups are redundant, but I work from 3 PCs.
I realize that backup software already exists, but I want something I can run from my DS-X and doesn't pop up a command window.
I've asked the DS-X guys to add a sequential save feature. It's on the support site. If you like the idea, post a comment there in order show the devs that it's important.
Peachey
11-27-2006, 09:51 PM
Say I take a game off my DSX, with this, will the games save bee stored on the hard disk?
ShortFuse
11-27-2006, 10:03 PM
After I trimmed Mario Kart and New Super Mario Bros, the download play stopped working even though it worked just fine before I trimmed them (they hang at the Nintendo logo of the recieving DS). However, Star Fox download play works perfectly.
very interesting. it seems as though the ROM size in the rom header is specified. now what to do? i looked at the mario kart ds information. the rom size is supposedly is from 0x00000000 to 0x01860B9E but there are still 136 bytes of information after that point. things to look into...
i look into new super mario brothers. it seems this is the download play codes. again, exactly 136bytes are right after the rom size. before that a bunch of 00 00 00 until the very end of the rom size and then has
6163 0100
followed by the remaning 132 bytes (different for each rom)
is this just for games with a DS Download Play(TM) / Wireless Multiboot signature?
maybe the signature is 136 bytes after the application section of the rom
sup191
11-27-2006, 10:40 PM
When I run the new .0.2.2 version, all my game listings look like my attached screenshot. This includes US, Europe, and Japanese games. Any ideas why? Is it a font issue?
ShortFuse
11-27-2006, 10:48 PM
When I run the new .0.2.2 version, all my game listings look like my attached screenshot. This includes US, Europe, and Japanese games. Any ideas why? Is it a font issue?
seems like a font issue. i don't force a font, it's the default for your desktop theme.
ShortFuse
11-27-2006, 11:07 PM
i'm going increase the trim size by an additional 136bytes as the download play information seems to come AFTER the application. that's 4bytes for the 6163 0100 and then the 132bytes of wifi data
sup191
11-27-2006, 11:17 PM
seems like a font issue. i don't force a font, it's the default for your desktop theme.
Hmmm... I'm using the standard Windows XP theme. I think Tahoma is the default font from what I can see. I don't have this problem with any other program. Is anybody else having a font issue with the game titles? :confused:
Hmmm... I'm using the standard Windows XP theme. I think Tahoma is the default font from what I can see. I don't have this problem with any other program. Is anybody else having a font issue with the game titles? :confused:
Yes I'm having the same problem, mite it be that were using Windows XP and not Vista (if that's the theme that ShortFuse is using)??
ShortFuse
11-27-2006, 11:45 PM
Yes I'm having the same problem, mite it be that were using Windows XP and not Vista (if that's the theme that ShortFuse is using)??
copy the contents of the field into something like notepad++ so we can see what the characters are. maybe there aren't regular space character. i don't have that problem...
sup191
11-28-2006, 12:11 AM
copy the contents of the field into something like notepad++ so we can see what the characters are. maybe there aren't regular space character. i don't have that problem...
I just tried version 0.2.1 and the issue only happens to the Japanese titles. The US and Europe titles are fine, so whatever is causing it was introduced in the latest version. I do have Vista installed, but I have about five different windows opened for homework tonight, so I can't reboot atm to test it for the same issue. :(
I'm not exactly sure how to copy the field, but a simple click and ctrl-c yields:
" ELECTROPLANKTON
???????????
Nintendo"
and in hex:
00000000h: 09 45 4C 45 43 54 52 4F 50 4C 41 4E 4B 54 4F 4E ; .ELECTROPLANKTON
00000010h: 0A 20 3F 3F 3F 3F 3F 3F 3F 3F 3F 3F 3F 0A 4E 69 ; . ???????????.Ni
00000020h: 6E 74 65 6E 64 6F 00 00 00 00 00 00 00 00 00 00 ; ntendo
edit:
I should also state the "?"'s are showing up as the blocks in DS-X Manager. There are also many trailing boxes after each company name as shown in my last screenshot, but ctrl-c is not picking them up.
ShortFuse
11-28-2006, 12:14 AM
i put version 0.2.3
i default to arial, which should have unicode
and i also increased the trim size by 186 bytes which should make all your roms on the DS-X appear to be overtrim (as those wifi download play actually might be)
i put version 0.2.3
i default to arial, which should have unicode
and i also increased the trim size by 186 bytes which should make all your roms on the DS-X appear to be overtrim (as those wifi download play actually might be)
It works perfectly fine now, thanks. :D
sup191
11-28-2006, 12:46 AM
i put version 0.2.3
i default to arial, which should have unicode
and i also increased the trim size by 186 bytes which should make all your roms on the DS-X appear to be overtrim (as those wifi download play actually might be)
The new version fixes things a little for me, but I'm still not getting everything to come out perfect. Some Japanese games are still displaying all blocks. Are Japanese chars supposed to show in the name?
Truthfully, I have no problem with my names looking a little goofed up. That's not the main point of the program. It's just a cosmetic thing and I was curious if any other users are experiencing the same issues.
ShortFuse
11-28-2006, 01:05 AM
The new version fixes things a little for me, but I'm still not getting everything to come out perfect. Some Japanese games are still displaying all blocks. Are Japanese chars supposed to show in the name?
Truthfully, I have no problem with my names looking a little goofed up. That's not the main point of the program. It's just a cosmetic thing and I was curious if any other users are experiencing the same issues.
it's definitely the font. i don't have that issue. i'll just include the arial font i use.
in reality, it's 0x00 hex (char 0) that's not being ignored. i can fix that programmatically
look at mine
sup191
11-28-2006, 01:11 AM
it's definitely the font. i don't have that issue. i'll just include the arial font i use.
in reality, it's 0x00 hex (char 0) that's not being ignored. i can fix that programmatically
look at mine
I'm sure there's some funky registry setting on my machine that's causing the issue. I'll try it in Vista later tonight and see what it looks like on there. Like I said before, it's not a huge deal. The trimming and transferring are what's most important. Now if my DS-X would just get here... :)
Actually now that I try it with the Jap titles I see that I'm having the same problem as he is once again :(. I don't think it has anything to do with the fonts since I have not changed or touched my fonts, and I've also tried out the previous versions and I did not have this problem.
EbbTide
11-28-2006, 02:05 AM
The offset was tricky, why is it backwards?
It's little-endian (http://en.wikipedia.org/wiki/Little_endian#Little-endian).
thunderthighs
11-28-2006, 02:21 AM
awesome work mate -- just adding my thanks to the list above.
cosmetic issues aside the nuts n' bolts here are slick. be interesting to see how this develops!
much respect.
DanoruX
11-28-2006, 02:44 AM
Dude the prog kicks ass. If it's not asking too much, care to share the source?
oatmeal
11-28-2006, 04:09 AM
[...}It's just a cosmetic thing and I was curious if any other users are experiencing the same issues.
I have the same problem too...
ShortFuse
11-28-2006, 04:44 AM
i don't want to make it a release and i can't reproduce the problem, so try this for me
This manager is unbelievably useful for just about all DS-X users. The only thing I am hoping to see fixed is the download play compatibility.
DanoruX
11-28-2006, 04:49 AM
About the Japanese character problem - those who have the problem should check if they have asian font support installed, as it may be related. (I'm not sure how unicode works internally in C# and whether it's independant of the OS having unicode installed or not)
oatmeal
11-28-2006, 04:55 AM
i don't want to make it a release and i can't reproduce the problem, so try this for me
Thanks! That version did the trick. Awesome work!
ShortFuse
11-28-2006, 05:14 AM
This manager is unbelievably useful for just about all DS-X users. The only thing I am hoping to see fixed is the download play compatibility.
i thought i fixed it in 0.2.3 because i was overtrimming. what download play isn't working. do you mean, as a result of trimming?
sup191
11-28-2006, 05:43 AM
i don't want to make it a release and i can't reproduce the problem, so try this for me
This test version seems to have fixed the problem for me! (see snap1.jpg)
However, I still get some Japanese titles in all or mostly all blocks. (see snap2.jpg) This I'm guessing is a font problem, although when I view the Arial font on my machine, it shows Japanese characters. :confused:
ShortFuse
11-28-2006, 05:53 AM
yeah, i think it's easier to just include a font
japanese works flawless for me.
i can't include a font though. the limit on this forum is 97.7kb for a zip file. i'm going have to move this to another forum, or get some web hosting. it's strange though. i thought unicode would work for everyone if i put arial
sup191
11-28-2006, 06:24 AM
i can't include a font though. the limit on this forum is 97.7kb for a zip file. i'm going have to move this to another forum, or get some web hosting. it's strange though. i thought unicode would work for everyone if i put arial
You could always rename the .zip file as a .jpg and we could rename it after download. That'll give you just under 1,000kb to work with. :)
Maybe a mod could give you more space for zip files as you are providing a valuable service for DS-X users? <hint hint mods>
edit:
I just noticed that there are no Japanese characters in the Arial font. There ARE Japanese chars in the Arial Unicode MS font however. Could switching your default font to that one solve the problem? I believe Arial Unicode MS is standard in Windows XP.
ShortFuse
11-28-2006, 06:47 AM
let me try that right now. i tried renaming to .jpg but it checks to see if the file is valid
DanoruX
11-28-2006, 06:50 AM
You could use http://www.megaupload.com/
Vincent
11-28-2006, 06:50 AM
Hey there, I had a try on your DSX-Manager and thought that your tool seems pretty neat. I don't own a DS-X myself (yet), but still wanted to give your tool a try and what it does so far it seems to be doing well.
Oh and in response to sup191 :
It might be your Windows language settings (Japanese / Unicode support) since it seems to work fine for me =)
ShortFuse
11-28-2006, 06:56 AM
well, here's a changed version with it using Arial Unicode MS
i also fixed an issue with the filter when making it blank
sup191
11-28-2006, 08:26 AM
well, here's a changed version with it using Arial Unicode MS
i also fixed an issue with the filter when making it blank
Bingo! That did the trick! :) Everything looks perfect now.
I know I could have tried enabling Japanese language support in XP, but most users that run this program would not have that option enabled by default. The good news is that ShortFuse has fixed the problem. I love how simple and small this program is. Thank you ShortFuse for taking the time and effort to put it together.
Now, if the next batch of DS-X's would ship out, I'd be a VERY happy camper!
reety
11-28-2006, 12:30 PM
ShortFuse,
can you try to include a small txt file in your archive with a change log or short release notes ? would be nice to be able to track changes.
great program!
thx
Spirax
11-28-2006, 12:40 PM
thanks a lot for this nice program :)
I would like to make some comments to improve it, it posible.
A config file to remember the last folder and the last drive for DS-X used would be nice
A about menu to show the version used (to be sure we are using the last one) ;)
Regards
Spirax
NinjaFish
11-28-2006, 01:45 PM
ShortFuse, I'm wondering if you could clue me in as to where you found information on decoding the image embedded in the NDS banner. I can't seem to find anything on that for the life of me, and I most certainly don't know enough about images to figure it out on my own.
ShortFuse
11-28-2006, 02:28 PM
ShortFuse, I'm wondering if you could clue me in as to where you found information on decoding the image embedded in the NDS banner. I can't seem to find anything on that for the life of me, and I most certainly don't know enough about images to figure it out on my own.
i couldn't find much either. every documentation i found was almost wrong.
but since i'm a nice guy, here's how i did it in VB.NET
Private Function GetIcon(ByVal NDSTile() As Byte, ByVal NDSPalette() As Byte) As Bitmap
Dim palette(15) As System.Drawing.Color
Dim strtowrite As String = ""
Dim count As Integer = 0
Dim newbitmap As New Bitmap(32, 32)
For i As Integer = 0 To 31
strtowrite = Format(Integer.Parse(Bin(NDSPalette(i + 1))), "00000000") & _
Format(Integer.Parse(Bin(NDSPalette(i + 0))), "00000000")
i += 1
palette(count) = Color.FromArgb(255, (Convert.ToInt16(strtowrite.Substring(11, 5), 2) / 31) * 255, _
(Convert.ToInt16(strtowrite.Substring(6, 5), 2) / 31) * 255, _
(Convert.ToInt16(strtowrite.Substring(1, 5), 2) / 31) * 255)
count += 1
Next
count = 0
For i As Integer = 0 To 15
For y As Integer = (i \ 4) * 8 To (i \ 4) * 8 + 7
For x As Integer = (i Mod 4) * 8 To (i Mod 4) * 8 + 7
Dim palettenum As Integer = 0
If x Mod 2 = 1 Then
If Hex(NDSTile(count)).Length > 1 Then palettenum = Convert.ToInt16(Hex(NDSTile(count))(0), 16)
count += 1
ElseIf Hex(NDSTile(count)).Length > 1 Then
palettenum = Convert.ToInt16(Hex(NDSTile(count))(1), 16)
End If
newbitmap.SetPixel(x, y, palette(palettenum))
Next
Next
Next
Return newbitmap
Private Function Bin(ByVal x As Short) As String
Bin = ""
Do
If x Mod 2 Then
Bin = "1" + Bin
Else
Bin = "0" + Bin
End If
x = x \ 2
If x < 1 Then Exit Do
Loop
End Function
here's how it works. you have your ds banner file, i hope you can find. then from offset 32 (in the banner file) for 512 bytes, you have tile data. every byte holds one pixel. the value just says which palette# to use. 1=1, 2=2...9=9,A=10,B=11,C=12,etc. after that data, you have the palette for 32bytes. for the palette, every two bytes hold the color and has to be read backwards since it's little endian. meaning, 1AFF is read in binary to be FF(11111111) + (00011010) always padded left to be 8 digits per byte. so you have 1111111100011010. for the nds tiles, this means TBBBBBGGGGGRRRRR.
In this case, blue = 11111 which equals 31 (max value), but since it has to be in terms of 255 for color, it's (blue/31) * 255
BLUE = 11111 = 255
Green = 11000 = 197
Red = 11010 = 213
as for transparency, i'm not using it, but you can, if you don't set the transparency for the correct color, you get this fuschia-ish color.
after you can place pixels, the order the tile data comes in 8x8 square pixels, meaning,
it does
1) x: 0-7 from y: 0-7
2) x: 8-15 from y:0-7
3) x: 16-23 from y:0-7
4) x: 24-31 from y:0-7
5) x: 8-15 from y:8-15
6) x: 16-23 from y:8-15
etc, etc, etc.
this is that 4x4 tile data that bottled light was talking about. i think that's everything. oh, and it's a 32x32 16-color image with transparency, so PNG/GIF would be your best bit if converting
DanoruX
11-28-2006, 02:48 PM
You're writing it all in VB.NET? :eek: No offense, but... I'm really tempted to try reverse engineering the thing in C# :cool:
ShortFuse
11-28-2006, 02:51 PM
You're writing it all in VB.NET? :eek: No offense, but... I'm really tempted to try reverse engineering the thing in C# :cool:
we've been through this...
it's easier and quicker to code, and more stable if i write it in vb.net
i'll convert to C# later
DanoruX
11-28-2006, 02:57 PM
we've been through this...
it's easier and quicker to code, and more stable if i write it in vb.net
i'll convert to C# later
I skipped a large part of the thread . :p
But cool that you'll convert it later. :D
Kilcrop
11-28-2006, 03:14 PM
Simply Awesome!
ShortFuse Keep up the good work.
Thanks for all those hours spent for the community!
ShortFuse
11-28-2006, 03:57 PM
Version 0.2.4 is up
Changes
Enhanced Unicode SupportFixed issue when blanking filterSaves last rom directoryUses Full Game Code
NinjaFish
11-28-2006, 04:05 PM
Thanks for that explanation. I'll see if I can't make sense of it. I personally write in C#, so it'll take some interpreting.
ShortFuse
11-28-2006, 04:12 PM
Thanks for that explanation. I'll see if I can't make sense of it. I personally write in C#, so it'll take some interpreting.
i could imagine it's tricky by explanation alone, so that's what i included the source. vb.net is easier to read than C#
the for...next statements are dumbed down. every iteration automatically increments 1, i had to do it an extra time for the palette
NinjaFish
11-28-2006, 05:52 PM
i could imagine it's tricky by explanation alone, so that's what i included the source. vb.net is easier to read than C#
the for...next statements are dumbed down. every iteration automatically increments 1, i had to do it an extra time for the palette
It's not so much the syntax as it is the built in funtions. For example, the "Format" function is something specific to the VB language; in C#, you would have to use an equivalent Framework method or write your own if one is not available. Those are the kind of things I need to sort out. ;)
ShortFuse
11-28-2006, 06:02 PM
It's not so much the syntax as it is the built in funtions. For example, the "Format" function is something specific to the VB language; in C#, you would have to use an equivalent Framework method or write your own if one is not available. Those are the kind of things I need to sort out. ;)
should all be the same. as for formatting the string, just add 0's equal to 8 - length of the strength, but it is the same. String.Format is C#
NinjaFish
11-28-2006, 07:51 PM
should all be the same. as for formatting the string, just add 0's equal to 8 - length of the strength, but it is the same. String.Format is C#
Right, I got that. I was just giving an example of the sort of thing that can trip someone up when going from VB to C# if you're not familiar with VB. I've more or less figured out what you're doing. Now it's all down to implementation.
NotAgOat
11-28-2006, 08:08 PM
Really amazing work man, thanks. Its funny how one of the 'features' of the dsx was how it did not need any software, but its what a lot of people want.
ShortFuse
11-28-2006, 08:37 PM
Really amazing work man, thanks. Its funny how one of the 'features' of the dsx was how it did not need any software, but its what a lot of people want.
sometimes it's still not easy enough :p
people don't like programs because most of the time, it's buggy.
so far i haven't heard of bugs that haven't been fixed in the program. the only one i know of is unplugging the ds-x while doing stuff
O_Negative
11-28-2006, 08:45 PM
Version 0.2.4 is the first I installed, and it looks great. I'm really impressed; this "homebrew" looks better than the commercial software that came with my GBA flashcart.
Keep it up, you are doing great work!
O_Negative
Siouxsie
11-28-2006, 10:13 PM
Yeah, I love tha ability to use my DS-X as a plug-n-play USB device, that's not it - it's just that sometimes it's nice to have a file structure, and the trimming is a lot easier with this program. As previously stated, as soon as the database is implemented, I'm on the train =D
Although the drag/drop support of the device is still one of my favorite features.
BTW, did the download play over-trim work out? Does download play work now? Just curious, not that I use it very often.. but.. yeah..
ShortFuse
11-28-2006, 10:31 PM
BTW, did the download play over-trim work out? Does download play work now? Just curious, not that I use it very often.. but.. yeah..
yeah, i fixed it in v0.2.3
as far as i know, i can't really test it. but i saw i was overtrimming 136bytes, so, yeah should be good.
Siouxsie
11-28-2006, 10:35 PM
Awesome! =)
HousePlant
11-29-2006, 06:08 AM
Awesome piece of software. I love that the DS-X is plug and play as a mass storage device, it simplifies things and in the event your not at home your not without a means of switching out the software, but having a file manager (and more importantly a save manager) as nice as this one is turning out to be can be very useful too.
nuwonda
11-29-2006, 07:02 AM
just curious, why is it this software trims roms while dslazy finds nothing to trim in that same rom?
e.g. if dslazy finds nothing to trim in a say 32mb rom
your software will still trim it down to 30,48mb
second, I need to specify the path each time I start the manager. guess that is just normal for now?
and third, the list does not automatically resize itself to the full window size if you resize the window.
Otherwise, great job!
Cheers,
N.
ps. a favorite list/bookmarking thingy would be cool :)
ShortFuse
11-29-2006, 09:24 AM
just curious, why is it this software trims roms while dslazy finds nothing to trim in that same rom?
e.g. if dslazy finds nothing to trim in a say 32mb rom
your software will still trim it down to 30,48mb
second, I need to specify the path each time I start the manager. guess that is just normal for now?
and third, the list does not automatically resize itself to the full window size if you resize the window.
Otherwise, great job!
Cheers,
N.
ps. a favorite list/bookmarking thingy would be cool :)
1) dslazy works backwards checking for FFs and 00s. check the first or second page of this thread
2 & 3) these issues have been fixed so make sure you're running the latest version
Siouxsie
11-29-2006, 02:50 PM
I started 0.2.4, started scanning through my files, ~200 files into it all, I connected my DS-X and clicked the refresh button next to the drive menu. Now it started running through the zip files really quick all the way until the end, but it didnt find any .nds files to add to the list. The next time I started the program, Windows wanted to send an error report.. I tried copying the error report but it didn't work.. (thought you might want it)
I re-extracted the Manager zip, replacing the dll and exe you've written, and now it works again. I don't know if it would have if I'd restarted it once again though. Since I had the zip I thought I might aswell re-extract it.
A new request of mine is the ability to bring out a little menu by right-clicking any of the column titles in the file list, and in the menu you could choose which columns to show and which not to, I don't see the need to show both file size and cart size, since these are identical.. Actually, I don't need any of them since I always trim the files =)
And.. the DS-X file list, why is this without game icons? And why do the game title and publisher show on the same line on the DS-X, without even a space or dash to separate them. It looks a bit cluttered. Notice, I'm not asking you to change it, I'm asking if you have a reason, and if not - you decide what to do with it.
Also, why does it scan through files from 0-a-z but subfolders from z-a-0?
ShortFuse
11-29-2006, 05:48 PM
I started 0.2.4, started scanning through my files, ~200 files into it all, I connected my DS-X and clicked the refresh button next to the drive menu. Now it started running through the zip files really quick all the way until the end, but it didnt find any .nds files to add to the list. The next time I started the program, Windows wanted to send an error report.. I tried copying the error report but it didn't work.. (thought you might want it)
I re-extracted the Manager zip, replacing the dll and exe you've written, and now it works again. I don't know if it would have if I'd restarted it once again though. Since I had the zip I thought I might aswell re-extract it.
maybe you tried opening the file w/o extracting
A new request of mine is the ability to bring out a little menu by right-clicking any of the column titles in the file list, and in the menu you could choose which columns to show and which not to, I don't see the need to show both file size and cart size, since these are identical.. Actually, I don't need any of them since I always trim the files =)
Not to hard, will remember that for next release
And.. the DS-X file list, why is this without game icons? And why do the game title and publisher show on the same line on the DS-X, without even a space or dash to separate them. It looks a bit cluttered. Notice, I'm not asking you to change it, I'm asking if you have a reason, and if not - you decide what to do with it.
I was using ListViews for both tables, then just the bottom and I don't ListViews allow for multilined cells. i'll move it to datagridview
Also, why does it scan through files from 0-a-z but subfolders from z-a-0?
Seems strange. are you sure it's reading subfolders backwards, or just zip files backwards. It decodes NDS files first, then ZIP files
Siouxsie
11-29-2006, 07:05 PM
list -> grid and right-click menu = great
The error I tried to describe was that when I connected the DS-X via USB in the middle of rom scanning - the status bar at the bottom, showing which file it's reading, started speeding through all files without adding anything to the grid up top.
The rest doesn't really matter, the connection of the DS-X or the action of clicking the drive list refresh button caused the rom searching to fail. I don't know which one of the two, but that was all I did.
Last thing, I don't know if you got me right there either - so I'll explain again; When specifying E:\roms\ and clicking include subfolders, the actual scanning procedure starts in the folder E:\roms\0701-0800\ reading files 0701.zip, 0702.zip, 0703.zip ... 0800.zip. After that it goes to E:\roms\0601-0700\ and reads the files 0601.zip, 0602.zip ... 0700.zip. Making the last file added to the grid 0100.zip. I don't store any games as unzipped .nds-files, so I wouldn't know their priority in this.
It finds all files, but it loads them backwards. It would be better if it read \0001-0100\ first and then kept going in 0-Z order for the folders as well as the files - don't you think?
This is observed both in the little notification at the bottom, showing performed action - and in the grid as the files stack up in this half-backwards order.
Not really a problem, just found it weird, all I have to do is click "sort by file name" when it's completed.
nuwonda
11-29-2006, 07:14 PM
1) dslazy works backwards checking for FFs and 00s. check the first or second page of this thread
2 & 3) these issues have been fixed so make sure you're running the latest version
running 0.2.4 and i still have issues with 2 and 3.
sup191
11-29-2006, 11:34 PM
running 0.2.4 and i still have issues with 2 and 3.
#2 works fine for me. The last directory browsed is remembered.
#3 is not working for me either.
HousePlant
11-30-2006, 05:40 AM
Ditto: #3 still doesnt work on my end as of version 0.2.4.
ShortFuse
11-30-2006, 05:55 AM
Ditto: #3 still doesnt work on my end as of version 0.2.4.
explain automatically resize, you mean the width of the columns, or the table itself. these are two completely different things. in v0.1 the table didn't resize
ShortFuse
11-30-2006, 06:18 AM
Seems like my program is getting more popular.
It was on the front page of Emuboards and DCEmu
http://www.emuboards.com/invision/index.php?showtopic=27828
http://nintendo-ds.dcemu.co.uk/ds-x-manager-for-windows-v0-2-2-44180.html
nuwonda
11-30-2006, 07:00 AM
explain automatically resize, you mean the width of the columns, or the table itself. these are two completely different things. in v0.1 the table didn't resize
the upper table does not get resized to the window size. see attached screenshot.
nb: "tools -> options" does nothing in 0.2.4, that's normal I guess?
nb: you need to refresh the list each time you start the manager since it does not store previously scanned results
sup191
11-30-2006, 07:06 AM
the upper table does not get resized to the window size. see attached screenshot.
That was the smallest screenshot I've ever seen! :)
While the issue of automatic resizing would be nice, it IS only a cosmetic issue. I'd rather see more features added before the little cosmetic issues are looked at. Functionally over looks. Just my opinion. I appreciate the work being done as it is.
Siouxsie
11-30-2006, 12:40 PM
Yes, you have to refresh the file list each startup - the database will be implemented in the future though.
stefer
11-30-2006, 01:13 PM
Seems like my program is getting more popular.
It was on the front page of Emuboards and DCEmu
http://www.emuboards.com/invision/index.php?showtopic=27828
http://nintendo-ds.dcemu.co.uk/ds-x-manager-for-windows-v0-2-2-44180.html
Ha! no wonder since it's such a good application. I give it two thumbs up!
ShortFuse
11-30-2006, 02:52 PM
the upper table does not get resized to the window size. see attached screenshot.
the table does get resized. the columns don't. if the table didn't get resized, the big gray area would stay the same size and you'd have a big off-white emptyness. if you've programmed before, you'd know what i mean, you mean the columns don't resize, not the table. that's been known since i'm going to abandon that soon and just make an INFO tab later. so far there are no bugs, just "incompleteness" that i already knew
and it doesn't save paths if you don't extract to a folder since you need the "DS-X Manager.exe.config" file in the same directory
i can make ridiculously sized images too! :p here's an example of not resizing the table
64scener
11-30-2006, 06:10 PM
Ha! no wonder since it's such a good application. I give it two thumbs up!
it's on 64scener.com aswell... and yeah the program rocks :-)
ShortFuse
11-30-2006, 08:05 PM
it's on 64scener.com aswell... and yeah the program rocks :-)
only problem is, they say:
"Finally some news from the team behind the DS-Xtreme flash card. They've come up..."
this isn't done by DS-X team. it's done by me, a DS-X owner. i said that in the first post because i don't want this to negatively portray the DS-X team.
64scener
11-30-2006, 08:57 PM
Sorry about that... it has been changed.
The DS-X team should be proud of having such a program made for their product :-)
- Acey
alfatreze
12-01-2006, 09:47 PM
If u need info cover shots, game & title screens, head over to
http://www.advance-power.de releases in packs of fifty so it's never really up to date, tough game information is! Appears to use own game nunmbering scheme, but can be overcome by using the info from the game serial!
up to date covers http://nds-roms.com/NDSBoxart.html
They have info for all the released games with the internal codes & everything u can use these to append the correct info & images to each game instead of relying on the name! ( tough i don't know what u were thinking of doing :P) U could add an option to rename the games automatically aswell, also this coul probably be used to separate commercial apps from homebrew wich would be very useful aswell!
They also have databases for gamefront & romcenter, perhaps it's useful aswell!
I've taken notes from the entire thread & I am doing a concept of how the Interface should optimally work, I'll upload the concepts when it's done!
Gizmo
12-02-2006, 08:47 PM
how about a mac version :D
A mac version would be awesome!
Also, what's this Mono you are talking about :P I don't get it.
I haven't got my ds-x yet, but this program would be awesome! It would help a lot with the limited capacity :P
Keep up the good work!
IBNobody
12-02-2006, 10:17 PM
Two suggestions...
1. You need to have a "select all" option for the DS-X list.
2. You need to allow sorting in the DS-X list.
Why use two different list types for the file list and the DS-X list, anyway?
Siouxsie
12-02-2006, 10:54 PM
I can answer that IBN, at first - both were lists. Then ShortFuse decided to change the top one to table (somewhere along where the icons were added I think). He is going to change the bottom list to a table aswell, just haven't gotten around to it yet. I think he said this a few pages back. If I'm wrong, so be it, ShortFuse'll just have to correct me - or you can check back a few pages to see for yourself.
spensercoke
12-02-2006, 11:16 PM
A mac version would be awesome!
Keep up the good work!
indeed it would. I wouldn't have to boot into windows :(
But regardless, great job :D
juggernaut94
12-03-2006, 01:00 AM
its so awesome!!! thnx man
nuwonda
12-03-2006, 02:52 PM
when I start the manager v2.0.4 with a DS-X connected I get the following unhandled exception message:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.OverflowException: Value was either too large or too small for a UInt64.
at System.ParseNumbers.StringToLong(String s, Int32 radix, Int32 flags, Int32* currPos)
at System.Convert.ToInt64(String value, Int32 fromBase)
at DS_X_Manager.Form1.ComboBox1_SelectedIndexChanged( Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChang ed(EventArgs e)
at System.Windows.Forms.ComboBox.set_SelectedIndex(In t32 value)
at DS_X_Manager.Form1.RefreshDSX()
at DS_X_Manager.Form1.Form1_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.ContainerControl.WndProc(Mess age& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
DS-X Manager
Assembly Version: 0.2.3.0
Win32 Version: 0.2.3.0
CodeBase: file:///X:/DS-X%20Manager.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
alfatreze
12-03-2006, 11:31 PM
Here's the Ui mockups I've been working on!
I'm focused on having the maximum amount of information on the first page with plenty of flexibility on how to read and organize app collections. Save is still being very worked on but has basic functionality on main page and complete on it's own tab.
Multiuser support is integrated aswell!
Both details & sync should be collapsible, I'm thinking of adding some method of easily adding files without having to open sync slider! Maybe a basket system!
Sorry for the size, I'm too lazy & couldn't bother to break it apart, mostly 'cause I'm always changing things around & it's a bother to have it formated to export in smaller sizes while maintaining legibility!
Here's an old version, doesnt play so well with all the elements but was an interesting first try, I was trying to get some of the vista explorer style for the .nds details :)
Hope u like the concepts, especially shortfuse of course, give some feedback on both features & mechanics of my concept & interest in wanting me to continue this study!
DanoruX
12-04-2006, 03:26 AM
Great work alfatreze! I'd love to incorporate some of those ideas into my C# alternative....
extremst
12-04-2006, 06:09 AM
the newer version looks real good and very professionally done.
i especially like how the files can be sorted by region and how it shows the sizes of the trimmed and un-trimmed file as well as some info about the region and personal rating.
i'd love to see you guys team up.
Great work alfatreze! I'd love to incorporate some of those ideas into my C# alternative....
show me your skills and tell me what I am doing wrong with the icon reading, thanks :o :
// some fancy palette reading stuff...
Color[] cPalette = new Color[16];
Bitmap newBitmap = new Bitmap(32, 32);
int count = 0;
for (int iP = 0; iP < 32; iP++)
{
strToWrite = Convert.ToString(BitConverter.ToUInt16(bNDSPalette , iP), 2).PadLeft(16, '0');
iP += 1;
decimal iRed = Convert.ToUInt32(strToWrite.Substring(11, 5), 2);
decimal iGreen = Convert.ToUInt32(strToWrite.Substring(6, 5), 2);
decimal iBlue = Convert.ToUInt32(strToWrite.Substring(1, 5), 2);
int iRed2 = Convert.ToInt16(iRed / 31 * 255);
int iGreen2 = Convert.ToInt16(iGreen / 31 * 255);
int iBlue2 = Convert.ToInt16(iBlue / 31 * 255);
cPalette[count] = Color.FromArgb(255, iRed2, iGreen2, iBlue2);
count += 1;
}
// tile drawing stuff...
count = 0;
for (int iC = 0; iC < 16; iC++)
{
for (int y = (iC / 4 * 8); y < (iC / 4 * 8 + 8); y++)
{
for (int x = (iC % 4 * 8); x < (iC % 4 * 8 + 8); x++)
{
int palettEnum = 0;
if (x % 2 == 1)
{
if (bNDSTile[count] > 1)
{
decimal mydec = (bNDSTile[count]);
palettEnum = Convert.ToByte(mydec / 255 * 15);
}
count += 1;
}
else
{
decimal mydec = (bNDSTile[count]);
palettEnum = Convert.ToByte(mydec / 255 * 15);
}
newBitmap.SetPixel(x, y, cPalette[palettEnum]);
//newBitmap.MakeTransparent();
}
}
}
picIcon.Image = newBitmap;
ShortFuse
12-04-2006, 08:33 AM
show me your skills and tell me what I am doing wrong with the icon reading, thanks :o :
it looks pretty much like my code. show me how electroplankton looks when you create the image. you should test by outputting to a txt file before newBitmap.SetPixel(x, y, cPalette[palettEnum]);
that's how i figured it out, (like System.IO.File.AppendAllText("C:\test","x: " + x + " y: " ... etc) with the x, y, paletenum, iC and Count. and by the way, you don't need all those brackets for the for loops.
i'll work on that redesign in a few days as i've gotten pretty busy lately. i wanted to redesign the transfer protocol so i can make a queue list. i actually have a list created in the memory and it iterates each item, but i have to expand that to support added items and removing those that haven't been done. i'm going to have to create a pop up window for that or tabs. not sure. i wanted to keep it below 800x600 (it's 750x550 now). maybe i just got for a fuller 1024x768. who still uses 800x600
it looks pretty much like my code
yeah :) and I'm very happy that you shared this information with us. I'm working for my school at a small csharp headerviewer tool and the icon was the only missing part in it.
I will provide you later with the electroplankton icon file, thanks
and by the way, you don't need all those brackets for the for loops.
I know, thanks. It's just for me to get a clear view to the code :p
alfatreze
12-04-2006, 08:53 AM
Great work alfatreze! I'd love to incorporate some of those ideas into my C# alternative....
By all means feel free to do it!
It's not finished yet tough, I'm not totally pleased with some parts, especially the save management still needs dome work! I may prototype a tabbed variant just to see how it feels, tough I sketched a prototype on paper & didn't feel very solid! The custom lists may prove to take up too much space when there may be no need!
ShortFuse
12-04-2006, 09:10 AM
well, anybody wants to object to moving to 1024x768 from 800x600?
well, anybody wants to object to moving to 1024x768 from 800x600?
I like 800x600 for a windows application and I am sure there are many asia people with a low screen resolution ;)
show me how electroplankton looks when you create the image
here we go :)