1

A l'aiiiiide !!!!

comment fait on pour extraine une icone d'un fxe ????


j'ai dl unfxe, mais pas moyen d'extraire !!! a chaque fois il me fais un fichier illisible


quelqu'un peut il me dire commment faire, la ligne de commande et quel prog !????


merci.
Venez sur http://www.peer2p.com
Tres bonne ambiance ! vous trouverz tout ce que vous voullez !

2

Axialis AXIcons.
Tu cherche sur Google.
Voilà
C'est tout.

3

lol le ptit marrant, j'ai pas dit une icone d'un exe mais d'un fihier fxe ... tu sais les fichier de gp32 !!!!


Venez sur http://www.peer2p.com
Tres bonne ambiance ! vous trouverz tout ce que vous voullez !

4

je dis ca comme ca, j'y connais rien, mais... t'as essayé? ca marche peut etre?
vive la GP32, la NGPC et la Zodiac (enfin pour cette derniere attendons un peu que des tres bons softs sortent et marchent au top)

5

Avec le format des FXe tu t'en sort
y'a ça dans je sais plus quelle doc, je vais chercher pour toi smile
Plis fòs ba pengwen là !

mon site: http://www.slubman.info/
partie GP32: http://www.slubman.info/gp32
partie TI: http://www.slubman.info/ti

6

ca c'est super cool merci slubman !!!

moi j'ai pas trouvé ... meme avec unfxe y'a rien a faire !
Venez sur http://www.peer2p.com
Tres bonne ambiance ! vous trouverz tout ce que vous voullez !

7

ca marche pas ?
Venez sur http://www.peer2p.com
Tres bonne ambiance ! vous trouverz tout ce que vous voullez !

8

Ben g pas retrouvé la doc, mais d'après mes souvenir, y'a un en-tête dévutant par "fxe " suivi de la taille du fichier sur 4 octets, du titre qui apparait dans le free_launcher sur 32 octets, d'un autre champs de cette taille (32 octets), d'un champ de 16 (ou 15) octets et enfin d'e l'icôn sur 32*32 octest smile
Je vais continuer à te cehrcher la doc grin
Plis fòs ba pengwen là !

mon site: http://www.slubman.info/
partie GP32: http://www.slubman.info/gp32
partie TI: http://www.slubman.info/ti

9

ok cool sympa merci !
Venez sur http://www.peer2p.com
Tres bonne ambiance ! vous trouverz tout ce que vous voullez !

10

//
// Fxe-header structure - all numbers are in little-endian:
//
// +---+---+---+---+
// |'f'|'x'|'e'|' '|
// +---+---+---+---+
//
// +---+---+---+---+
// | TOTALFILESIZE | == 4 + 4 + 4 + 32 + 32 + 16 + 1024 + 4 + 4 + FILESIZE == FILESIZE + 0x464
// +---+---+---+---+
//
// +---+---+---+---+
// | INFOSIZE | == 4 + 32 + 32 + 16 + 1024 = 0x454
// +---+---+---+---+
//
// +-============================-+
// | 32 Bytes Game name string |
// +-============================-+
//
// +-============================-+
// | 32 Bytes Author name string |
// +-============================-+
//
// +-=======================-+
// | 16 Bytes Reserved Area |
// +-=======================-+
//
// +-============================-+
// | 1024 Bytes 32x32 pixels icon |
// +-============================-+
//
// The icon is a BMP without any headers.
// The BMP depth is 8bits.
//
// +---+---+---+---+
// | FILESIZE |
// +---+---+---+---+
//
// +---+---+---+---+
// | KEYSIZE |
// +---+---+---+---+
//
// +-===============================-+
// | KEYSIZE Bytes of encryption key |
// +-===============================-+
//
// +-===============================-+
// | FILESIZE Bytes of encryted data |
// +-===============================-+
//
// And when decoded into memory..
//
// +-===============================================-+
// | KEYSIZE Bytes of encryption key XORed with 0xff |
// +-===============================================-+
//
TI-NSpire Pwned !

Thx ya all...thx ExtendeD.

...The rebirth of the community...

11

Voila !

