Hacking [RELEASE] StarUpdater - A Luma3DS Updater

astronautlevel

Well-Known Member
OP
Member
Joined
Jan 26, 2016
Messages
4,128
Trophies
2
Location
Maryland
Website
ataber.pw
XP
5,008
Country
United States
StarUpdater is a basic updater for Luma3DS CFW, written in lpp-3ds.

Features:
  1. Supports both menuhax/a9lh
  2. Supports both dev and non dev versions of Luma
  3. Supports stable releases and hourly nightlies
  4. Supports custom paths
  5. Supports making and restoring backups of your arm9 payload
  6. Self-updating
  7. Official CIA build
If you use a custom path, create a update.cfg file in /luma/ and put your complete path (including the forward slash) in the file. An example would be:

Code:
/a9lh/luma.bin

Here's a picture of the GUI (Thanks to @pbanj):

upload_2016-5-24_21-10-51.png


Link to source and releases: https://github.com/astronautlevel2/StarUpdater

Known bugs:
  • None right now!
Features to implement:
  • Persistent configuration for a9lh and dev mode options
  • A nicer UI, possibly.
  • TENTATIVELY, an arm9 payload for restoring backups.
Credits/thanks:
 
Last edited by astronautlevel,

astronautlevel

Well-Known Member
OP
Member
Joined
Jan 26, 2016
Messages
4,128
Trophies
2
Location
Maryland
Website
ataber.pw
XP
5,008
Country
United States
a possible suggestion? Look into optionally auto updating the updater upon boot?
Definitely possible to have an internal variable that it compares against a server to determine if there's a new version. I'll think about it once I've got things sorted for the next release (mostly persistent configuration).
 

The Catboy

GBAtemp Official Catboy™: Boywife
Member
Joined
Sep 13, 2009
Messages
27,905
Trophies
4
Location
Making a non-binary fuss
XP
39,166
Country
Antarctica
Yep, @daxtsu already told me off for forgetting about that >.>

--------------------- MERGED ---------------------------

@Crystal the Glaceon mind testing this with your old config file? I haven't pushed the release so you'll have to download it manually.

https://mega.nz/#!355jSa5A!kk41RqGoPHlw3UrREfoNu-DdVC6js7IuFoQP6ApaNJc
Sorry for the delay, I was still at work.
Testing....
And it just gives me an error
Code:
[string "?"]:29: bad argument #1 to 'gsub' (string expected, got nil)
I noticed a thread was made, so I will bring my comment there.
 

The Catboy

GBAtemp Official Catboy™: Boywife
Member
Joined
Sep 13, 2009
Messages
27,905
Trophies
4
Location
Making a non-binary fuss
XP
39,166
Country
Antarctica
Last edited by The Catboy,
  • Like
Reactions: astronautlevel

astronautlevel

Well-Known Member
OP
Member
Joined
Jan 26, 2016
Messages
4,128
Trophies
2
Location
Maryland
Website
ataber.pw
XP
5,008
Country
United States
Good news! With my old set up, it actually properly updates my Luma3DS install.
I am going to delete my current Luma3DS launcher and see if can download a clean one without hassle.
Downloads a clean launcher as well. No added spaces or anything with my old update.cfg.
Awesome, thanks for testing!

Pushed commits to main repo.
 
  • Like
Reactions: The Catboy

astronautlevel

Well-Known Member
OP
Member
Joined
Jan 26, 2016
Messages
4,128
Trophies
2
Location
Maryland
Website
ataber.pw
XP
5,008
Country
United States
One issue I see from the screenshot..latest ver is one character too short.
The commit in the payload is too long :>

Basically it's because I used git rev-parse --short HEAD to get the first 7 characters of the commit, whereas Aurora and Tux used git describe to get the version and first 8 characters of the commit. I'd have to change something on my server to fix that, but it shouldn't be too hard.
 

MattKimura

3DS & WiiU Enthusiast
Member
Joined
Jun 30, 2014
Messages
2,137
Trophies
1
XP
2,936
Country
United States
I never noticed that there wasn't a thread for this yet. I'm a big fan of this project, it's already perfect the way it is. All it needs is a few touch ups and it'll be beautiful!
I have all my noob friends setup with this to help them keep up to date along the line.

Quality homebrew app from astronautlevel
 
Joined
Feb 15, 2015
Messages
1,464
Trophies
0
XP
1,099
Country
United States
The commit in the payload is too long :>

Basically it's because I used git rev-parse --short HEAD to get the first 7 characters of the commit, whereas Aurora and Tux used git describe to get the version and first 8 characters of the commit. I'd have to change something on my server to fix that, but it shouldn't be too hard.
Alright. Just making sure you knew. Otherwise? It's great!
 
  • Like
Reactions: astronautlevel

SWS90

Well-Known Member
Member
Joined
Jan 6, 2014
Messages
147
Trophies
0
XP
606
Country
United States
Nice to see this have a thread!

I recently updated from rxTools to Luma using This guide. The only problem I've run into is with StarUpdater, for some reason it's laggy. Like, it takes a second or 2 to process my button inputs.

I'm using a old 3DS. Is it because StarUpdater was made with the new powerful hardware of the new 3DS, or could this be fixed?
 

Ricken

Searching for the air to breathe~
Member
Joined
Jan 19, 2016
Messages
2,661
Trophies
1
Age
21
Location
Mid-Michigan
XP
2,958
Country
United States
Nice to see this have a thread!

I recently updated from rxTools to Luma using This guide. The only problem I've run into is with StarUpdater, for some reason it's laggy. Like, it takes a second or 2 to process my button inputs.

I'm using a old 3DS. Is it because StarUpdater was made with the new powerful hardware of the new 3DS, or could this be fixed?
lpp itself does that ime
try CHMM2 and you'll see what I mean
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    S @ salazarcosplay: How are you @AncientBoi :tpi: :tpi: :tpi: :tpi: :tpi: