Go Back   Project64 Forums > Public Version > Project 64 - v2.x - Cheats

Reply
 
Thread Tools Display Modes
  #1  
Old 17th November 2013, 07:59 PM
retroben's Avatar
retroben retroben is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Jul 2013
Posts: 632
Default retroben's n64 gameshark requests thread.

Just request for any kind of code you can think of and I will try to make it happen.
Reply With Quote
  #2  
Old 18th November 2013, 05:03 AM
the_randomizer's Avatar
the_randomizer the_randomizer is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Sep 2008
Location: USA
Posts: 1,120
Default

I just wish I actually understood hex, offsets, etc, then I'd actually be able to do cool hacks like you
__________________
My rig:
CPU: Intel Core i5 3570 3.4 GHz to 3.8 GHz
Video card:: MSI nVidia GTX 660 2 GB GDDR5
OS: Windows 7 Professional 64-bit
RAM: 8192MB DDR3 SDRAM PC2 10600
HDD: Western Digital 1 TB 7200 RPM
Monitor: 23" Asus Full HD LED

Oh, and Snes9x > Zsnes in every way
Reply With Quote
  #3  
Old 18th November 2013, 05:54 AM
retroben's Avatar
retroben retroben is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Jul 2013
Posts: 632
Default Hexadecimals and you.

Elementary my dear Watson.

Hex numbers 0-F
0 1 2 3 4 5 6 7 8 9
A B C D E F
10 11 12...

Decimal numbers 0-9
0 1 2 3 4 5 6 7 8 9
10 11 12 13 14 15
16 17 18...

Additionally hex goes A0-FF as well.

Hex
A0=160 (16 x 10 = 160)

Decimal
160=160

Every tens place in hex equals sixteen.

Hex
10=16
16=22
1A=26
20=32 (decimals 16+16=32)

Decimal
10=10
16=16
20=20
22=22
26=26
32=32

Bits are in the same byte of an address.
8bits=1byte with ten placements.

The bits are as follows.

bit0? 0=0 neutral

bit1 1=1
bit2 2=2
bit3 4=4
bit4 8=8
bit5 10=16
bit6 20=32
bit7 40=64
bit8 80=128

bit9? FF=255 maximum (256th number including zero)

It can use any and every mixture of bits.
Example:bits 6,5,and 3 20+10+4=34 (52 in decimal).

00-7F in hex are the positive numbers.
80-FF in hex are the negative numbers.
Couning down from FF.
Examples:
FF= -1
FE= -2

80= -127 (maximum negative)
7F= +127 (maximum positive)

To think,I learned hex all on my own,not in school.

Last edited by retroben; 18th November 2013 at 06:04 AM.
Reply With Quote
  #4  
Old 18th November 2013, 05:55 AM
the_randomizer's Avatar
the_randomizer the_randomizer is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Sep 2008
Location: USA
Posts: 1,120
Default

Quote:
Originally Posted by retroben View Post
Elementary my dear Watson.

Hex numbers 0-F
0 1 2 3 4 5 6 7 8 9
A B C D E F
10 11 12...

Decimal numbers 0-9
0 1 2 3 4 5 6 7 8 9
10 11 12 13 14 15
16 17 18...

Additionally hex goes A0-FF as well.

Hex
A0=160 (16 x 10 = 160)

Decimal
160=160

Every tens place in hex equals sixteen.

Hex
10=16
16=22
1A=26
20=32 (decimals 16+16=32)

Decimal
10=10
16=16
20=20
22=22
26=26
32=32

Bits are in the same byte of an address.
8bits=1byte with ten placements.

The bits are as follows.

bit0? 0=0 neutral

bit1 1=1
bit2 2=2
bit3 4=4
bit4 8=8
bit5 10=16
bit6 20=32
bit7 40=64
bit8 80=128

bit9? FF=255 maximum (256th number including zero)

It can use any and every mixture of bits.
Example:bits 6,5,and 3 20+10+4=34 (52 in decimal).

