Glossary

From Ccwiki

Jump to: navigation, search

Contents

Glossary

  • App = Application
  • Archiv = A file containing compressed files and folders, to save space and for easier distribution on the internet. It has to be uncompressed, to make it's content useable.
  • bin & cue = CD Image Format (like e.g. "iso" or "nrg") | The "bin" file contains the data that should be burned on CD, the "cue" file contains infos about how to burn the CD.
  • BM = BootManager
  • CC = Crystal Chip
  • CD Image = File containing data in a defined form, to burn them to CD with a burn program.
  • Device = For PS2 there are the following devices available: MC, HDD, USB, CD/DVD and PC Host.
  • ELF = Executable progam file | The same as an "EXE" on the PC.
  • FW = Firmware
  • HDD = Harddrive
  • Homebrew = Programs for consoles, written by private programmers.
  • MC = Memory Card
  • Open Source = This means, that the sourcecode for a program is available for everyone, so the program can be altered to match the own needs, if if you have the appropriate programming skills.
  • PC Host = This makes it possible to access the PC via network.
  • rar = Archiv format
  • Script = Scripts are textfiles using a scripting language to define desing and funktions of an app.
  • SMS = Simple Media System, the best homebrew DivX and MP3 player for PS2.
  • uLE = Unofficial LaunchELF, a homebrew app, the best filemanager available for PS2.
  • zip = Archiv format


Crystal Chip Software

  • Info:
The CC software consists of two pieces, the firmware and the BootManager. The FW is "open source" and can be altered or rewritten, for the own needs. The BM is not "open source", but it depends on script files to work, and those scripts can be adjusted individually. It's possible to change, delete and create menus and funktions.
  • Details:
The CC software release always contains FW and BM and can be found on the official CC homepage. It's bundled in an archiv and has to be unpacked before you can use it.
The following picture shows the folders of software release 29 after is has been unpacked.

Image:Ordnerstruktur.jpg


Firmware

  • Info:
The FW is saved directly on the CC, it can be compared with the BIOS of a PC. It enables communication between CC, BM and PS2, and is essential for the chip to function.
  • Details:
The software release contains the sourcecode of the FW. The FW is created when executing the "makeit.bat", and can be found in the FWARES folder. It's the three 4KB files, each for one chip model. Because of it's "open source" state, it can be adjusted to match personel needs, but you should only do so, if you have a good knowlegde of the PS2's and the chip's functions.


BootManager

  • Info:
The configuration software of the CC is called BM, but BM is much more than that. It controlls the different video modes, provides fixes and patches, boots game discs, and is used to install and launch homebrew apps. It can almost be compared to a PC's OS, of course with not as much functions.
  • Details:
The BM is contained in every software release, in the official one here, as well as in inofficial ones, provided in various forums. Without BM the CC only has minimal functionallity, so you should always use it.
Menus and functions of BM are defined by *.PBT script files, using the exclusively for BM designed PBAT scripting language. With that, appearence and functionallity of BM can be nearly completely changed. You can move, remove, and add menus and create new functions or cut old ones. Together with the configuration options for themes and the changeable background, you can give BM a complete new look.
The PBAT scripting language is really simple and pretty easy to learn. All you have to do is compare the scripts with the menus on the screen, then you'll quickly get an impression on how it works.
With all that, BM is the best chip management program available, cause none other can be altered so individually like BM, or even changed in the way it works.


Application

  • Info:
The term application is used for all kinds of homebrew software, which means ELF files that are available for free and serve various purposses.
Apps can be games and emulators, but even filemanagers and network tools. There's a large number of different apps that can be found in forums and on countless download pages.
  • Details:
The BM needs an APPINFO.PBT file to be able to handle apps. This file describes how the app should be installed and started. Furthermore every app must be in the BM/APPS directory inside a subfolder together with a propper APPINFO.PBT.
You can install, remove and start apps with the "Application Browser" of BM. And you can assign a pad button to an app, allowing you to start an app by pressing only a single button. Those options can be found inside the "Button Config" menu.


APPINFO.PBT

  • Info:
The APPINFO.PBT is needed to let BM know how to handle the app (ELF file) it belongs to. It contains all information about the app, e.g. name and author, and handles installation, removal and execution of the app.
  • Details:
The following example is the APPINFO.PBT of "PS2Link", which is contained in every software release. This one was taken from release 29. The "#" signs at the start of a line indicates that that line is a comment. Those lines are only used for explanation and don't have any function for BM. Only lines without "#" are explained in the following.
 #
 # Application Manager Script for BootManager 2
 #
 
 # Change this information to describe the application.
 SET "TITLE" "PS2Link"
 SET "VERSION" "1.51"
 SET "AUTHOR" "PS2DEV.org"
 SET "DESC" "Run applications and transfer files over network."
 SET "MEDIAS" ""
 #
Here you find the infos about the app that are displayed by BM.
 # Do not change these 2 lines!
 GOTO "$ARG1$"
 RETURN "-1"
With this two lines, BM skipps forward to to the section that's needed to do the task you chose. (e.g. installation)
 :LABEL_NAME
     ADDWIDGET "LABEL" "$ARG2$$TITLE$ v$VERSION$"
     EXIT "0"
This section is needed to display the choosen app inside the "Button Config" menu.
 :QUERY
     ADDWIDGET "CALL" "$TITLE$" "$BM.TXT_VERSION$: $VERSION$ $BM.TXT_AUTHOR$: $AUTHOR$
     $BM.TXT_DESC$: $DESC$" $ARG2$ "$ARG0$" "$ARG3$" "$ARG4$" "$ARG5$"
     EXIT "0"
This section generates the entry in the app selection menu. (originally, ADDWIDGET to "$ARG5$" is only one line)
 :INSTALL
     IF FAIL COPY "$PWD$" "$ARG2$/PS2LINK"
         MESSAGE "Failed installing $TITLE$!"
         RRM "$ARG2$/PS2LINK"
         RETURN -1
     ENDIF
     EXIT 0
The above section describes how the app is to be installed and gives out an error message, if the installation should fail.
 :REMOVE
     IF FAIL RRM "$PWD$"
         MESSAGE "Failed removing $TITLE$!"
         RETURN -1
     ENDIF
     EXIT 0
Here is written how the app should be removed, and if removal fails, an error message is generated.
 :RUN
     REDIRFILE "$PWD$/IPCONFIG.DAT" "$BM.BM_PATH$/CONFIG/IPCONFIG.DAT"
     LOADEXEC "PBAT" "$BM.SCRIPTS$/LOADEXEC.PBT" "$PWD$/PS2LINK.ELF"
     EXIT "0"
The last section is used to run the app.
REDIRFILE redirects PS2Link to the BM's IP settings and LOADEXEC calls the launchscript, which loads all needed drivers and starts the app.


Themes

  • Info:
A theme is the look of BM and consists of font, background image and color, as well as text color and position and size of the single menu elements.
  • Details:
Each theme contains two images, one for the background (BMMENU.TGA) and one for the font (BMFONT.TGA), and a "THMINFO.PBT" containing all infos about color and menu positioning. Themes are located in the BM/THMS directory, each in an extra subfolder, and are configured and managed with the "ThemeManager" menu. The images are in TGA format and can be created with grafics software, e.g. the freeware software "Gimp 2".
See the Themes Section for more details.
Personal tools