OniUnPacker/source: Difference between revisions

Source file list
mNo edit summary
(Source file list)
Line 4: Line 4:
== OniUnPacker source code information ==
== OniUnPacker source code information ==


The source folder contains the following files:
 
=== Source folder ===
 
The source folder contains the following files (ordered alphabetically):
{|border="1" cellspacing="0"
{|border="1" cellspacing="0"
!File
!File
!#bla#
!Description
|-
|-
|test1
|icon2.res
|test2
|Well, don't know myself for sure ... could be the program-icon-resource-file. But don't know if it's still used for compilation.
|-
|OniUnPacker.bdsproj
|Main Delphi project file.
|-
|OniUnPacker.cfg
|Some Delphi configuration parameters for this project. AFAIK it's not really needed to edit/compile the project, but it doesn't hurt to ship it along ;)
|-
|OniUnPacker.dpr
|Main code file. Links to the units etc. Can be used to open the project too.
|-
|OniUnPacker.res
|This one should contain the program icon that's used for compilation.
|-
|Unit1_main.pas/dfm
|Contains the main form and routines for MDI-child managing.
|-
|Unit2_functions.pas
|Collection of global functions.
|-
|Unit3_data.pas
|Global variables, constants, (record) types.
|-
|Unit4_Exporters.pas
|Functions to export (and convert) specific ONI data types.
|-
|Unit5_preview.pas/dfm
|Preview form (currently only for images (TXMP), image maps (TXMB), texture animations (TXAN) and soon UI elements (PSpc)
|-
|Unit6_imgfuncs.pas
|Class TOniImage which provides code for loading, decompressing, decoding, converting, and encoding ONI image files.
|-
|Unit7_txmpreplace.pas/dfm
|TXMP Replacer form.
|-
|Unit8_binedit.pas/dfm
|Binary ONI .dat-file editor with supporting tools like a structure viewer for ONI files and common data type decoder.
|-
|Unit9_data_structures.pas/dfm
|Loads and provides the structure definitions for Binary .dat/.raw editor.
|-
|Unit10_leveldb.pas/dfm
|ONI .dat/.raw <-> OUP level database converter.
|-
|Unit11_extractor.pas/dfm
|Extractor tool for .dat/.raw files.
|-
|Unit12_ValueEdit.pas/dfm
|Provides the value editor for Binary .dat/.raw editor.
|-
|Unit13_rawedit.pas/dfm
|Same as Unit8 but for .raw-files.
|-
|Unit14_settings.pas/dfm
|OUP Settings dialog.
|-
|Unit15_classes.pas/dfm
|ONI data access abstraction classes. Currently for ONIs .dat/.raw files and OUPs level database with Absolute DB backend.
|-
|FOLDER TFileTypeRegistration
|Provides functions to register file-extensions to OUP.
|-
|FOLDER help
|Will be used for the help file project in future.
|}
|}
Note 1: Files which have a .dfm version besides the .pas version are units with forms (windows). Files which that are only there as a .pas are code only, sometimes global functions, some are global classes.
Note 2: File naming will be changed to a new naming scheme in the future.
=== Used third party components ===
blubb




=== Download ===
=== Download ===
You can always get the newest release at [http://chrilly.net/oup/ http://chrilly.net/oup/]. Each archive contains the binary and the complete [[OBD:OUP_source|source code]] (Delphi 2006, should be working with Delphi 2005 too).
You can always get the newest release at [http://chrilly.net/oup/ http://chrilly.net/oup/]. Each archive contains the binary and the complete [[OBD:OUP_source|source code]] (Delphi 2006, should be working with Delphi 2005 too).