To think,I learned hex all on my own,not in school.
I mean I know 0-255 in hex just fine, it's searching for the right values is the issue when looking at N64 games with the debugger. Then from there, figuring out what does what in the game and so on.
__________________
My rig:
CPU: Intel Core i5 3570 3.4 GHz to 3.8 GHz
Video card:: MSI nVidia GTX 660 2 GB GDDR5
OS: Windows 7 Professional 64-bit
RAM: 8192MB DDR3 SDRAM PC2 10600
HDD: Western Digital 1 TB 7200 RPM
Monitor: 23" Asus Full HD LED

Oh, and Snes9x > Zsnes in every way
Reply With Quote
  #5  
Old 18th November 2013, 06:07 AM
retroben's Avatar
retroben retroben is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Jul 2013
Posts: 632
Default

What kind of codes would you be looking for?
Reply With Quote
  #6  
Old 18th November 2013, 08:09 AM
the_randomizer's Avatar
the_randomizer the_randomizer is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Sep 2008
Location: USA
Posts: 1,120
Default

Quote:
Originally Posted by retroben View Post
What kind of codes would you be looking for?
Nothing in particular, just wanting to know how to look for them in general. I dunno....like the basics of searching values, reducing the number of results to manageable levels. Ugh, I don't know what I'm trying to say Just navigating, getting the feeling of learning how to do this kind of hacking.
__________________
My rig:
CPU: Intel Core i5 3570 3.4 GHz to 3.8 GHz
Video card:: MSI nVidia GTX 660 2 GB GDDR5
OS: Windows 7 Professional 64-bit
RAM: 8192MB DDR3 SDRAM PC2 10600
HDD: Western Digital 1 TB 7200 RPM
Monitor: 23" Asus Full HD LED

Oh, and Snes9x > Zsnes in every way
Reply With Quote
  #7  
Old 18th November 2013, 06:28 PM
HatCat's Avatar
HatCat HatCat is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Feb 2007
Location: In my hat.
Posts: 16,148
Default

Quote:
Originally Posted by retroben View Post
Bits are in the same byte of an address.
8bits=1byte with ten placements.

The bits are as follows.

bit0? 0=0 neutral

bit1 1=1
bit2 2=2
bit3 4=4
bit4 8=8
bit5 10=16
bit6 20=32
bit7 40=64
bit8 80=128

bit9? FF=255 maximum (256th number including zero)

It can use any and every mixture of bits.
Example:bits 6,5,and 3 20+10+4=34 (52 in decimal).
Actually bits 6, 5, and 3 is 64+32+8, which is 104.
You said 52 which is only half of 104 because you got the bit offsets wrong.

First, there are only 8 bits in a byte, not 10.
There's no "bit8" and "bit9".
It's just bits 0 to 7, numbered little-endian.

Second, bit 0 is NOT "neutral".
2 to the power of 0 is 1, not 0.
So bit 0 means you mask | 1,
bit 1 means you mask | 2,
bit 2 means you mask | 4,
etc. all your values are off.

Quote:
Originally Posted by retroben View Post
00-7F in hex are the positive numbers.
80-FF in hex are the negative numbers.
Couning down from FF.
Examples:
FF= -1
FE= -2

80= -127 (maximum negative)
7F= +127 (maximum positive)
This is true only if you assume two things:
  • The corresponding integer storage is sign-extended (a "signed" int), to 8-bit precision.
  • The CPU processor registering the numbers uses two's complement negation.

If it were a CPU besides MIPS/Intel it could be 1's complement negation, and negative numbers would not look exactly as you said.

More over, for our purposes, either in hacking or otherwise, a "byte" in a memory viewer should always default to an "unsigned char" perspective in C, so rather than sign-extending it, we're better off initially interpreting memory results as zero-extended bytes in the range 0:+255, not -128:+127.

Quote:
Originally Posted by retroben View Post
To think,I learned hex all on my own,not in school.
Doesn't surprise me. It's at least what I did.

