Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nicely Name all game region code and fix MHF crosslinks #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adenovan
Copy link

@adenovan adenovan commented Dec 1, 2017

i found monster hunter freedom not properly working when crosslinked into usa region on productids, change it to japan region proper fixing the eu and us region to meet each other.

list of productids data that i change in this db.

NPJH00142 Yu-Gi-Oh! Arc-V Tag Force
NPJH50045 Metal Gear Solid - Peace Walker
NPJH50107 Gundam VS Gundam - Next Plus
NPJH50221 Kateikyoushi Hitman Reborn! Kizuna no Tag Battle
NPJH50426 Taiko no Tatsujin Portable DX
NPJH50443 Final Fantasy Type 0
NPJH50460 Sengoku Basara Chronicles Heroes
NPJH50468 Frontier Gate
NPJH50492 Puyo Puyo!! 20th Anniversary
NPJH50503 Lord of Apocalypse
NPJH50520 Pro Yakyuu Spirits 2012
NPJH50583 Conception - Please have my children!
NPJH50588 Digimon World Re:Digitize
NPJH50691 Tokusatsu University
NPJH50721 Frontier Gate Boost+
NPJH50789 Toukiden
NPJH50832 God Eater 2
NPJH50838 Pro Yakyuu Spirits 2014
NPJH50878 Toukiden Kiwami
NPUG80086 flOw
NPUH10020 Strikers 1945 Plus Portable
NPUH10023 Armored Core 3 Portable
NPUH10045 Worms Battle Islands
UCES00465 Wipeout Pulse
UCES00758 Smash Court Tennis 3
UCES01511 White Knight Chronicles: Origins
UCJS10090 Resistance - Retribution
UCJS10110 Bleach Heat The Soul 7
UCUS98601 Twisted Metal - Head On
UCUS98615 SOCOM - Fireteam Bravo
UCUS98632 Gran Turismo
UCUS98645 SOCOM - Fireteam Bravo 2
UCUS98646 Killzone Liberation
UCUS98701 Everybody's Tennis
UCUS98716 SOCOM - Fireteam Bravo 3
UCUS98732 Patapon 2
UCUS98740 Fat Princess - Fistful of Cake
UCUS98741 Mod Nation Racers
UCUS98751 Patapon 3
UCUS98758 MLB11 - The Show
ULES00125 Burnout Legends
ULES00183 Star Wars Battle Front 2
ULES00368 Micro Machines V4
ULES00670 Rocky Balboa
ULES00703 Burnout Dominator
ULES00718 Coded Arms: Contagion
ULES00719 Asphalt - Urban GT 2
ULES00847 Dungeon Explorer - Warriors of Ancient Arts
ULES00850 Final Fantasy Tactics - War of the Lions
ULES01221 Dynasty Warrior Strikeforce
ULES01340 Obscure - The Aftermath
ULES01432 Full Metal Alchemist - Brotherhood
ULES01507 Lord of Arcana
ULES01537 Naruto Shippuden Ultimate Ninja Impact
ULES01595 Pro Evolution Soccer 2015
ULES01596 Pro Evolution Soccer 2014
ULJM05035 Shinobido: Tales of the Ninja
ULJM05066 Monster Hunter Freedom
ULJM05127 Dragon Quest & Final Fantasy in Itadaki Street Special
ULJM05151 Yu-Gi-Oh! GX Tag Force
ULJM05360 Fate Tiger Colosseum Upper
ULJM05373 Yu-Gi-Oh! GX Tag Force 3
ULJM05436 Sengoku Basara: Battle Heroes
ULJM05538 Busou Shinki - Battle Masters
ULJM05553 Warship Gunner 2 Portable
ULJM05637 Shin Sangoku Musou - Multi Raid 2
ULJM05681 Hatsune Miku Project Diva 2nd
ULJM05709 K-ON! Houkago Live
ULJM05732 Phantasy Star Portable 2 - Infinity
ULJM05734 Yu-Gi-Oh! 5D's Tag Force 5
ULJM05775 Kingdom Hearts - Birth by Sleep Final Mix
ULJM05800 Monster Hunter Portable 3rd
ULJM05933 Hatsune Miku - Project Diva Extend
ULJM05940 Yu-Gi-Oh! 5D's Tag Force 6
ULJM06097 Musou Orochi 2 Special
ULJS00069 Ultraman Fighting Evo Zero
ULJS00155 Way Of The Samurai
ULJS00165 Kidou Senshi Gundam - Gundam vs. Gundam
ULJS00236 Naruto Accel 3
ULJS00237 God Eater
ULJS00360 Rurouni Kenshin - Meiji Kenkaku Romantan Saisen
ULJS00385 Mahou Shoujo Nanoha A's Portable - The Gears of Destiny
ULKS46004 Need for Speed: Underground Rivals
ULUS10003 Untold Legends - Brotherhood of the Blade
ULUS10031 The Sims 2
ULUS10036 Need For Speed - Most Wanted
ULUS10044 Crash Tag Team Racing
ULUS10053 Star Wars Battlefront 2
ULUS10057 Bust A Move Deluxe
ULUS10062 Street Fighter Alpha 3 MAX
ULUS10064 Outrun 2006 - Coast 2 Coast
ULUS10065 Worms Open Warfare
ULUS10081 Dragon Ball Z - Shin Budokai
ULUS10086 Untold Legends - The Warrior's Code
ULUS10087 Viewtiful Joe
ULUS10100 Def Jam Fight For NY - The Takeover
ULUS10102 Mortal Kombat Unchained
ULUS10121 Bomberman
ULUS10141 Medal Of Honor Heroes
ULUS10149 Pac Man - World Rally
ULUS10154 Metal Slug Anthology
ULUS10160 GTA Vice City Stories
ULUS10170 Dynasty Warrior 2
ULUS10177 Dungeon Siege - Throne of Agony
ULUS10180 M.A.C.H. - Modified Air Combat Heroes
ULUS10194 Shrek - Smash and Crash Racing
ULUS10195 Sonic Rivals
ULUS10202 Metal Gear Solid - Portable Ops
ULUS10210 Ghost Rider
ULUS10218 Call of Duty - Roads to Victory
ULUS10234 Dragon Ball Z - Shin Budokai 2
ULUS10245 Alien Syndrome
ULUS10246 Virtua Tennis 3
ULUS10260 Worms Open Warfare 2
ULUS10266 Monster Hunter Freedom 2
ULUS10290 Metal Gear Solid - Portable Ops +
ULUS10292 Renegrade Squadron
ULUS10297 Final Fantasy Tactics - The War of the Lions
ULUS10298 Hot Pixel
ULUS10319 Bomberman Land
ULUS10321 World Series of Poker 2008 - Battle for the Bracelets
ULUS10340 N+
ULUS10349 Naruto - Ultimate Ninja Heroes 2
ULUS10351 Code Lyoko - Quest for Infinity
ULUS10376 Need for Speed - Undercover
ULUS10383 Midnight Club - LA Remix
ULUS10390 Star Wars Battlefornt Elite Squadron
ULUS10391 Monster Hunter Freedom Unite
ULUS10408 Mana Khemia Student Alliance
ULUS10410 Phantasy Star Portable
ULUS10416 Dynasty Warriors - Strike Force
ULUS10423 Warriors Orochi 2
ULUS10437 Dissidia Final Fantasy
ULUS10438 Pangya! - Fantasy Golf
ULUS10445 Tom Clancy's Ghost Recon Predator
ULUS10457 Soul Calibur - Broken Destiny
ULUS10466 Tekken 6
ULUS10487 LEGO Indiana Jones 2
ULUS10490 GTA Chinatown Wars
ULUS10495 Metal Slug XX
ULUS10508 UFC Undisputed 2010
ULUS10511 Ace Combat X2 - Joint Assault
ULUS10513 Split Second - Velocity
ULUS10515 Valkryia Chronicles 2
ULUS10516 Blood Bowl
ULUS10518 Naruto - Ultimate Ninja Heroes 3
ULUS10519 BlazBlue Calamity Trigger
ULUS10528 Gladiator Begins
ULUS10529 Phantasy Star Portable 2
ULUS10537 Dragon Ball Z - Tenkaichi Tag Team
ULUS10543 WWE Smackdown vs. Raw 2011
ULUS10548 TRON - Evolution
ULUS10563 God Eater Burst
ULUS10566 Dissidia 012 Duodecim Final Fantasy
ULUS10571 Naruto Shippuden: Kizuna Drive
ULUS10579 BlazBlue - Continuum Shift 2
ULUS10581 Madden NFL 12
ULUS10582 Naruto Shippuden - Ultimate Ninja Impact
ULUS10586 Pro Evolution Soccer 2012
ULUS10598 NBA 2K13
ULUS82741 WWE 2K14

