-
Notifications
You must be signed in to change notification settings - Fork 2
/
install.sh
executable file
·425 lines (373 loc) · 20.6 KB
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
#!/bin/bash
PLAYTIME_EJS_REPO_URL=${PLAYTIME_EJS_REPO_URL:-"https://github.com/EmulatorJS/EmulatorJS"}
PLAYTIME_EJS_REVISION=${PLAYTIME_EJS_REVISION:-"3a3eee7d85adb03b7659d9dcdab4d04d6a3e1380"}
PLAYTIME_EJS_CORES_URL=${PLAYTIME_EJS_CORES_URL:-"https://cdn.emulatorjs.org/nightly/data/cores"}
#
cd assets
npm install
#download EmulatorJS
git clone "${PLAYTIME_EJS_REPO_URL}" _tmp
cd _tmp
git checkout "${PLAYTIME_EJS_REVISION}"
cd data/minify
npm install --ignore-scripts
node index.js
rm -rf node_modules
cd ../../..
mkdir emulatorjs
mv _tmp/data/* emulatorjs
rm -rf _tmp
cd emulatorjs
mkdir cores
cd cores
wget "${PLAYTIME_EJS_CORES_URL}/81-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/81-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/81-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/81-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/a5200-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/a5200-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/a5200-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/a5200-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/beetle_vb-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/beetle_vb-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/beetle_vb-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/beetle_vb-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/cap32-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/cap32-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/cap32-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/cap32-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/crocods-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/crocods-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/crocods-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/crocods-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/desmume-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/desmume-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/desmume-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/desmume-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/desmume2015-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/desmume2015-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/desmume2015-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/desmume2015-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/fbalpha2012_cps1-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/fbalpha2012_cps1-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/fbalpha2012_cps1-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/fbalpha2012_cps1-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/fbalpha2012_cps2-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/fbalpha2012_cps2-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/fbalpha2012_cps2-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/fbalpha2012_cps2-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/fbneo-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/fbneo-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/fbneo-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/fbneo-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/fceumm-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/fceumm-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/fceumm-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/fceumm-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/gambatte-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/gambatte-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/gambatte-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/gambatte-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/gearcoleco-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/gearcoleco-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/gearcoleco-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/gearcoleco-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/genesis_plus_gx-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/genesis_plus_gx-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/genesis_plus_gx-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/genesis_plus_gx-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/handy-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/handy-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/handy-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/handy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mame2003_plus-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mame2003_plus-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mame2003_plus-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mame2003_plus-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mame2003-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mame2003-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mame2003-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mame2003-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mednafen_ngp-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mednafen_ngp-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mednafen_ngp-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mednafen_ngp-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mednafen_pce-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mednafen_pce-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mednafen_pce-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mednafen_pce-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mednafen_pcfx-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mednafen_pcfx-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mednafen_pcfx-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mednafen_pcfx-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mednafen_psx_hw-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mednafen_psx_hw-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mednafen_psx_hw-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mednafen_psx_hw-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mednafen_wswan-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mednafen_wswan-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mednafen_wswan-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mednafen_wswan-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/melonds-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/melonds-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/melonds-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/melonds-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mgba-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mgba-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mgba-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mgba-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mupen64plus_next-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mupen64plus_next-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mupen64plus_next-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/mupen64plus_next-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/nestopia-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/nestopia-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/nestopia-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/nestopia-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/opera-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/opera-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/opera-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/opera-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/parallel_n64-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/parallel_n64-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/parallel_n64-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/parallel_n64-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/pcsx_rearmed-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/pcsx_rearmed-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/pcsx_rearmed-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/pcsx_rearmed-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/picodrive-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/picodrive-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/picodrive-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/picodrive-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/prboom-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/prboom-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/prboom-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/prboom-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/prosystem-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/prosystem-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/prosystem-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/prosystem-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/puae-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/puae-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/puae-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/puae-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/smsplus-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/smsplus-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/smsplus-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/smsplus-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/snes9x-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/snes9x-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/snes9x-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/snes9x-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/stella2014-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/stella2014-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/stella2014-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/stella2014-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/vice_x128-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/vice_x128-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/vice_x128-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/vice_x128-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/vice_x64-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/vice_x64-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/vice_x64-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/vice_x64-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/vice_x64sc-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/vice_x64sc-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/vice_x64sc-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/vice_x64sc-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/vice_xpet-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/vice_xpet-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/vice_xpet-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/vice_xpet-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/vice_xplus4-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/vice_xplus4-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/vice_xplus4-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/vice_xplus4-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/vice_xvic-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/vice_xvic-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/vice_xvic-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/vice_xvic-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/virtualjaguar-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/virtualjaguar-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/virtualjaguar-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/virtualjaguar-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/yabause-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/yabause-thread-legacy-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/yabause-thread-wasm.data"
wget "${PLAYTIME_EJS_CORES_URL}/yabause-wasm.data"
mkdir reports && cd reports
wget "${PLAYTIME_EJS_CORES_URL}/reports/81.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/a5200.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/beetle_vb.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/cap32.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/crocods.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/desmume.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/desmume2015.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/fbalpha2012_cps1.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/fbalpha2012_cps2.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/fbneo.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/fceumm.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/fuse.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/gambatte.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/gearcoleco.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/genesis_plus_gx.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/handy.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/mame2003_plus.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/mame2003.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/mednafen_ngp.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/mednafen_pce.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/mednafen_pcfx.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/mednafen_psx_hw.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/mednafen_wswan.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/melonds.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/mgba.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/mupen64plus_next.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/nestopia.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/opera.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/parallel_n64.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/pcsx_rearmed.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/picodrive.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/prboom.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/prosystem.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/puae.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/smsplus.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/snes9x.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/stella2014.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/vice_x128.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/vice_x64.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/vice_x64sc.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/vice_xpet.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/vice_xplus4.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/vice_xvic.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/virtualjaguar.json"
wget "${PLAYTIME_EJS_CORES_URL}/reports/yabause.json"
cd ../../..
#download BIOS
mkdir bios
cd bios
#
mkdir nes
wget -O "nes/disksys.rom" "https://github.com/Abdess/retroarch_system/raw/libretro/Nintendo%20-%20Famicom%20Disk%20System/disksys.rom"
#
mkdir snes
wget -O "snes/BS-X.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/Nintendo%20-%20Satellaview/BS-X.bin"
wget -O "snes/STBIOS.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/Nintendo%20-%20SuFami%20Turbo/STBIOS.bin"
#
mkdir gb
wget -O "gb/gb_bios.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/Nintendo%20-%20Gameboy/gb_bios.bin"
wget -O "gb/gbc_bios.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/Nintendo%20-%20Gameboy%20Color/gbc_bios.bin"
cd gb
zip gb.zip *.bin
rm *.bin
cd ..
#
mkdir gba
wget -O "gba/gb_bios.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/Nintendo%20-%20Gameboy/gb_bios.bin"
wget -O "gba/gbc_bios.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/Nintendo%20-%20Gameboy%20Color/gbc_bios.bin"
wget -O "gba/gba_bios.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/Nintendo%20-%20Game%20Boy%20Advance/gba_bios.bin"
wget -O "gba/sgb_bios.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/Nintendo%20-%20Super%20Game%20Boy/sgb_bios.bin"
cd gba
zip gba.zip *.bin
rm *.bin
cd ..
#
mkdir nds
wget -O "nds/bios7.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/Nintendo%20-%20Nintendo%20DS/bios7.bin"
wget -O "nds/bios9.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/Nintendo%20-%20Nintendo%20DS/bios9.bin"
wget -O "nds/firmware.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/Nintendo%20-%20Nintendo%20DS/firmware.bin"
cd nds
zip ds.zip firmware.bin bios7.bin bios9.bin
rm firmware.bin bios7.bin bios9.bin
cd ..
#
mkdir psx
wget -O "psx/scph5500.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/Sony%20-%20PlayStation/scph5500.bin"
wget -O "psx/scph5501.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/Sony%20-%20PlayStation/scph5501.bin"
wget -O "psx/scph5502.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/Sony%20-%20PlayStation/scph5502.bin"
wget -O "psx/scph101.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/Sony%20-%20PlayStation/scph101.bin"
wget -O "psx/scph7001.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/Sony%20-%20PlayStation/scph7001.bin"
wget -O "psx/scph1001.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/Sony%20-%20PlayStation/scph1001.bin"
wget -O "psx/psp.bin" "https://github.com/Abdess/retroarch_system/raw/Other/Sony%20-%20PlayStation/PSXONPSP660.BIN"
cd psx
mkdir tmp
cp "psp.bin" "tmp/scph5500.bin"
cp "psp.bin" "tmp/scph5501.bin"
cp "psp.bin" "tmp/scph5502.bin"
cd tmp
zip ../psp.zip *.bin
cd ..
zip psx.zip scph5500.bin scph5501.bin scph5502.bin scph101.bin scph7001.bin scph1001.bin
rm -rf tmp *.bin
cd ..
#
mkdir lynx
wget -O "lynx/lynxboot.img" "https://github.com/Abdess/retroarch_system/raw/libretro/Atari%20-%20Lynx/lynxboot.img"
#
mkdir segaSaturn
wget -O "segaSaturn/saturn_bios.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/Sega%20-%20Saturn/saturn_bios.bin"
#
mkdir segaMS
wget -O "segaMS/bios_E.sms" "https://github.com/Abdess/retroarch_system/raw/libretro/Sega%20-%20Master%20System%20-%20Mark%20III/bios_E.sms"
wget -O "segaMS/bios_U.sms" "https://github.com/Abdess/retroarch_system/raw/libretro/Sega%20-%20Master%20System%20-%20Mark%20III/bios_U.sms"
wget -O "segaMS/bios_J.sms" "https://github.com/Abdess/retroarch_system/raw/libretro/Sega%20-%20Master%20System%20-%20Mark%20III/bios_J.sms"
cd segaMS
zip segaMS.zip *.sms
rm *.sms
cd ..
#
mkdir segaMD
wget -O "segaMD/bios_MD.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/Sega%20-%20Mega%20Drive%20-%20Genesis/bios_MD.bin"
#
mkdir segaGG
wget -O "segaGG/bios.gg" "https://github.com/Abdess/retroarch_system/raw/libretro/Sega%20-%20Game%20Gear/bios.gg"
#
mkdir segaCD
wget -O "segaCD/bios_CD_E.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/Sega%20-%20Mega%20CD%20-%20Sega%20CD/bios_CD_E.bin"
wget -O "segaCD/bios_CD_U.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/Sega%20-%20Mega%20CD%20-%20Sega%20CD/bios_CD_U.bin"
wget -O "segaCD/bios_CD_J.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/Sega%20-%20Mega%20CD%20-%20Sega%20CD/bios_CD_J.bin"
cd segaCD
zip segaCD.zip *.bin
rm *.bin
cd ..
#
mkdir 3do
wget -O "3do/panafz1.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/3DO%20Company%2C%20The%20-%203DO/panafz1.bin"
wget -O "3do/panafz10.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/3DO%20Company%2C%20The%20-%203DO/panafz10.bin"
wget -O "3do/panafz10-norsa.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/3DO%20Company%2C%20The%20-%203DO/panafz10-norsa.bin"
wget -O "3do/panafz10e-anvil.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/3DO%20Company%2C%20The%20-%203DO/panafz10e-anvil.bin"
wget -O "3do/panafz10e-anvil-norsa.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/3DO%20Company%2C%20The%20-%203DO/panafz10e-anvil-norsa.bin"
wget -O "3do/panafz1j.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/3DO%20Company%2C%20The%20-%203DO/panafz1j.bin"
wget -O "3do/panafz1j-norsa.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/3DO%20Company%2C%20The%20-%203DO/panafz1j-norsa.bin"
wget -O "3do/goldstar.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/3DO%20Company%2C%20The%20-%203DO/goldstar.bin"
wget -O "3do/sanyotry.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/3DO%20Company%2C%20The%20-%203DO/sanyotry.bin"
wget -O "3do/3do_arcade_saot.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/3DO%20Company%2C%20The%20-%203DO/3do_arcade_saot.bin"
cd 3do
zip 3do.zip *.bin
rm *.bin
cd ..
#
mkdir atari7800
wget -O "atari7800/7800_BIOS_U.rom" 'https://github.com/Abdess/retroarch_system/raw/libretro/Atari%20-%207800/7800%20BIOS%20(U).rom'
#
mkdir pce
wget -O "pce/syscard3.pce" "https://github.com/Abdess/retroarch_system/raw/libretro/NEC%20-%20PC%20Engine%20-%20TurboGrafx%2016%20-%20SuperGrafx/syscard3.pce"
wget -O "pce/syscard2.pce" "https://github.com/Abdess/retroarch_system/raw/libretro/NEC%20-%20PC%20Engine%20-%20TurboGrafx%2016%20-%20SuperGrafx/syscard2.pce"
wget -O "pce/syscard1.pce" "https://github.com/Abdess/retroarch_system/raw/libretro/NEC%20-%20PC%20Engine%20-%20TurboGrafx%2016%20-%20SuperGrafx/syscard1.pce"
wget -O "pce/gexpress.pce" "https://github.com/Abdess/retroarch_system/raw/libretro/NEC%20-%20PC%20Engine%20-%20TurboGrafx%2016%20-%20SuperGrafx/gexpress.pce"
cd pce
zip pce.zip *.pce
rm *.pce
cd ..
#
mkdir coleco
wget -O "coleco/colecovision.rom" "https://github.com/Abdess/retroarch_system/raw/libretro/Coleco%20-%20ColecoVision/colecovision.rom"
#
mkdir pcfx
wget -O "pcfx/pcfx.rom" "https://github.com/Abdess/retroarch_system/raw/libretro/NEC%20-%20PC-FX/pcfx.rom"
wget -O "pcfx/pcfxbios.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/NEC%20-%20PC-FX/pcfxbios.bin"
wget -O "pcfx/pcfxv101.bin" "https://github.com/Abdess/retroarch_system/raw/libretro/NEC%20-%20PC-FX/pcfxv101.bin"
cd pcfx
zip pcfx.zip pcfx.rom pcfxbios.bin pcfxv101.bin
rm pcfx.rom pcfxbios.bin pcfxv101.bin
cd ..