Cfg USB Loader 70r78.9 released

Discussion in 'Wii - Backup Loaders' started by nitraiolo, May 13, 2015.

  1. nitraiolo
    OP

    nitraiolo Advanced Member

    Newcomer
    63
    44
    May 5, 2013
    Italy
    Hello,
    the new patched version of Cfg USB Loader has just been released on http://cfgusbloader.ntd.homelinux.org/trac/CfgUSBLoader.

    Changelog:
    Usability - added filter persistance per profile on config save
    Usability - added "FWD Emulators" GameType for most common emulator forwarder channels (to use with emunand)
    Usability - re-enabled online update from http://cfgusbloader.ntd.homelinux.org releases
    Internals - implemented separated online update for -222 builds

    The filter saving is trgiggered by "save_filter" in config.txt.
    To activate it you have to add
    Code:
    save_filter = 1
    in config.txt

    The simpliest way to use it is selecting the filter you want on every profile and saving them all together applying the system confing settings -> system -> save.

    The configuration is saved in the "settings.cfg" file. To cover all cases there are 7 new configuration keys:
    Code:
    profile_filter =
    
    profile_filter_genre =
    profile_filter_feature =
    profile_filter_controller =
    profile_filter_gametype =
    profile_search_field =
    profile_search_string =
    
    The "profile_filter" key is used to choose the filter type. Available filters are: all(default), online, unplayed, genre(*), features(*), controller(*), gamecube, wii, channel, duplicate, game_type(*), search(*).
    (*) = requires extra options.
    The other keys are used or not depending on choosen filter type.
    Code:
    profile_filter = all  [default]
    
                     online
    
                     unplayed
    
                     genre -> profile_filter_genre = action
                                                     adventure
                                                     fighting
                                                     music
                                                     platformer
                                                     puzzle
                                                     racing
                                                     role-playing
                                                     shooter
                                                     simulation
                                                     sports
                                                     strategy
                                                     arcade
                                                     baseball
                                                     basketball
                                                     bike_racing
                                                     billiards
                                                     board_game
                                                     bowling
                                                     boxing
                                                     business_simulation
                                                     cards
                                                     chess
                                                     coaching
                                                     compilation
                                                     construction_simulation
                                                     cooking
                                                     cricket
                                                     dance
                                                     darts
                                                     drawing
                                                     educational
                                                     exercise
                                                     first-person_shooter
                                                     fishing
                                                     fitness
                                                     flight_simulation
                                                     football
                                                     futuristic_racing
                                                     golf
                                                     health
                                                     hidden_object
                                                     hockey
                                                     hunting
                                                     karaoke
                                                     kart_racing
                                                     life_simulation
                                                     management_simulation
                                                     martial_arts
                                                     motorcycle_racing
                                                     off-road_racing
                                                     party
                                                     petanque
                                                     pinball
                                                     poker
                                                     rail_shooter
                                                     rhythm
                                                     rugby
                                                     sim_racing
                                                     skateboarding
                                                     ski
                                                     snowboarding
                                                     soccer
                                                     stealth_action
                                                     surfing
                                                     survival_horror
                                                     table_tennis
                                                     tennis
                                                     third-person_shooter
                                                     train_simulation
                                                     trivia
                                                     truck_racing
                                                     virtual_pet
                                                     volleyball
                                                     watercraft_racing
                                                     wrestling
    
                     features -> profile_filter_feature = online
                                                          download
                                                          score
                                                          nintendods
    
                     controller -> profile_filter_controller = wiimote
                                                               nunchuk
                                                               motionplus
                                                               gamecube
                                                               nintendods
                                                               classiccontroller
                                                               wheel
                                                               zapper
                                                               balanceboard
                                                               microphone
                                                               guitar
                                                               drums
                                                               camera
                                                               dancepad
                                                               infinitybase
                                                               keyboard
                                                               portalofpower
                                                               skateboard
                                                               totalbodytracking
                                                               turntable
                                                               udraw
                                                               wiispeak
                                                               vitalitysensor
    
                     gamecube
    
                     wii
    
                     channel
    
                     duplicate
    
                     game_type -> profile_filter_gametype = wii
                                                            gamecube
                                                            all_channels
                                                            wiiware
                                                            vc_nes
                                                            vc_snes
                                                            vc_n64
                                                            vc_sms
                                                            vc_md
                                                            vc_pce
                                                            vc_neogeo
                                                            vc_arcade
                                                            vc_c64
                                                            wii_channels
                                                            fwd_emu
    
                     search +-> profile_search_field = title
                            |                          synopsis
                            |                          developer
                            |                          publisher
                            |                          id6
                            |                          region
                            |                          rating
                            |                          players
                            |                          online_players
                            |                          play_count
                            |                          synopsis_len
                            |                          covers_available
                            `-> profile_search_string =  <free search string>
    
    Bye.
     
  2. tatundria

    tatundria GBAtemp Regular

    Member
    281
    29
    Feb 24, 2009
    Argentina
    Could you add "Wii U Widescreen" compatibility for Nintendon't games in the next version?
     
  3. nitraiolo
    OP

    nitraiolo Advanced Member

    Newcomer
    63
    44
    May 5, 2013
    Italy
    It has been added since 70r78.8. I don't have a Wii U but it should work, doesn't it?
     
  4. migles

    migles Mei the sexiest bae

    Member
    GBAtemp Patron
    migles is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    6,996
    4,704
    Sep 19, 2013
    Saint Kitts and Nevis
    my dad works for nintendo.
    nitraiolo website is down..

    anywho, what are the diferences between this and the cfg usb loader mod?
     
  5. nitraiolo
    OP

    nitraiolo Advanced Member

    Newcomer
    63
    44
    May 5, 2013
    Italy
    Sorry, server is up again.

    Changelog:
    Code:
    Ver. 70r78.9
    -Usability - added filter persistance per profile on config save
    -Usability - added "FWD Emulators" GameType for most common emulator forwarder channels (to use with emunand) 
    -Usability - re-enabled online update from http://cfgusbloader.ntd.homelinux.org releases
    -Internals - implemented separated online update for -222 builds
    
    Ver. 70r78.8
    -Compilation - code cleanup to remove all compilation warnings
    -GC - updated nintendont config support to version 0x00000003
    -Internals - added Wii / vWii identification capability
    -GC - fixed wide screen support in vWii for nintendont
    -GC - added nintendont memory card sizing
    -GC - added nintnedont shared memory card support
    -Internals - added "mem_card_emu" and "mem_card_size" keys for games configs in "settings.cfg"
    -Build - added revision number to version as suffix ".<rev>" (70r78.8)
    
    Ver. 70r78.7
    -Usability - added stub binary for return to loader and functions to manage the return TID via "return_to_channel" configuration key
    -Compilation - added all prebuild libraries for old PPC versions
    
    Ver. 70r78.6
    -Build - ported to Devkit PPC v27
    
    Ver. 70r78.5
    -GC - avoid mload reload on ios 58 before nintendont startup
    
    Ver. 70r78.4
    -Games - added ios 252 support (to allow a dx2 installation schema like the one in the wiiflow pack)
    
    Ver. 70r78.3
    -Cheat - porting of my download patch that disables referer only for geckocodes.org
    
    Since Ver. 70r78.9 updates.txt is updated again to allow online-update.
     
  6. tatundria

    tatundria GBAtemp Regular

    Member
    281
    29
    Feb 24, 2009
    Argentina

    It does not work for me. Only "force widescreen" works, but there is no "WiiU Widescreen" option.
     
  7. nitraiolo
    OP

    nitraiolo Advanced Member

    Newcomer
    63
    44
    May 5, 2013
    Italy
    As supposed to be. Why I should add a separate option for the same config?
    If you set widescreen on a Wii I set the nintendont wii force wide option, if you set widescreen on a Wii U I set the nintendont wii force wide and WiiU wide options:
    Code:
        if (CFG.game.wide_screen)
            ncfg.Config |= NIN_CFG_FORCE_WIDE;
        if (CFG.game.wide_screen && CFG.vwii_mode)
            ncfg.Config |= NIN_CFG_WIIU_WIDE;
     
  8. tatundria

    tatundria GBAtemp Regular

    Member
    281
    29
    Feb 24, 2009
    Argentina
    It does not work for me. I tried to play Skies of Arcadia Legends with the Widescreen option "on" through cfg usb loader and I got no widescreen, only 4:3.

    However, when I load the same game with the WiiU widescreen option "on" through Nintendont directly, I get full widescreen.
     
  9. nitraiolo
    OP

    nitraiolo Advanced Member

    Newcomer
    63
    44
    May 5, 2013
    Italy
    OK there is something wrong. To debug it I need:
    1) cfg debug.log​
    2) nintendont version​
    optionally​
    3) nincfg.bin as build by cfg​
    4) nincfg.bin as build by nintendont​
     
  10. tatundria

    tatundria GBAtemp Regular

    Member
    281
    29
    Feb 24, 2009
    Argentina
    1) cfg debug.log

    # CFG USB Loader 70r78.9

    IOS:

    IOS222 : not installed
    IOS223 : not installed
    IOS224 : not installed
    IOS245 : not installed
    IOS246 : not installed
    IOS247 : not installed
    IOS248 : not installed
    IOS249 Base: 56 d2x v10beta52-vWii (r21010)
    IOS250 Base: 57 d2x v10beta53-alt-vWii (r21010)
    IOS251 Base: 58 d2x v10beta53-alt-vWii (r21010)
    IOS252 : not installed

    MEM STATS:
    libOGC 1.8.12 devkitPPC 27 (gcc4.8.2) -Os
    libc: s: 9.00 u: 0.92 f: 8.08 mx:7.61
    mem1: s: 9.98 u: 8.34 f: 1.64 t:2,1
    mem2: s:49.87 u:37.91 f:11.96 t:25,4
    m1+2: s:59.85 u:46.25 f:13.60
    totl: s:68.85 u:47.17 f:21.68
    ccache p: 17 m: 0 f: 483 / 500
    cc mem: s:25.0 u:3.0 f:22.0 [17,1]
    cc tm: load: 0.404 decode: 0.301
    cc 2d:0 3d:17 d:0 f:0 hq:0 f2d:0

    TIME STATS:

    times in seconds:
    intro: 0.071 wpad: 0.002
    ios1: 1.142 ios2: 0.000
    sd_init: 0.140 sd_mount: 0.008
    usb_init: 0.000 mount: 0.000 retry: 0.000
    open: 0.000 ini: 0.000 cap: 0.000
    cfg: 0.398 (config,settings,titles,theme)
    misc: 0.011 (lang,playstat,unifont)
    wiitdb: 1.824 load: 0.927 parse: 0.897
    gamelist: 0.235 mp3: 0.000
    conbg: 0.119 guitheme: 0.277
    sum: 4.227 uncounted: 0.585
    total startup: 4.812

    DEBUG LOG:

    main(1)
    [0.000] --> boot
    vWii Mode
    [0.449] --> intro
    [0.520] <-- intro
    channel id: 55435846
    [0.592] --> ios1
    IOS_Reload(249)

    tmd id: 1000000f9 1-f9 t: 1 v: 21010open(/dev/mload)=4
    reload ios: 249 = 0
    [1.734] <-- ios1
    [1.734] --> usb_init
    open(/dev/usb2)=4 init:-100 cap:0 ss:0
    [1.735] <-- usb_init
    Mount SD
    [1.735] --> sd_init
    open(/dev/sdio/sdhc)=4
    [1.875] <-- sd_init
    [1.875] --> sd_mount
    fstype(2)=4
    Plist(2)=4 ss:512
    P#0 8192 63264768 12
    part_find(1 1)
    Mount sd 2 8192 1
    fatMount(sd,8192)FAT memalign 4096
    FAT memalign 512
    = 1 8192
    mount_add(sd,2,8192,1)
    [1.884] <-- sd_mount
    Mount USB
    USB startup
    [1.884] --> usb_init
    open(/dev/usb2)=5 init:-100 cap:0 ss:30159
    [1.885] <-- usb_init
    [1.885] --> cfg
    parse(sd:/usb-loader/config.txt) = 3
    read(179) = 179
    parse(sd:/usb-loader/themes/Glass/theme.txt) = 3
    read(1341) = 1341

    EOF(sd:/usb-loader/themes/Glass/theme.txt)
    parse(sd:/usb-loader/config.txt) = 3
    read(179) = 179

    EOF(sd:/usb-loader/config.txt)
    parse(sd:/apps/usbloader/config.txt) -

    EOF(sd:/usb-loader/config.txt)
    parse(sd:/usb-loader/titles.txt) = 3
    read(296226) = 296226

    EOF(sd:/usb-loader/titles.txt)
    parse(config.txt) -
    parse(titles.txt) -
    parse(sd:/usb-loader/custom-titles.txt) -
    parse(sd:/usb-loader/settings.cfg) = 3
    read(5610) = 5610
    parse(sd:/usb-loader/themes/ULike/theme.txt) = 3
    read(1357) = 1357

    EOF(sd:/usb-loader/themes/ULike/theme.txt)
    parse(sd:/usb-loader/config.txt) = 3
    read(179) = 179

    EOF(sd:/usb-loader/config.txt)
    parse(sd:/apps/usbloader/config.txt) -

    EOF(sd:/usb-loader/settings.cfg)
    [2.283] <-- cfg
    [2.301] --> wpad
    [2.303] <-- wpad
    [2.303] --> conbg
    [2.423] <-- conbg
    [2.430] --> misc
    [2.442] <-- misc
    [2.442] --> wiitdb
    [2.442] --> db_load
    [3.369] <-- db_load
    [4.266] <-- wiitdb
    debug: 0 0
    base_path: sd:/usb-loader
    apps_path: sd:/apps/usbloader
    covers: sd:/usb-loader/covers
    theme: sd:/usb-loader/themes/ULike
    url: http://art.gametdb.com/wii/cover/{CC}/{ID6}.png
    hide: 1 __CF
    args[1]: [0]=sd:/apps/usbloader/boot.dol
    music: 0 gui: 4 CC: EN
    device: 2 partition: FAT1

    HBC lower TID 4c554c5a
    Reading 0000000c.app from MIOS

    tmd id: 1000000f9 1-f9 t: 1 v: 21010
    tmd id: 1000000fa 1-fa t: 1 v: 21010
    tmd id: 1000000fb 1-fb t: 1 v: 21010USB startup
    [4.292] --> usb_init
    open(/dev/usb2)=7 init:-100 cap:0 ss:13
    [4.293] <-- usb_init
    Unmount game
    open_part(FAT1)
    fstype(2)=4
    Plist(2)=4 ss:512
    P#0 8192 63264768 12
    part_find(1 1)
    Unmount game
    openpart(1 1 8192 63264768)
    game part=FAT1
    OK! partition=FAT1
    [4.297] --> gamelist

    Searching GC games in usb:/games ...

    Searching GC games in sd:/games ...

    Searching channel games in usb:/nand/title/00010001 ...
    Channel: 0
    Found 17 games (3 wii games, 14 gc games and 0 channels)
    [4.533] <-- gamelist
    [4.533] --> mp3
    Music: Disabled
    [4.534] <-- mp3
    [4.534] --> guitheme
    [4.811] <-- guitheme
    [4.812] <-- boot
    cc. start
    img: sd:/usb-loader/themes/ULike/button.png
    img: sd:/usb-loader/themes/ULike/checkbox.png
    img: sd:/usb-loader/themes/ULike/radio.png
    img: sd:/usb-loader/themes/ULike/window.png
    img: sd:/usb-loader/themes/ULike/icon_main.png
    img: sd:/usb-loader/themes/ULike/icon_settings.png
    img: sd:/usb-loader/themes/ULike/icon_quit.png
    img: sd:/usb-loader/themes/ULike/icon_style.png
    img: sd:/usb-loader/themes/ULike/icon_view.png
    img: sd:/usb-loader/themes/ULike/icon_sort.png
    img: sd:/usb-loader/themes/ULike/icon_filter.png
    img: sd:/usb-loader/themes/ULike/icon_fav.png

    tmd id: 1000000f9 1-f9 t: 1 v: 21010
    tmd id: 1000000fa 1-fa t: 1 v: 21010
    tmd id: 1000000fb 1-fb t: 1 v: 21010
    Searching GC games in usb:/games ...

    Searching GC games in sd:/games ...

    Searching channel games in usb:/nand/title/00010001 ...
    Channel: 0
    Found 17 games (3 wii games, 14 gc games and 0 channels)


    END

    2) nintendont version
    Nintendont v3.337

    Find attached the two nincfg.bin files


    Thank you!
     

    Attached Files:

  11. nitraiolo
    OP

    nitraiolo Advanced Member

    Newcomer
    63
    44
    May 5, 2013
    Italy
    Thanks!

    As I saw from debug.log vWii is correctly detected, but as I saw from the nincfg.bin the WiiU wide option isn't set.

    Code:
    [Conf] - [VidM] [nincfg.bin]
    0x8048 - 0x0000
    1000000001001000 - 0000000000000000
     
    [Descr.]
     
    MEMCARDEMU
    FORCE_PROG
    WIIU_WIDE
    -
    <none>
    Code:
    [Conf] - [VidM] [nincfg USBcfg.bin]
    0x00E8 - 0x0001
    0000000011101000 - 0000000000000001
     
    [Descr.]
     
    MEMCARDEMU
    FORCE_WIDE
    FORCE_PROG
    AUTO_BOOT
    -
    INDEX_AUTO
    I pmed you with a patched version that should fix the problem.
    Let me know.
     
  12. tatundria

    tatundria GBAtemp Regular

    Member
    281
    29
    Feb 24, 2009
    Argentina
    yes it's working now! thanks a lot!!