SDK version "0.3" :
type
PGame = ^TGame; // a pointer to a TGame.
TGame=record // this record indicate some information about the rom.
nextGame: PGame; // the next game selected.
crc: PChar; // indicate the crc of the rom file.
name: PChar; // indicate the name of the game.
named: PChar; // indicate the rom naming.
num: Integer; // indicate the release number of the rom.
size: Integer; // indicate the size of the rom.
location: Integer; // indicate the location of the rom.
0 : Europe
1 : USA
2 : Germany
3 : China
4 : Spain
5 : France
6 : Italy
7 : Japan
8 : Nederland
language: Integer; // indicate the Language(s) of the rom.
1 : French
2 : English
4 : Chinese
8 : Danish
16 : Dutch
32 : Finland
64 : German
128 : Italian
256 : Japanese
512 : Norwegian
1024 : Polish
2048 : Portuguese
4096 : Spanish
8192 : Swedish
16384 : English // if there are 2 english language in the game (like Harry potter), this one is the UK version
32768 : Portuguese // if there are 2 Portuguese language in the game (like Harry potter), this one is the BR version
Exemple of use:
- if (game.language and 256) <> 0 then the Danish language is in the game.
save: PChar; // indicate the save type of the rom.
publisher: PChar; // this is the publisher of the game.
sourceRom: PChar; // this is the group who release the first dump available for the rom.
end;
type
TFunction=record
getRom: FPGetRom; // call this procedure to receive a rom.
launchEmulatorFile: FPLaunchEmulatorFile; // call this procedure to launch the emulator on a spécified file.
launchEmulatorCRC: FPLaunchEmulatorCRC; // call this procedure to launch the emulator on the game who have the specified CRC.
addRoms: FPAddRoms; // with this function you can add roms to OfflineList.
end;