// // UnFxe v0.2 (c) 2002 Jouni 'Mr.Spiv' Korhonen // // // - Requires C99 compliant compiler.. or a twisted gcc // // // #include <stdio.h> //#include <stdint.h> #include <ctype.h> #include <unistd.h> #include "bitutils.h" // // Fxe-header structure - all numbers are in little-endian: // //    +---+---+---+---+ //    |'f'|'x'|'e'|' '| //    +---+---+---+---+ // //    +---+---+---+---+ //    | TOTALFILESIZE | == 4 + 4 + 4 + 32 + 32 + 16 + 1024 + 4 + 4 + FILESIZE == FILESIZE + 0x464 //    +---+---+---+---+ // //    +---+---+---+---+ //    |   INFOSIZE    | == 4 + 32 + 32 + 16 + 1024 = 0x454 //    +---+---+---+---+ // //    +-============================-+ //    | 32 Bytes Game name string    | //    +-============================-+ // //    +-============================-+ //    | 32 Bytes Author name string  | //    +-============================-+ // //    +-=======================-+ //    | 16 Bytes Reserved Area  | //    +-=======================-+ // //    +-============================-+ //    | 1024 Bytes 32x32 pixels icon | //    +-============================-+ //     //      The icon is a BMP without any headers.    //      The BMP depth is 8bits. // //    +---+---+---+---+ //    |   FILESIZE    | //    +---+---+---+---+ // //    +---+---+---+---+ //    |    KEYSIZE    | //    +---+---+---+---+ // //    +-===============================-+ //    | KEYSIZE Bytes of encryption key | //    +-===============================-+ // //    +-===============================-+ //    | FILESIZE Bytes of encryted data | //    +-===============================-+ // //    And when decoded into memory.. // //    +-===============================================-+ //    | KEYSIZE Bytes of encryption key XORed with 0xff | //    +-===============================================-+ // // // // // // // #define FXE_HEADER_SIZE (4+4+4+4+4+32+32+16+1024) #define CH(p) ( isprint(*(p)) ? *(p) : '.' ) //  static char author[32]; static char title[32]; static unsigned char reserved[16]; static unsigned char icon[1024]; static unsigned char *key = NULL; static unsigned char *fxedata = NULL; static int keylen; static int filelen; static FILE *fh = NULL; static FILE *fh_gxb = NULL; static FILE *fh_icn = NULL; static FILE *fh_key = NULL; static int addkey = 0; // // Decrypt buffer fxe data with the supplied key.. // // // static void fix_key( long klen, unsigned char *key ) {      long n = 0;      while (n < klen) {           key[n++] ^= 0xff;      } } static void decrypt_buffer( long klen, const unsigned char *key,                            long blen, unsigned char *buf ) {      long n = 0;            while (n < blen) {           //unsigned char c = buf[n] ^ 0xff;     // MVN :)           unsigned char c = buf[n];           buf[n] = c ^ key[n % klen];           n++;      } } // // cleanup.. // // // // static void cleanup( void ) {      if (key) { free(key); }      if (fxedata) { free(fxedata); }      if (fh) { fclose(fh); }      if (fh_gxb) { fclose(fh_gxb); }      if (fh_icn) { fclose(fh_icn); }      if (fh_key) { fclose(fh_key); } } // // parse fxe-header.. // // // // static int parse_fxe( FILE *fh ) {      unsigned char buf[FXE_HEADER_SIZE];      unsigned long x;      unsigned char *p;      int n;      if (fread(buf,1,FXE_HEADER_SIZE,fh) != FXE_HEADER_SIZE) {           // read error or something..           fprintf(stderr,"*** failed to read %d bytes..\n",FXE_HEADER_SIZE);           return -1;      }      // check if it's fxe..      if (strncmp(buf,"fxe ",4)) {           fprintf(stderr,"*** Not an FXE file..\n");           return -1;      }      // read & output some info stuff..      p = buf+4;      GETL_LE(p,x); printf("Total FXE file size is %d bytes\n",x);      GETL_LE(p,x); printf("FXE info size is %d bytes\n",x);      memcpy(title,p,32); p += 32;      memcpy(author,p,32);  p += 32;      memcpy(reserved,p,16);      printf("Game title:  %-32s\n",title);      printf("Game author: %-32s\n",author);      printf("Reserved:    ");      printf("%02X%02X%02X%02X %02X%02X%02X%02X "            "%02X%02X%02X%02X %02X%02X%02X%02X  ",            *(p+0),*(p+1),*(p+2),*(p+3),*(p+4),*(p+5),*(p+6),*(p+7),            *(p+8),*(p+9),*(p+10),*(p+11),*(p+12),*(p+13),*(p+14),*(p+15));     printf("'%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c'\n",            CH(p+0),CH(p+1),CH(p+2),CH(p+3),CH(p+4),CH(p+5),CH(p+6),CH(p+7),            CH(p+8),CH(p+9),CH(p+10),CH(p+11),            CH(p+12),CH(p+13),CH(p+14),CH(p+15));      p += 16;      // Icon.. size is 32x32 == 1024 bytes            memcpy(icon,p,1024); p += 1024;      // file size            GETL_LE(p,x); printf("FXE file data size is %d bytes\n",x);      filelen = x;            // keysize      GETL_LE(p,x); printf("FXE encryption key size is %d bytes\n",x);      keylen = x;      return 0; } ////////////////////////////////////////////////////////////////////////////// // // Description: //  Usage.. // // Parameters: // Returns: // ////////////////////////////////////////////////////////////////////////////// static void usage( char **argv ) {   fprintf(stderr,     "Usage: %s [-options] fxe-file\n"                           "  Options are:\n"                           "    o filename - output file name for AFX/GXB file\n"                           "    k filename - save encryption key (XORed with 0xff)\n"                           "    i filename - save icon\n"                           "    g          - add encrytion key to tail of GXB file\n"                           "    h          - help -> this output\n",argv[0]);   exit(1); } // // Main.. tube & spaghetti code :) // // // int main( int argc, char **argv ) {      int ch;      if (atexit(cleanup)) {           fprintf(stderr,"*** Failed to install cleanup function..\n");           exit(1);      }      //      // Check commandline options..      //      while ((ch = getopt(argc,argv,"k:i:go:h")) != -1) {           switch (ch) {           case 'k':     // Open key file..                if ((fh_key = fopen(optarg,"w+b")) == NULL) {                     fprintf(stderr,"*** Failed to open file '%s'..\n",argv[4]);                     exit(1);                }                break;           case 'i':     // Open icon file..                if ((fh_icn = fopen(optarg,"w+b")) == NULL) {                     fprintf(stderr,"*** Failed to open file '%s'..\n",argv[3]);                     exit(1);                }                break;           case 'g':                addkey = 1;                break;           case 'o':     // Open afx/gxb file..                if ((fh_gxb = fopen(optarg,"w+b")) == NULL) {                     fprintf(stderr,"*** Failed to open file '%s'..\n",argv[2]);                     exit(1);                }                break;           case '?':           case 'h':           default:                usage(argv);           }      }      if (optind >= argc) {           usage(argv);           return 0;      }      //      // Greetings..      //      printf("UnFxe v0.2 (c) 2002 Jouni 'Mr.Spiv' Korhonen\n\n");      // Open fxe..            if ((fh = fopen(argv[optind],"r+b")) == NULL) {           fprintf(stderr,"*** Failed to open file '%s'..\n",argv[1]);           exit(1);      }      // parse the fxe header..                 if (parse_fxe(fh)) { exit(1); }      // write icon..      if (fh_icn) {           if (fwrite(icon,1,1024,fh_icn) != 1024) {                fprintf(stderr,"*** Failed to write icon data..\n");                exit(1);           }      }      //      // Read in the encryption key...      //      if ((key = (unsigned char *)malloc(keylen)) == NULL) {           fprintf(stderr,"*** malloc() failed..\n");           exit(1);      }      if (fread(key,1,keylen,fh) != keylen) {           fprintf(stderr,"*** Failed to read encryption key..\n");           exit(1);      }      fix_key(keylen,key);      if (fh_key) {           if (fwrite(key,1,keylen,fh_key) != keylen) {                fprintf(stderr,"*** Failed to write encryption key..\n");                exit(1);           }      }      //      // Read data & decrypt it..      //      if ((fxedata = (unsigned char *)malloc(filelen)) == NULL) {           fprintf(stderr,"*** malloc() failed..\n");           exit(1);      }      if (fread(fxedata,1,filelen,fh) != filelen) {           fprintf(stderr,"*** Failed to read fxe data..\n");           exit(1);      }      decrypt_buffer( keylen, key, filelen, fxedata );       if (fh_gxb) {           if (fwrite(fxedata,1,filelen,fh_gxb) != filelen) {                fprintf(stderr,"*** Failed to write encrypted fxe data..\n");                exit(1);           }           if (addkey) {                if (fwrite(key,1,keylen,fh_gxb) != keylen) {                     fprintf(stderr,"*** Failed to write encryption key..\n");                     exit(1);                }           }      }      // done..            printf("Done..\n");      return 0; }


