#117006 - alia - Wed Jan 31, 2007 7:09 pm
Hiyas - I am trying to interrogate a .nds file for its ICON but it doesnt seem to have the same layout as described in http://www.bottledlight.com/ds/index.php/FileFormats/NDSFormat
It seems that ROMs have the correct setup (ie my program finds the title ID etc and correct offsets to the image..) but for homebrew it doesnt seem to be set out the same.. wich is a pity cause thats all im interested in! Im assuming this is easily explained but i havent yet found it.
Looking at a dump of the rom in XVI32 i can see the layout as explained above - it must have something simmilar for HB but offset somehow.. *ponder*
Also since we're on the topic.. has someone already written software that pulls the ICONS out of all their ROMs?
DSThumb
------------
The idea is for each of the .nds files to show up in explorer as a thumbnail or with the icon from the game Its just a plugin DLL for Thumbview.
I needed a break from coding game code ;)
ideas? hints?
cheers
Alia
#117041 - tepples - Wed Jan 31, 2007 10:18 pm
A lot of homebrew developers don't bother customizing their programs' icons.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#117049 - alia - Wed Jan 31, 2007 11:21 pm
tepples wrote: |
A lot of homebrew developers don't bother customizing their programs' icons. |
heh, thats ok.. Enough do to make it worth while for me - besides, I always customise mine and its quite simple once I get this sorted out - Ive already got it half working for the wifi logo.
:)
#117070 - Lynx - Thu Feb 01, 2007 1:13 am
alia wrote: |
Looking at a dump of the rom in XVI32 i can see the layout as explained BLAH BLAH BLAH |
So, what homebrew have you dumped? Last I checked, homebrew !=backup/warez. And I haven't heard of anyone dumping a homebrew rom.. Post news, I think you just might be the first.
Quote: |
Enough do to make it worth while for me |
*COUGHBULLSH!TCOUGH*
/endBS
Aka, I want the illegally downloaded warez roms icons to display in the directory where I save all my illegally downloaded warez roms. Cause, wouldn't that be cool? Look.. there's a picture of mario instead of just a standard file image on SuperMario64.nds!.. Oh, did I say SM64DS? What I really meant was DSOrganize.. yeah.. that's it.
Tepples, why even respond? Just delete the post!
_________________
NDS Homebrew Roms & Reviews
#117080 - tepples - Thu Feb 01, 2007 1:49 am
Lynx wrote: |
alia wrote: | Looking at a dump of the rom in XVI32 i can see the layout as explained BLAH BLAH BLAH |
So, what homebrew have you dumped? Last I checked, homebrew !=backup/warez. And I haven't heard of anyone dumping a homebrew rom |
Like Gbadev.org 2004Mbit Competition for GBA, which was distributed on cartridges before it was distributed through downloads? Besides, "dump" in the context of a hex editor's view can easily mean hex dump, not a backup.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#117086 - chishm - Thu Feb 01, 2007 3:37 am
Lynx wrote: |
alia wrote: | Looking at a dump of the rom in XVI32 i can see the layout as explained BLAH BLAH BLAH |
So, what homebrew have you dumped? Last I checked, homebrew !=backup/warez. And I haven't heard of anyone dumping a homebrew rom.. Post news, I think you just might be the first. |
Actually, I think alia was legitimate in his request. He explained that he was trying to get HB ROMs to show an icon, but he couldn't find where the icon is. He then went on to say that commercial dumps do work, and wondered why HB doesn't. I think in this case, the dumps come under fair-use reverse-engineering more than piracy.
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com
#117087 - alia - Thu Feb 01, 2007 5:01 am
Edit:
Quote: |
So, what homebrew have you dumped? Last I checked, homebrew !=backup/warez. And I haven't heard of anyone dumping a homebrew rom.. Post news, I think you just might be the first.
|
Actually it was serveral .nds generated by typing make or pressing F7 in visual studio.. comprende?
Seriously - I dont give a fsck about commercial roms.. all I want is to see MY HB appear with a different icon for each one. Its programming for programming sake. Im _not_ asking for the format of commercial roms - Im asking for the format of the HB .nds files.
If anyone has anything constructive to add - please chime in.
:)
A.
#117088 - alia - Thu Feb 01, 2007 5:09 am
p.s. chishm: Did you goto CHS/Lake G?
#117092 - HyperHacker - Thu Feb 01, 2007 6:14 am
I add icons to mine, though they're usually just the word "TODO". :-p I'd like to see this project done, maybe it would encourage more people to add icons.
BTW, DSOrganize shows them, last I checked its source is available.
_________________
I'm a PSP hacker now, but I still <3 DS.
#117099 - alia - Thu Feb 01, 2007 8:18 am
HyperHacker wrote: |
BTW, DSOrganize shows them, last I checked its source is available. |
Gah! Thanks! I cant believe I missed that one!
w00t
#117100 - chishm - Thu Feb 01, 2007 8:20 am
alia wrote: |
p.s. chishm: Did you goto CHS/Lake G? |
Lanyon High / Lake Tuggeranong College. Why'd'ya ask?
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com
#117101 - MaHe - Thu Feb 01, 2007 8:56 am
alia wrote: |
tepples wrote: | A lot of homebrew developers don't bother customizing their programs' icons. |
heh, thats ok.. Enough do to make it worth while for me - besides, I always customise mine and its quite simple once I get this sorted out - Ive already got it half working for the wifi logo.
:) |
How do you customize them? I would like to do that too, since the M3 Lite and R4 DS show icons in the menu, but it looks kinda bad, because half of the files don't have the proper icons and/or descriptions ...
_________________
[ Crimson and Black Nintendo DS Lite | CycloDS Evolution | EZ-Flash 3-in-1 | 1 GB Transcend microSD ]
#117102 - alia - Thu Feb 01, 2007 9:31 am
chishm wrote: |
Lanyon High / Lake Tuggeranong College. Why'd'ya ask? |
Oh just wonderin.. thats where i went for HS :)
MaHe wrote: |
How do you customize them? I would like to do that too, since the M3 Lite and R4 DS show icons in the menu, but it looks kinda bad, because half of the files don't have the proper icons and/or descriptions ... |
So far ive only done it with palib (by modifying the makefile to point to a different set of bitmaps LOGO=blah) but im sure you can do something similar with ndstool since thats what the makefile calls.
#117108 - chishm - Thu Feb 01, 2007 10:47 am
alia wrote: |
chishm wrote: | Lanyon High / Lake Tuggeranong College. Why'd'ya ask? |
Oh just wonderin.. thats where i went for HS :) |
Another Canberran, eh? What a small world...
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com
#117114 - alia - Thu Feb 01, 2007 11:38 am
[Images not permitted - Click here to view it]
Not quite there yet.. but definately progress! The coloured images below are what the icons are supposed to be like.
A.
#117118 - JessTicular - Thu Feb 01, 2007 12:59 pm
Sorry to stay off-topic but...
I'm from the Central Coast (NSW), but I go to Uni at Bathurst, nice and close to Canberra ;)
_________________
Nintendo DS & Dominos :: DS Dominos
http://jt0.org
#117199 - alia - Fri Feb 02, 2007 9:28 am
:-) tis a small world
So its semi working - just have to fix those colours and do some image manipulation. (for different bit depths/icon sizes etc)
1. Go download Thumbview http://www.seriema.net/thumbview/
2. add The dsthumb.dll extracter to C:\Program Files\ThumbView 1.0\extractors
A.
#117205 - HyperHacker - Fri Feb 02, 2007 10:10 am
I add my icons, WMB logo, and description like so:
ndstool -c program.nds -7 arm7.bin -9 arm9.bin -o logo.bmp -b icon.bmp "Program description line 1;line 2;line 3"
_________________
I'm a PSP hacker now, but I still <3 DS.
#117239 - alia - Fri Feb 02, 2007 6:52 pm
Ack im lame - it only works for 32bit colour of course - cause i forgot to remove the hardcoded bit depth.
gah!