找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 591|回复: 0

[工具] Interactive ASM Cheats Updater

[复制链接]

该用户从未签到

5

主题

72

回帖

241

积分

游戏段位 · 白银

积分
241
发表于 2022-12-8 15:23:00 | 显示全部楼层 |阅读模式




Version >= 0.3



*   Please note that credits should be given to the originally cheat creator. Nothing can be done without their great efforts.


Now supports (same logic with  cheats  makers updating their codes like AOB):
TODO:
There are lots of excellent works for you to dump the main file, like  hactool  and  NSC_Builder . Please choose anyone you familiar with to dump two main files:
Build ID of the old main file will be shown after loading. Please make sure it is the same with the old cheat.
Logs window has everything you need when updating cheat codes.

Interactive ASM Cheats Updater  is based on
a.)  Keystone Engine  and  Capstone Engine: Without their brilliant work, Interactive ASM Cheats Updater will never be born.
b.)  nsnsotool: This tiny program helps a lot on transforming nso files, made by 0CBH0.
Functions​
  • Update game cheats to other locales (if they don't rewrite the game code, then yes)
  • Search the whole main file for code features
  • Update normal ASM codes
  • Update code cave codes
  • Skip page/pageoff codes
  • Recognize branch codes and modify their pointer
  • Auto fill cheat bids when saving .txt file
  • Save modified .NSO file base on cheats
  • Updating codes in .rodata or somewhere else (aka. high probability breaking the new game)
DownloadsThanks to advice from linuxares. Now you can download it from:
  • Download Center  of GBAtemp (stable version 0.1.0 or active version 0.2.0 with better automation);
  • Github releases page or download the latest version (source code released).
Quick Start Guide​Pre-Requisites​
  • Windows 10 (), Windows 7 ( > 0.2.0_fix), Mac/Linux (: rebuild required (thx to Amuyea))
Dump main file from xci/nsp/nsz game/updates​
  • Old Main File: dump from the game which old cheat runs on
  • New main File: dump from the game which you want to update the old cheat to
Load main file and copy cheat codes​Interactively updating the cheat codes​
  • Generate: Generate one code or title
  • Skip: Skip one code or title, especially for pointer cheats.
  • Undo: Undo the last operation.
  • Restart: Restart the whole process.
  • Wing Length: Decide how many asm code lines are extracted as code features before and after the target address. Supported input type like array [left_side, right_side] and integer "single_input" are listed below:

  • Regenerate: Useful when logs window show "address not found". Please change wing length and regenerate until single hit, or maybe double.
  • Debug: Generate a debug folder with procedure files to show you what happend during the whole progress.
Save cheat codes with "SaveCHT" button​Trouble Shooting​
  • Why my new codes doesn't work?
    A: On most cases, they are pointer cheat codes that can be recognized from the logs window. Please update these cheats with EdiZon SE and SE tools.
  • Why my new codes break the game?
    A: Game developer will make a huge change for some specific version of games, like adding new function or improving code efficiency. In these cases, the ASM cheat codes need to be refind.
  • Why this application repeating same title over and over again?
    A: It happened when capstone in the application failed to recognize bytes features. Here are some major reasons: zero gap in bytes file fail to work in capstone (fixed), nsnsotool decompressing command failed (fixed), application folder structure destroyed, cheat codes BID different from old main file. Please re-download this application or  create an issue. Please note that "out of .text or code cave border" has been fixed from 0.4.0.
  • What does "wing length" stand for?
    A: "wing length" represents the number of code lines before and after the target area. Here is the diagram for a better view:
  • What code cave remake brings between version 0.3 and 0.4?
    A: In the new version, the code cave structure strictly follows the one from the original cheat code instead of previous "relocate every code cave automatically". Therefore, code caves in cheat codes like [EXP 2X]/[EXP 4X]/[EXP 8X] will only demand identical addresses and nothing more.
  • I have fully run the program and never see any warning, but still no luck. Why?
    A: In most cases, the "master code" which has a title within "{}" takes the responsibility. Some code creater prefer use them as "default function that should run with the game start". These codes and some non "master code" titled like "recovery code" always have links with other ASM codes like "BL #0xADDR". Please add these code contents to other parts of the cheat codes that don't work properly and run the program again.
Credits​https://github.com/zzpong/Interactive-ASM-Cheats-Updater/releases/tag/latest
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|深圳斯威奶牛科技有限公司 ( 粤ICP备14034528号-1 )|网站地图

GMT+8, 2024-12-22 10:24 , Processed in 0.059934 second(s), 23 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表