Skip to content

Commit a95e647

Browse files
authored
Merge pull request #149 from FlexBy420/rpcn
RPCN: Add case for MRTC
2 parents 0cb2c6a + b30d781 commit a95e647

2 files changed

Lines changed: 17 additions & 16 deletions

File tree

public_html/lib/module/rpcn/games.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@
333333
},
334334
"NPWR00181_00": {
335335
"title": ["echochrome"],
336-
"id": []
336+
"id": ["NPEA00071"]
337337
},
338338
"NPWR00185_00": {
339339
"title": ["Buzz!: Quiz TV"],
@@ -733,7 +733,7 @@
733733
},
734734
"NPWR00410_00": {
735735
"title": ["Buzz!: Quiz TV"],
736-
"id": ["BCES00303", "BCES00304", "BCES00305"]
736+
"id": ["BCES00195", "BCES00303", "BCES00304", "BCES00305"]
737737
},
738738
"NPWR00411_00": {
739739
"title": ["Tiger Woods PGA TOUR 09"],
@@ -2960,7 +2960,7 @@
29602960
"id": []
29612961
},
29622962
"NPWR01254_00": {
2963-
"title": ["AC Brotherhood"],
2963+
"title": ["Assassin's Creed: Brotherhood"],
29642964
"id": ["BLES00909", "BLES00910", "BLES00911", "BLJM60250", "BLKS20231", "BLUS30537"]
29652965
},
29662966
"NPWR01255_00": {
@@ -3129,7 +3129,7 @@
31293129
},
31303130
"NPWR01307_00": {
31313131
"title": ["Tetris"],
3132-
"id": []
3132+
"id": ["NPEB00219"]
31333133
},
31343134
"NPWR01308_00": {
31353135
"title": ["My Aquarium"],
@@ -3401,11 +3401,11 @@
34013401
},
34023402
"NPWR01403_00": {
34033403
"title": ["SPELUNKER HD"],
3404-
"id": []
3404+
"id": ["NPUB30152"]
34053405
},
34063406
"NPWR01404_00": {
34073407
"title": ["Medal of Honor Frontline"],
3408-
"id": []
3408+
"id": ["NPUB30288"]
34093409
},
34103410
"NPWR01405_00": {
34113411
"title": ["Pro Evolution Soccer 2011"],
@@ -3877,15 +3877,15 @@
38773877
},
38783878
"NPWR01574_00": {
38793879
"title": ["Kung-Fu Live"],
3880-
"id": []
3880+
"id": ["NPUB30376"]
38813881
},
38823882
"NPWR01576_00": {
38833883
"title": ["Beyond Good & Evil HD"],
38843884
"id": ["NPEB00435"]
38853885
},
38863886
"NPWR01577_00": {
38873887
"title": ["RESIDENT EVIL 6"],
3888-
"id": ["BLES01465", "BLES01683", "BLJM60405", "BLUS30855"]
3888+
"id": ["BLES01465", "BLES01683", "BLJM60405", "BLUS30855", "NPEB01150"]
38893889
},
38903890
"NPWR01580_00": {
38913891
"title": ["Mass Effect 2"],
@@ -5300,7 +5300,7 @@
53005300
"id": ["BLES01601", "BLUS30865"]
53015301
},
53025302
"NPWR02350_00": {
5303-
"title": ["AC Revelations"],
5303+
"title": ["Assassin's Creed: Revelations"],
53045304
"id": ["BLES01772", "BLES01384", "BLES01385", "BLES01466", "BLES01467", "BLJM60412", "BLJM60573", "BLJM67011", "BLKS20325", "BLUS30808", "BLUS30905", "BLUS31145"]
53055305
},
53065306
"NPWR02355_00": {
@@ -6137,7 +6137,7 @@
61376137
},
61386138
"NPWR03204_00": {
61396139
"title": ["SingStar"],
6140-
"id": ["BCES02042", "BCES02044", "BCES02045", "BCES02046", "BCES02111", "BCES02112", "BCES02118", "BCES02120", "BCES02025", "BCES02043", "BCES02113"]
6140+
"id": ["BCES02042", "BCES02044", "BCES02045", "BCES02046", "BCES02111", "BCES02112", "BCES02118", "BCES02120", "BCES02025", "BCES02043", "BCES02113", "NPEA00374"]
61416141
},
61426142
"NPWR03207_00": {
61436143
"title": ["Sound Shapes"],
@@ -6849,7 +6849,7 @@
68496849
},
68506850
"NPWR03806_00": {
68516851
"title": ["Dead Island Riptide"],
6852-
"id": ["BLES01739", "BLES01956", "BLUS31052"]
6852+
"id": ["BLES01739", "BLES01956", "BLUS31052", "NPUB31145"]
68536853
},
68546854
"NPWR03808_00": {
68556855
"title": ["Dead Space 3"],
@@ -7084,7 +7084,7 @@
70847084
"id": ["BLJS10226", "BLUS31213"]
70857085
},
70867086
"NPWR04034_00": {
7087-
"title": ["Injustice"],
7087+
"title": ["Injustice: Gods Among Us"],
70887088
"id": ["BLES01673", "BLES01967", "BLJM60515", "BLUS31018", "BLUS31364"]
70897089
},
70907090
"NPWR04036_00": {
@@ -7789,7 +7789,7 @@
77897789
},
77907790
"NPWR04682_00": {
77917791
"title": ["DRAG-ON DRAGOON 3"],
7792-
"id": ["BLJM61043", "BLUS31197", "NPUB31251"]
7792+
"id": ["BLJM61043", "BLUS31197", "NPUB31251", "NPHB00633"]
77937793
},
77947794
"NPWR04685_00": {
77957795
"title": ["Dungeons & Dragons ―ミスタラ英雄戦記―"],
@@ -9413,7 +9413,7 @@
94139413
},
94149414
"NPWR07574_00": {
94159415
"title": ["光明之響"],
9416-
"id": []
9416+
"id": ["BLAS50745"]
94179417
},
94189418
"NPWR07589_00": {
94199419
"title": ["Costume Quest 2"],
@@ -10469,7 +10469,7 @@
1046910469
},
1047010470
"NPWR11024_00": {
1047110471
"title": ["Pro Evolution Soccer 2017"],
10472-
"id": ["BLES02237", "BLES02238"]
10472+
"id": ["BLES02237", "BLES02238", "BLAS50824"]
1047310473
},
1047410474
"NPWR11032_00": {
1047510475
"title": ["Skylanders Imaginators"],

public_html/lib/module/rpcn/inc-rpcn-stats.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ private function get_region_from_id(string $id): string {
5555
case 'H': return 'HK'; // Hong Kong
5656
case 'K': return 'KR'; // South Korea
5757
case 'I': return 'IN'; // International
58-
default: return 'Other';
58+
case 'T': return 'IN'; // MRTC
59+
default: return 'unknown';
5960
}
6061
}
6162

0 commit comments

Comments
 (0)