• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 … 23 24 25 26 27 … 117 Next »

Can i write MEM2 area from cheat code?
View New Posts | View Today's Posts

Pages (2): 1 2 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Can i write MEM2 area from cheat code?
04-19-2017, 11:50 AM
#1
Doppio Offline
Junior Member
**
Posts: 10
Threads: 3
Joined: Apr 2017
Direct codes of ARcode and Gecko do not function in the MEM 2 area.
How to write to MEM 2 area with cheat code?
Is there a build of Dolphin that supports writing to the MEM 2 area?
Please help!!
Find
Reply
04-19-2017, 12:05 PM
#2
gamemasterplc Offline
Above and Beyond
*******
Posts: 1,111
Threads: 7
Joined: Mar 2016
what is your address, size, and value
Website is gamemasterplc.com. Youtube Channel is gamemasterplc.
Website Find
Reply
04-19-2017, 01:20 PM (This post was last modified: 04-19-2017, 01:22 PM by Doppio.)
#3
Doppio Offline
Junior Member
**
Posts: 10
Threads: 3
Joined: Apr 2017
(04-19-2017, 12:05 PM)gamemasterplc Wrote: あなたの住所、サイズ、価値は何ですか?

i used Win7x64.

Thanks for the reply. And please forgive my poor English.

I would like to compare the values of MEM area 2 (0x90000000 ~) and create an identification code.
The usual Wii code identification code is as follows
MEM 1:28aaaaaa xxxxyyyy
MEM 2:38aaaaaa xxxxyyyy

(For example, if the value of 28aaaaaa is xxxx == yyyy, the following code will be executed)

I'd like to do this with MEM 2 (the game is Monster Hunter Tri)
However, 38aaaaaa code does not work with MEM2 (0x90000000 ~).
MEM 2 stores the number of items and variable values such as stamina.

I am bothered by this problem very much.

Is there a way to make the code work with MEM 2?
Or how do I copy the value of MEM 2 to MEM 1?
Find
Reply
04-19-2017, 09:31 PM (This post was last modified: 04-19-2017, 09:33 PM by gamemasterplc.)
#4
gamemasterplc Offline
Above and Beyond
*******
Posts: 1,111
Threads: 7
Joined: Mar 2016
you have to add a 42000000 90000000 line at the top of the code and copy the lowest 25 bits of the address. this is for Gecko only
Website is gamemasterplc.com. Youtube Channel is gamemasterplc.
Website Find
Reply
04-20-2017, 12:10 AM
#5
Doppio Offline
Junior Member
**
Posts: 10
Threads: 3
Joined: Apr 2017
(04-19-2017, 09:31 PM)gamemasterplc Wrote: you have to add a 42000000 90000000 line at the top of the code and copy the lowest 25 bits of the address. this is for Gecko only

Thank you for your reply.

How do you specifically describe the copy of the lower 25 bits?
Monster Hunter Try (JP) has current item ID and his number every 2 bytes from 0x900FCDB8.
What kind of code should I write to copy this to the lower 25 bits?
I'm sorry to reply you again and again.
Find
Reply
04-20-2017, 01:26 AM (This post was last modified: 04-20-2017, 01:30 AM by mimimi.)
#6
mimimi Offline
Senior Member
****
Posts: 720
Threads: 1
Joined: May 2014
Please take a look at:
http://geckocodes.org/index.php?arsenal=1

"Set Base Address to"
Code:
42TYZ00N XXXXXXXX


42000 : ba = XXXXXXXX
42001 : ba = grN+XXXXXXXX
42010 : ba = ba+XXXXXXXX
42011 : b a= ba+grN+XXXXXXXX

42100 : ba += XXXXXXXX
42101 : ba += grN+XXXXXXXX
42110 : ba += ba+XXXXXXXX
42111 : ba += ba+grN+XXXXXXXX

52010 : ba = po+XXXXXXXX
52011 : ba = po+grN+XXXXXXXX

52110 : ba += po+XXXXXXXX
52111 : ba += po+grN

So if you want to access mem1 afterwards, you need to reset the base address, i guess. Maybe even put the reset on top of the codes too? Not sure if base address sticks for the next run of the code handler.
Find
Reply
04-20-2017, 10:03 AM
#7
Doppio Offline
Junior Member
**
Posts: 10
Threads: 3
Joined: Apr 2017
(04-20-2017, 01:26 AM)mimimi Wrote: Please take a look at:
http://geckocodes.org/index.php?arsenal=1

"Set Base Address to"

Code:
42TYZ00N XXXXXXXX


42000 : ba = XXXXXXXX
42001 : ba = grN+XXXXXXXX
42010 : ba = ba+XXXXXXXX
42011 : b a= ba+grN+XXXXXXXX

42100 : ba += XXXXXXXX
42101 : ba += grN+XXXXXXXX
42110 : ba += ba+XXXXXXXX
42111 : ba += ba+grN+XXXXXXXX

52010 : ba = po+XXXXXXXX
52011 : ba = po+grN+XXXXXXXX

52110 : ba += po+XXXXXXXX
52111 : ba += po+grN

So if you want to access mem1 afterwards, you need to reset the base address, i guess. Maybe even put the reset on top of the codes too? Not sure if base address sticks for the next run of the code handler.

Thanks for the reply.

I saw the code above, but I can understand only a little.
If possible, copy the value of 0x900FCDB8 written above to MEM1 (?) And write one example code to execute?
Find
Reply
04-20-2017, 12:57 PM
#8
gamemasterplc Offline
Above and Beyond
*******
Posts: 1,111
Threads: 7
Joined: Mar 2016
what do you need the value moved to MEM1 for
Website is gamemasterplc.com. Youtube Channel is gamemasterplc.
Website Find
Reply
04-20-2017, 04:30 PM
#9
Doppio Offline
Junior Member
**
Posts: 10
Threads: 3
Joined: Apr 2017
(04-20-2017, 12:57 PM)gamemasterplc Wrote: what do you need the value moved to MEM1 for

I would like to copy a constantly changing value such as the number of items and boss's HP to MEM 1.

And I would like to identify and change those varying values with MEM 1 using the identification code (28aaaaaa).
Find
Reply
04-21-2017, 08:58 AM
#10
mbc07 Offline
Wiki Caretaker
*******
Content Creators (Moderators)
Posts: 3,607
Threads: 47
Joined: Dec 2010
Moved to Development Discussion...
Avell A70 MOB: Core i7-11800H, GeForce RTX 3060, 16 GB DDR4-3200, Windows 11 (Insider Preview)
ASRock Z97M OC Formula: Pentium G3258, GeForce GT 440, 16 GB DDR3-1600, Windows 10 (22H2)
Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma