How to do an Aspect Ratio Mod for Switch Emulators | Video Guide | Cheat Engine + GDB + Yuzu

Sdílet
Vložit
  • čas přidán 27. 06. 2024
  • Written guide: github.com/StevensND/ghidra-p...
    Main GDB commands: github.com/StevensND/ghidra-p...
    How to extract the main files, get the nsobid etc etc: github.com/StevensND/ghidra-p...
    How to setup Ghidra: github.com/StevensND/ghidra-p...
    This is an updated video guide of the Fruithapje21's guide on Reddit. The main reason for updating it is that the method wasn't working for all games due to the the error "Cannot access memory at address ...". Also, now we have Python scripts that makes the full process more easier than before (Thanks to Fl4sh_ for this).
    In the Github guides I explain step by step in more detail how to follow this guide. I also indicate what is necessary for follow the guide, I tell you the commands that I'm using, useful websites, tips etc etc.
    In addition, I have tried to make this guide as clear as possible by adding screenshots and indicating each message that appeared in the scripts as well as in the GDB console.
    So please, read the guide while you're watching this video guide. It's very important to understand the whole process. I won't answer questions that are solved on the written guide or the video guide.
    Be patient. Follow the step-by-step guide, assess the work done and don't skip steps/don't skip the video to ask questions that are solved.
    Finally if you want to support me, follow my Github. You can also support me on Ko-Fi: ko-fi.com/stevenss
    Fruithapje21's guide on Reddit: / a_guide_on_how_to_crea...
    Old video guide: • GDB to Ghidra Address ...
    Timestamps:
    0:00 Disclaimer. Read the video description
    0:30 Downloading GDB
    1:05 Yuzu & Cheat Engine Setup
    2:05 Finding the AR value using CE
    7:35 Running the 1st script
    13:05 Running the 2nd script
    20:22 Running the final script
    21:15 Checking Ghidra
    24:47 End of the guide
  • Hry

Komentáře • 15

  • @StevensxD
    @StevensxD  Před 6 měsíci +1

    Written guide: github.com/StevensND/ghidra-port-mods-guide/tree/main/Aspect%20Ratio%20Mod%20Guide
    How to extract the main files, get the nsobid etc etc: github.com/StevensND/ghidra-port-mods-guide/blob/main/Ghidra/RyujinxSteps.md
    How to setup Ghidra: github.com/StevensND/ghidra-port-mods-guide/blob/main/Ghidra/SetupGhidra.md
    This is an updated video guide of the Fruithapje21's guide on Reddit. The main reason for updating it is that the method wasn't working for all games due to the the error "Cannot access memory at address ...". Also, now we have Python scripts that makes the full process more easier than before (Thanks to Fl4sh_ for this).
    In the Github guides I explain step by step in more detail how to follow this guide. I also indicate what is necessary for follow the guide, I tell you the commands that I'm using, useful websites, tips etc etc.
    Finally if you want to support me, follow my Github. You can also support me on Ko-Fi: ko-fi.com/stevenss

  • @SeventhHokage
    @SeventhHokage Před 6 měsíci

    Here from GUG 💯

  • @GordoFriki
    @GordoFriki Před 6 měsíci

    Mu guapo

  • @victorcito_
    @victorcito_ Před 6 měsíci

    Hey! Muchas gracias por toda la dedicacion en la guia, es un trabajo impresionante. He estado toda el dia con el pokemon lets go eevee para cambiar el aspect ratio y he conseguido llegar hasta el paso final donde tengo la direccion gdb que modifica el AR. Sin embargo al cambiarlo a formato GHIDRA me sale que comienza con 91 y en la aplicacion de ghidra solo me aparecen direcciones que empiezan en 71. Se que se va un poco de la gui esta parte, he estado leyendo todo el github pero me he quedado aqui atascado. De nuevo gracias!!

    • @StevensxD
      @StevensxD  Před 6 měsíci

      Hola. Podrías escribirme en Discord y lo vemos mejor?. stevenss. (punto incluido)

    • @StevensxD
      @StevensxD  Před 6 měsíci

      He estado haciendo pruebas y ya he entendido tu problema. Seguramente has hecho algo como: awatch *0x2154cc2874 siendo 0x2154cc2874 el valor que GDB encontró. A partir de allí has utilizado 0x2154cc2874 en el tercer script y te ha dado algo como: 91d4cbe874.
      Lo que tienes que hacer en su lugar es lo siguiente: Después de escribir el comando awatch *0x2154cc2874, escribes C y presionas Enter. A continuación escribes el comando x/20i $pc-40 y presionas Enter. Obtendrías algo así:
      (gdb) awatch *0x2154cc2874
      Hardware access (read/write) watchpoint 1: *0x2154cc2874
      (gdb) c
      Continuing.
      [Switching to Thread 75]
      Thread 2 "JobThread1" hit Hardware access (read/write) watchpoint 1: *0x2154cc2874
      Value = 1074259639
      0x00000000803179a0 in ?? ()
      (gdb) x/20i $pc-40
      0x80317978: mov x20, x0
      0x8031797c: ldr x0, [x19]
      0x80317980: cbz x0, 0x80317ddc
      0x80317984: mov x1, sp
      0x80317988: bl 0x8031a3b0
      0x8031798c: bl 0x806202f0
      Apunta esos valores en algún sitio. En mi caso voy a usar 0x803179a0.
      0x803179a0 es el valor que usaré en el último script. Por lo que al usar el script obtendría esto:
      Enter GDB address: 0x803179a0
      Ghidra Address: 71003139a0
      A partir de aquí sólo tendría que buscar 71003139a0 en Ghidra.

  • @igoticecreamz
    @igoticecreamz Před 3 měsíci

    para convertir la direccion de CE a GDB lo que yo hago es "monitor get fastmem", y luego restar la direccion obtenida en CE con la direccion inicio del resultado de fastmem

    • @StevensxD
      @StevensxD  Před 3 měsíci

      Sinceramente en todas las pruebas que he hecho, y no sólo yo, la persona que creo los scripts también lo piensa, los scripts son necesarios 100 % para evitar el error: "Cannot access memory at address".
      Ahorras tiempo, disgustos y problemas y vas directo al asunto. De esta forma hemos hecho muchos mods, no sólo de Aspect Ratio.

  • @nacholozano2762
    @nacholozano2762 Před 10 dny

    Brother, excelente el video. Estoy tratando de hacerlo pero cada vez que hago el primer script, se me cierra solo despues de apretar enter despues del hex. Tenes idea porque puede ser que pase eso? Hice todo exactamente lo mismo que hiciste en github con el mario wonder

    • @StevensxD
      @StevensxD  Před 10 dny +1

      Has instalado Python?. Si no tienes Python obviamente se te cerrará.

    • @nacholozano2762
      @nacholozano2762 Před 9 dny

      @@StevensxD jajaj sii tengo Python instalado, el último. Puedo probar reinstalándolo sino. Me fijé bien tengo todo lo que pusiste en los requisitos, por eso me parece raro. Gracias igual por tu respuesta :)

    • @nacholozano2762
      @nacholozano2762 Před 9 dny

      @@StevensxD es más el script se abre en Python y se ejecuta perfecto hasta llegar al último paso que pide el hex. Ahí lo pongo y se cierra rápido

    • @StevensxD
      @StevensxD  Před 9 dny

      @@nacholozano2762 Pues ... sólo se me ocurre que me agregues en Discord y verlo: stevenss. (El punto incluido)