I had to begin with reading about it at first, though, initially, in an archive I downloaded. Otherwise, how do we know exactly which knowledge to pursue?
Reply With Quote
  #8  
Old 18th November 2013, 09:55 PM
retroben's Avatar
retroben retroben is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Jul 2013
Posts: 632
Default

Zero is neutral because it is neither negative or positive.
There is no negative zero.

I know 8bits,ten positions make it decimal/hexadecimal.
Hexadecimal means ten with additional six while hex means six.
I may have bit positions wrong,but my values are correct.

Every bit is multiples of two of the previous bit.

0
1 2 4 8 16 32 64 128
255

0
1 2 4 8 10 20 40 80
FF

I forgot to realize that 80 in hex can be positive when used
in half words (2 byte length).

A perfect example is the universal Sega Genesis
Sonic 1/2/3/K/3K games Ring Count Pro Action Replay code.

Rings=127
FFFE20:007F

Rings=128
FFFE20:0080

Rings=255
FFFE20:00FF

Rings=256
FFFE20:0100

Rings=999
FFFE20:03E7

The two byted amounts will stay positive until after 7FFF.

Rings=32767 (garbled counter)
FFFE20:7FFF

Values 80-FF in one byte codes can sometimes still be positive when used in item counts.

In physics based codes,80-FF are negative.
Running forward current speed is 32 (20 in hex).
Using the Zelda OOT Press A to Run Fast cheat modified as an example.
It might be two bytes long,which would need FFE0 for negative 32.
Change 20 to E0 and you will run backwards at 32 speed when trying to run forward.
Proof of zero being neutral,you will not move forward or backward with 0.
Reply With Quote
  #9  
Old 19th November 2013, 01:40 AM
HatCat's Avatar
HatCat HatCat is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Feb 2007
Location: In my hat.
Posts: 16,148
Default

I don't care.
Bit 0 is not neutral.
It's a part of a byte, equally as much as every other bit.

Bits in a byte are numbered 0 to 7, not 1 to 10 or whatever.
So the correct answer was 104, not 52.

Quote:
Originally Posted by retroben View Post
I forgot to realize that 80 in hex can be positive when used
in half words (2 byte length).
Halfwords are only 2 bytes on CPUs like MIPS.
A halfword can easily be 1 single byte on systems you haven't hacked for yet.
A halfword may also be 4 bytes or more for other systems.

To specify a negative hex, you use the negative sign, just as you would in decimal.

-0x80 is -128; +0x80 is +128.
Most often, a single byte in computer science is interpreted as "unsigned"; meaning it's 0:255, not -128:+127.

0xFFFF could be either +65535 or -1 if the 16-bit number is signed.
It depends which N64 CPU instructions buffer the number from RDRAM and how the programmer chooses to read it.

There is no universal rule of thumb that 0x8000:0xFFFF in 2 byte is ALWAYS a negative number, etc.
Reply With Quote
  #10  
Old 22nd November 2015, 06:39 AM
natepley natepley is offline
 
Join Date: Nov 2015
Posts: 0
Default Ocarina of Time Letterboxing Cheat

Hi! I'm new here and would like to request a cheat.

I stumbled upon a cheat on youtube not long ago that disables all letterboxing (black bars) on Majora's Mask during cut-scenes and when you z-target. It makes the game look great! especially with hi-res textures and the widescreen hack. In the comments, I asked the poster if he could make a similar cheat for ocarina of time. He said probably not but he did tell me how discovered the cheat on Majora's Mask and said it shouldn't be too hard to make one for Ocarina of Time. I don't know anything about making cheats so I was wondering if this would be easy for you to do since you seem to be the cheat pro.

Here's the video on youtube and you can check the comments for how he made the cheat. Thanks very much!

Dang... I can't post URLs until I've already made 5 posts. This is my first post. Well the video is easy to find. On YouTube, search "Majora's Mask Disable Widescreen". It's should be the first result on the list. Sorry I can't post a link!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 02:59 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.