Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Jul 27, 2011
  1. *Mass formatting of libwbfs, and updating it to some of the features …

    miigotu@hotmail.com authored
    …adding to it in GX. Hopefully i didnt break anything.
    
    *Add support for d2x v7 alpha 4 so nand can be on same usb partition as wiiflow.ini, regular wii games, and the settings dir.
    *Changes in disc.c trying to fix bully, sam & max, and smurf dance party.  Doesnt fix it but I'm trying to match GX's booting methods since adding their mem2 management is what broke it.
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@395 43c7226f-5572-e80b-0314-b0280708705f
  2. *Adjust memory ranges and protect areas used for appldr and wdvd unen…

    miigotu@hotmail.com authored
    …crypted read from libogc or mem2alloc.cpp use.
    
    *Raise amount of memory set aside for mem2alloc.cpp to a max of 52, still limited by arena2 size.
    
    *NOTE: seems SYS_GetArena1Lo always returns the SAME address? SYS_GetArena1Size is always the same at least. I might be wrong but if this is so we are going to need to manage mem1 on our own also.
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@394 43c7226f-5572-e80b-0314-b0280708705f
Commits on Jul 26, 2011
  1. *Cleanup some menu options code

    miigotu@hotmail.com authored
    *Fix playcount/lastplayed setting
    *If no debugger selected or cheats set hooktype to 0, otherwise if hooktype is 0 and debugger or cheats set  make hooketpye 1.
    *'b' on channel/homebrew/usb icon will now also switch to the channel view, along with toggling nand emu mode.
    *Uppercase partition name for notices/buttons
    *Prevent homebrew mode form selecting wbfs partitions
    *Prevent channel emu from selecting any partition that is not fat32 or houses the app dir or data dir for wiiflow.
    *mb some other stuffs lol
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@393 43c7226f-5572-e80b-0314-b0280708705f
Commits on Jul 25, 2011
  1. clean up code

    miigotu@hotmail.com authored
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@392 43c7226f-5572-e80b-0314-b0280708705f
Commits on Jul 24, 2011
  1. *Remove certs.h

    miigotu@hotmail.com authored
    *Auto update SYSCONF and Mii's each wiiflow nand emulation session
    *Clean up gprintf's
    *Super clean up patching/hooking/cheats and fix them for channels (i think, at least it doesnt crash/freeze on game launch when using cheats)
    *load the codehandler when hooktype is !=0 even if codes are empty to let a debugger be used without a cheat enabled
    *Replace dol loading code for channels with mine.
    *MOAR DONE
    
    ===TODO===
    *Add nand emu options to menu and clean up the blanks.
    *"http://geckocodes.org/codes/R/%s.txt needs to have the R replaced with the first letter of the gameid to get cheats for all types. eg W for wiiware.  Kept crashing or giving odd behavior when i tried to strangely, but the file was on my drive.  Will do later.
    *Update certs.sys from real nand if it doesnt exist on the emunand
    *Enable emu for R games to have save emulation
    *Only mount emu when booting to prevent issues of unmounting a partition that might house m_AppDir or m_DataDir
    MOAR TODO
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@391 43c7226f-5572-e80b-0314-b0280708705f
Commits on Jul 23, 2011
  1. Add nand emulation, remove disabledvdpatch option.

    miigotu@hotmail.com authored
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@390 43c7226f-5572-e80b-0314-b0280708705f
Commits on Jul 15, 2011
  1. *More fonts and sounds cleanup. Almost everything is cached and reuse…

    miigotu@hotmail.com authored
    …d now. Need to add flip and cancel sounds for best results in default theme. Also should consider changing default select and hover sounds.
    
    *Now uses btn hover and click for coverflow hover and click.
    *CF fonts and sounds reuse ones loaded in SThemeData &theme.fontSet and .soundSet now
    
    *Cache default sounds and fonts also.
    
    NOTE: Still cracking in cf flipsound, even though i have it at 4 instances using 4 voices.  Seriously need to find that issue.
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@389 43c7226f-5572-e80b-0314-b0280708705f
  2. *oops, broke banners trying to fix theme sounds -.- FIXED

    miigotu@hotmail.com authored
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@388 43c7226f-5572-e80b-0314-b0280708705f
  3. Fix sounds not loading when changing themes or reloading wiiflow. Sti…

    miigotu@hotmail.com authored
    …ll seems there is a leak when rebooting wiiflow somewhere tho.
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@387 43c7226f-5572-e80b-0314-b0280708705f
  4. Latest changes from main branch, allows forcing join of threads.

    miigotu@hotmail.com authored
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@386 43c7226f-5572-e80b-0314-b0280708705f
Commits on Jul 14, 2011
  1. *Make banners not keep restarting/looping when they arent suppised to.

    miigotu@hotmail.com authored
    *Remove a fail gprintf.
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@385 43c7226f-5572-e80b-0314-b0280708705f
  2. *Remove cios modules and sources

    miigotu@hotmail.com authored
    *Limit support to d2x
    *Remove old unneeded patching methods.
    *Add fix from main wiiflow for the memory leak in banner sounds.
    
    TODO: Rearrange menu's to fix blanks.
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@384 43c7226f-5572-e80b-0314-b0280708705f
Commits on Jul 13, 2011
  1. *Change gamesound thread implemetation and now it get joined with a n…

    miigotu@hotmail.com authored
    …on-blocking approach. Also updated waitThread to operate the same way. Other threads should follow this same setup imho.
    
    NOTE: Still losing ~300K / CF item in mem2.  And, is my mem1 freesize check wrong? never changes here.
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@383 43c7226f-5572-e80b-0314-b0280708705f
Commits on Jul 12, 2011
  1. *Changed all free calls back to SMART_FREE

    miigotu@hotmail.com authored
    *Added MEM2_SMART_FREE to prevent some more dangling pointers.
    
    
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@382 43c7226f-5572-e80b-0314-b0280708705f
  2. *Trim more fat from the memory manager

    miigotu@hotmail.com authored
    *Get rid of SAFE_FREE and just fixed the wrapped free to set the pointer back to null after freed.
    *Add free memory debugging label, uncomment line 3 of menu.h.
    
    *Slightly Unstable and slow seemingly.  Need to fix the gamesound thread and add a callback to each thread and check if they are finished each mainloop before joining, its causing blocks.
    
    *Fix loading of fonts for the most part.
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@381 43c7226f-5572-e80b-0314-b0280708705f
Commits on Jul 11, 2011
  1. *Fix crash with fonts in themes and got rid og more oldschool font code.

    miigotu@hotmail.com authored
    *Known bug: Font sizes need adjusted either by using a multiplier in the code or updating default and themes values.  They are SUPER tiny.  Also, will set the font sizes, spacing, and weights to defines in defines.h for default theme tomorrow.
    
    *Fix themes custom sounds not playing partially, they still crackle and pop sometimes and skip.  will work on it tomorrow if r-win doesnt beat me to it xD.
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@380 43c7226f-5572-e80b-0314-b0280708705f
Commits on Jul 10, 2011
  1. *Force cache update when installing or removing a game from inside wi…

    miigotu@hotmail.com authored
    …iflow.
    
    *Add-on to r-win's change in gui_sound.cpp so that null allocations don't happen with LZ77 compressed sounds as well.
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@379 43c7226f-5572-e80b-0314-b0280708705f
Commits on Jul 9, 2011
  1. Fix build error on CI server.

    r-win@live.com authored
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@378 43c7226f-5572-e80b-0314-b0280708705f
  2. * Use the default Wii font instead of a custom font. The font is extr…

    r-win@live.com authored
    …acted from the NAND at runtime (thank you, giantpune, for your help with the hashes and the filenames, etc.)
    
    * Extract u8 archive methods to seperate file
    * Added support for watchdog in d2x v7 alpha 2 (thnx daveboal)
    * Fixed a small bug in coverflow and threading (Miigotu)
    * Added font weight to FreeTypeGX and themes (_weight setting)
    * Added support for multiple font faces in a font file (needed for the wii font)
    * Borked Wii Movie (should be fixed later, don't use it for now)
    * Prevent WDM to be loaded if on d2x
    * Cleanup more resources before IOS Reloading (should fix dump when using ios reload)
    * Added more checks in soundhandling (null buffers, etc.)
    * Removed threading from gamercard functionality (untested atm)
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@377 43c7226f-5572-e80b-0314-b0280708705f
Commits on Jul 8, 2011
  1. *Use GX mem2.cpp

    miigotu@hotmail.com authored
    *Remove source/data/
    *Move images, sounds, and fonts from resources to trunk/data
    *Change makefile to use bin2s on most normal file types
    *Remove rvl.ld and that stupid .cdat section
    *Cover_* memory functions all now use malloc, which will allocate into mem2 automatically if >0x40 in size, can do something later if this isn't acceptable.
    *No need for different freeing functions based on srccall in smartbuf, free finds the right call to make based on pointer address.
    *Some thread or somehting still freezes on 3rd b+reload, leaving the wait screen scrolling. Orphan?
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@376 43c7226f-5572-e80b-0314-b0280708705f
Commits on Jul 7, 2011
  1. *Fixed _picloader threading and renamed it to _coverLoader, renamed s…

    miigotu@hotmail.com authored
    …top/startPicLoader to stopCoverLoader and startCoverLoader
    
    *Seems to fix crash when booting a game too quickly after playing game sound.
    
    *Seems to fix bug where _picloader would not end on exitting/booting a game given the perfect timing to screw it up.
    
    *b+reload still hanging on blitting wait screen after 3 reloads, looking elsewhere.
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@375 43c7226f-5572-e80b-0314-b0280708705f
Commits on Jul 5, 2011
  1. Added back more character sets in the DejaVu fonts, including cyrilli…

    lustar.mii@gmail.com authored
    …c and baltic.
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@374 43c7226f-5572-e80b-0314-b0280708705f
Commits on Jul 4, 2011
  1. *Give wait message thread it's own smartbuff'd stack, which is freed …

    miigotu@hotmail.com authored
    …once the thread is done and is now joined. Also made it static. Cleared m_waitMessages in the hide method instead of the show method to free the memory when its not showing. (time-memory tradeoff)
    
    *Removed the u32* count stuff from the cache, use m_gamelist.size() or whatever the tag is instead. gotta love vectors.
    
    *Disabled caching of music file paths since sizeof(std::string) doesn't know the length of the string which caused alot of pooping (thx r-win for finding my fudge)
    
    *Clean up switch partition and language switch code in the menu
    
    *Update the cache when switching language (to get the correct title language)
    
    *Leave 1MB more unallocated space in mem1. TODO: Verify it helps and that it is still necessary.
    
    *Some cleanup.
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@373 43c7226f-5572-e80b-0314-b0280708705f
Commits on Jul 3, 2011
  1. *Don't walk the directory to verify the cache, stat'ing mass files it…

    miigotu@hotmail.com authored
    … becomes slower and slower with more files.
    
    *Fix gameid in synopsis (r-win)
    
    *Only load wiiTDB when we need to, the instance being open all of the time creates memory problems since we are near the wall.
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@372 43c7226f-5572-e80b-0314-b0280708705f
  2. Fixed sector size in devicemounter, which made an assumption (thnx Mi…

    r-win@live.com authored
    …igotu, for the hint)
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@371 43c7226f-5572-e80b-0314-b0280708705f
  3. Updated FAT/NTFS/WBFS for 4k sectors (thanks dimok and oggzee)

    r-win@live.com authored
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@370 43c7226f-5572-e80b-0314-b0280708705f
Commits on Jun 29, 2011
  1. * Fixed a small bug that forced a cache update on every launch

    overjoy.psm@gmail.com authored
    * Added lost code for custom titles and wiitdb titles for wbfs partition users
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@369 43c7226f-5572-e80b-0314-b0280708705f
Commits on Jun 28, 2011
  1. * Updated Makefile to always include alt_ios_gen.c

    r-win@live.com authored
    * Changed default font to DejaVu (Russian glyphs are removed for now!)
    * Changed list to include a lookup in custom_titles
    * Fixed problem with gamesound when exiting submenus like synopsis or settings
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@368 43c7226f-5572-e80b-0314-b0280708705f
  2. Goodbye titles.ini

    overjoy.psm@gmail.com authored
    - Title and case color info are all stored in cache and discHdr
    - Titles.ini isn't used anymore
    
    
    
     
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@367 43c7226f-5572-e80b-0314-b0280708705f
Commits on Jun 26, 2011
  1. * Added another scan to the cache to speed up loading for users with …

    overjoy.psm@gmail.com authored
    …invalid entries
    
    * Replaced callback. Cache now uses new WiiTDB code for getting titles
    * Some minnor fixes
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@366 43c7226f-5572-e80b-0314-b0280708705f
  2. * Fixed a bug with the new opendir, readdir, closedir stuff (S_ISDIR …

    r-win@live.com authored
    …cannot be used anymore).
    
    * Fixed compile warnings in list.cpp
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@365 43c7226f-5572-e80b-0314-b0280708705f
  3. * Compiled portlibs with r23

    r-win@live.com authored
    * Added fatfile_frag.h header to frag.c
    
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@364 43c7226f-5572-e80b-0314-b0280708705f
  4. Missed a diropen, changed it to opendir.

    r-win@live.com authored
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@363 43c7226f-5572-e80b-0314-b0280708705f
  5. * Updated source to use libogc 1.8.7 (YOU SHOULD ALL UPDATE LIBOGC NOW)

    r-win@live.com authored
    * Changed titles.ini and custom_titles.ini to a DEFINE in defines.h
    * Removed iosDestroyHeap, since tantric says we can't use it anymore
      - Beautified mload.c
    
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@362 43c7226f-5572-e80b-0314-b0280708705f
Commits on Jun 25, 2011
  1. Looking up base IOS fixed by xabby666 (thanx).

    r-win@live.com authored
    git-svn-id: https://wiiflow-advanced.googlecode.com/svn/trunk@361 43c7226f-5572-e80b-0314-b0280708705f
Something went wrong with that request. Please try again.