Je peut rien faire de plus.
TI-NSpire Pwned !

Thx ya all...thx ExtendeD.

...The rebirth of the community...

12

ouai ok c cool mais j'en fais coi de ton truc la ????

ca m'aide pas des masse !
Venez sur http://www.peer2p.com
Tres bonne ambiance ! vous trouverz tout ce que vous voullez !

13

Ben tu veut que je te fasse le prog de décompression, que je te donne mon slip et ma maison ?!

Tu voulait la doc, je l'ai mise, tu as les sources, tu connais l'header, tu peut extraire ton icones maintenant.
TI-NSpire Pwned !

Thx ya all...thx ExtendeD.

...The rebirth of the community...

14

je pe extraire l'icone ????

nan pas trop !!!! la doc est cool, mais ca me dit tjours pas comment on fait pourextraire l'icone !!

avec quel prog et comment !?
Venez sur http://www.peer2p.com
Tres bonne ambiance ! vous trouverz tout ce que vous voullez !

15

Ben si tu ne vois pas je peux pas t'aider.

Tu sais ce que c'est qu'un éditeur Hexa ?!
Pouquoi tu veux tout le temps un prog pour faire ce que tu veux faire ?!
TI-NSpire Pwned !

Thx ya all...thx ExtendeD.

...The rebirth of the community...

