plugin
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
plugin [2009/05/12 19:09] – romcenter | plugin [2024/02/17 11:56] – [Installation] romcenter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== RomCenter plugin ====== | ====== RomCenter plugin ====== | ||
- | [[Nes plugin]] | + | Plugins are used by romcenter to calulate the file crc and size. Its main work is to recognize the rom format, skip header datas and process roms datas so |
+ | that two roms of a same game in different format return only one size and crc. | ||
+ | |||
+ | Here is an example of three roms with different crc and different size: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | With the standart plugin, the crc is calculated on the whole files, including the header. | ||
+ | |||
+ | Now, if we switch to a dedicated plugin (here, nes.dll), the nes format is understood (ffe, nes, unf) and the file appears to be the same game. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Using plugins, you only need to store one crc and one size in the datafile to recognize all formats. | ||
+ | |||
+ | ====== Installation ====== | ||
+ | Plugin is linked to a datafile. Most of the time, plugins must be use with ' | ||
+ | |||
+ | Plugin to use can be defined in the datafile header: | ||
+ | |||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | rommode=" | ||
+ | biosmode=" | ||
+ | samplemode=" | ||
+ | lockbiosmode=" | ||
+ | lockrommode=" | ||
+ | locksamplemode=" | ||
+ | plugin=" | ||
+ | </ | ||
+ | |||
+ | Here, when this datafile is loaded in romcenter, the nes.dll plugin will be used to calculate rom crc. | ||
+ | |||
+ | Plugin files (nes.dll here) should be located in romcenter/plugin | ||
+ | |||
+ | ====== Plugins development and updates ====== | ||
+ | I have developed several plugins and release the source code on github: https:// | ||
- | [[Arcade plugin]] |
plugin.txt · Last modified: 2024/02/17 11:58 by romcenter