BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the community, you simply need to register an account or log into an existing one.

Be sure to check out disposable e-mail services, in case you prefer using one for this site instead of your legit address: http://10minutemail.com/10MinuteMail/

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can see and download all content provided for regular members even without an account!

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup
BullyWiiHacks

Gaming, Modding & Programming

Important reminders:

- Click *HERE* for advanced forum search or check out the text field below on the front page for Google before posting
- NO support via private message (use the forum)
- Write meaningful topic titles
Site Translation
Search
 
 

Display results as :
 


Rechercher Advanced Search

February 2018
MonTueWedThuFriSatSun
   1234
567891011
12131415161718
19202122232425
262728    

Calendar Calendar

Country Statistics
Free counters!
LaTeX Generator


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

viciousShadow

avatar
hello there,

i'm trying to create a code where i only have to change a certain bit.
(the other 7 bits of that byte at that address shall keep their old value)


as i'm more used to playstation 2 code formats, i'll give an example how it is done there (type 7 code)
MH2 Enable Symbol Colors
705D4ADA 00000040
MH2 Disable Symbol Colors
705D4ADA 000200BF

short explanation:
1.
at address 0x005D4ADA, do (loaded databyte OR 0x40) => write result to 0x005D4ADA
=> or in other words: bit 7 is set to 1 and all other bits remain the same
2.
at address 0x005D4ADA, do (loaded databyte AND 0xBF) => write result to 0x005D4ADA
=> or in other words: bit 7 is set to 0 and all other bits remain the same


is there an equivalent in gecko  Question 


i couldnt find anything at http://geckocodes.org/index.php?arsenal=1
(if its there, then i couldnt figure it out by the explanations given)

thanks alot for answers  Very Happy

[EDIT]: Solution Overview (ba+ memory)

Code:
Set certain bits to 0
82010001 xxxxxxxx
86300001 000000zz
84010001 xxxxxxxx

Set certain bits to 1
82010001 xxxxxxxx
86200001 000000yy
84010001 xxxxxxxx

xxxxxxxx: ba+address of 8 bit value which contains the bits to be changed
yy: bit to be set to 1 (ex.: yy=0xD1=[binary:]11010001 => changes bit 1;5,7,8 to 1)
zz=0xFF - yy: bit to be set to 0 (ex.: zz=0xFF - yy= 0xFF - 0xD1 = 0x2E=[binary:]00101110 =>  changes bit 1;5,7,8 to 0)



Last edited by viciousShadow on 4/18/2014, 11:32 am; edited 3 times in total

Bully@WiiPlaza

avatar
 
 
1) Load into Gecko Register
2) Gecko Register / Direct Value Operations
3) Store Gecko Register at

Wink


_________________

viciousShadow

avatar
oh ok thanks :)i thought there was something easier

also, i've never created register codes, so will any register work?

or could u give a link for an example (im quite confused with the register code explanation given on geckocodes.org)

SnB@BWH

avatar
Admin & Writer
I'm just wondering. Do you have a USB Gecko?


_________________

viciousShadow

avatar
no im using the dolphin emulator technique

(creating ramdump with HxD and testing out codes with dolphin)

SnB@BWH

avatar
Admin & Writer
I'm sorry to say, but it's impossible to make proper codes with Dolphin! Also, you can't do ASM codes with Dolphin and especially, just a RAM dump. You need to get a USB Gecko and they don't make them anymore. If you know computer hardware and shit, you can easily build and program your own, but it's better to just buy one. Also, you can't buy them from retail, you have to buy them online. And most of them aren't cheap. I got mine for $15 because I got it from a very good friend and it came all the way from Germany too!


_________________

viciousShadow

avatar
shitnbitch wrote:I'm sorry to say, but it's impossible to make proper codes with Dolphin!

hm? my codes are working fine ... even when im testing them out on my wii

and some code injection codes i found online r working fine on dolphin, too. (im using dolphin 4.0-1107)




anyway back to topic

