BullyWiiHacks
Welcome dear guest! Very Happy

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

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

You can probably see and download most content provided for regular members even without an account.

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

Join the forum, it's quick and easy

BullyWiiHacks
Welcome dear guest! Very Happy

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

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

You can probably see and download most 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
Would you like to react to this message? Create an account in a few clicks or log in to continue.
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
Latest topics
» Dropped Out of College to Pursue Web Dev and Life Pursuits in General
[Solved] Binary Operations (8-Bit AND, OR); Set/Enable/Disable certain Bits with Gecko? Empty4/7/2024, 2:34 pm by SnB@BWH

» Bully Made It Into a BIG Video 400K Views
[Solved] Binary Operations (8-Bit AND, OR); Set/Enable/Disable certain Bits with Gecko? Empty4/7/2024, 6:58 am by Bully@WiiPlaza

» Wii Play Tanks
[Solved] Binary Operations (8-Bit AND, OR); Set/Enable/Disable certain Bits with Gecko? Empty3/24/2024, 2:46 pm by helpmeout

» [Bypass Paywalls] (Global) @magnolia1234 - GitLab
[Solved] Binary Operations (8-Bit AND, OR); Set/Enable/Disable certain Bits with Gecko? Empty3/18/2024, 3:55 am by Seth@WiiPlaza

» [Download] Mary Shelley's Frankenhole
[Solved] Binary Operations (8-Bit AND, OR); Set/Enable/Disable certain Bits with Gecko? Empty3/16/2024, 8:29 am by Seth@WiiPlaza

» Completely Custom Modded Controllers (Undetectable)
[Solved] Binary Operations (8-Bit AND, OR); Set/Enable/Disable certain Bits with Gecko? Empty3/5/2024, 1:55 pm by Shadow@BWH

» (Zombies) Drink perks code?
[Solved] Binary Operations (8-Bit AND, OR); Set/Enable/Disable certain Bits with Gecko? Empty3/5/2024, 1:24 pm by Shadow@BWH

» Die Rückkehr zu STEAM und WARFACE
[Solved] Binary Operations (8-Bit AND, OR); Set/Enable/Disable certain Bits with Gecko? Empty3/2/2024, 3:54 am by Seth@WiiPlaza

» First person hand model change?
[Solved] Binary Operations (8-Bit AND, OR); Set/Enable/Disable certain Bits with Gecko? Empty2/28/2024, 4:53 am by Ad3lamac611

» {RELEASE} Field Raider Firefox v1.72 by Seth@WiiPlaza
[Solved] Binary Operations (8-Bit AND, OR); Set/Enable/Disable certain Bits with Gecko? Empty2/21/2024, 8:52 am by naxil

Search
 
 

Display results as :
 


Rechercher Advanced Search

May 2024
MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
2728293031  

Calendar Calendar

Country Statistics
Free counters!

You are not connected. Please login or register

[Solved] Binary Operations (8-Bit AND, OR); Set/Enable/Disable certain Bits with Gecko?

3 posters

Go down  Message [Page 1 of 1]

viciousShadow

viciousShadow

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

Bully@WiiPlaza
 
 

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

Wink


_________________
[Solved] Binary Operations (8-Bit AND, OR); Set/Enable/Disable certain Bits with Gecko? YBjg74I

viciousShadow

viciousShadow

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

SnB@BWH
Admin & Writer

I'm just wondering. Do you have a USB Gecko?


_________________
[Solved] Binary Operations (8-Bit AND, OR); Set/Enable/Disable certain Bits with Gecko? Simple10

[Solved] Binary Operations (8-Bit AND, OR); Set/Enable/Disable certain Bits with Gecko? LSTjSyDDiscord: SnB_BWH

Click HERE to earn free bitcoin, litecoin, dogecoin, and dash!

Win Free Bitcoins every hour!

viciousShadow

viciousShadow

no im using the dolphin emulator technique

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

SnB@BWH

SnB@BWH
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!


_________________
[Solved] Binary Operations (8-Bit AND, OR); Set/Enable/Disable certain Bits with Gecko? Simple10

[Solved] Binary Operations (8-Bit AND, OR); Set/Enable/Disable certain Bits with Gecko? LSTjSyDDiscord: SnB_BWH

Click HERE to earn free bitcoin, litecoin, dogecoin, and dash!

Win Free Bitcoins every hour!

viciousShadow

viciousShadow

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

SnB@BWH
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


_________________
[Solved] Binary Operations (8-Bit AND, OR); Set/Enable/Disable certain Bits with Gecko? Simple10

[Solved] Binary Operations (8-Bit AND, OR); Set/Enable/Disable certain Bits with Gecko? LSTjSyDDiscord: SnB_BWH

Click HERE to earn free bitcoin, litecoin, dogecoin, and dash!

Win Free Bitcoins every hour!

Bully@WiiPlaza

Bully@WiiPlaza
 
 

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


_________________
[Solved] Binary Operations (8-Bit AND, OR); Set/Enable/Disable certain Bits with Gecko? YBjg74I

viciousShadow

viciousShadow

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

SnB@BWH
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


_________________
[Solved] Binary Operations (8-Bit AND, OR); Set/Enable/Disable certain Bits with Gecko? Simple10

[Solved] Binary Operations (8-Bit AND, OR); Set/Enable/Disable certain Bits with Gecko? LSTjSyDDiscord: SnB_BWH

Click HERE to earn free bitcoin, litecoin, dogecoin, and dash!

Win Free Bitcoins every hour!

viciousShadow

viciousShadow

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

SnB@BWH
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


_________________
[Solved] Binary Operations (8-Bit AND, OR); Set/Enable/Disable certain Bits with Gecko? Simple10

[Solved] Binary Operations (8-Bit AND, OR); Set/Enable/Disable certain Bits with Gecko? LSTjSyDDiscord: SnB_BWH

Click HERE to earn free bitcoin, litecoin, dogecoin, and dash!

Win Free Bitcoins every hour!

viciousShadow

viciousShadow

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

SnB@BWH
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


_________________
[Solved] Binary Operations (8-Bit AND, OR); Set/Enable/Disable certain Bits with Gecko? Simple10

[Solved] Binary Operations (8-Bit AND, OR); Set/Enable/Disable certain Bits with Gecko? LSTjSyDDiscord: SnB_BWH

Click HERE to earn free bitcoin, litecoin, dogecoin, and dash!

Win Free Bitcoins every hour!

Bully@WiiPlaza

Bully@WiiPlaza
 
 

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.


_________________
[Solved] Binary Operations (8-Bit AND, OR); Set/Enable/Disable certain Bits with Gecko? YBjg74I

Sponsored content



Back to top  Message [Page 1 of 1]

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