Reading ACE file format?

Anyone know of open-source or commercial Java source code or libraries to read ACE-format files? (http://www.winace.com/). They do have a freely available DLL that'll read them... but that means integrating. Hmm.
Thoughts? Thanks,
dwh

Anyone know of open-source or commercial Java source
code or libraries to read ACE-format files?
(http://www.winace.com/). They do have a freely
y available DLL that'll read them... but that means
integrating. Hmm.
Well 'ol boy it looks as if you are in for a spot of JNI. Perhaps one could find a library to read ACE format files but that site declares that their files are in a proprietary format that is not compatible with the ACE format.
"Please note:Although the compression used in both ACE Compressions Libraries offers the same performance regarding compression speed and ratio as the retail version of WinAce, the archive format used in these two Libraries is not fully compatible with the standard ACE format. "
So tally-ho and off to native methods. Good luck chap.

Similar Messages

  • Can Elements 7 read CS4 file formats  ?

    If CS4 has been used to capture HD and develop in-progress sequences (with basic video and audio transitions) and thus Premiere Pro project files *.prproj can they be imported/read by Elements 7 for further work (e.g. on another computer by someone else)?
    For basic video editing tasks, if CS4 formats can be imported/read in Elements 7 are there any specific aspects that may get lost or cause issues (and what are these)?
    And can I assume that the reverse, importing/reading Elements 7 file formats in CS4 is possible and fully transferable.
    Windows XP SP3
    2GB RAM

    Unfortunately, my tests between PrP and PrE were for earlier version:
    PrP2 & PrE4.
    What I found was that PrP2 could Open PrE4 Projects, with only a few glitches. PrE4 yielded an error, "This Project was Done in PrP2. Use That Program to Open This File."
    These were simple Projects, with only a few Titles, Transitions and very limited Effects. There were no Themes, etc. used.
    In PrP2, there were a few things that did not translate from PrE4. One Tilte had animation and text on a Path. These did not come in.
    The PrP2 Project was even less involved, but nothing would Import.
    As Steve says, the Assets will translate well between the two NLE's, but editing work will possibly be limited in one direction, but nothing will Import in the other.
    Good luck,
    Hunt

  • Adobe Reader print file format?

    What is the file format of files pritned from Adobe Reader?

    As mentioned above, every now and then people will see a normal sized dialoge box.  Here are two examples:
    and:
    Regards.

  • Read dynamic file format

    I have a requirement wherein , the source is in the form of .txt files containing data.As per the definition, it is fixed-width file.
    The first field in the data is 'Type'.Based on the value in this field,the file format has to be defined.
    Please help on how to implement this.

    Hi Priyanka,
    We understand that based on the Column value of "Type" the rest of the file columns will vary. Now my question to you is "does all the files have the same number of columns(total count of columns in the file) or will they vary???".
    Regards,
    Naveen

  • How to read XML file format

    Presently calling a webservice to search for customer which generates a XML file. Requirement is to check the XML file format in case of success move to next step and in case of error exit from the application.
    The file generated can have multiple formats as per input supplied.
    Please advise how the file format can be checked.
    Thanks
    anya

    hi anya,
    Try to use FM IDOC_XML_FROM_FILE.
    or check the below code
    data: temp_str type string.
    concatenate '>' cl_abap_char_utilities=>cr_lf '<'><' in XML_STRING with temp_str.
    xml_string is the straing variable to hold the xml .
    now use xml_string to show it in texteditor.
    -Thanks
    Saurabh Goel

  • GSE reader / dataplugin / file format specification?

    Hello colleagues,
    I need to read seismological datafiles stored in GSE format (version 1.0, 2.0, 2.1, ...). I could not locate a dataplugin. I also downloaded a number of GSE specification explanatory PDFs, but am still unable to comprehend it (so many parameters, per-channel header, .,..).
    Anyone having it, or at least having usable specification PDF?
    Thanks in advance,
    R

    Hello,
    I am not really familiazired with GSE files can you attached the file and give more information about it. Maybe that way i can help you.
    Randy @Rscd27@

  • Problem While reading a file in text mode from Unix in ECC 5.0

    Hi Experts,
    I am working on Unicode Upgrade project of ECC5.0.
    Here i got a problem with reading a file format which it does successfully in 4.6 and not in ECC5.0
    My file format was as follows:
    *4 000001862004060300000010###/#######L##########G/##########G/########
    It was successfully converting corresponding field values in 4.6:
    *4
    00000186
    2004
    06
    03
    00000010
    25
    0
    4
    0
    54.75
    0
    54.75
    0.00
    While i am getting some problem in ECC5.0 during conversion of the above line:
    *4 000001862004060300000010###/#######L##########G/##########G/########
    it was consider in the same # values.
    I have used the following statement to open and read dataset.
    OPEN DATASET i_dsn IN LEGACY TEXT MODE FOR INPUT.
    READ DATASET i_dsn INTO pos_rec.
    Thanks for your help.
    Regards,
    Gopinath Addepalli.

    Hi
          You might be facing this problem because of uni code. So while opening or reading the file, there is a statement call ENCODING. Use that option and keep the code page which you want. Then the problem may be solved.
    Thanks & Regards.
    Harish.

  • Are photoshop file format plug-ins supported by the InDesign SDK?

    If not, is it possible to read new file formats into InDesign? Thanks,
    Rob

    I'm trying to import NITF image files. I already have a photoshop file format plugin that can read these images and was hoping that it could (somehow) be used to import images into InDesign as well. It appears as if this is definitely NOT possible.
    My use case is that I'd like to read a NITF image into Photoshop. The images I deal with are typically single channel 16 bit images. I'd like to then use Photoshop to process the image (e.g., brighten certain parts of the histogram and/or crop the image). I'd then like an easy way to get the image into InDesign. My initial thought was to use a function that could just pass it over, but it appears as if that is not possible.
    It looks like I'll either have to figure out if cutting/pasting is acceptable and, if not, save the image to disk and re-read it. Next I must find answers to these questions:
    a) Does the InDesign's SDK API provide the ability add to the list of supported image types that can be imported?
    b) Does InDesign's SDK API provide the ability to create new document save types?
    c) Does it make any sense to use a 16 bit/channel image in InDesign? I notice that it can read a 16 bit tiff file, but there doesn't appear to be any photoshop like controls to adjust the visible dynamic range.
    Thank you all for your help!
    Rob

  • Not reading Canon Files both RAW ( CR2) and JPEG

    I have been a long time user of Lightroom, now have LR 3.4 installed. No serious problems so far and I love using it. For a computer set up, I use a one year old Apple desktop with Lion installed. My problem is that this past week, my LR 3.4 will not read my Canon files, both CR2 and JPEG format. I have tried two different cameras ( 5d Mark ii and 7D ) two different card readers and several different memory cards. LR sees the files, starts to upload them and then on concluding its routine says it cannot read the file format. I am patching together a solution by importing the files through iphoto, exporting them to a file in my LR hierarchy file and then importing them into LR.
    Clearly, this is not good. Has anyone had a similar problem? Can anyone offer a solution?
    Thanks
    Tom 

    You might get more help in the Lightroom forum than here in the Photoshop forum.

  • MT940 File Format

    Hi,
    I am currently working on SAP XI and have been asked to create an interface which converts a file in MT940 format to IDOC.
    I have read on line this SAP R3 can actually read the MT940 format directly and there is no need to do any conversions on it.
    Can anyone confirm this for me? Or if not is there any other way of reading this file format in?
    Thanks

    Yes it does support MT940 format. As an example check program RFEBKA00 or transaction FF_5 for upload of electronic bank statement. One of the recognized formats in MT940 there in the drop down.
    Thanks and regards
    Kedar

  • Incorrect CRC16 value for ACE file

    Hi,
    I am trying to implement a Java app that will read ACE files. These are files that are compressed using an app such as WinAce.
    I have looked at the ACE file structure documentation that says that the first 2 bytes holds the CRC 16-bit for the file header. The header is usually 54-bytes long. The first 2 bytes is the CRC-16. The next two bytes holds the length of important ACE file info. The next single byte up until the end of the header is the section that is read and the CRC is calculated from it. So, for example, if the total header is 55 bytes, the CRC is calculated from bytes 4 to the end 54 (as first byte is 0).
    0      2           4             5                    ...                                54
    |CRC16 | Length    |     00      |  IMPORTANT ACE FILE INFO (BYTES 4 to 54 USED IN CRC16) |
    -------------------------------------------------------------------------------------------However, the CRC calculated by WinAce is "de 06" in hexadecimal and when I calculated the checksum I got "a2 94". I dont know why my checksum is incorrect.
    Here is my entire class that calculates the checksum:
    package org.ace.internals;
    public class CRCDemo
    // calculating 16-bit CRC
         * generator polynomial
        private static final int poly = 0x1021; /* x16 + x12 + x5 + 1 generator polynomial */
        /* 0x8408 used in European X.25 */
         * scrambler lookup table for fast computation.
        private static int[] crcTable = new int[256];
        static
            // initialise scrambler table
            for ( int i = 0; i < 256; i++ )
                int fcs = 0;
                int d = i << 8;
                for ( int k = 0; k < 8; k++ )
                    if ( ((fcs ^ d) & 0x8000) != 0 )
                        fcs = ( fcs << 1 ) ^ poly;
                    else
                        fcs = ( fcs << 1 );
                    d <<= 1;
                    fcs &= 0xffff;
                crcTable[i] = fcs;
         * Calc CRC with cmp method.
         * @param b byte array to compute CRC on
         * @return 16-bit CRC, signed
        public static short cmpCRC( byte[] b )
            // loop, calculating CRC for each byte of the string
            int work = 0xffff;
            for ( int i = 0; i < b.length; i++ )
                work = ( crcTable[( (work >> 8)) & 0xff] ^ ( work << 8 ) ^ ( b[i] & 0xff ) ) & 0xffff;
            return(short)work;
        public static void main(String[] args)
            //The relevant ACE header section that is used to calculate the CRC16
            byte[] bytes = new byte[]
                (byte)0x00, (byte)0x00, (byte)0x90, (byte)0x2a, (byte)0x2a, (byte)0x41,
                (byte)0x43, (byte)0x45, (byte)0x2a, (byte)0x2a, (byte)0x14, (byte)0x14,
                (byte)0x02, (byte)0x00, (byte)0xac, (byte)0x5a, (byte)0xe1, (byte)0x32,
                (byte)0x2b, (byte)0x0d, (byte)0x3e, (byte)0x23, (byte)0x00, (byte)0x00,
                (byte)0x00, (byte)0x00, (byte)0x16, (byte)0x2a, (byte)0x55, (byte)0x4e,
                (byte)0x52, (byte)0x45, (byte)0x47, (byte)0x49, (byte)0x53, (byte)0x54,
                (byte)0x45, (byte)0x52, (byte)0x45, (byte)0x44, (byte)0x20, (byte)0x56,
                (byte)0x45, (byte)0x52, (byte)0x53, (byte)0x49, (byte)0x4f, (byte)0x4e,
                (byte)0x2a
            CRCDemo crcdemo = new CRCDemo();
            short crc16bit = crcdemo.cmpCRC(bytes);
            System.out.println(Integer.toHexString(crc16bit));
    }Any hints and code is much appreciated. Thanks.
    Rizwan

    Hi,
    not sure if WinACE uses the same CRC algorithm and CRC seeds as WinZip.
    But here's a utility class I've been using a long while, which generates the exact CRC values as Winzip.
    regards,
    Owen
    import java.io.FileNotFoundException;
    import java.io.FileInputStream;
    import java.io.BufferedInputStream;
    import java.io.InputStream;
    public class CRC32
        protected static long []CRCTable;
        /* Initial Polynomial values may be choosen at random, in a 32-bit CRC algorithm
         * anything from 0 to 4294967295     ( ( 2 ^ 32 ) - 1 ).
         * However EDB88320 is the exact value used by PKZIP and ARJ, so we generate
         * identical checksums to them.  A nice touch to make testing easier.
        protected final static long CRC32_POLYNOMIAL = 0xEDB88320L;
        protected final static long INITIAL_CRC32    = 0xFFFFFFFFL;
        static
            CRCTable = new long[256];
            int i, j;
            long crc;
            for (i = 0; i <= 255; i++)
                crc = i;
                for (j = 8; j > 0; j--)
                  if ( ( crc & 1 ) != 0 )
                      crc = ( crc >> 1 ) ^ CRC32_POLYNOMIAL;
                  else
                      crc >>= 1;
                CRCTable[ i ] = crc;
        public static long getInitialCRC ( )
            return ( INITIAL_CRC32 );
        public static long calcFileCRC32 ( String filename ) throws Exception
            FileInputStream inputStream = new FileInputStream ( filename );
            CRC32InputStream checksumInputStream = new CRC32InputStream ( inputStream );
            long crc32 = calcFileCRC32 ( checksumInputStream );  // inputStream );
            // long crc32 = calcFileCRC32 ( inputStream );
            long checksum = checksumInputStream.getChecksum();
            System.out.println ("CRC32InputStream : " + Long.toHexString ( checksum ) );
            if ( inputStream != null )
                 inputStream.close();
            return ( crc32 );
        public static long calcFileCRC32 ( InputStream inStream ) throws Exception
            long lCrc = INITIAL_CRC32;
            int iCount = 0;
            byte []buffer = new byte [ 4096 ];
            BufferedInputStream myFastReader = new BufferedInputStream ( inStream );
            while ( ( iCount = myFastReader.read ( buffer ) ) > 0 )
                // lCrc = calculateBufferCRC (buffer, iCount, lCrc);
                lCrc = calculateBufferCRC (buffer, 0, iCount, lCrc);
           lCrc ^= INITIAL_CRC32;
           return ( lCrc );
        public static long calcCRC32 ( String aStr )
            long lCrc = 0;
            if ( aStr != null )
                byte [] strBytes = aStr.getBytes(); // Warning : encoding scheme dependant
                if ( strBytes != null )
                    lCrc = calculateBufferCRC ( strBytes, strBytes.length, 0xFFFFFFFFL );
            return ( lCrc );
        public static long updateCRC ( byte b, long lCrc )
            long temp1 = ( lCrc >> 8 ) & 0x00FFFFFFl;
            long temp2 = CRCTable [ ( (int) lCrc ^ b ) & 0xFF ];
            return ( temp1 ^ temp2 );
        public static long calculateBufferCRC ( byte []pcBuffer, int iCount, long lCrc )
            if ( iCount <= 0 )
                 return ( lCrc );
            int pcIndex = 0;
            long temp1, temp2;
            while (iCount-- != 0)
                temp1 = ( lCrc >> 8 ) & 0x00FFFFFFl;
                temp2 = CRCTable [ ( (int) lCrc ^ pcBuffer[pcIndex++] ) & 0xFF ];
                lCrc = temp1 ^ temp2;
          return ( lCrc );
        public static long calculateBufferCRC ( byte []pcBuffer, int offset, int iCount, long lCrc )
            if ( iCount <= 0 )
                 return ( lCrc );
            int pcIndex = offset;
            long temp1, temp2;
            while (iCount-- != 0)
                temp1 = ( lCrc >> 8 ) & 0x00FFFFFFl;
                temp2 = CRCTable [ ( (int) lCrc ^ pcBuffer[pcIndex++] ) & 0xFF ];
                lCrc = temp1 ^ temp2;
          return ( lCrc );
        public static void main ( String args[] )
            long crc;
            if ( args.length > 0 )
                for ( int i=0; i<args.length; i++ )
                    try
                        // crc = calcCRC32 ( args[i] );
                        crc = calcFileCRC32 ( args[i] );
                        System.out.println ( i + " : " + crc + " ( " + Long.toHexString(crc) + " ) : " + args[i] );
                    catch ( Exception e )
                        e.printStackTrace();
    }

  • Error while opening pdf in reader in windows 8:Can't open this file. There's a problem with file format

    I have a problem with a pdf file which does not open with reader in windows 8 but it opens properly with adobe pdf reader. All other pdf can be opened in reader.But when i open a pdf(see this link for pdf for which i got error http://incometaxsoft.com/temp/Form.pdf)
    it gives error as "Can't open this file. There's a problem with file format".
    The same file opens properly in adobe pdf reader.You can check the pdf file which i have mentioned in the link above.But the reader which comes with windows 8 can open some other pdf in the same PC.What may be the error causing this??

    This has turned out to be an enormous issue for me as I sell PDF files as ebooks. I have done a fair amount of investigating this for my system.
    My files have to be compatible not just across readers but across operating systems.
    To date, I have over 200 PDFs that have functioned flawlessly across Mac, PC (Windows 7 and below), Android, iPhone/iPad, Linux.
    I personally test my PDFs using a variety of readers and PDF editors including
    PDF XChange (my favorite)
    Foxit (runner up for me and I recommend for most people)
    Adobe (the bloated monster)
    Nitro 9 (great for moving graphical elements around)
    ABBYY
    And the Nuance PDF Create toolsets
    Those are off the top of my head. There are a bunch on Android that I test with too.
    I am running the Windows 10 Pro Tech Preview and I have this same problem so I know it isn't fixed yet in any kind of pre-release way (-sigh-)
    Here is what I've learned for my situation
    The PDFs I created using NUANCE'S PDF CREATE PROFESSIONAL VERSION 8
    all fail using the built-in Windows 8/10 PDF reader.
    When I look at the PDF properties for these Nuance created files, the underlying engine used to write them is called "ImageToPDF". Using ABBYY it indicates their own engine as does everyone else that I've tried. It is easy for you to check to see
    what created your PDF by doing a "Control D" (look at the document properties). Perhaps there's a common engine causing issues.
    If I use the exact same source files to create a PDF using any of my other tools I have no issues. I checked the PDF versions made by the tools and they are all set to 1.5.
    A customer mentioned being able to convert them in a way they worked by saving them without having to do any kind of extraction, but I have not been able to duplicate that. Perhaps he did a "print" which seems like it could work.
    In summary, the workaround everyone is talking about, using an alternate reader, of course works. But not everyone wants to change.
     The culprit I have found is my Nuance PDF Creation tools that are using the ImageToPDF engine.
    I hope it gets FIXED as I really don't want to have to regenerate all of my PDF files.

  • Is there the way to use "Highlight File Format" with Acrobat Reader 9.0 or later?

    hi
    Do anyone know the way to use "Highlight File Format" with Acrobat Reader 9.0 later or substitutional way to highlight a PDF file as well as highlight file?
    I want to highlight some words by indicating character's location(from n to m) using Acrobat Reader 6, 7, 8, and 9.
    I use highlight xml file to highlight words in Acrobat 6, 7, and 8.
    http://www.adobe.com/devnet/pdf/pdfs/HighlightFileFormat.pdf
    According to this documents, "External Window Handler Plugin" is required to use highlight file.
    But I cannot find this plugin in Acrobat Reader 9.
    So Acrobat Reader doesn't recognize highlight file.
    Well, I know that there is another way to highlight pdf file. It is called "PDF Open Parameters".
    However this parameters cannot indicate location of characters but words which is to be searched.
    This parameter does not work perfectly to substitute a highlight xml file.
    To satisfy what i want to do, the best solution is that Acrobat Reader 9.0 recognizes highlight xml file.
    But I think it is impossible because of lack of plugin.
    Do anyone know the way to recognize a highlight xml file to 9.0 or another way to highlight some words?
    thanks,
    Asatamax

    The feature is disabled by default in reader 9
    (1) Open Adobe Reader
    (2) Click Edit > Preferences > Search, and
    (3) check the box labelled Enable search highlights from external highlight server.
    (response found here: http://support.dtsearch.com/dts0117.htm)
    I can't imagine why Adobe choose to disable it. It's a bad joke for us at UNESCO (http://unesdoc.unesco.org)

  • File need to be read in different formats( Tab formatted, commas separated)

    Hi All,
    I am reading an input text file which can be in any of the format like tab formatted, commas separated or fixed format. How can i write a code to make it work for all these file format other than writing separately for the above three cases. Kindly suggest.
    Thanks,
    Neslin.

    As far as seperators are concerned you may read entire file to stirng table, then identify separator (i.e. if you find  tab mark, you assume it is tab separated; if you find ";" mark you assume this is a column separator). Use SEARCH or FIND statement and then (after having the separator) loop at string table and split each entry at this separator. If none of the above was find (no separator or fixed one) split according to given fixed format.

  • Using a CWM format XML as datastore; COM SDK to read the file and create Universe

    Hello everyone
    We are in the process of migrating from a metadata store to BusinessObjects Universe and the plan is to use Java/COM SDK to accomplish that. We have run into limitations with both the SDKs. Java SDK doesn't provide that facility and using COM SDK we are trying to read from a XML file (metadata in CWM format) and create the universe but so far haven't been successful. If the (Universe)Designer can read a CWM format xml file (say created from BODS) we are wondering why can't a customer made COM program do the same.
    Has anyone attempted this and been successful. Please acknowledge.
    Thanks

    I have written C#.NET code to build universes on the fly using the Designer SDK with no problems.  However, I wasn't using CWM formatted data to do this.
    I have two suggestions for you:
    1.  Since not all of the functionality in the Designer tool seems to be available through the SDK, can you parse the CWM xml file in your code and build the universe based on the data instead of trying have Designer build it?
    2.  Since you're using Java, you may get better answers by posting this question in the Java SDK Application Development space here:  http://scn.sap.com/community/bi-platform/java-sdk
    -Dell

Maybe you are looking for

  • How do I use Firefox OS on my Android Phone?

    I am MTV Volt by Swipe Telecom which runs on android platform. I want to use Firefox OS on my mobile. How can I do this?

  • Is it possible to remove yellow text background in the entire document?

    I have the same problem as the one that is mentioned here:http://forums.adobe.com/message/1155089 In my case the yellow background is already in the pdf-file which was created with a virtual pdf printer and then manipulated with another pdf-editor. 

  • Inactive pixels, but its not what you think.......

    Just purchased a 5800 Xpress direct from nokia a week ago and have now discovered 3 clusters of inactive pixels comprising of 6, 8, and 10 groups. They are all on the number 1, when in text mode. Now most people, including myself would automatically

  • Client support for Intel Mac

    Does anybody know if and when there will be support for MacOs on Intel Macs for the client libraries?

  • Adding Other Dictionary to Built In Dictionary

    I want to add Chinese - English and English - Chinese dictionary to the built in Dictionary thats made by Apple (Version 2.2.1). I searched all over the web for how to do this and obtain the dictionary I need; however, most of the instructions I get