glad to see your aemu server come back to alive , here is updated data for better display on player status

@adenovan
Copy link
Author

adenovan commented Dec 1, 2017

an array of nicely named group name

static const db_groupname default_groupname[] = {

// Many games use empty group name to look for party
{ "" , "Looking For Party" },

// Monster Hunter Freedom group name
{ "MHPSP000" , "Gathering Hall A" },
{ "MHPSP001" , "Gathering Hall B" },
{ "MHPSP002" , "Gathering Hall C" },
{ "MHPSP003" , "Gathering Hall D" },
{ "MHPSP004" , "Gathering Hall E" },
{ "MHPSP005" , "Gathering Hall F" },
{ "MHPSP006" , "Gathering Hall G" },
{ "MHPSP007" , "Gathering Hall H" },
{ "MHPSP008" , "Gathering Hall I" },
{ "MHPSP009" , "Gathering Hall J" },

// Monster Hunter Freedom Unite Room Name
{ "MHP2Q000" , "Gathering Hall 01" },
{ "MHP2Q001" , "Gathering Hall 02" },
{ "MHP2Q002" , "Gathering Hall 03" },
{ "MHP2Q003" , "Gathering Hall 04" },
{ "MHP2Q004" , "Gathering Hall 05" },
{ "MHP2Q005" , "Gathering Hall 06" },
{ "MHP2Q006" , "Gathering Hall 07" },
{ "MHP2Q007" , "Gathering Hall 08" },
{ "MHP2Q008" , "Gathering Hall 09" },
{ "MHP2Q009" , "Gathering Hall 10" },
{ "MHP2Q010" , "Gathering Hall 11" },
{ "MHP2Q011" , "Gathering Hall 12" },
{ "MHP2Q012" , "Gathering Hall 13" },
{ "MHP2Q013" , "Gathering Hall 14" },
{ "MHP2Q014" , "Gathering Hall 15" },
{ "MHP2Q015" , "Gathering Hall 16" },
{ "MHP2Q016" , "Gathering Hall 17" },
{ "MHP2Q017" , "Gathering Hall 18" },
{ "MHP2Q018" , "Gathering Hall 19" },
{ "MHP2Q019" , "Gathering Hall 20" },
{ "MHP2Q020" , "Gathering Hall 21" },
{ "MHP2Q021" , "Gathering Hall 22" },
{ "MHP2Q022" , "Gathering Hall 23" },
{ "MHP2Q023" , "Gathering Hall 24" },
{ "MHP2A000" , "Training Area 01" },
{ "MHP2A001" , "Training Area 02" },
{ "MHP2A002" , "Training Area 03" },
{ "MHP2A003" , "Training Area 04" },
{ "MHP2A004" , "Training Area 05" },
{ "MHP2A005" , "Training Area 06" },
{ "MHP2A006" , "Training Area 07" },
{ "MHP2A007" , "Training Area 08" },
{ "MHP2A008" , "Training Area 09" },
{ "MHP2A009" , "Training Area 10" },
{ "MHP2A010" , "Training Area 11" },
{ "MHP2A011" , "Training Area 12" },
{ "MHP2A012" , "Training Area 13" },
{ "MHP2A013" , "Training Area 14" },
{ "MHP2A014" , "Training Area 15" },
{ "MHP2A015" , "Training Area 16" },
{ "MHP2A016" , "Training Area 17" },
{ "MHP2A017" , "Training Area 18" },
{ "MHP2A018" , "Training Area 19" },
{ "MHP2A019" , "Training Area 20" },
{ "MHP2A020" , "Training Area 21" },
{ "MHP2A021" , "Training Area 22" },
{ "MHP2A022" , "Training Area 23" },
{ "MHP2A023" , "Training Area 24" },

// Monster Hunter Portable 3rd Group Name
{ "MHP3Q000" , "Guild Hall 01" },
{ "MHP3Q001" , "Guild Hall 02" },
{ "MHP3Q002" , "Guild Hall 03" },
{ "MHP3Q003" , "Guild Hall 04" },
{ "MHP3Q004" , "Guild Hall 05" },
{ "MHP3Q005" , "Guild Hall 06" },
{ "MHP3Q006" , "Guild Hall 07" },
{ "MHP3Q007" , "Guild Hall 08" },
{ "MHP3Q008" , "Guild Hall 09" },
{ "MHP3Q009" , "Guild Hall 10" },
{ "MHP3Q010" , "Guild Hall 11" },
{ "MHP3Q011" , "Guild Hall 12" },
{ "MHP3Q012" , "Guild Hall 13" },
{ "MHP3Q013" , "Guild Hall 14" },
{ "MHP3Q014" , "Guild Hall 15" },
{ "MHP3Q015" , "Guild Hall 16" },
{ "MHP3Q016" , "Guild Hall 17" },
{ "MHP3Q017" , "Guild Hall 18" },
{ "MHP3Q018" , "Guild Hall 19" },
{ "MHP3Q019" , "Guild Hall 20" },
{ "MHP3Q020" , "Guild Hall 21" },
{ "MHP3Q021" , "Guild Hall 22" },
{ "MHP3Q022" , "Guild Hall 23" },
{ "MHP3Q023" , "Guild Hall 24" },
{ "MHP3A000" , "Training Hall 01" },
{ "MHP3A001" , "Training Hall 02" },
{ "MHP3A002" , "Training Hall 03" },
{ "MHP3A003" , "Training Hall 04" },
{ "MHP3A004" , "Training Hall 05" },
{ "MHP3A005" , "Training Hall 06" },
{ "MHP3A006" , "Training Hall 07" },
{ "MHP3A007" , "Training Hall 08" },
{ "MHP3A008" , "Training Hall 09" },
{ "MHP3A009" , "Training Hall 10" },
{ "MHP3A010" , "Training Hall 11" },
{ "MHP3A011" , "Training Hall 12" },
{ "MHP3A012" , "Training Hall 13" },
{ "MHP3A013" , "Training Hall 14" },
{ "MHP3A014" , "Training Hall 15" },
{ "MHP3A015" , "Training Hall 16" },
{ "MHP3A016" , "Training Hall 17" },
{ "MHP3A017" , "Training Hall 18" },
{ "MHP3A018" , "Training Hall 19" },
{ "MHP3A019" , "Training Hall 20" },
{ "MHP3A020" , "Training Hall 21" },
{ "MHP3A021" , "Training Hall 22" },
{ "MHP3A022" , "Training Hall 23" },
{ "MHP3A023" , "Training Hall 24" }

};

but its implemented using vector on c++ , need to implement some updatestatus() method in the c way while iterating group name..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant