• Hello Guest! Welcome to ConsoleCrunch, to help support our site check out the premium upgrades HERE! to get exclusive access to our hidden content.
  • Unable to load portions of the website...
    If you use an ad blocker addon, you should disable it because it interferes with several elements of the site and blocks more than just adverts.
  • Read Rules Before Posting Post Virus Scans with every program.

How to find FPS offsets and bytes.

Nostafaru

Moderating the Crunch Bunch.
Retired Staff
Community Elite
Community Veteran
Determined Poster
Active Member
Console ID Poster
Hey Crunchers ;)



This is my tutorial on how to find FPS offsets.

Things you need:

  • Your EBOOT.BIN (decrypt it to a EBOOT.ELF)
  • IDA Pro with PS3 plugins

Due to legal reasons i can`t link these things, just google it :)


This is for PPC (PowerPC)

PPC is a bit harder than C# and C++, but you dont need to code any PPC to find the offsets for fps.


FPS = Frames Per Second.

When you enable FPS on your game should see in the top left corner that it says: FPS: And then a float.

A float can be like: 56, 60, 012551, 44, 70, it`s never stuck at just one number.

To edit this float you can view my other tutorial on how to do so here: http://consolecrunch.com/threads/my-tutorial-on-how-to-edit-the-fps-text-in-an-eboot.7400/




Let`s start!


First of all you want to open up IDA pro, then drag your ELF file in it.

A window should pop up, It should look like this:
fa84069792d82f1c2d288c0daf9554ee.png

Click on Kernel Options 1, and Enable: Create function if data xref data->code32 exists

Now you will go View, Open Subviews, and click on Strings or you can just press Shift+F12.

Now press ALT+T and search for: fps:
Double click the string. Now you will be taken to a XREF, a XREF can look like this:
73b74c31ff4a0cf72704ed1e0c6f8303.png


Double click the XREF, Now you will be taken to a window like this:
beba215e643ad25cf63611e6c337b260.png


Scroll up, and you should see something like this: loc_34615, loc_34615 is just an example, the 34615 will actually be your FPS offset.

Now you wanna find out how to enable it.

You need to find the compare word immidiate instruction (CMPWI)

It will be like this:
0bb1cae935cde404d2612a0880680c55.png


Highlight CMPWI, and go to Hex View-A

Here you should see the OFF bytes, for FPS example: 2C 03 00 00 Change the last byte to 01, so it will be like this:
2C 03 00 00.



Now you`ve found it! :)

You can enable it in a tool like this:

byte[] FPSenable = new byte[] { 0x2C, 0x03, 0x00 ,0x01 }
PS3.SetMemory(YOURFPSOFFSET, FPSEnable)

Now disable will be like this:

byte[] FPSdisable = new byte[] { 0x2C, 0x03, 0x00 ,0x00 }
PS3.SetMemory(YOURFPSOFFSET, FPSdisable)



Later i will show you guys how to find the TEXT size and TEXT position :) So you can make a FPS menu.


Seeya!
 
Last edited:
General chit-chat
Help Users
  • No one is chatting at the moment.
  • @ Ghost8099:
    Yurrrrrr
  • @ Ghost8099:
    Can we get a new link here brotha
  • Chat Bot:
    Mason Fo has left the room.
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    wzxcvcv is our newest member. Welcome!
  • Chat Bot:
    cnood is our newest member. Welcome!
  • Chat Bot:
    zoumar is our newest member. Welcome!
  • Chat Bot:
    bestsmmlike is our newest member. Welcome!
  • Chat Bot:
    josuelton silva is our newest member. Welcome!
  • Chat Bot:
    josuelton silva has posted a new reply in the thread "Console ID #8671".
  • Chat Bot:
    ideasforlifetv is our newest member. Welcome!
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    Christo has joined the room.
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    MATthewN is our newest member. Welcome!
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    Christo has joined the room.
  • Chat Bot:
    kingsla is our newest member. Welcome!
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    Krash_Vincent is our newest member. Welcome!
  • Chat Bot:
    soibas0 is our newest member. Welcome!
      Chat Bot: soibas0 is our newest member. Welcome!
      Back
      Top