Make codes shorter?

Started by OnkelLes, October 09, 2008, 10:50:19 PM

Previous topic - Next topic

OnkelLes

Hy Guys... Its me again :-)

Now i already spent some time on finding codes and i found a lot. I found a Heart Code for each animal and friend in HM. So its a very long list. Can i sum them up somehow? Here are the codes. If someone knows how, maybe he can tell me?

Animal Hearts:
0447585C 0000FFFF
044758D4 0000FFFF
044759C4 0000FFFF
04475C1C 0000FFFF
04475C94 0000FFFF
04475D0C 0000FFFF
04475DFC 0000FFFF
04475EEC 0000FFFF
04475F64 0000FFFF
04476144 0000FFFF
044762AC 0000FFFF
044757E4 0000FFFF
0447594C 0000FFFF
04475A3C 0000FFFF
04475AB4 0000FFFF
04475B2C 0000FFFF
04475BA4 0000FFFF
04475D84 0000FFFF
04475E74 0000FFFF
04475FDC 0000FFFF
04476054 0000FFFF
044760CC 0000FFFF
044761BC 0000FFFF
04476234 0000FFFF

People Hearts:
04475244 0000FFFF
04475154 0000FFFF
04474EFC 0000FFFF
04474E84 0000FFFF
04474E0C 0000FFFF
04474D1C 0000FFFF
04474CA4 0000FFFF
04474BB4 0000FFFF
04474B3C 0000FFFF
04474AC4 0000FFFF
0447495C 0000FFFF
044749D4 0000FFFF
0447486C 0000FFFF
044748E4 0000FFFF
044747F4 0000FFFF
0447477C 0000FFFF
04474704 0000FFFF
0447468C 0000FFFF
04474614 0000FFFF
04474434 0000FFFF
044743BC 0000FFFF
04474344 0000FFFF
044742CC 0000FFFF
04474254 0000FFFF
04474164 0000FFFF
04473FFC 0000FFFF
04473F84 0000FFFF
04473E94 0000FFFF
04475514 0000FFFF
0447549C 0000FFFF
04475424 0000FFFF
044753AC 0000FFFF
04475334 000000FF
044752BC 0000FFFF
044751CC 0000FFFF
044750DC 0000FFFF
04475064 0000FFFF
04474FEC 0000FFFF
04474F74 0000FFFF
04474D94 0000FFFF
04474C2C 0000FFFF
04474A4C 0000FFFF
0447459C 0000FFFF
04474524 0000FFFF
044744AC 0000FFFF
044741DC 0000FFFF
044740EC 0000FFFF
04474074 0000FFFF
04473F0C 0000FFFF

brkirch

#1
08______ XXXXXXXX : 32bits serial code (ba)
2NNNZZZZ VVVVVVVV
Writes NNN+1 words (XXXXXXXX) at ba+address,
then makes XXXX+=ZZZZ, address+=VVVVVVVV

Although I've never actually used that code type myself, I believe your codes would translate to:

Animal Hearts [OnkelLes]
084757E4 0000FFFF
20170000 00000078

People Hearts [OnkelLes]
08473E94 0000FFFF
20300000 00000078

Edit: These codes are wrong, use what g6flavor posted instead.

OnkelLes

Ok. I don't understand all this stuff i think.

084757E4 (where does it come from) 0000FFFF (this one i understand  :D)
20170000 (the 2 i understand but 0170000? Dunno where its from...) 00000078 (this one i also understand i think  :D)

And thanks for your fast help.

Greetings

g6flavor

Quote from: brkirch on October 10, 2008, 01:19:44 AM
08______ XXXXXXXX : 32bits serial code (ba)
2NNNZZZZ VVVVVVVV
Writes NNN+1 words (XXXXXXXX) at ba+address,
then makes XXXX+=ZZZZ, address+=VVVVVVVV

Although I've never actually used that code type myself, I believe your codes would translate to:

Animal Hearts [OnkelLes]
084757E4 0000FFFF
20170000 00000078

People Hearts [OnkelLes]
08473E94 0000FFFF
20300000 00000078


Should be
Animal Hearts [OnkelLes]
084757E4 0000FFFF
20170078 00000000

People Hearts [OnkelLes]
08473E94 0000FFFF
20300078 00000000

brkirch

#4
Quote from: g6flavor on October 10, 2008, 06:34:03 AMShould be
Animal Hearts [OnkelLes]
084757E4 0000FFFF
20170078 00000000

People Hearts [OnkelLes]
08473E94 0000FFFF
20300078 00000000

Looking at the code handler source, it looks like you are right.  In that case, what the code type documentation says is rather misleading.

Quote from: OnkelLes on October 10, 2008, 01:53:14 AM
Ok. I don't understand all this stuff i think.

084757E4 (where does it come from) 0000FFFF (this one i understand  :D)
20170000 (the 2 i understand but 0170000? Dunno where its from...) 00000078 (this one i also understand i think  :D)

And thanks for your fast help.

Greetings

Check the top of my last post for information on that.  It seems though to be slightly wrong though, address+=ZZZZ and XXXXXXXX+=VVVVVVVV, not the other way around.

OnkelLes

Ok. Now i think i got it. But what is the VVVVVVVV good for? What code of type i need to use it? Or is it always 00000000?

Greetings

spunit262

Quote from: OnkelLes on October 10, 2008, 09:55:19 AM
Ok. Now i think i got it. But what is the VVVVVVVV good for? What code of type i need to use it? Or is it always 00000000?

Greetings

It's how much the value that is written changes each time it's written. In this case you didn't want it to change so it was 0.
Not active but may still sporadically make codes.
(ooo)
``´´

Panda On Smack

Can i do the same thing with my Tiger Woods code?

I just need to write the value X to each of these consecutive addresses, +4 each time?

046889C0 0000000X
046889C4 0000000X
046889C8 0000000X
046889CC 0000000X
046889D0 0000000X
046889D4 0000000X
046889D8 0000000X
046889DC 0000000X
046889E0 0000000X
046889E4 0000000X
046889E8 0000000X
046889EC 0000000X
046889F0 0000000X
046889F4 0000000X
046889F8 0000000X
046889FC 0000000X
04688A00 0000000X
04688A04 0000000X

Link

@Panda on Smack:

yes.. you can use that structure:

08______ XXXXXXXX : 32bits serial code (ba)
2NNNZZZZ VVVVVVVV Writes NNN+1 words (XXXXXXXX) at ba+address, then makes XXXX+=VVVVVVVV, address+=ZZZZ

in your case:

086889C0 0000000X
20110004 00000000