News: 11 March 2016 - Forum Rules

Author Topic: ps2dis help  (Read 11360 times)

Dashman

  • Full Member
  • ***
  • Posts: 212
    • View Profile
Re: ps2dis help
« Reply #20 on: July 03, 2014, 05:02:22 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

  • Jr. Member
  • **
  • Posts: 37
    • View Profile
Re: ps2dis help
« Reply #21 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.

Nakago

  • Jr. Member
  • **
  • Posts: 21
    • View Profile
Re: ps2dis help
« Reply #22 on: July 04, 2014, 11:01:29 am »
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

  • Jr. Member
  • **
  • Posts: 37
    • View Profile
Re: ps2dis help
« Reply #23 on: July 04, 2014, 08:57:30 pm »
I'm currently using version 6.6 but the option has been available for a while.

Nakago

  • Jr. Member
  • **
  • Posts: 21
    • View Profile
Re: ps2dis help
« Reply #24 on: July 06, 2014, 01:10:25 pm »
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

  • Hero Member
  • *****
  • Posts: 784
    • View Profile
    • Super Robot Wars A Portable translation thread
Re: ps2dis help
« Reply #25 on: August 03, 2016, 01:53:52 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:
Code: [Select]
.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):
Code: [Select]
.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:
Code: [Select]
.close

Hope this helps others. ;)