Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: ASM Remove Brick Seed Code

  1. #1
    J.P. (Global Moderator) Maniac's Avatar
    Join Date
    Sep 2007
    Location
    Ohio, USA
    Posts
    2,083
    Blog Entries
    5

    Default ASM Remove Brick Seed Code

    The code had some glitches and no longer works.

    Posts split into new topic
    -Virus

    Say what you mean, mean what you say, and let your actions speak for you.


  2. #2
    Super Moderator
    Join Date
    Oct 2007
    Location
    Philippines
    Posts
    98

    Default Re: Animal Crossing: Wild World [NDS] [U 1.0] [AR]

    Quote Originally Posted by Maniac
    The code had some glitches and no longer works.
    anyway i could be wrong since i can't test it with real ards and actual cartridge but i think the problem occur in this line

    ldrh r2,[r0],#0x1
    .....
    streqh r4,[r0]

    first code is minor and can be ignore but it adds per byte not per half-word, im not sure if it cause a problem probably it wont

    now the other line might give a problem .. because it writes on the new value of r0, since the first line gets the value and load it to r2 before it add +1 on r0

    the solution i can think of is something like this

    ldrh r2,[r0],#0x02
    .....
    streqh r4,[r0,#0xFFFFFFFE]

    in that format .. it will add r0 now with 2 but streqh will write on given offset which is, offset = r0-0x2, and won't affect the value of r0

    anyway i could be wrong ..

  3. #3
    J.P. (Global Moderator) Maniac's Avatar
    Join Date
    Sep 2007
    Location
    Ohio, USA
    Posts
    2,083
    Blog Entries
    5

    Default Re: Animal Crossing: Wild World [NDS] [U 1.0] [AR]

    I do have to ask how you got the source code to that... Thanks, I'll try it...

    Say what you mean, mean what you say, and let your actions speak for you.


  4. #4
    Super Moderator
    Join Date
    Oct 2007
    Location
    Philippines
    Posts
    98

    Default Re: Animal Crossing: Wild World [NDS] [U 1.0] [AR]

    Quote Originally Posted by Maniac
    I do have to ask how you got the source code to that... Thanks, I'll try it...
    sorry i hope u don't get offended but i disassemble the code using emulator, i specifically use ideas then i hook it up using this address 0x20E7EB8 so i can debug it, i just add push and pop .. after hooking it up, it works well in emulator and in my flashcart, (even patching it in rom) but i don't have the real cart and i can't test it using the AR hack method thats why i take a look on the code, anyway i really hope i didn't offend you in disassembling it ..

  5. #5
    J.P. (Global Moderator) Maniac's Avatar
    Join Date
    Sep 2007
    Location
    Ohio, USA
    Posts
    2,083
    Blog Entries
    5

    Default Re: Animal Crossing: Wild World [NDS] [U 1.0] [AR]

    nope, you didn't, what emu did you use?

    Say what you mean, mean what you say, and let your actions speak for you.


  6. #6
    Super Moderator
    Join Date
    Oct 2007
    Location
    Philippines
    Posts
    98

    Default Re: Animal Crossing: Wild World [NDS] [U 1.0] [AR]

    Quote Originally Posted by Maniac
    nope, you didn't, what emu did you use?
    glad u don't get offended, (lots of hackers do ) ., i use ideas http://www.ideasemu.org/ since no$gba have some graphic glitch with this game

  7. #7
    J.P. (Global Moderator) Maniac's Avatar
    Join Date
    Sep 2007
    Location
    Ohio, USA
    Posts
    2,083
    Blog Entries
    5

    Default Re: ASM Remove Brick Seed Code

    Just seems to send it into an unstoppable loop...

    Say what you mean, mean what you say, and let your actions speak for you.


  8. #8
    Super Moderator
    Join Date
    Oct 2007
    Location
    Philippines
    Posts
    98

    Default Re: ASM Remove Brick Seed Code

    Quote Originally Posted by Maniac
    Just seems to send it into an unstoppable loop...
    i'm so sorry, what do you mean? i'm not really sure how does the code work in AR hack method but it doesn't make an infinite loop in my case..
    anyway this what i do, i try it in ideas using emuhaste..
    first i set a bpx in 0x20E7EB4, in free version you can use "Run to cursor"
    then i add push and pop, in your code
    then soon as the emulator stop and since emuhaste and hasteds uses Dipstar i use the plain 32bit write, and activated it in game

    Code:
    code looks like this
    020E7EB8 EAFC6124
    02000350 E92D007F 
    02000354 E59F0030
    02000358 E2801A02 
    0200035C E1DF42BC
    02000360 E1DF52BA 
    02000364 E1DF62B8
    02000368 E0455006 
    0200036C E1500001
    02000370 0A000003 
    02000374 E0D020B1
    02000378 E1520005 
    0200037C 01C040B0
    02000380 EAFFFFF9 
    02000384 E8BD007F
    02000388 E12FFF1E 
    0200038C 021E3124
    02000390 FFFFFFF1 
    02000394 0000AFF6
    then i use Trace into[F8] to debug the code.

    i notice those line that might make some culprit especially the 2nd part since there were certain case, but not always, it fail to write in correct offset, i mean sometimes it writes on the next half-word .. (few times in emulator but happen mostly in my flashcart )

    PS.. using the code above, i add 520E7EB8 E12FFF1E in first line and terminating code in last line, guess what it makes your code an Auto Brick Seed Remover code .. .. (or at least in my game)

  9. #9
    Super Moderator
    Join Date
    Oct 2007
    Location
    Philippines
    Posts
    98

    Default Re: ASM Remove Brick Seed Code

    hi maniac i reviewed your code and i think this might be the real problem ..

    in your code you use r4, r5 and r6.

    according to kenobi's documentation r4 and r5 should be untouched since they contain important data then virus and i found out that r6 causes a culprit in ACWW 1.0 .. i suggest replacing them with r3, r8 and r12 ..

    -toe

  10. #10
    J.P. (Global Moderator) Maniac's Avatar
    Join Date
    Sep 2007
    Location
    Ohio, USA
    Posts
    2,083
    Blog Entries
    5

    Default Re: ASM Remove Brick Seed Code

    Alright, I'll look into it thanks! ^_^

    EDIT: It worked thanks a lot!!!

    Say what you mean, mean what you say, and let your actions speak for you.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •