Commit Graph

87 Commits

Author SHA1 Message Date
dimok321
626c79ea2d *Added the custom libfat source to our source so you don't need to replace the original one in libogc
*Added NewSuperMarioBrosPatch for NTSC Version
2009-11-15 21:30:44 +00:00
e.bovendeur
a09abe355f * Added FAT support (Issue 1054)
* Fixed issue 1058
* Menus splitted to several smaller files, to reduce compile time

This version has FAT support. You can change the used partition in the game load options. Default WBFS will be used, if found. Otherwise the first FAT partition with games will be used. FAT will only work when using Hermes cios (222/223)!!!
2009-11-15 19:52:58 +00:00
ardi@ist-einmalig.de
a0182d0c4c * GuiSound stuff rewritten it makes modular
* ogg decoder added (old oggplayer removed)
  * mp3 decoder added (mp3's cane use as backgroundsounds)
  * WAVE decoder added (but only uncompressed WAVE's)
  * AIFF decoder added (only uncrompressed)
  * BNS decoder added
    all soundformats can use as backgroundsounds
    dimoks GameSound class removed it is replaced with the new GuiSound stuff

* Many small fixes and other changes
2009-11-09 23:03:13 +00:00
ardi@ist-einmalig.de
12e42498dc * remove my old (and buggy) ramdisc (libFAT-Wrapper) with my new
real dynamic ramdisk (currently unused)
* added Make.config
2009-10-31 23:23:27 +00:00
dimok321
ed2ac8f085 *Created a Theme Downloader with preview, downloading themes from http://wii.spiffy360.com/ (Thanks for hosting them)
NOTE: The images used right now for the theme loader are made out of our old images and if someone can make some new ones go ahead. The themes are downloaded to the path you can set up. The downloaded preview images are cached at "<set up theme downloadpath>/tmp/". The widescreenfix isn't implemented there yet because images will probably be changed.

*Started 3rd SettingsPage

*Added JPEG Loading GuiImageData function and 4x4RGBA converter by r-win from WiiXplorer

*Added ZipFile Class from WiiXplorer

*Added StringToMD5 and MD5ToString to MD5 functions and made it undependable of platform
2009-10-21 19:32:46 +00:00
giantpune
b753af6d4d sprinkled gprintf() throughout the source some more.
added functions to mess with the "return to" stub.  everything should be working right, but if i messed up, it may cause you not to be able to exit the program (it could just keep restarting itself).  now when booting homebrew, they should exit back to this program if you have a channel installed as UNEO or ULNR.  priority is given to UNEO if both are present.
2009-10-20 23:00:19 +00:00
e.bovendeur
1cc7d3acd6 * Added initial support for the new wiiload (compressed protocol), uncompressed protocol is also supported
* Added initial (untested!) support for the zip file format, which is supported by the HBC
* Began working on compressed wad files. Uncompressing fails for now, so uploading WAD files should be done with the previous version of Wiiload.
* Fixed issue 902 (hence the large commit).
2009-09-30 23:10:58 +00:00
ardi@ist-einmalig.de
0b9f15319f i have the coment of the last commit forgotten.
here is it:
* added a search-function
* added a new GuiImage type GuiImageAsync
  This Type is initialized with an Image-Path and a GuiImageDate as preloaded Img.
  The preloaded image shown immediately during a thread loads the image from path.
* rewrite the GameGrid and the GameCarousel to use the new GuiImageAsync
* remove dimoks buffer stuff
* remove the gray-Icons and use dimoks SetGreyscale() to build this icons on the fly
* added an own Path for 2D-Covers
  set in GXGlobal.cfg cover2d_path=PathTo2DCovers
  default is $(cover_path)/2D/
* added in menu.cpp/menu.h a new function
  GuiImageData *LoadCoverImage(struct discHdr *header, bool Prefere3D=true, bool noCover=true);
  if Prefere3D==true first search in cover_path. Is it false then first search in cover2d_path
  if noCover==true and found no image then loads noimage.png or noimage2d.png or its builtin variants
  if noCover==false and found no image returns a NULL-Pointer
  Prefered3D is set for GameList & GameCarousel. For GameGrid is Prefered3D=false (2D is prefered)
* Toolbar-Icons: the selected Icon draws alwas ontop
* remove compiler-warnings in wad.cpp
* added own icon-positions for gamelist,gamegrid and gamecarousel in THEME.Settings
  gamelist_..._x/gamelist_..._y,gamegrid_..._x/gamegrid_..._y and gamecarousel_..._x/gamecarousel_..._y
  ... = favorite, abc, count and so on;
  The old settings (favorite_x, favorite_y, abc_x and so on) are obsolete
  and should no longer be used in future.
* and more
2009-09-27 18:26:17 +00:00
lustar.mii
6a6f02ecf8 2009-09-26 17:15:09 +00:00
lustar.mii
370a332fcc The known alt dol is now automatically used when launching a game that requires it, if no dol was selected (setting a dol in game settings will override it). This includes the alt dol prompt that was added a few revisions ago for games that require choosing between different dols. Fixed dol name display in the game settings. Added check to prevent empty .gct file creation. The .gct code files can now be deleted from the Uninstall Menu. 2009-09-18 08:28:31 +00:00
ardi@ist-einmalig.de
d9cc4ecd83 change Makefile to reduce svn-conflicts
make updated always the lang-files
now:
make      -> builds only the boot.dol
make all  -> builds the boot.dol and updated the lang-files
make lang -> only updated the lang-files
2009-09-05 11:02:27 +00:00
dimok321
de01dd2a18 *Small fix. The Menu i did didnt show up lol.
*Small change in the sh file because there was an error on linux while compiling.
2009-07-31 21:16:02 +00:00
giantpune
8e42f68cae changed the entrypoint in the makefile, yet again. In testing, this fixed the bug which caused some to get code dump when launching a game.
Also messed with the run command within the makefile.  press alt+r to compile the source code and then send the resulting dol to the wii.   
*note*
you must have the environmental variable set up for wiiload.  you don't need to have the .exe file, just the WIILOAD variable
2009-07-31 05:22:33 +00:00
ardi@ist-einmalig.de
4147f980dc makes the svnrev shit fit for linux. remove svnrev.c 2009-07-30 20:21:44 +00:00
giantpune
c9b7cf70b4 now if the name of installed channels is not in the database.txt, we try to fine it from inside the channel itself.
first try the 00000000.app with the system language, then with english.
if there is still no name for the title, look in banner.bin

also made a kick-ass clone of the wii settings screen to adjust the normal wii settings.  it is after all the channels.
2009-07-30 02:54:08 +00:00
dimok321
cc590e1ac8 *Reverted the svnrev.sh and Makefile because shell needs ../ and needs to be under the else state next to DEPENDS for the command to work.
*Uploaded the svnrev.c back online. It can stay on SVN there is nothing wrong with it :P.
2009-07-26 20:58:43 +00:00
ardi@ist-einmalig.de
47989619cd little changes 2009-07-26 11:32:30 +00:00
giantpune
19067967bc change the onscreen keyboard to filebrowser for custom paths
no button to create a new file and a little bug with the scrolling, but better than typing stuff in.

added channel launcher.  currently doesnt show the actual name, only the u32 and ID.  also, it is only showing 0x00010001 channels, so no Mii, weather, or other crappy channels,  just the good stuff.

fixed bug that showed the MacOS hidden files as extra homebrew entries.
2009-07-25 09:39:01 +00:00
ardi@ist-einmalig.de
f3296b3570 * insert last SVN-Rev (#define SVN_REV) also in use of TortoiseSVN
* all files that refere SVN_REV are automatically recompile
2009-07-24 16:16:31 +00:00
dimok321
71adda33e0 *Made a little HBC inside our loader
*Added HomebrewFiles Class

NOTE 1: In settings/custompaths you can change the HomebrewPath and the standard is SD:/apps/. Our browser searches for EVERY .dol and .elf file in the directory even if its not called boot.dol.

NOTE 2: Giantpune and me tested the homebrewbooting and it worked for every homebrew we tested except our own application. (a bit ironic)

NOTE 3: Right now the information on the Buttons is the path to the Homebrew. This and the BootPrompt will be replaced with the XML information inside the path of the homebrew later but for now i am taking a break

NOTE 4: Right now the button to the HomebrewMenu is next to WiiMenuButton and has the same image as the listgamebrowser. I didnt have any images so i took what i had and cyrex will change the images when he is back. Also there will be a no icon image added later.
2009-07-19 09:10:25 +00:00
giantpune
9c8243aec2 added a function to auto select the alt dol based on a list. there are only a few on the list right now.
changed the xml url again to allow up to 500 games to be called for.

changed the magic 0x address in the makefile to hopefully fix some alt dol stuff.
2009-07-16 06:37:33 +00:00
dimok321
928020b32f *Added AlternateDOL from disc feature
*Added Browser for AlternateDOL from disc feature

NOTE: Right now the browser isn't working right and crashing from time to time so you i would not recommend to use it yet. It's also showing all files on the disc for test purpose. I'll try to fix it later right now i don't have time for it.

*Changed some minor codes and moved cheats to its own folder
2009-07-15 17:20:45 +00:00
thedarkness1981
6937ff5a51 Moved Banner stuff in own directory and added extraction 2009-07-14 14:28:17 +00:00
giantpune
57f0ce0ed4 Added functions/vars to GuiText to allow showing & hiding rows when it is wrapped.
new vars are
firstLine = 1;
numLines = -1;
totalLines = 1;
totalLines is not changed until the text is set to wrap and Draw() is called 1 time.
The other 2 are set with functions.
new functions are
void GuiText::SetNumLines(int n)
void GuiText::SetFirstLine(int n)
int GuiText::GetNumLines()
int GuiText::GetFirstLine()
int GuiText::GetTotalLines()
int GuiText::GetLineHeight(int n) 
These should be self explanatory. GetLineHeight relies on total lines so it needs to be called after the first Draw();
Raised the chars[] to 3000 for the synopsis because people are writing books in there.
Used those new fancy functions make the synopsis fit in the info window.  Press up/down to scroll the text.  Arrows may come later for the buttons.  Also put a home buttononlytrigger on the game prompt.  moved disable mainWindow to the beginning of the infoprompt to keep from loading images and stuff from the sd at the same time we are reading the xml file.
2009-07-13 11:19:31 +00:00
thedarkness1981
c5b6d02cb6 Wad stuff in it´s own directory 2009-07-11 15:33:57 +00:00
giantpune
9b46eb613a apply flipX settings to gamewall and carousel, fix screensaver bug to keep it from coming on when it is turned off. added support for updating full channel. in order to make the full channel updatable, comment/remove "#define NOTFULLCHANNEL" from promptwindow.h. also there must be a wad to update to (saved as a txt file) on the update server. for some reason the ticket was corrupted when it was stored as a wad.
also there are 6 compile warnings from the conversion of wad.c to .cpp but everything still works and installs fine.
2009-07-11 05:55:29 +00:00
dimok321
a38c04d73a *Updated to new libogc (you need to update libogc files to be able to compile)
*Added Metaphrasis to the source instead of having it as lib
2009-07-08 21:25:35 +00:00
ardi@ist-einmalig.de
d73fac1add change the handling of language-files. now use GNU gettext.(i hope, i have no file forgotten) 2009-06-23 18:59:28 +00:00
ardi@ist-einmalig.de
fd4b98714f * little changes
* remove using of rev.txt
2009-06-13 12:56:24 +00:00
dimok321
8601abdf29 *Sorting files a bit 2009-06-13 00:24:36 +00:00
dimok321
940fa4b441 *Reverted cyrex changes to the settings
*Added Japanese UnicodeFix made by Rudolph (thanks) (you still need to compile with a japanese font.ttf to have it work)
*Added missing languagevariables 

issue 517, issue 515, issue 519
2009-06-12 20:11:59 +00:00
lustar.mii
0c2c543f46 minor change to use mxml that is included with libogc (identical version) 2009-06-11 18:21:19 +00:00
giantpune
62fa4e4285 Added support to read game information from xml. The first draft of the xml is in the downloads section of googlecode. Put the file (still zipped) in your titles.txt path. then highlite a game and press 2 to view stuff about the game. If a synopsis exists for that game in the file, you can see it by pressing a. Currently only 1 game has a synopsis.
There are lots of fields that are wrong/missing on the xml but don't tell us about it.  Somebody else (Lustar) will be in charge of keeping up with it.
2009-06-09 05:20:49 +00:00
DRayX7
fa68ab959d *Added support for compiling the revision number into the binary. This is then shown in the credits window, and may be used for online updates eventually.
*Note: Compiling this requires a real (CLI) SVN client.

**For the following operating systems, I recommend these clients.
*Windows: SilkSVN (http://www.silksvn.com/en/download)
*Red Hat based GNU/Linux: SummerSoft (http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/)
*Solaris: Sunfreeware (http://www.sunfreeware.com/)

**For the following operating systems, you can simply type in these shell commands.
*Debian based GNU/Linux: apt-get install subversion
*Fedora based GNU/Linux: yum install subversion
*OpenBSD: pkg_add subversion
*FreeBSD: cd /usr/ports/devel/subversion; make install

**Mac OS X usually comes with subversion, but you can download updates here: openCollabNet (http://downloads.open.collab.net/binaries.html)

**For any operating system not listed above, you can obtain the source here: Tigris (http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=260&expandFolder=74)
2009-05-24 20:11:59 +00:00
dimok321
bcff8dfd58 *Added MP3 functions and MP3 Menu
DON'T USE IT ITS STILL BUGGY. DON'T MAKE ISSUES ABOUT IT.
2009-05-13 15:56:16 +00:00
thedarkness1981
d3d8b79873 fixed issue255 2009-05-11 23:57:43 +00:00
dimok321
c152f5c3d4 *Added Standard IOS option to global settings. This decides with what IOS the Loader is gonna boot next. 2009-05-03 18:53:31 +00:00