All times are GMT -5. The time now is
04:57 PM
.
WiiNewz Forums
>
Scene Newz
>
Nintendo News
libwiiupdate
User Name
Remember Me?
Password
Recommended Shops
Shopping
Register
Forums
Downloads
Mark Forums Read
LinkBack
Thread Tools
Display Modes
#
1
(
permalink
)
09-09-2008, 09:41 AM
xiaNaix
Administrator
Join Date: Jan 2002
Posts: 1,833
libwiiupdate
AlexLH has released libwiiupdate, which allows homebrew developers to easily add update support to their apps.
Quote:
First... here is how to use it...
load_network();
s32 main_server = connect_to_server("000.000.000.000");
FILE *f = fopen(get_location("boot.elf", "/location/of-app"), "wb+");
send_message(main_server, "/location-of-update/boot.elf", "www.url.of.server");
instructions_update();
get_file(main_server, f);
fclose(f);
net_close(main_server);
You must do all of that to get it working... and everything alse is in the lib...
000.000.000.000 is the IP Address of the server. example: "74.86.133.219"
/location/of-app is where you want it to update/install if using wiiload. If it is not using wiiload... it will update in the app's current directory.
/location-of-update/boot.elf is where on the server the update file is... YOU MUST PUT THE PROPER URL! example: /WiiMU/boot.elf
www.url.of.server
is the URL of the server. YOU MUST PUT THE WWW AS A PREFIX! example:
Wii Homebrew News
For now... you must use it in console, because it uses a lot of printf's... I'll release a version that won't output anything... so it is compatible with everything...
also, you can update any file you want, including meta.xml, etc!
News Source:
Official Site
Attached Files
libwiiupdate.zip
(13.2 KB, 90 views)
«
WiiSX Preview - PS1 Emu for the Wii
|
Easy Homebrew Installer
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
On
Pingbacks
are
On
Refbacks
are
On
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Scene Newz
Nintendo News
Nintendo Wii Forums
FAQs, Guides, & Tutorials
Reviewz
Wii General Discussion
Gamecube/Wii Homebrew
GCOS
Wii64
Wii Modchips
CycloWiz
D2Ckey
D2Lite
D2Pro
D2Sun
InFeCtuS/ARGON/WIIKTUS
Wasabi
WiiClip
WiiFree
WiiFree Development Forum
WiiFree Troubleshooting
Wiikey
Wiikey 2
Wiinja
Wiizard
yaosm
Wii Disc Dumping & Burning
Wii Game Hacking, Ripping & Customization
Wii Hacking & Homebrew
Wiimote Hacking
Mii Hacking
Nintendo DS Forums
NDS General Discussion
NDS Homebrew & Emulators
NDS Flash Carts & Movie Players
NDS Hardware Modification
Legacy Systems
Nintendo Entertainment System (NES)
Super Nintendo (SNES)
Nintendo 64 (N64)
Off-Topic/Misc
Off-Topic
Site Issues/Suggestions
All times are GMT -5. The time now is
04:57 PM
.
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
WiiNewz
-
Archive
-
LinkBack
LinkBack URL
About LinkBacks