Skip to content

Commit 2c7411e

Browse files
authored
Merge pull request #26 from MiSTer-devel/automationPatch
Add in automatisation
2 parents 0a9772e + 7ff66bf commit 2c7411e

File tree

103 files changed

+367
-178031
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+367
-178031
lines changed

.github/workflows/generate_db.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,32 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919

20+
- name: Set up Python
21+
uses: actions/setup-python@v4
22+
with:
23+
python-version: '3.x'
24+
25+
- name: Install Python dependencies
26+
run: |
27+
pip install tqdm
28+
29+
- name: Generate MAD files from CSV
30+
run: |
31+
mkdir -p mad
32+
python3 csv2mad.py ArcadeDatabase_CSV/ArcadeDatabase.csv
33+
34+
- name: Commit updated MAD files
35+
run: |
36+
git config --global user.name "The CI/CD Bot"
37+
git config --global user.email "[email protected]"
38+
git add mad/
39+
if git diff --cached --quiet; then
40+
echo "No changes to commit"
41+
else
42+
git commit -m "Update generated MAD files"
43+
git push
44+
fi
45+
2046
- name: Generate DBs
2147
run: |
2248
set -euo pipefail

ArcadeDatabase_CSV/ArcadeDatabase250602.csv renamed to ArcadeDatabase_CSV/ArcadeDatabase.csv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1207,8 +1207,8 @@ phoenixt,Phoenix,World,,yes,Phoenix,Taito Unique,,no,no,1980,Amstar,Shooter - Ga
12071207
pickin,Pickin',World,,no,,Taito Licensed,,no,no,1983,Valadon Automation,Puzzle - Maze,,15kHz,vertical (cw),no,,2 (alternating),4-way,,1
12081208
pickinpi,Pickin' (Color Hack) [hb],World,Color Hack,yes,Pickin',Taito Licensed,,yes,no,1983,Pi,Puzzle - Maze,,15kHz,vertical (cw),no,,2 (alternating),4-way,,1
12091209
pingpong,Konami's Ping-Pong,World,,no,,Konami Z80,,no,no,1985,Konami,Sports - Ping Pong,,15kHz,horizontal,,,2 (simultaneous),2,,
1210-
pipibibs,"Pipi & Bibis - Whoopee!! (Z80 sound cpu, Set 1)",World,"Z80 sound, set 1",no,Pipi & Bibis - Whoopee!!,Toaplan 2,Pipi and Bibis - Whoopee!!,no,no,1991,Toaplan,Platform - Run Jump [Mature],,15kHz,horizontal,,,2 (simultaneous),8-way,,2
1211-
pipibibsa,"Pipi & Bibis - Whoopee!! (Z80 sound cpu, Set 2)",World,"Z80 sound, set 2",yes,Pipi & Bibis - Whoopee!!,Toaplan 2,Pipi and Bibis - Whoopee!!,no,no,1991,Toaplan,Platform - Run Jump [Mature],,15kHz,horizontal,,,2 (simultaneous),8-way,,2
1210+
pipibibs,"Pipi & Bibis - Whoopee!! (Z80, Set 1)",World,"Z80 sound, set 1",no,Pipi & Bibis - Whoopee!!,Toaplan 2,Pipi and Bibis - Whoopee!!,no,no,1991,Toaplan,Platform - Run Jump [Mature],,15kHz,horizontal,,,2 (simultaneous),8-way,,2
1211+
pipibibsa,"Pipi & Bibis - Whoopee!! (Z80, Set 2)",World,"Z80 sound, set 2",yes,Pipi & Bibis - Whoopee!!,Toaplan 2,Pipi and Bibis - Whoopee!!,no,no,1991,Toaplan,Platform - Run Jump [Mature],,15kHz,horizontal,,,2 (simultaneous),8-way,,2
12121212
whoopee,Pipi & Bibis - Whoopee!! (Teki Paki hardware),World,Teki Paki hardware,yes,Pipi and Bibis - Whoopee!!,Toaplan 2,Pipi and Bibis - Whoopee!!,no,no,1991,Toaplan,Platform - Run Jump [Mature],,15kHz,horizontal,,,2 (simultaneous),8-way,,2
12131213
pisces,Pisces,World,,no,,Namco Galaxian based,,no,no,1982,Subelectro,Shooter - Gallery,,15kHz,vertical (cw),yes,,2 (alternating),2-way horizontal,,1
12141214
piscesb,Pisces [bl],World,,yes,Pisces,Namco Galaxian based,,no,yes,1982,,Shooter - Gallery,,15kHz,vertical (cw),yes,,2 (alternating),2-way horizontal,,1

ArcadeDatabase_CSV/ArcadeDatabase220901.csv

Lines changed: 0 additions & 1752 deletions
This file was deleted.

ArcadeDatabase_CSV/ArcadeDatabase220903.csv

Lines changed: 0 additions & 1752 deletions
This file was deleted.

ArcadeDatabase_CSV/ArcadeDatabase220903_1.csv

Lines changed: 0 additions & 1752 deletions
This file was deleted.

ArcadeDatabase_CSV/ArcadeDatabase220904.csv

Lines changed: 0 additions & 1753 deletions
This file was deleted.

ArcadeDatabase_CSV/ArcadeDatabase220904_1.csv

Lines changed: 0 additions & 1753 deletions
This file was deleted.

ArcadeDatabase_CSV/ArcadeDatabase220906.csv

Lines changed: 0 additions & 1755 deletions
This file was deleted.

ArcadeDatabase_CSV/ArcadeDatabase220908.csv

Lines changed: 0 additions & 1756 deletions
This file was deleted.

ArcadeDatabase_CSV/ArcadeDatabase220909.csv

Lines changed: 0 additions & 1756 deletions
This file was deleted.

0 commit comments

Comments
 (0)