Homebrew Updater Hombrew App

Optllizer

Member
OP
Newcomer
Joined
Aug 3, 2018
Messages
15
Trophies
0
Age
34
XP
96
Country
United States
Hello.
I am working on a custom track distribution for Mario Kart Wii and I want a way to update the pack through the wii without taking out the sdcard from my wii. Somthing similar to CTGP, but doesnt patch the game. Only need it to download a zip file and extract to the root of the sdcard and replace any files that are already on the card with the new downloaded one.
Just want a simple tool for my users to update my pack without taking out the sd card whenever i update.

Are there applications available for this or does this need to be custom made.
Ive tryed wiitwich but didnt work the way i wanted it too
 

Optllizer

Member
OP
Newcomer
Joined
Aug 3, 2018
Messages
15
Trophies
0
Age
34
XP
96
Country
United States
Without making a homebrew application? Nope, basically impossible with Riivolution. Unless you want to do something wacky with RiiFS.
I might of worded it wrong. Yes I need a homebrew application. Just a simple tool to click “update” and downloads a zip, then extracts to the root if the sd card replacing conflicting items. Then opening riivolution like normal
 

newo

Well-Known Member
Member
Joined
Apr 7, 2011
Messages
938
Trophies
2
Website
wiibrew.org
XP
3,933
Country
Jamaica
If you have the patience to learn C you would need to write an application, quickest route to start is with the source code of the HBB. It is old code but it has the the code for downloading and the unziping files. Not sure if it checks for old files. Otherwise I do remember such a wii application except for WiiExplorer FTP server which is pretty finicky.
 

Optllizer

Member
OP
Newcomer
Joined
Aug 3, 2018
Messages
15
Trophies
0
Age
34
XP
96
Country
United States
If you have the patience to learn C you would need to write an application, quickest route to start is with the source code of the HBB. It is old code but it has the the code for downloading and the unziping files. Not sure if it checks for old files. Otherwise I do remember such a wii application except for WiiExplorer FTP server which is pretty finicky.
Im not very familiar with C. I will take a look at wiiexploer ftp.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
Congratulation on managing to create a homebrew and do what you wanted :)
You just need time and dedication !

Thank you @newo, I didn't know HBB had its sources released.
like he said, it's a little late now, 8 years later there are probably not a lot of people who would be willing to maintain a repository, but that's great to finally have the official sources without needing to edit the url in the dol.
edit: reading the comments, apparently Fortheusers wanted to become a new wii repository. it's not available yet, but it would be great to have a place with all archived wii homebrew (along with wiibrew of course).
 
Last edited by Cyan,
  • Like
Reactions: cvskid and banjo2

newo

Well-Known Member
Member
Joined
Apr 7, 2011
Messages
938
Trophies
2
Website
wiibrew.org
XP
3,933
Country
Jamaica
@Cyan the design of the repo is what makes it hard to maintain. I find it hard to work with networking on the wii but in my mind the optimal design is not to host the repo yourself but to only store "direct" links to the zip file containing the app. Therefore updating or adding a new app only requires adding a title and a link to a zip file. Icons and other info can be queried from the wiibrew wiki or just leave it as a basic title + link. All done. Issues will arise with hb that do not have perma links or are too huge to download in one zip file or even unzip.

Whomever takes the sources should follow this path in order to have a simple, easy to maintain repo.
 
Last edited by newo,

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
That would be a good way to do it. As long as the original place is not closed/shutdown, or host not renewed.
having both or a mix of the link to original host, and a backup just in case, could be a good idea too.

I won't do anything from it, I was just curious to get the sources few years ago to see how it was done. But now if fortheusers don't do it I don't see anyone wanting to make (and maintain/update links) a new homebrew shop.
 
Last edited by Cyan,
  • Like
Reactions: newo

newo

Well-Known Member
Member
Joined
Apr 7, 2011
Messages
938
Trophies
2
Website
wiibrew.org
XP
3,933
Country
Jamaica
Wiibrew hosts a few of the smaller hb and has a 20mb upload limit for non-copyright material. I am probably going to have to code it myself but as I said I hate the networking+http stuff on the wii. I only have so much time in the day and its hard to even find testers for the stuff I actually code(newogames) much less complicated stuff like shops. Hopefully the open shop guys will take on the challenge and write a decent+simple app.
 
Last edited by newo,

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
Last edited by Cyan,

Optllizer

Member
OP
Newcomer
Joined
Aug 3, 2018
Messages
15
Trophies
0
Age
34
XP
96
Country
United States
We had to create some custom functions for it to work correctly. Since I want to be able to download multiple files and to do that with the old code it would be over 100 lines for each file so we made it easier. Reads what to update from a .txt from a server. The only downside to all of this is every file you download you need to reconnect to the server because HTTP 1.0 is outdated. I wanted to make it open source but I think it has some copyright from FTPii
 

Wiimpathy

Well-Known Member
Member
Joined
Mar 3, 2010
Messages
1,013
Trophies
2
XP
3,137
Country
France
I wanted to make it open source but I think it has some copyright from FTPii
Where have you read this? I can't see what's preventing you from going open source in that license. Not a specialist in this bullshit though. But I really think open source is always a benefit for everyone.
Look at the homebrew browser. It was impossible to update/improve it for years.
 

Wiimpathy

Well-Known Member
Member
Joined
Mar 3, 2010
Messages
1,013
Trophies
2
XP
3,137
Country
France
But you're going to release a homebrew based on it right?

Anyway, I can't see a problem providing your source code too. The license is BSD and here's what's written in header:
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from
the use of this software.

Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:

1.The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software in a
product, an acknowledgment in the product documentation would be
appreciated but is not required.

2.Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.

3.This notice may not be removed or altered from any source distribution.
Copyright (C) 2008 Joseph Jordan <[email protected]>

No problem as long as you cite the author and put that notice.
If you're really concerned, you could always try to ask the author. I doubt he still cares though.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
  • cearp @ cearp:
    It's nice to not have to have a lot of physical things though, saves space
    +1
  • AncientBoi @ AncientBoi:
    Nor clothes 🤮 . Saves on time, soap, water and money having to wash them. :D
    AncientBoi @ AncientBoi: Nor clothes 🤮 . Saves on time, soap, water and money having to wash them. :D