I've tried moving a line from on location to another.
I saved the file.
How do I apply the changes to the slps file or to the iso file?
Why is the pis file bigger than the slps file?
The original slps file (SLP_255.37) is 4,159 KB, the newly created .pis file is 4,703 KB.
-Nakago
You do not just move it, In fact you edit the first line with the second line instruction, and the second line with the first line instruction. Hightlight a line and then press enter, to edit attributes.
What you do is that you save the file as .PIS, PS3DIS Peoject file, and not as binary, so File->Save As Binary.
Remeber PS2Dis only opens ELF files, despite the SLPS is follwed by a number it is an ELF file, and the instrucions are in MIPS so you must know what are you doing. Use Apache 1.1 to replace the SLPS file on the iso.
Cheers.
June 27, 2014, 02:14:02 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
2) You must edit the SLP_... file. It is likely an ELF file, thus it has also other data than just code so it's not always very easy. To my knowledge, PS2DIS doesn't export ELF code. So what I do (but I'm not very proud of it) is to manually edit the code I changed, paying attention not to change the file size. You can use an hex editor or (safer) write a little script in your favorite language that does it from a clean SLP_...
You can also use a better disassembler/assembler than PS2DIS (there's one project somewhere here, but I didn't try it and I doubt it handles EE's specific instructions).
2. That is not true. Ps2Dis as old as it is , it rocks for PS2 binary file, and ELF files are executable files for the Ps2, and the SLPS file is an ELF. Guessing from the name, the game is Jap region. Ps2Dis, has syscall labels, EE emulation and many more neat features. Also used for PSP.
3. The only one c;osely tp Ps2Dis is IDA PRO. but still it does not have full supoprt. Armips hasPSX support but not PS2 support.
Cheers.