Hacking Luma3DS - Noob-proof 3DS Custom Firmware

astronautlevel

Well-Known Member
Member
Joined
Jan 26, 2016
Messages
4,128
Trophies
2
Location
Maryland
Website
ataber.pw
XP
5,008
Country
United States
  • Like
Reactions: The Catboy

SciresM

Developer
Developer
Joined
Mar 21, 2014
Messages
973
Trophies
3
Age
33
XP
8,294
Country
United States
How's it going man? I sent you a PM asking if you needed help testing NTRBootHax but got no response. I guess you were busy and missed it or something.

Pretty well, all said and done -- and sorry about the PM....I'm awful about responding to PMs here (I have a ton of unread ones). If you're looking to contact me privately, twitter DMs are the fastest way, heh.

The above is general advice, fwiw. I try to respond to all DMs there.
 
Last edited by SciresM,
  • Like
Reactions: daxtsu

ihaveahax

Well-Known Member
Member
Joined
Apr 20, 2015
Messages
6,070
Trophies
2
XP
7,836
Country
United States
Since everything's been buried under a large number of dumb ranting pages, I'll summarize here:
  • Legacy is deprecated and the source is gone
  • It won't be coming back
  • We're going full speed ahead with Rosalina now
before this derails into another shitstorm, the legacy code is not permanently gone(that's impossible to do). you can find it in forks and whatnot online. but it's not officially supported anymore, so support for it is not relevant to this thread.
 

TheCyberQuake

Certified Geek
Member
Joined
Dec 2, 2014
Messages
5,012
Trophies
1
Age
28
Location
Las Vegas, Nevada
XP
4,432
Country
United States
Bravo to the people posting 7+ pages of useless rant. The devs owe the community NOTHING, and are free to completely remove the entire project if they so choose. They offered to keep the branch up if anyone could give actual replicable bugs in 8.1.1 that didn't exist in the other.
As stated by many people, any crash encountered at this point is usually the fault of the homebrew, the game, Nintendos buggy os or some combination. All of which are not the fault of Luma.
 

SaffronXL

The Grand Galactic Inquisitor
Member
Joined
Nov 17, 2016
Messages
340
Trophies
0
XP
1,016
Country
United States
With that out of the way, has there been any discussion regarding implementing fine-grained brightness adjustment into Rosalina, as was possible with NTR before 11.5? Or if someone could point me in the direction of where I could start some research into the matter, I would be appreciative.
 
Joined
Feb 17, 2017
Messages
1,214
Trophies
1
XP
2,473
With that out of the way, has there been any discussion regarding implementing fine-grained brightness adjustment into Rosalina, as was possible with NTR before 11.5? Or if someone could point me in the direction of where I could start some research into the matter, I would be appreciative.
That is in development, and a pull request will be submitted to luma when it is finished.
 
  • Like
Reactions: TVL and SaffronXL

astronautlevel

Well-Known Member
Member
Joined
Jan 26, 2016
Messages
4,128
Trophies
2
Location
Maryland
Website
ataber.pw
XP
5,008
Country
United States
For a second I thought you meant that new builds were going to be closed source.
lol no, Luma3DS won't be going closed source (it's actually impossible even if AW wanted to - sdmmc is GPL, and she'd also have to get the consent of every single contributor), and if it did there's no way I would defend it.
 

AkitoUF

Well-Known Member
Member
Joined
Jan 5, 2016
Messages
296
Trophies
0
Age
32
XP
786
Country
Chile
Lately I've keep getting an "Error type: Generic" crash while playing Kirby: Planet Robobot.

Anyone else having this? It happens at random and just with this game.
 

The Catboy

GBAtemp Official Catboy™: Boywife
Member
Joined
Sep 13, 2009
Messages
27,959
Trophies
4
Location
Making a non-binary fuss
XP
39,383
Country
Antarctica
Don't forget that what Luma3DS was forked from, ReiNAND, is also under GPLv3.Good for you!
Was forked, but the Team has since replaced all of the original ReiNAND code with their own. It's now a completely independent CFW with only a historical tie to it's original parent.
 

Quantumcat

Dead and alive
Member
Joined
Nov 23, 2014
Messages
15,144
Trophies
0
Location
Canberra, Australia
Website
boot9strap.com
XP
11,094
Country
Australia
Was forked, but the Team has since replaced all of the original ReiNAND code with their own. It's now a completely independent CFW with only a historical tie to it's original parent.
You've gone through an amazing attitude change ---- you seem way more mature. Kudos! I hope @astronautlevel and @TuxSH notice this and now won't have a default defensive, mean position when replying to you now.
 
Last edited by Quantumcat,

The Catboy

GBAtemp Official Catboy™: Boywife
Member
Joined
Sep 13, 2009
Messages
27,959
Trophies
4
Location
Making a non-binary fuss
XP
39,383
Country
Antarctica
You've gone through an amazing attitude change ---- you seem way more mature. Kudos! I hope @astronautlevel2 and @TuxSH notice this and now won't have a default defensive, mean position when replying to you now.
I've taken some time to really rethink my approach to the CFW scene and realized that I was acting rather immature and overly emotional. I can't help people if I am letting myself be my own worst enemy.
I wish I had something on topic to contribute .-. So anything personal, just contact me directly.
 
Last edited by The Catboy,

duckbill007

Well-Known Member
Member
Joined
May 5, 2011
Messages
691
Trophies
1
XP
2,480
Country
Russia
Hi,

I have a question, but I am not sure that it is a right place to ask.

I am trying to implement gameshark cheats into Rosalina.

Until yesterday I have no skills in 3ds programming, so my questions may be quite dumb.

So, I already get how to add new menu items to Rosalina, how to get current running titleId and pid.
Reading and parsing text file also should not be a big problem - I found a lot of examples in the code.


My question is: how can I change other process memory. I get that I should map part of that memory into current rosalina process, modify and unmap.
But, how to do that?

I found in Input redirection module following code:

Code:
        svcGetProcessInfo(&textTotalRoundedSize, processHandle, 0x10002); // only patch .text + .data
        svcGetProcessInfo(&rodataTotalRoundedSize, processHandle, 0x10003);
        svcGetProcessInfo(&dataTotalRoundedSize, processHandle, 0x10004);

        totalSize = (u32)(textTotalRoundedSize + rodataTotalRoundedSize + dataTotalRoundedSize);

        svcGetProcessInfo(&startAddress, processHandle, 0x10005);
        res = svcMapProcessMemoryEx(processHandle, 0x00100000, (u32) startAddress, totalSize);

But in my case for FE:SoV I got following: pid 0x27, startAddress: 0x14018208, totalSize: 0x00100000

So, I do not understand how to apply following ARCode:
Code:
0045003C E3A00001
00450040 E12FFF1E

Also, I did not understand in the code example above: why destAddress for map call is 0x00100000? What is that magic number? I thought that I should allocate in rosalina process some buffer and pass its address to map svc call.
 
  • Like
Reactions: Quantumcat

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=nqw6t28P9po