home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 63 / CDACTUAL63.iso / Aplicaciones / DarkBasic / DemoDarkBasic.exe / help / formats.txt < prev    next >
Encoding:
Text File  |  1999-12-07  |  3.0 KB  |  65 lines

  1. Media File Formats:
  2.  
  3. Media files are used to provide external resources for your program and are stored in
  4. special file formats that represent the kind of media you wish to use:
  5.  
  6.   X : 3D Object File - use LOAD OBJECT
  7. XOF : 3D Object File - use LOAD OBJECT
  8. 3DS : 3D Object File - use LOAD OBJECT
  9. BMP : Bitmap File    - use LOAD BITMAP
  10. AVI : Animation File - use LOAD ANIMATION
  11. WAV : Sound File     - use LOAD SOUND
  12. MID : Music File     - use LOAD MUSIC
  13. ARR : Array File     - use LOAD ARRAY
  14. TXT : Array File     - use LOAD ARRAY
  15.  
  16. Notes on conversion from other formats:
  17.  
  18. X File Format
  19. -------------
  20. Dark Basic loads 3D Objects using this file format. Many 3D tools do not save out 3D
  21. object data using this 'DirectX file format'. You can use the DBConv.EXE tool that
  22. comes with Dark Basic to convert the more common 3DS files to X files. Dark Basic
  23. additionally supports direct loading of 3DS files if you are not concerned with the
  24. additional loading time and file sizes required during 3DS importing.
  25.  
  26. BMP File Format
  27. ---------------
  28. Dark Basic loads its bitmap graphics using this file format. One of the most common
  29. file formats for the PC, BMP files can be saved by all popular art packages and other
  30. graphic tools. The Paint program that came with Windows saves out images in the BMP
  31. format.
  32.  
  33. AVI File Format
  34. ---------------
  35. Dark Basic loads animation using this file format. Microsoft Video One codec is the
  36. default AVI format used by Windows. All animation and production tools export AVI
  37. animation files as standard and offer a good level of compression over quality.
  38.  
  39. WAV File Format
  40. ---------------
  41. Dark Basic loads its sound effects using this file format. There are very few commonly
  42. used sound formats, and WAV by far represents the most common variety. All sound 
  43. effects libraries and tools work with this file format, and is a very common media type.
  44.  
  45. MID File Format
  46. ---------------
  47. Dark Basic loads music using this file format. Though not the most popular format in
  48. recent years, it's compact and flexible. There are millions of MID music files available
  49. today from all over the internet and offers even kind of music imaginable.
  50.  
  51. ARR File Format
  52. ---------------
  53. Dark Basic allows the import of text and numerical data in the form of ARR format files.
  54. These files are directly loaded into arrays that have been created in a suitable format
  55. to load the files. Ideally, these files are created using the save array command that
  56. ensures the ability to snapshot the contents of an array and export it to a file.
  57.  
  58. Additionally, text files can be recognised as ARR format files for the import of text
  59. data. You can use a utility such as Notepad to create your text files, and the data
  60. can be loaded into a Dark Basic array. Text data ideally requires a single dimension
  61. string array for loading. The text data will be seperated by lines into the array.
  62.  
  63. Another use for ARR files is to record program data and save game positions with a
  64. single command, and restore them with a second command.
  65.