English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 09 July 2006, 06:37   #1
redblade
Zone Friend
 
redblade's Avatar
 
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 .
redblade is offline  
Old 09 July 2006, 08:58   #2
thomas
Registered User
 
thomas's Avatar
 
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.
thomas is online now  
Old 10 July 2006, 08:08   #3
redblade
Zone Friend
 
redblade's Avatar
 
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.
redblade is offline  
Old 31 July 2006, 14:16   #4
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
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.
StingRay is offline  
Old 31 July 2006, 19:03   #5
FlashFF
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?
FlashFF is offline  
Old 27 August 2006, 11:17   #6
HCF
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 */
};
HCF is offline  
Old 28 August 2006, 09:11   #7
redblade
Zone Friend
 
redblade's Avatar
 
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.
redblade is offline  
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:19.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07525 seconds with 15 queries