Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 1.25 KB

README.md

File metadata and controls

39 lines (22 loc) · 1.25 KB

Airsoft Database for Airsoft Spotter Application

This is a database of airsoft guns used in the AIRSOFT SPOTTER application.

Report Incorrect Data / Request to Add a New Airsoft Gun

Open the following link: https://github.com/Precision-Marks/airsoft_database/issues/new/choose

Environments required

Node.js: v20 (Tested by v20.8.1) npm >= 10.1.0

Run npm install to install required packages.

Test/Verify CSV database source files

npm run test-database

Create binary database

sh create_database.sh

Contribution

To add/modify the gun database edit ./source_data/RealmGunCatalog.csv

To add/modify manufacturer database, edit ./source_data/RealmManufacturerCatalog.csv

If you add a manufacturer, you also add "generic" gun data in RealmGunCatalog.csv. The "generic" data has ID < 10000 and starts from 0,25,50,75. And also set src/models/GunIdRange.ts. Gun ID for a manufacturer starts from n x 1000 to n x 1000 + 999.

日本の製造元の場合、powerLevelは0 or 2. それ以外の国の場合powerLevelは0 or 1.

VsCode extensions recommended

  • Rainbow CSV
  • vscode-input-sequence: To set sequential id numbers