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:
    @mthrnite, Cheetah Girls, the sequel to Action 52's Cheetah Men.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Pokemon Black I played that one a lot
  • K3Nv2 @ K3Nv2:
    Honestly never messed with Pokémon on ds much
  • mthrnite @ mthrnite:
    I played pokemon once, was bored, never tried again
  • Psionic Roshambo @ Psionic Roshambo:
    Oh Dragon Quest IX
  • K3Nv2 @ K3Nv2:
    Spent like 5 hours on switch one never touched it again
  • Psionic Roshambo @ Psionic Roshambo:
    Sentinel of the stary skies
  • K3Nv2 @ K3Nv2:
    Ds is 20 years old this year
  • Psionic Roshambo @ Psionic Roshambo:
    So MJ no longer wants to play with it?
  • K3Nv2 @ K3Nv2:
    He put it down when the 3ds came out
  • SylverReZ @ SylverReZ:
    @K3Nv2, RIP Felix does great videos on the PS3 yellow-light-of-death.
  • Jayro @ Jayro:
    Eventhough the New 3DS XL is more powerful, I still feel like the DS Lite was a more polished system. It's a real shame that it never got an XL variant keeping the GBA slot. You'd have to go on AliExpress and buy an ML shell to give a DS phat the unofficial "DS Lite" treatment, and that's the best we'll ever get I'm afraid.
    +1
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • 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.
    Veho @ Veho: +1