1.2.1 • Published 2 years ago

mame-hi-extractor v1.2.1

Weekly downloads
18
License
ISC
Repository
github
Last release
2 years ago

Mame Hi Extractor

Mame, with the plugin hiscores can extract from roms to a binary file named hi file. Mame Hi Extractor is an hiscore binary file extractor to json.

Install

npm install

How to test a extractor

Example with the roms named "Raiden (set 1)" and "1941: Counter Attack (World 900227)", respectively:

raiden
1941

Put your hi file into de demo directory: ./mame-hi-extractor/demo-hiscores/hiscore/

./demo-hiscores/hiscore/raiden.hi
./demo-hiscores/hiscore/raiden.1941

Put the hiscores screenshot(s) of rom based on you hi file into de demo directory: ./mame-hi-extractor/demo-hiscores/screenshots/

./demo-hiscores/screenshots/raiden.part1.png
./demo-hiscores/screenshots/raiden.part2.png
./demo-hiscores/screenshots/1941.jpg

Create your extractor by copying or creating the file in the right directory: ./mame-hi-extractor/src/Extractor/

./src/Extractor/raiden.ts
./src/Extractor/1941.ts

And create your testing hiscores file unto the right directory: ./mame-hi-extractor/test/

./test/raiden.test.ts
./test/1941.test.ts

Using binary jest for testing your extractor, example:

./node_modules/.bin/jest raiden
./node_modules/.bin/jest 1941
2.0.0-beta.1

2 years ago

2.0.0-beta.0

2 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.10

5 years ago

1.1.9

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago