Recent content by chisel

  1. C

    Unable to read files using sceIoRead (sync and async)

    I think this is what I will go with if all else fails, as I believe it to be the only method that will most likely work. As the original script file can be opened up by the game's own reading and is then later used within the decompression routine. I think that hijacking this process and skip...
  2. C

    Unable to read files using sceIoRead (sync and async)

    Yes, I have other tries without using a loop. For example, I have another file I also wanted to read that is just around 266 bytes, which would overwrite text in the menu. That looks like this in an older test code: lui $a0, 0x0889 ori $a0, $a0, 0x1048 #...
  3. C

    Unable to read files using sceIoRead (sync and async)

    Thank you for your reply @__YAS__ . The error occurs immediately after executing sceIoRead. Which returns v0 = 80020323 (BADF). So it never gets to the point of looping. So to answer your statement “a0-3 may be destroyed by the first call”, that is correct, all those registers will be turned to...
  4. C

    Unable to read files using sceIoRead (sync and async)

    Hello I have a PSP game that I want to apply a "patch" for, by reading a file I have inserted into its ISO. The file contains the script (dialogues and choices since it is a visual novel) of the game, decompressed and then edited. Which is supposed to be read and inserted into a specific memory...