The code had some glitches and no longer works.
Posts split into new topic
-Virus
Printable View
The code had some glitches and no longer works.
Posts split into new topic
-Virus
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 lineQuote:
Originally Posted by Maniac
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 ..
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 .. :)Quote:
Originally Posted by Maniac
nope, you didn't, what emu did you use?
glad u don't get offended, (lots of hackers do :D) ., i use ideas http://www.ideasemu.org/ since no$gba have some graphic glitch with this game :)Quote:
Originally Posted by Maniac
Just seems to send it into an unstoppable loop...
i'm so sorry, what do you mean? :D 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..Quote:
Originally Posted by Maniac
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
then i use Trace into[F8] to debug the code.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
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 :D)
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:D)
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 .. :D
-toe
Alright, I'll look into it thanks! ^_^
EDIT: It worked thanks a lot!!!