09 July 2006, 06:37 | #1 |
Zone Friend
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
|
icon .info dissassembly
Hi.
Does any one here have a dissassembly of a .info file? I tried opening it up on Resource but nothing came up as expected (I was hoping that it would break the file into longword pointers). I'm guessing that some where in the .info file would be 2 longword pointers to the bitmap data of it being selected and unselected. I've looked on google groups but didn't find any info on there . |
09 July 2006, 08:58 | #2 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,985
|
There is no code in these files, you cannot disassemble anything. There are just raw data structures stored one after the other. Pointers in these structures are not valid of course, but only are used as booleans: non-null means the structure is present in the file.
See include:workbench/workbench.h for a description of the structures. |
10 July 2006, 08:08 | #3 |
Zone Friend
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
|
thank you.
I knew there was no code, I was hoping that ReSource would dc.l the raw data structures. |
31 July 2006, 14:16 | #4 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
It's actually no problem to do this. Just set the data type to "longwords" and there you go.
|
31 July 2006, 19:03 | #5 |
Zone Friend
Join Date: May 2006
Location: UK
Posts: 14
|
Does anyone have a link to the actual technical layout of the amigo .info file format at all?
|
27 August 2006, 11:17 | #6 |
Zone Friend
Join Date: Oct 2004
Location: here
Age: 54
Posts: 97
|
This ? struct DiskObject
{ UWORD do_Magic; /* magic number at start of file */ UWORD do_Version; /* so we can change structure */ struct Gadget do_Gadget; /* a copy of in core gadget */ UBYTE do_Type; char *do_DefaultTool; char **do_ToolTypes; LONG do_CurrentX; LONG do_CurrentY; struct DrawerData *do_DrawerData; char *do_ToolWindow; /* only applies to tools */ LONG do_StackSize; /* only applies to tools */ }; |
28 August 2006, 09:11 | #7 |
Zone Friend
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
|
HCF yeah that is right that's from the workbench.i include.
I started dissassembling one didn't get that far, mainly just found the words which deteremined the pixel height and width. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PNG Icon to Color Icon Converter? | Leandro Jardim | request.Apps | 1 | 24 May 2010 04:39 |
def_disk.info, def_Kick.info and def_CF0 | fc.studio | support.Apps | 4 | 09 January 2010 23:49 |
info on creating info files icons ? | Dimlow | New to Emulation or Amiga scene | 10 | 16 July 2008 19:28 |
Icon Updater | jimbo100 | support.Apps | 7 | 16 January 2008 19:09 |
Best Icon Dockbar ? | MSC | request.Apps | 0 | 17 October 2004 23:08 |
|
|