Hacking Does anyone knows how to add code to an eboot?

Patrick Evers Bjoerkman

Member
OP
Newcomer
Joined
Jun 19, 2014
Messages
10
Trophies
0
Age
31
XP
67
Country
Hey I am doing a translation project for Little Busters CE! for PSP and to fix an issue with the text I need to write some MIPS to the eboot.bin. To get around the problem of offsets inside the program, I was thinking of adding the code to the end of the eboot.bin and replace a nop instruction somewhere to jump to my code using MIPS jal and return to the previous address using jr $ra afterwards. The problem is that after adding this code to the eboot.bin, PPSSPP (PSP emulator) just gives me a list of nop instructions where the new code was supposed to be (the nop are there with and without my code). Does the elf has some sort of start/end/length offset table for sections of the file or something and does anyone knows how I should attempt to make it see my added code?

I appriciate the help.
 

Scorp

Well-Known Member
Member
Joined
Sep 23, 2010
Messages
248
Trophies
0
XP
296
Country
Kazakhstan
Well, for me that method did not work correctly, actually... Means, if I put executable code in this new part all got screwed. Would like to speak with some PSP EBOOT expert, actually, who would point me what I am doing wrong...
 

JamRules

.....
Member
Joined
Jan 9, 2014
Messages
527
Trophies
1
XP
2,207
Country
United States
Well, for me that method did not work correctly, actually... Means, if I put executable code in this new part all got screwed. Would like to speak with some PSP EBOOT expert, actually, who would point me what I am doing wrong...


I had the same problem, it's because the old code is still trying to save in a set location. What I did was look for a section that wasn't being changed and move where the section starts
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    That you'll only see once
    +2
  • Veho @ Veho:
    Double dickhead chinballs is still better than double dickhead eyeballs.
    +1
  • Veho @ Veho:
    As in, the balls will grow in your eye sockets.
  • K3Nv2 @ K3Nv2:
    I paid 5 grand to get them moved to my chin
    +1
  • Veho @ Veho:
    This you?
  • K3Nv2 @ K3Nv2:
    My hair can't be that cool
    +1
  • Veho @ Veho:
    Ah, yes, portrait mode, surely the best way to film a row of people. If only there were some way to fit a wider shot, at the expense of height... if only...
    +1
  • K3Nv2 @ K3Nv2:
    4k portrait mode?
    +1
  • BigOnYa @ BigOnYa:
    Diddy - "I never touched her, that bitch is crazy." Video is released. Diddy - " Ok I did it, i am remorseful for my actions during my darkest times." Lol
  • SylverReZ @ SylverReZ:
    @BigOnYa, Glad that the Diddler got caught once again.
    +1
  • K3Nv2 @ K3Nv2:
    Iran ran out of options
  • K3Nv2 @ K3Nv2:
    Thought I saw my ex on that new kingdom of the Apes poster
  • BigOnYa @ BigOnYa:
    I thought I saw a puttie snatch...
  • BigOnYa @ BigOnYa:
    I'm so pumped, NCAA football video game is back after a 10 year hiatus, coming to SeriesS/X, PS5 in July.
  • BigOnYa @ BigOnYa:
    Wish they would let us play the NCAA football 14 on newer xbox, its one of the only games I love and own on disc still, that is not back compatible, bs.
  • AdenTheThird @ AdenTheThird:
    @BigOnYa My dad recently bought a spare Series X off of me, got game pass, and saw Madden '24 on Game Pass, decided to try it out.

    ...He was a bit taken aback by the 60GB download size. Poor guy's still living in the 90s!
  • SylverReZ @ SylverReZ:
    @AdenTheThird, Bro's still in the PS2 age.
  • K3Nv2 @ K3Nv2:
    Lol charging your dad's classic unless he's the type that doesn't like taking things like that
    K3Nv2 @ K3Nv2: Lol charging your dad's classic unless he's the type that doesn't like taking things like that