-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
995 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<app version="1"> | ||
<name>WiiBrowser</name> | ||
<coder>gave92</coder> | ||
<version>rev98</version> | ||
<release_date>201304280150</release_date> | ||
<arguments> | ||
<arg>homepage</arg> | ||
</arguments> | ||
<short_description>A wii web browser</short_description> | ||
<long_description>WiiBrowser is a web browser for the wii by gave92 started from WiiXplore sources and using a customized libwiigui as base for the GUI. | ||
|
||
Features: | ||
* Display custom web sites | ||
* Support for HTML and HTTPS connections | ||
* Support for links and web forms | ||
* Address bar with on-screen keyboard | ||
* File download to USB/SD/SDHC | ||
* File upload | ||
* Take screenshots | ||
* Favorites menu | ||
* Back and Forward navigation | ||
* Support for USB keyboard | ||
* Supported Image Formats: PNG/JPEG/GIF/BMP | ||
* Image operations: zoom/move | ||
* Autoupdate feature | ||
|
||
Wishlist: | ||
* Better CSS support | ||
* HTML5/Flash videos | ||
* Multiple tabs | ||
|
||
Controls (Wii Remote Only): | ||
* Aim the remote - Move pointer | ||
* A button - Click | ||
* B button - Free scroll | ||
* D-Pad - Navigate | ||
* Plus - Open app bar | ||
* Minus - Close app bar | ||
* 1 button - Take screenshot | ||
* 2 button - Restore default view | ||
* Home - Exit app | ||
* Power - Turn off Wii | ||
|
||
Shortcuts | ||
* B + D-Pad up: Refresh current page | ||
* B + D-Pad down: Save page | ||
* B + D-Pad left: Browse homepage | ||
* B + D-Pad right: Enter new URL | ||
* B + (-) key : Go back a page | ||
* B + (+) Key: Go forward one page | ||
|
||
Credits: | ||
Main Coder: gave92 | ||
Wii Xplore: SteelSlasher | ||
FreeTypeGX: Armin Tamzarian | ||
Libwiigui: Tantric | ||
Libogc/DevkitPro: Shagkur and Wintermute | ||
First meta.xml: DniMretsaM | ||
</long_description> | ||
</app> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# WiiBrowser Settingsfile | ||
# Note: This file is automatically generated | ||
|
||
# Main Settings | ||
|
||
Language = 1 | ||
Revision = 98 | ||
Autoupdate = 1 | ||
ShowTooltip = 1 | ||
ShowThumbnails = 1 | ||
Music = 0 | ||
DefaultFolder = apps/Wiibrowser/ | ||
Homepage = www.google.com/ | ||
|
||
# Favorites | ||
|
||
Favorite(0) = | ||
Favorite(1) = | ||
Favorite(2) = | ||
Favorite(3) = | ||
Favorite(4) = | ||
Favorite(5) = | ||
Favorite(6) = | ||
Favorite(7) = | ||
Favorite(8) = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,192 @@ | ||
#--------------------------------------------------------------------------------- | ||
# Clear the implicit built in rules | ||
#--------------------------------------------------------------------------------- | ||
.SUFFIXES: | ||
#--------------------------------------------------------------------------------- | ||
export DEVKITPPC = $(DEVKITPRO)/devkitPPC | ||
|
||
ifeq ($(strip $(DEVKITPPC)),) | ||
$(error "Please set DEVKITPPC in your environment. export DEVKITPPC=<path to>devkitPPC") | ||
endif | ||
|
||
include $(DEVKITPPC)/wii_rules | ||
|
||
#--------------------------------------------------------------------------------- | ||
# TARGET is the name of the output | ||
# BUILD is the directory where object files & intermediate files will be placed | ||
# SOURCES is a list of directories containing source code | ||
# INCLUDES is a list of directories containing extra header files | ||
#--------------------------------------------------------------------------------- | ||
MPLAYER := $(CURDIR)/source/mplayer | ||
TARGET := boot | ||
BUILD := build | ||
SOURCES := source source/html source/css source/libwiigui source/images source/fonts source/sounds \ | ||
source/lang source/utils source/images/appbar source/textoperations \ | ||
source/network source/archiveoperations | ||
INCLUDES := source source/mplayer source/network | ||
|
||
#--------------------------------------------------------------------------------- | ||
# options for code generation | ||
#--------------------------------------------------------------------------------- | ||
|
||
CFLAGS = -g -O3 -Wall $(MACHDEP) $(INCLUDE) | ||
CXXFLAGS = -std=gnu++0x $(CFLAGS) | ||
LDFLAGS = -g -ggdb $(MACHDEP) -Wl | ||
|
||
# ,-Map,$(notdir $@).map,--section-start,.init=0x80620000,-wrap,malloc,-wrap,free,-wrap,memalign,-wrap,calloc,-wrap,realloc,-wrap,malloc_usable_size | ||
|
||
#--------------------------------------------------------------------------------- | ||
# any extra libraries we wish to link with the project | ||
#--------------------------------------------------------------------------------- | ||
# LIBS := -lmplayerwii -lavformat -lavcodec -lswscale -lavutil \ | ||
|
||
LIBS := -lfribidi -ljpeg -liconv -ldi -lpng -lunrar -lzip -lsevenzip -lz \ | ||
-lcurl -lcyassl -lnetport -lasnd -lvorbisidec \ | ||
-lmxml -llua -lm -lfat -lwiiuse -lwiikeyboard -lbte -logc -lfreetype \ | ||
|
||
#--------------------------------------------------------------------------------- | ||
# list of directories containing libraries, this must be the top level containing | ||
# include and lib | ||
#--------------------------------------------------------------------------------- | ||
LIBDIRS := $(PORTLIBS) | ||
|
||
|
||
#--------------------------------------------------------------------------------- | ||
# no real need to edit anything past this point unless you need to add additional | ||
# rules for different file extensions | ||
#--------------------------------------------------------------------------------- | ||
ifneq ($(BUILD),$(notdir $(CURDIR))) | ||
#--------------------------------------------------------------------------------- | ||
|
||
export OUTPUT := $(CURDIR)/$(TARGETDIR)/$(TARGET) | ||
export VPATH := $(foreach dir,$(SOURCES),$(CURDIR)/$(dir)) | ||
export DEPSDIR := $(CURDIR)/$(BUILD) | ||
|
||
#--------------------------------------------------------------------------------- | ||
# automatically build a list of object files for our project | ||
#--------------------------------------------------------------------------------- | ||
CFILES := $(foreach dir,$(SOURCES),$(notdir $(wildcard $(dir)/*.c))) | ||
CPPFILES := $(foreach dir,$(SOURCES),$(notdir $(wildcard $(dir)/*.cpp))) | ||
sFILES := $(foreach dir,$(SOURCES),$(notdir $(wildcard $(dir)/*.s))) | ||
SFILES := $(foreach dir,$(SOURCES),$(notdir $(wildcard $(dir)/*.S))) | ||
TTFFILES := $(foreach dir,$(SOURCES),$(notdir $(wildcard $(dir)/*.ttf))) | ||
LANGFILES := $(foreach dir,$(SOURCES),$(notdir $(wildcard $(dir)/*.lang))) | ||
PNGFILES := $(foreach dir,$(SOURCES),$(notdir $(wildcard $(dir)/*.png))) | ||
JPGFILES := $(foreach dir,$(SOURCES),$(notdir $(wildcard $(dir)/*.jpg))) | ||
GIFFILES := $(foreach dir,$(SOURCES),$(notdir $(wildcard $(dir)/*.gif))) | ||
OGGFILES := $(foreach dir,$(SOURCES),$(notdir $(wildcard $(dir)/*.ogg))) | ||
PCMFILES := $(foreach dir,$(SOURCES),$(notdir $(wildcard $(dir)/*.pcm))) | ||
|
||
#--------------------------------------------------------------------------------- | ||
# use CXX for linking C++ projects, CC for standard C | ||
#--------------------------------------------------------------------------------- | ||
ifeq ($(strip $(CPPFILES)),) | ||
export LD := $(CC) | ||
else | ||
export LD := $(CXX) | ||
endif | ||
|
||
export OFILES := $(CPPFILES:.cpp=.o) $(CFILES:.c=.o) \ | ||
$(sFILES:.s=.o) $(SFILES:.S=.o) \ | ||
$(TTFFILES:.ttf=.ttf.o) $(LANGFILES:.lang=.lang.o) \ | ||
$(PNGFILES:.png=.png.o) \ | ||
$(OGGFILES:.ogg=.ogg.o) $(PCMFILES:.pcm=.pcm.o) \ | ||
$(JPGFILES:.jpg=.jpg.o) \ | ||
$(GIFFILES:.gif=.gif.o) | ||
|
||
#--------------------------------------------------------------------------------- | ||
# build a list of include paths | ||
#--------------------------------------------------------------------------------- | ||
export INCLUDE := $(foreach dir,$(INCLUDES),-I$(CURDIR)/$(dir)) \ | ||
$(foreach dir,$(LIBDIRS),-I$(dir)/include) \ | ||
-I$(CURDIR)/$(BUILD) \ | ||
-I$(LIBOGC_INC) -I$(PORTLIBS)/include/freetype2 | ||
|
||
#--------------------------------------------------------------------------------- | ||
# build a list of library paths | ||
#--------------------------------------------------------------------------------- | ||
|
||
export LIBPATHS := $(foreach dir,$(LIBDIRS),-L$(dir)/lib) \ | ||
-L$(LIBOGC_LIB) \ | ||
-L$(MPLAYER)/ \ | ||
-L$(MPLAYER)/ffmpeg/libavcodec \ | ||
-L$(MPLAYER)/ffmpeg/libavformat \ | ||
-L$(MPLAYER)/ffmpeg/libavutil \ | ||
-L$(MPLAYER)/ffmpeg/libswscale | ||
|
||
export OUTPUT := $(CURDIR)/$(TARGET) | ||
.PHONY: $(BUILD) clean | ||
|
||
#--------------------------------------------------------------------------------- | ||
$(BUILD): | ||
# cd source/mplayer; $(MAKE) -f Makefile; cd ../.. | ||
@[ -d $@ ] || mkdir -p $@ | ||
@make --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile | ||
|
||
#--------------------------------------------------------------------------------- | ||
test: | ||
@make --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile | ||
|
||
|
||
clean: | ||
@echo clean ... | ||
rm -f $(BUILD)/*.d $(BUILD)/*.h $(BUILD)/*.ii $(BUILD)/*.lst $(BUILD)/*.map \ | ||
$(BUILD)/*.o $(BUILD)/*.s | ||
@rm -fr $(OUTPUT).elf $(OUTPUT).dol | ||
# cd source/mplayer; $(MAKE) -f Makefile clean | ||
|
||
#--------------------------------------------------------------------------------- | ||
run: | ||
wiiload $(OUTPUT).dol | ||
|
||
#--------------------------------------------------------------------------------- | ||
reload: | ||
wiiload -r $(OUTPUT).dol | ||
|
||
#--------------------------------------------------------------------------------- | ||
else | ||
|
||
DEPENDS := $(OFILES:.o=.d) | ||
|
||
#--------------------------------------------------------------------------------- | ||
# main targets | ||
#--------------------------------------------------------------------------------- | ||
$(OUTPUT).dol: $(OUTPUT).elf | ||
$(OUTPUT).elf: $(OFILES) | ||
|
||
#--------------------------------------------------------------------------------- | ||
# This rule links in binary data with .ttf, .png, and .mp3 extensions | ||
#--------------------------------------------------------------------------------- | ||
%.ttf.o : %.ttf | ||
@echo $(notdir $<) | ||
$(bin2o) | ||
|
||
%.lang.o : %.lang | ||
@echo $(notdir $<) | ||
$(bin2o) | ||
|
||
%.png.o : %.png | ||
@echo $(notdir $<) | ||
$(bin2o) | ||
|
||
%.jpg.o : %.jpg | ||
@echo $(notdir $<) | ||
$(bin2o) | ||
|
||
%.gif.o : %.gif | ||
@echo $(notdir $<) | ||
$(bin2o) | ||
|
||
%.ogg.o : %.ogg | ||
@echo $(notdir $<) | ||
$(bin2o) | ||
|
||
%.pcm.o : %.pcm | ||
@echo $(notdir $<) | ||
$(bin2o) | ||
|
||
-include $(DEPENDS) | ||
|
||
#--------------------------------------------------------------------------------- | ||
endif | ||
#--------------------------------------------------------------------------------- |
Oops, something went wrong.