hỏi về file PRC và PDB

Thảo luận trong 'Lập trình & Đồ hoạ' bắt đầu bởi RapperX, 30/9/05.

  1. RapperX

    RapperX Youtube Master Race

    Tham gia ngày:
    31/8/05
    Bài viết:
    49
    em muôn biết thêm về hai loại file prc và Pdb, có ai biết gì về mấy cái này giúp em với
    cho hỏi làm sao để convert từ các file khác ra hai loại này
     
  2. n00bNo0

    n00bNo0 Donkey Kong

    Tham gia ngày:
    21/12/04
    Bài viết:
    359
    Nơi ở:
    Noob land
    PRC thì em không biết
    Nhưng PDB thì là Program Debug Database là file chứa thông tin debug của 1 chương trình
     
  3. myshinichi

    myshinichi Mario & Luigi

    Tham gia ngày:
    16/8/04
    Bài viết:
    890
    Nơi ở:
    http://microsync.net
    PRC thì em không biết

    Coi ở đây nè : :D

    http://web.mit.edu/tytso/www/pilot/prc-format.html

    Trích 1 phần :D

    Recent Changes to This Document
    Thanks to Ian Goldberg, the format of the RLE compression in the Data resource is now documented.

    Introduction
    Up until now, there really hasn't been a public documentation of the PRC format. This was was frustrating for me since I wanted to write a BFD backend for PRC executables. I tried looking at the sources for some of the alternative software Pilot development programs, such as Pila and prc-tools. Unfortunately, these programs would often treat header fields as "magic", and often different programs would do completely different things with the same fields.

    This document is my attempt to rectify this situation. It is the product of both research into existing implementations, as well as experimentation to clarify some minor points of how the Pilot tools work. Some of my sources include:

    The Pila compiler for Unix
    The obj-res and emit-prc programs from the prc-tools package
    Inside Macintosh
    Any mistakes in this document should be considered my responsibility, however, and not the responsibility of these sources. If you find any mistakes, or have anything to contribute, please contact me via email at tytso@mit.edu.

    High-level format of a PRC file.
    An application for the pilot is simply a Pilot resource database with a number of mandatory resources (CODE 0, CODE 1, DATA 0, PREF 0, etc.) The PRC file, then, is simply the flat file representation of a Pilot resource database. When the PRC file is loaded into the Pilot, it is converted into a resource database using the PalmOS routine dmCreateDatabaseFromImage().

    The PRC format consists of the following major pieces:

    PRC Header
    PRC Resource Headers
    PRC Resources

    PRC header
    The PRC Header is located at the very beginning of the file, and contains the following information:
     
  4. RapperX

    RapperX Youtube Master Race

    Tham gia ngày:
    31/8/05
    Bài viết:
    49
    cam on nhe,
    ban co chuong trinh convert tu file binh thuong sang file hinh Pbd ko, hay la` file film
     
  5. n00bNo0

    n00bNo0 Donkey Kong

    Tham gia ngày:
    21/12/04
    Bài viết:
    359
    Nơi ở:
    Noob land
    Ba này có bị gì hông, viết sai chính tả PDB hay PBD :-??
     
  6. meoden85

    meoden85 Mr & Ms Pac-Man

    Tham gia ngày:
    29/10/03
    Bài viết:
    114
    Theo mình nhớ lâu rồi nên quên hình như là PRC là file chương trình của Palm OS, giống như exe trên windows, còn PDB là file database của Palm OS luôn giống như mdb của access, nếu sai thì thôi cái lâu quá rồi cũng ko nhớ rõ nữa vì chuyển sang xài pocket pc rồi.
    Còn vụ convert ra thì ko biết bạn có thể lên www.palmsource.com chắc địa chỉ này, nó có cái palm SDK đó down về có emulation chạy thử mấy file prc.
     
  7. wildcatkiany

    wildcatkiany Youtube Master Race

    Tham gia ngày:
    23/7/08
    Bài viết:
    6
    prc là file ebook của mobipocket reader còn pbd là file ebook của isilo
     

Chia sẻ trang này