ROM Hack Trouble running custom .code

Status
Not open for further replies.

DatHax0r

Active Member
Newcomer
Joined
Oct 28, 2015
Messages
33
Trophies
0
Age
29
XP
57
Country
Actually, the base is not useful in anyway for the .code file, but I think that it is the location for it inside the exefs. I can't confirm that though, but we don't use it at all.
.text starts at 0x0.
Right, confusing... any way we can calculate starts and ends of all these sections? would be extremely grateful if someone could...
 

Mrrraou

Well-Known Member
Member
Joined
Oct 17, 2015
Messages
1,873
Trophies
0
XP
2,374
Country
France
Right, confusing... any way we can calculate starts and ends of all these sections? would be extremely grateful if someone could...
Just do some math.
.text ends at text_size
.rodata starts at text_size and ends at rodata_size+text_size
.data starts at rodata_size+text_size and ends at data_size+rodata_size+text_size
 
  • Like
Reactions: nallar

JustPingo

Well-Known Member
OP
Member
Joined
Jan 11, 2015
Messages
497
Trophies
0
Age
24
XP
1,081
Country
France
We're currently trying the plan C, because the plan B is a pain lol.
What I'm currently trying to do is somethign a bit weird but that could work: running some code alongside HANS so it can trigger itself when the eShop is booted. Not sure if it'll work, just investigation.
 
  • Like
Reactions: nallar

DatHax0r

Active Member
Newcomer
Joined
Oct 28, 2015
Messages
33
Trophies
0
Age
29
XP
57
Country
We're currently trying the plan C, because the plan B is a pain lol.
What I'm currently trying to do is somethign a bit weird but that could work: running some code alongside HANS so it can trigger itself when the eShop is booted. Not sure if it'll work, just investigation.
If that works, awesome!
 

V3NUS_M1NER

Well-Known Member
Member
Joined
Nov 27, 2014
Messages
391
Trophies
0
Age
24
XP
373
Country
United States
We're currently trying the plan C, because the plan B is a pain lol.
What I'm currently trying to do is somethign a bit weird but that could work: running some code alongside HANS so it can trigger itself when the eShop is booted. Not sure if it'll work, just investigation.
Might want to contact the developer of bootCTR
 

SomeGamer

Well-Known Member
Member
Joined
Dec 19, 2014
Messages
6,827
Trophies
1
XP
4,902
Country
Hungary
Wow, just found this thread with my below 10.2 N3DSes and O3DS, awesome! I'm rooting for you guys! I hate to ask these kind of questions, but do you have any ETA in mind?
 
  • Like
Reactions: DatHax0r

JustPingo

Well-Known Member
OP
Member
Joined
Jan 11, 2015
Messages
497
Trophies
0
Age
24
XP
1,081
Country
France
Don't be too hyped we don't even know if it'll work.
And no, sorry.
(by the way what we're trying right know *should* work on any firmware)
 
  • Like
Reactions: V3NUS_M1NER

tesnos6921

Active Member
Newcomer
Joined
Nov 1, 2015
Messages
28
Trophies
0
XP
372
Country
United States
We're currently trying the plan C, because the plan B is a pain lol.
What I'm currently trying to do is somethign a bit weird but that could work: running some code alongside HANS so it can trigger itself when the eShop is booted. Not sure if it'll work, just investigation.
This may be a stupid question, but would your 'Plan C' require a N3DS since it has extras cores for you you to run the extra code in the background with? Just asking because I have an O3DS.
 

DatHax0r

Active Member
Newcomer
Joined
Oct 28, 2015
Messages
33
Trophies
0
Age
29
XP
57
Country
This may be a stupid question, but would your 'Plan C' require a N3DS since it has extras cores for you you to run the extra code in the background with? Just asking because I have an O3DS.
... Hans runs in background on o3ds and new...
 

tesnos6921

Active Member
Newcomer
Joined
Nov 1, 2015
Messages
28
Trophies
0
XP
372
Country
United States
Ok, thanks.

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

I just got an idea... instead of trying to put new items or modify old ones into the eshop in order to install cias, why don't we try something similar to what tubehax did and use a custom dns server to trick the eshop into going to the wrong site for its downloads? However, there are several flaws with this, like the eshop probably checks the cia filesize before downloading it, and the server would only have cias that the host put on it, unless it was open source. This probably wouldn't work, but i just wanted to see what you guys thought about it.
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,286
Trophies
4
Location
Space
XP
13,844
Country
Norway
Ok, thanks.

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

I just got an idea... instead of trying to put new items or modify old ones into the eshop in order to install cias, why don't we try something similar to what tubehax did and use a custom dns server to trick the eshop into going to the wrong site for its downloads? However, there are several flaws with this, like the eshop probably checks the cia filesize before downloading it, and the server would only have cias that the host put on it, unless it was open source. This probably wouldn't work, but i just wanted to see what you guys thought about it.
The eShop communication is no doubt SSL encrypted, but if we can patch the eShop to work over regular HTTP or make it accept any SSL certificate then it should be possible. We would basically need an eShop server emulator made with PHP or something though, that acts exactly like the real eShop. I doubt it is as simple as putting CIA files on a webserver.
 
  • Like
Reactions: V3NUS_M1NER
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: Or Genesis.