Hacking [RELEASE] StarUpdater - A Luma3DS Updater

astronautlevel

Well-Known Member
OP
Member
Joined
Jan 26, 2016
Messages
4,127
Trophies
0
Location
Maryland
Website
ataber.pw
XP
4,953
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,

Minnow

Well-Known Member
Member
Joined
Oct 5, 2015
Messages
462
Trophies
0
XP
560
Country
Canada
Fuck. I thought you were someone else because the Saber avatar is gone :(

Nice though, will definitely find it useful.
 

astronautlevel

Well-Known Member
OP
Member
Joined
Jan 26, 2016
Messages
4,127
Trophies
0
Location
Maryland
Website
ataber.pw
XP
4,953
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's Official Lesbian Catboy
Member
Joined
Sep 13, 2009
Messages
24,336
Trophies
3
Age
30
Location
In front of my Switch
XP
23,704
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's Official Lesbian Catboy
Member
Joined
Sep 13, 2009
Messages
24,336
Trophies
3
Age
30
Location
In front of my Switch
XP
23,704
Country
Antarctica
Last edited by The Catboy,
  • Like
Reactions: astronautlevel

astronautlevel

Well-Known Member
OP
Member
Joined
Jan 26, 2016
Messages
4,127
Trophies
0
Location
Maryland
Website
ataber.pw
XP
4,953
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,127
Trophies
0
Location
Maryland
Website
ataber.pw
XP
4,953
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,130
Trophies
0
XP
2,722
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,070
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
576
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

Now you feel... So alive...
Member
Joined
Jan 19, 2016
Messages
2,588
Trophies
1
Age
18
Location
Shibuya, The small one from Vegas
XP
2,111
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
 
General chit-chat
Help Users
    gudenau @ gudenau: That feeling when someone tells you to put a 4 char string into your text renderer to test it...