16

bon je vais essayer avec un editeur hexa mais je vois pas trop comment !
Venez sur http://www.peer2p.com
Tres bonne ambiance ! vous trouverz tout ce que vous voullez !

17

...
TI-NSpire Pwned !

Thx ya all...thx ExtendeD.

...The rebirth of the community...

18

mouai bon c cool mais je vois pas trop comment on extrai l'icone avec un editeur hexa !
Venez sur http://www.peer2p.com
Tres bonne ambiance ! vous trouverz tout ce que vous voullez !

19

Tu lis les octets avec un prog smile
Par exemple tu fais un prog qui lit les octets correspondant à l'icône et ensuite tu les converti en un format exploitable smile
Plis fòs ba pengwen là !

mon site: http://www.slubman.info/
partie GP32: http://www.slubman.info/gp32
partie TI: http://www.slubman.info/ti

20

ouai super !!!

...

je sais pas programmer c pour ca que je demande comment faire pour extraire une icone lol
Venez sur http://www.peer2p.com
Tres bonne ambiance ! vous trouverz tout ce que vous voullez !

21

Tu l'as pas dis ça que tu sais pas programmer tongue
Plis fòs ba pengwen là !

mon site: http://www.slubman.info/
partie GP32: http://www.slubman.info/gp32
partie TI: http://www.slubman.info/ti

22

y a pas besoin de savoir coder bordel
tu prend un éditeur exa


tu ouvre le fichier fxe
tu ouvre un fichier txt
to copie l'header et les donné de l'icone du fxe a la place des données du fichier txt, save as jpg et le tour est joué.
TI-NSpire Pwned !

Thx ya all...thx ExtendeD.

...The rebirth of the community...

23

whaou compliké ca je vais essayer !
Venez sur http://www.peer2p.com
Tres bonne ambiance ! vous trouverz tout ce que vous voullez !

24

c trop cho !
Venez sur http://www.peer2p.com
Tres bonne ambiance ! vous trouverz tout ce que vous voullez !

25

bon j'ai rien capté avec l'hexa

je sais pas ou s'arrete l'header et ou commence et s'arrete les donnée de l'images!!


pouvez pas me donner un exemple ???
Venez sur http://www.peer2p.com
Tres bonne ambiance ! vous trouverz tout ce que vous voullez !