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
32
XP
245
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
527
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
32
XP
245
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
527
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

You may also like...

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Psionic Roshambo @ Psionic Roshambo:
    Psi has a new girlfriend but I have known her for like 28 years
    +1
  • The Catboy @ The Catboy:
    Is she you?
    +1
  • K3N1 @ K3N1:
    Psi just become a sparkling vampire already
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    The Catboy it's weird there was always something between us.... But neither of us was single at the same time.... But last night we found out we both are... And hmmm 🥰
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    She has all my weak points smart funny blonde and she lights up the room when she walks in and nothing else exists when she is there
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I would eat the corn out of her.... Lol
    +1
  • Veho @ Veho:
    Psi! You're alive!
    +1
  • Veho @ Veho:
    ...and you have yet another new
    girlfried :rolleyes:
    +1
  • Veho @ Veho:
    MAKE HER SIGH A PRENUP
    +1
  • cearp @ cearp:
    PSI <3 🌽
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Lol Veho I'm down to 3
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Dumping one soon
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    My Facebook has like 120 women now or something lol
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Each one hotter than the last...
    +1
  • K3N1 @ K3N1:
    Ordered a new SSD
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Your mom's an SSD lol
    +1
  • K3N1 @ K3N1:
    Your mom writes to me fast
    +1
  • K3N1 @ K3N1:
    I haven't placed an order with Newegg since like 2016 lol
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Amazon Is better lol
    +1
  • K3N1 @ K3N1:
    Hard to find a fast 2tb SSD for 130
    +1
  • Peretti @ Peretti:
    lately I downloaded super mario galaxy for wii, but in the first phase, right in the first cutscene of the game, the game freezes in that part, with the image appearing but completely frozen. I already had this problem with pikmin 2 but in the end I couldn't fix the problem. Has anyone had this problem, and if so, did you find a solution?
  • K3N1 @ K3N1:
    Moms spaghetti
    K3N1 @ K3N1: https://youtu.be/R-XUZE--qU8