News:

11 March 2016 - Forum Rules

Main Menu

ps2dis help

Started by Nakago, June 25, 2014, 08:35:40 AM

Previous topic - Next topic

Dashman

Quote from: Nakago on July 03, 2014, 02:03:41 AM
Just wondering, does IDA Pro support Shift JIS?
If it does, I'd like to know where's the option for it. I had to tag a bunch of strings by cross-checking them with MadEdit, and the difference in addresses  was not constant during the whole process...

neige

Ida Pro support all string encoding supported by iconv. to change the encoding you must:


  • Open the "ASCII string style" dialog from the options menu or by pressing Alt+A
  • Click the "Change Encoding" button at the bottom of the dialog
  • Right click in the "Encodings" and click "Insert..."
  • Enter an encoding name supported by iconv like "SHIFT-JIS" (without the quotes) and click "OK"
  • Select the encoding and press "OK"

You can also set the default encoding for 8-bit, multi-bytes and 16-bit strings.

Nakago

Quote from: neige on July 03, 2014, 06:54:58 PM
Ida Pro support all string encoding supported by iconv. to change the encoding you must:


  • Open the "ASCII string style" dialog from the options menu or by pressing Alt+A
  • Click the "Change Encoding" button at the bottom of the dialog
  • Right click in the "Encodings" and click "Insert..."
  • Enter an encoding name supported by iconv like "SHIFT-JIS" (without the quotes) and click "OK"
  • Select the encoding and press "OK"

You can also set the default encoding for 8-bit, multi-bytes and 16-bit strings.
I've tried that, there is no change encoding button anywhere.
Which version of IDA Pro are you referring to?
The free version does not seem to have that option.

neige

I'm currently using version 6.6 but the option has been available for a while.

Nakago

I found another program which enables me to not edit the slps file but also save it. Its called Elf Multilator.

Here is an update on SWRA3 battle menus.
http://s19.photobucket.com/user/ZGMF-X13A/media/pcsxsnpasrwa3menu1.png.html
http://s19.photobucket.com/user/ZGMF-X13A/media/pcsx2snapswra3menuupdate.png.html

I'm hoping to do the same the character names, unit names, and attack names.
Some were already edited.

Here is some more questions;
I've found the pointer address for the battle menu and relocated some of the strings. The question is
can the strings be relocated anywhere or within the entry point? The entry point is at 0x00100008, the virtual and physical address is at 0x00100000.
How do I make a patch file for ps2 game?
Does IPS work on cd/dvd based games or would I need another program for this?



BlackDog61

Quote from: Nakago on June 27, 2014, 02:53:40 AM
Armips is not working.
I'm getting this error message,
slps_255.37(1) fatal error: No architecture specified
What am I doing wrong?
The readme.txt file is not very helpful.
I know this is thread resurrection but it pains me not to see the technical armips answer here. :)
Your file loading the ELF has to start with one architecture statement, such as:

.psp

Note: I have an older version installed so I can onlyguess ".ps2" is the right architecture here.

Just to complement the quick start, I'd typically have the following lines too (PSP used as an example):

.psp
.include "myextracode.asm",UTF8
.loadelf "../BOOT.BIN","BOOT.BIN"


Second line adds my own ASM code (or strings, since you can encode strings directly in an ASM with armips, to have a single tool modifying your ELF instead of having a tool for data and a tool for code, which requires interactions).

The third line just loads the main ELF into memory (the SLPS_... for PS2).

And the last line of the file would typically be:

.close


Hope this helps others. ;)