Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

GoHANmem Vita

From GameBrew
Revision as of 23:45, 13 November 2022 by HydeWing (talk | contribs)
GoHANmem
File:Gohanmemvita.jpg
General
AuthorOneRice07
TypePlugins
Version3.01
LicenseUnlicense
Last Updated2017/08/04
Links
Download
Source

GoHANmem is a memory editor for PSVITA. Allows to edit game memory in realtime.

How to Install GoHANmem?

  1. Download GoHANmem here.
  2. Unzip it, copy the files inside according to the directory structure to the Psvita memory card ux0:\plugins
  3. In the game, press the arrow key right+SELECT or L+START (or use the key.txt to customize the pop-up key, the default key.txt is arrow up+Start) to pop-up the modifier, follow the instructions
  4. In the modifier interface, click SELECT or START to return to the game.

PS:Set English language : [语言]-[English]

How To Use GoHANmem?

  1. In the game, record the value you want to modify, for example, 86986 gold coins.
  2. Use the hotkey to pop up the modifier and search for 86986, you will get several matching addresses.
  3. Go back to the game and make the gold value change, for example, buy an item, the gold becomes 85335.
  4. Use the hotkey again to bring up the modifier and search for 85335, you will also get the matching addresses, but the number of matches will be less than before. If the number of matches is still quite a lot, repeat again.
  5. Until there are one or two pairs left, then you can modify the value corresponding to these two pairing addresses, for example, change it to 999999999.
  6. After the modification is finished, the number of gold coins will be 999999999.

Configuration

At present, it supports normal code, pointer code and loop code.

The code format is as follows.

@code type, address type, address value, address offset direction, address offset amount, loop count, loop address increment direction, loop address increment each time, byte count, value, value increment direction, value increment each time

Description

  • Code type: 0 normal code, 1 cyclic code
  • Address type: 0 general address, 1 pointer address
  • Address value: 0x81222222 Something like this
  • Offset direction: 0 for negative offset -, 1 for positive offset +
  • Number of cycles: Decimal value. Applies only in cyclic code. Does not work with normal code, but needs to be filled with this, available as 0.
  • Loop address increment: 0x81222222 Something like this. Applies only to loop code. Does not work with normal code, but this needs to be filled, use 0x00000000.
  • Byte count: the number of bytes of the value to be modified, in decimal, between 1 and 4
  • Numeric value: the value to be modified, decimal.
  • Value per increment: the decimal value. Only works with loop code. Does not work with normal code, but needs to be filled with this, available as 0.

Example

Normal code format
#gold888888
@0,0,0x81D433E0,0,0x00000000,0,0,0x00000000,4,88888888,0,0
Description: Common code, address 0x81D433E0, modify 4 bytes, the value of decimal 88888888
Note that other 0 values also need to be filled in accordance with the format, otherwise the execution will be wrong.

Pointer code format
#gold888888
@0,1,0x845042A5,1,0x00000008,0,0,0x00000000,4,88888888,0,0
Description: ordinary pointer code, the value within the address 0x845042A5 is the new address, for example, 0x81335561,forward offset 0x00000008, that is, 0x81335569, address 0x81335569 modified 4 bytes, the value of decimal value 88888888

Loop code format
#Goldencoin888888
@1,0,0x81D433E8,0,0x00000002,5,1,0x00000100,4,1000,1,20
Description: Loop code, ordinary address 0x81D433E8, negative offset 0x00000002, that is, 0x81D433E6, loop 5 times to modify, each address increment 0x00000100, modify byte 4, the initial value of 1000, each positive increase in value 20.
The first modification address 0x81D433E6 4 bytes value 1000
Second modification Address 0x81D434E6 4 bytes Value 1020
Third modification Address 0x81D435E6 4 bytes Value 1040
Fourth modification Address 0x81D436E6 4 bytes Value 1060
Fifth modification Address 0x81D437E6 4 bytes Value 1080

Screenshots

gohanmemvita-01.jpg gohanmemvita-02.jpg gohanmemvita-03.jpg gohanmemvita-04.jpg

Other notes

At present, you can use the [Memory Extraction] function provided by this program to extract the memory several times. The program will automatically number the files after the file name, and then transfer them to the computer side, using the powerful processing power of the computer side to analyze them.

After analysis, you can write your own GoHANmem code, or modify the extracted memory file to remove the "_001" and other numbers after the file name, and then transfer it to the ux0:\data\GoHANmem\mem\ folder on the psv side, and import the file into the memory in the [Memory] management page (the starting address must be the same as the file, and the end address must be less than or equal to the file size boundary).

GoHANmem code, if you need the title to be displayed in Chinese, you can:

  1. YellowSoul99999999

@0,0,0x81D433E0,0,0x00000000,0,0,0x00000000,4,999999999,0,0

  1. Infinite Magic

@0,0,0x81D491F0,0,0x00000000,0,0,0x00000000,4,262148000,0,0

  1. InfiniteHP1

@0,0,0x81D491CC,0,0x00000000,0,0,0x00000000,4,655370000,0,0

  1. InfiniteHP2

@0,0,0x81D491E0,0,0x00000000,0,0,0x00000000,4,655370000,0,0

When saving in Notepad under windows, just select ANSI encoding.

Support importing the extracted memory files back into memory.

The file name format is Game ID_mem_0x extracted range start address.bin

  • For example PCSB00294_mem_0x84D00000.bin

This file can be obtained using the [Extract Memory] function:

  • PCSB00294_mem_0x84D00000_001.bin
  • PCSB00294_mem_0x84D00000_002.bin
  • PCSB00294_mem_0x84D00000_003.bin

Each time it is extracted, three numbers are automatically added to the end of the file name.

The memory files are placed in the ux0:/data/GoHANmem/mem/ folder.

Then use your computer to analyze and modify the file, then remove the suffix number "_001", etc., and you can use [Recover Memory] to import it back into the PSV memory.

Before [Recover Memory], the file name PCSB00294_mem_0x84D00000.bin must correspond to the [Extraction Range Start] value.

The configuration file key.txt for custom hotkeys

Placement path ux0:\data\GoHANmem\cfg\key.txt

If key.txt does not exist or the configuration content of key.txt is incorrect, it will revert to the default popup hotkeys Directional Key Right+SELECT or L+START.

The key.txt configuration requires only two capital letters to be modified.

For example, if you need to customize Direction Up+START, you can change it to CB at the very beginning of key.txt and then save it.

(A) Select button [SELECT] Select button
(B) Start button [START] Start button
(C) Direction Up ↑ Up D-Pad button
(D) Direction right → Right D-Pad button
(E) Down ↓ Down D-Pad button
(F) Direction Left ← Left D-Pad button
(G) Left shoulder button [L] Left trigger
(H) Right shoulder button [R] Right trigger
(I) Triangle button △ Triangle button
(J) Circle button ○ Circle button
(K) Cross button X Cross button
(L) Square button Mouth Square button

ux0:\data\GoHANmem\cfg\key.txt.

Changelog

v3.01

  • Added Thank you list, thank you to everyone who gave funding or technical help.
  • Other corrections
  • This is the end of this project, if there is a chance later, see you in the next project!

v3.00beta

  • Redefined the code format of GoHANmem, now supports normal code, pointer code and loop code
  • Added the function of [Restore Memory].
  • Added customizable call-out button
  • Fixed the function of [Archive Restore].
  • Other fixes

v2.00

  • Added English language.

v1.01beta1

  • First Release.

External links

Advertising: