Homebrew Can we store our current IP automatic in a .s file?

Linkboy007

Well-Known Member
OP
Member
Joined
Jul 24, 2016
Messages
169
Trophies
0
Age
34
XP
265
Country
Gambia, The
Please I really really need help... You get credit in Project Heaven for Local Hosting of get_ropbin_payload.php we need to store the pc's ip in a string in a .s file... Is there a way to do it?

Remember we are gbatemp :)
 

machinamentum

Well-Known Member
Member
Joined
Jul 5, 2015
Messages
163
Trophies
0
XP
549
Country
United States
Please I really really need help... You get credit in Project Heaven for Local Hosting of get_ropbin_payload.php we need to store the pc's ip in a string in a .s file... Is there a way to do it?

Remember we are gbatemp :)
If by .s you mean an assembly file and you're using the GNU assembler (the one that comes with devkitARM), you could just use the .ascii directive to embed a string in-place or .asciz to embed the string with a null terminator at the end (see http://ftp.gnu.org/old-gnu/Manuals/gas-2.9.1/html_chapter/as_7.html).
 

Linkboy007

Well-Known Member
OP
Member
Joined
Jul 24, 2016
Messages
169
Trophies
0
Age
34
XP
265
Country
Gambia, The
If by .s you mean an assembly file and you're using the GNU assembler (the one that comes with devkitARM), you could just use the .ascii directive to embed a string in-place or .asciz to embed the string with a null terminator at the end (see http://ftp.gnu.org/old-gnu/Manuals/gas-2.9.1/html_chapter/as_7.html).
yeah... I don't need this anymore sorry ^^" but we have Problem we can't run make we get error: 3ds_arm11code.s:1908: Error: branch out of range please we need help... this is the last step for project heaven :/
 
  • Like
Reactions: olec04

machinamentum

Well-Known Member
Member
Joined
Jul 5, 2015
Messages
163
Trophies
0
XP
549
Country
United States
yeah... I don't need this anymore sorry ^^" but we have Problem we can't run make we get error: 3ds_arm11code.s:1908: Error: branch out of range please we need help... this is the last step for project heaven :/
Most branch instructions encode an offset from the current instruction pointer to the target in the instruction itself. You're getting this error because there's too much data between your branch and its target (I don't know off the top of my head what the maximum number of bytes can be between the branch and its target). Would need to see what your code looks like to try to work out a fix
 
  • Like
Reactions: olec04

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    ShantaeFan123 @ ShantaeFan123: But you were close