@WiiUBrew Title Database Editors

Discussion in 'Wii U - Hacking & Backup Loaders' started by BullyWiiPlaza, Mar 1, 2017.

  1. BullyWiiPlaza
    OP

    BullyWiiPlaza Nintendo Hacking <3

    Member
    1,798
    1,463
    Aug 2, 2014
    Germany
    Please don't shift the order of tables in the titles database every time for unrecognizable reasons because it breaks JGecko U's title downloader causing the wrong table to be downloaded. This is the 2nd time I needed to update the tool just for the table index because of user complaints and it gets a bit old because it's not my fault that it breaks.

    Below is the current selector I'm using:
    Code:
    String titleDatabaseURL = "http://wiiubrew.org/wiki/Title_database";
    Document titleDatabaseDocument = Jsoup.connect(titleDatabaseURL).get();
    Elements titlesTable = titleDatabaseDocument.select("#mw-content-text > table:nth-child(20) > tbody");
    
    Before it was this:
    Code:
    Elements titlesTable = titleDatabaseDocument.select("#mw-content-text > table:nth-child(14) > tbody");
    Adding one game (The Legend of Zelda™: Breath of the Wild) shouldn't cause this.

    Thanks for respecting the dependency on the site's layout. Alternatively suggest a selector which is more "robust".
     
    Last edited by BullyWiiPlaza, Mar 1, 2017
  2. PandaOnSmack

    PandaOnSmack GBAtemp Fan

    Member
    328
    183
    Nov 3, 2015
    Why not save a local static copy now. No more games are going to be released right?
     
  3. BullyWiiPlaza
    OP

    BullyWiiPlaza Nintendo Hacking <3

    Member
    1,798
    1,463
    Aug 2, 2014
    Germany
    Yeah, it does that but all newcomers might have troubles and someone always might find a reason to edit the database and insert more tables which breaks the titles downloader :)
     
  4. PandaOnSmack

    PandaOnSmack GBAtemp Fan

    Member
    328
    183
    Nov 3, 2015
    Do you need to download it at all anymore though? Just package the title file along with jar file and remove online check?
     
    Last edited by PandaOnSmack, Mar 1, 2017
  5. BullyWiiPlaza
    OP

    BullyWiiPlaza Nintendo Hacking <3

    Member
    1,798
    1,463
    Aug 2, 2014
    Germany
    Yeah but I still like to have the updater intact :P
    There are still games coming out, the Wii U is not completely dead.
     
    Last edited by BullyWiiPlaza, Mar 2, 2017
    DarkFlare69 likes this.
  6. PandaOnSmack

    PandaOnSmack GBAtemp Fan

    Member
    328
    183
    Nov 3, 2015
    Oh really? Sorry I didn't know. I thought zelda was last