some questions came up:
1.
Load into Gecko Register "82UY000N XXXXXXXX": what does grN mean and what do i set the "N" to (or in which range could it be set (i mean can it be all possible values 0..F or is there some restriction)
[EDIT]: i chose N=1 and worked
2.
Gecko Register / Direct Value Operations "86TY000N XXXXXXXX": so Y can be 0/1/2/3 but whats the difference or better say, what those [values] in brackets mean (is it pointer/address?)
[EDIT]: i used digit for no []


explanation much appreciated
*looks at Bully@Wii-Plaza's direction*


[EDIT] nevermind, i got it worxing! thanks bully  Very Happy

here are my results:

Monster Hunter G Wii
ROMJ08.ini
Code:
[Gecko]
$New Char Intro Movie: Disable [viciousShadow]
82010001 0075883D
86300001 000000FB
84010001 0075883D
*(Watch Village Intro Movie When Going To Village)
$New Char Intro Movie: Enable [viciousShadow]
82010001 0075883D
86200001 00000004
84010001 0075883D
*(Have Watched Village Intro Movie)
$New Char 1st Village Elder Talk: Disable [viciousShadow]
82010001 0075883D
86300001 000000FE
84010001 0075883D
*(Talk To Village Elder And Get 1500z From Him)
$New Char 1st Village Elder Talk: Enable [viciousShadow]
82010001 0075883D
86200001 00000001
84010001 0075883D
*(Have Had "1st Village Elder Talk" And Gotten 1500z)
$Hunter Rank: Disable [viciousShadow]
82010001 0075883D
86300001 000000EF
84010001 0075883D
*HR/HRP Will Not Be Displayed in Hunter Status (like offline only)
$Hunter Rank: Enable [viciousShadow]
82010001 0075883D
86200001 00000010
84010001 0075883D
*HR/HRP Will Be Displayed in Hunter Status (like having played online and talked to guild elder at tavern to register HR)
$Hunter Rank Points: 0 HRP [viciousShadow]
04758834 00000000
$Hunter Rank Points: 100000 HRP [viciousShadow]
04758834 000186A0
$Hunter Rank Points: 200000 HRP [viciousShadow]
04758834 00030D40
$Hunter Rank Points: 300000 HRP [viciousShadow]
04758834 000493E0
$Hunter Rank Color: Reset (Rank Not Applied) [viciousShadow]
00759C0B 00000000
$Hunter Rank Color: 12 (Yellow Hunter Name) [viciousShadow]
00759C0B 0000000C
$Hunter Rank Color: 20 (Orange Hunter Name) [viciousShadow]
00759C0B 00000014
$Hunter Rank Color: 28 (Pink Hunter Name) [viciousShadow]
00759C0B 0000001C
$Hunter Rank Color: 30 (Red Hunter Name) [viciousShadow]
00759C0B 0000001E
[Gecko_Enabled]
$New Char Intro Movie: Enable
$New Char 1st Village Elder Talk: Disable
$Hunter Rank: Enable
$Hunter Rank Points: 300000 HRP
$Hunter Rank Color: 28 (Pink Hunter Name)

SnB@BWH

avatar
Admin & Writer
Ha! LMFAO! I said PROPER! Dolphin runs on the PC and EMULATES the Wii games. The PC and Dolphin emulates the games not the actual hardware and software of the Wii! Therefore, everything is completely different! Also, earlier you had said you make RAM dumps with HxD? Are you opening up the RAM of Dolphin in HxD? If you are, you are doing it completely wrong! xD There's a much easier way within Dolphin itself, but even that doesn't give you the actual RAM dump because your PC doesn't run with Wii hardware and software. If you want to make codes, get a fucking USB Gecko!

Also, take a look at this:

http://wiibrew.org/wiki/Assembler_Tutorial


_________________

Bully@WiiPlaza

avatar
 
 
As long as they also work on a real Wii it shouldn't matter


_________________

viciousShadow

avatar
shitnbitch wrote:Also, take a look at this:

http://wiibrew.org/wiki/Assembler_Tutorial

thanks for tut-link, i always wanted to read something like this but never actually found a tut (tho i didnt actively searched for one Razz )

Bully@WiiPlaza wrote:As long as they also work on a real Wii it shouldn't matter

i like that attitude  Laughing

SnB@BWH

avatar
Admin & Writer
@Bully

Yes, but you should always test it on a Wii, which is what he did and said it worked. I'm just saying you should always test the codes you make in Dolphin on a Wii. Wink


_________________

viciousShadow

avatar
yea first i make codes with dolphin/test them on dolphin until they work (i think with dolphin, its quite fast to test/changecode/test again)

then i do final test on wii console *working as expected, yay Smile *

SnB@BWH

avatar
Admin & Writer
I use the USB Gecko because you don't have to reboot the Wii and reboot Gecko OS to modify the GCT. xD


_________________

viciousShadow

avatar
as i dont have usbGecko ...i didnt knew you could create gct's on the fly

that sounds nice+fast (can crash wii if new faulty codes are applied?)

SnB@BWH

avatar
Admin & Writer
Yes. But I mostly use it for testing codes that I make with the Gecko or for adding random codes that I know that work. Wink


_________________

Bully@WiiPlaza

avatar
 
 
If you crash the Wii, you usually have to restart. The USB Gecko is no protection against it but an error can be caught and fixed eventually.


_________________

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum