ROM Hack On PKM HG/SS AP Patches

Status
Not open for further replies.

Squall Leonhart

Well-Known Member
Member
Joined
Mar 12, 2010
Messages
187
Trophies
1
Age
37
Website
vba-m.com
XP
251
Country
Australia
QUOTE said:
If you take the time to read the error that your reading as AP is the fact that there is an 16bit offset that is constantly being read as an 8bit.

When this offset goes above the 8bit address its cause the black screen to appear.

It is an error in the graphics engine of the game, every address that is looked at are addresses that deal in the graphical property of the game.

04000600 is used to refresh the screen during entering of battle, 2260344 is primarily used to drawn sprites and set the writing.

After the the other address that came up later server similar functions there is a constant message in desmume that there is an error in the lighting of the game that it is been shown as to bright.

Now then if this wasnt a pure graphics error that it appears to be that it is AP the whole game would freeze including the sound.
Thus it has to be that the AP was the original problem with loading up of the game originally, which was fixed.
This was the original black screen, all the other freezes are occuring exspeciallly later on due to the nature of the graphics.
The more objects and animation that is require to draw the harder it is for the game, to due this there that address is used more and more the address that is always seen in the crash.

00056612 is used by the emulator itself not the rom.
Note as well when the crash is seen in desmume you will also get crash reports from your computer indicating that various graphics files have crashed.

Souldragon and me where looking at this yesterday but i pushed it aside originally trying to bypass thinking it was something that can be fixed.
It cannot be fixed wait for a new version of the rom or continue in futility.

Next possibility as to why this is occuring if it is not the roms its the emulators most have similar coding.
Thats why it seems so random every1 assumes it is directly at 24 actions.
Desmume experiences the crash at around 50 actions and nosgba crash at 60-75 actions, there is one thing ive yet to try that is to change the emulator on how it displayes light because this seems to direcly corralate the problem that the brightness of the game is directly what is causing the crash in desmume and nosgba

"Next possibility as to why this is occuring if it is not the roms its the emulators most have similar coding.
Thats why it seems so random every1 assumes it is directly at 24 actions."

No, they don't.
NoGBA is pure assembly for the emulator core, while desmume is C++. not to mention that Desmume's timings are way out of whack while nogba's are execution accurate.


"00056612 is used by the emulator itself not the rom.
Note as well when the crash is seen in desmume you will also get crash reports from your computer indicating that various graphics files have crashed."

Wrong again, if this is happening with you, then theres an issue with the Your machine.
00056612 btw is an address for a Thumb operation, If an error occurs at this point then it can very well freeze emulation cores.

Anyway, After some random crap i've been doing to reproduce it in numerous ways.

I've found.

1. Its not soley a gfx crash, if you manage to move into a new area during the locking event only half of it loads, this means (A)There was not enough DS memory to load the entire area either through standard cleanups failing or (B) There is an AP technique which prevents the game from reading new data to memory.

2. When the locking event occurs, it can occur as
A. Black screen while moving from scene to scene, or entering/exiting a building.
B. The Lower screen breaks upon moving into the next scene, resulting in only the primary backgrounds and button text drawn but not drawing the buttons.
C. Following on with C, the Touch screen accepting data as well. This means that the ARM7 also enters a locking state.
D. A scripted event does not occur when entering a new area or completing a quiz (Radio station quiz..etc), Player doesn't get approached by trainer.
E. The amount of spinning balls (usually 3) can also only be 1 (but not 2.....)
F. PC and NPC's glitch out and become moving Missing.No.s, while grass tree's and landscape work (usually will result in (A),
 

iNFiNiTY

Well-Known Member
Member
Joined
Apr 18, 2004
Messages
709
Trophies
1
XP
472
<!--quoteo(post=2665431:date=Mar 14 2010, 09:47 PM:name=Ribesg)--><div class='quotetop'>QUOTE(Ribesg @ Mar 14 2010, 09:47 PM) <a href="index.php?act=findpost&pid=2665431"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec--><!--sizeo:5--><span style="font-size:18pt;line-height:100%"><!--/sizeo--><b>THE RECAP POST - UPDATE</b><!--sizec--></span><!--/sizec-->

What was tried, what we know :
- It works <b>95%</b> on <b>AKAIO RC 1.6</b> (Some crash report, but works really better than on other flashcards)
- Tried to apply the JP fix : <b>Fail</b>
- Tried to move US files to JP one, to use that JP fix : <b>Epic Fail</b>
- <b>Data folder</b> from US was moved to the patched JP rom : <b><i>Strange Result</i></b>
- Tried to patch <b>ARM7</b> with JP HG/SS one, Platinum one, D/P one : <b>Fail</b>
- Tried to patch <b>ARM9</b> with JP HG/SS one, Platinum one, D/P one : <b>Fail</b>
- Defined "<b>events</b>" as "when you enter/exit a building/stairs/door or save or encounter a wild pokemon or start a trainer fight or end a battle (get back to the game) or when you end a cutscene"
- The number of events "needed" before the game freezes <b>depend of the number of badges</b> you have
- Replacing all the <i>00 00 00 46</i> in the rom by <i>00 00 00 00</i> : <b>Fail</b>
- Tried <b><u>a lot of AR codes</u></b> : Some from JP, K fix... No one working
- Everytime the game crashes there is an access violation of dma at offset <b>56612</b>
- Unchecking DMA and reset : <b>Fail</b>
- Inserting patched JP overlays : <b>Fail</b>, but increase the number of events before freeze
- Deleting overlays : <b>Fail</b>
- This match with the equation <b>y = -(1/2)*x^3 - (5/2)*x + 24</b> and with <b>y = 27 - 3*(2^x)</b> and certainly with some other ones.
- You replace x with the number of badges you have, and you find : 0 badges 24 events, 1 badges 21 events, 2 badges 15 event, 3 badges 3 events, more badges you have a negative value and the game do not want to load the save
- With this "events" needed we can think there is a countdown, each event add -1 to a var who doesn't support value below 1, that can explain the countdown crashes and the fact that the game won't start if the value is negative. If it's right, a AR code who lock this var must work...
Some of what can be done :
- Try to know why it works on AKAIO 1.6 RC1, we need some dev of this firware to help us understand
- Try to find where this equation is stored, if it exists
- Try to find where the "countdown" is stored, it appears that they are multiple var
- Try to Hex read the ROM and/or the files in the ROM in order to find new interesting things
- Ask to yourself : why it works with official games, and not on our flashcards ?
What can be usefull (Or not) :
By hexing, I found out some nice stuff:

[SDK+NINTENDO:DWC2.2.30008.080630.1906_DWC_2_2_PLUS8]
[SDK+NINTENDO:BACKUP]
[SDK+Abiosso:libVCT 1.3.1]
[SDK+NINTENDO:WiFi2.1.30003.0709200229]
[SDK+UBIQUITOUS:CPS]
[SDK+UBIQUITOUS:SSL]

SSL and CPS, isn't that the encryption systems? Also, I think this Abiosso is the AP software... not sure.
YOOOOOO, I FOUND SOMETHING NEW, remember this:

[SDK+NINTENDO:DWC2.2.30008.080630.1906_DWC_2_2_PLUS8]

NOW, there is a folder called DWC!!!! AND in that folder, the utility.bin file gives this:
<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->eb2Ap.nsc.l
eb2HlAp.nsc.leb2HlWiFi.nsc.l
eb2Menu.nsc.leb3HlList1.nsc.leb3HlList2.nsc.leb3HlList3.nsc.l
eb3List.nsc.leb3ListBack.nsc.l eb3Way.nsc.leb4ApList.nsc.leb4Error.nsc.leb4HlDns0.nsc.leb4HlDns1.nsc.leb4H
Gateway.nsc.l
eb4HlIp.nsc.leb4HlMask.nsc.leb4HlSet1.nsc.leb4HlSet2.nsc.leb4HlSet3.nsc.leb
HlSsid.nsc.leb4HlUsb.nsc.leb4HlWep.nsc.l eb4Usb.nsc.leb5HlErase.nsc.leb5HlInfo.nsc.leb5HlMove.nsc.leb5HlOption.nsc.l
eb5Info.nsc.l
eb5Move.nsc.leb5OptMenu.nsc.l ebBgHl.ncg.lebBgOption.ncg.lebBgStep1.ncg.lebBgStep1.ncl.lebBgStep2.ncg.leb
gStep21.ncg.lebBgStep3.ncg.l ebMain.nce.lebObjMain.ncg.letBgMain.ncg.letBgMain.ncl.l etMain.nce.l etNull.nsc.letObjMain.ncg.letOption.nsc.l
etStep1.nsc.l
etStep2.nsc.l
etStep3.nsc.l
etTop.nsc.l
fb2Ap.nsc.l
fb2HlAp.nsc.lfb2HlWiFi.nsc.l
fb2Menu.nsc.lfb3HlList1.nsc.lfb3HlList2.nsc.lfb3HlList3.nsc.l
fb3List.nsc.lfb3ListBack.nsc.l fb3Way.nsc.lfb4ApList.nsc.lfb4Error.nsc.lfb4HlDns0.nsc.lfb4HlDns1.nsc.lfb4H
Gateway.nsc.l
fb4HlIp.nsc.lfb4HlMask.nsc.lfb4HlSet1.nsc.lfb4HlSet2.nsc.lfb4HlSet3.nsc.lfb
HlSsid.nsc.lfb4HlUsb.nsc.lfb4HlWep.nsc.l fb4Usb.nsc.lfb5HlErase.nsc.lfb5HlInfo.nsc.lfb5HlMove.nsc.lfb5HlOption.nsc.l
fb5Info.nsc.l
fb5Move.nsc.lfb5OptMenu.nsc.l fbBgHl.ncg.lfbBgOption.ncg.lfbBgStep1.ncg.lfbBgStep1.ncl.lfbBgStep2.ncg.lfb
gStep21.ncg.lfbBgStep3.ncg.l fbMain.nce.lfbObjMain.ncg.lftBgMain.ncg.lftBgMain.ncl.l ftMain.nce.l ftNull.nsc.lftObjMain.ncg.lftOption.nsc.l
ftStep1.nsc.l
ftStep2.nsc.l
ftStep3.nsc.l
ftTop.nsc.l
gb2Ap.nsc.l
gb2HlAp.nsc.lgb2HlWiFi.nsc.l
gb2Menu.nsc.lgb3HlList1.nsc.lgb3HlList2.nsc.lgb3HlList3.nsc.l
gb3List.nsc.lgb3ListBack.nsc.l gb3Way.nsc.lgb4ApList.nsc.lgb4Error.nsc.lgb4HlDns0.nsc.lgb4HlDns1.nsc.lgb4H
Gateway.nsc.l
gb4HlIp.nsc.lgb4HlMask.nsc.lgb4HlSet1.nsc.lgb4HlSet2.nsc.lgb4HlSet3.nsc.lgb
HlSsid.nsc.lgb4HlUsb.nsc.lgb4HlWep.nsc.l gb4Usb.nsc.lgb5HlErase.nsc.lgb5HlInfo.nsc.lgb5HlMove.nsc.lgb5HlOption.nsc.l
gb5Info.nsc.l
gb5Move.nsc.lgb5OptMenu.nsc.l gbBgHl.ncg.lgbBgOption.ncg.lgbBgStep1.ncg.lgbBgStep1.ncl.lgbBgStep2.ncg.lgb
gStep21.ncg.lgbBgStep3.ncg.l gbMain.nce.lgbObjMain.ncg.lgtBgMain.ncg.lgtBgMain.ncl.l gtMain.nce.l gtNull.nsc.lgtObjMain.ncg.lgtOption.nsc.l
gtStep1.nsc.l
gtStep2.nsc.l
gtStep3.nsc.l
gtTop.nsc.l
ib2Ap.nsc.l
ib2HlAp.nsc.lib2HlWiFi.nsc.l
ib2Menu.nsc.lib3HlList1.nsc.lib3HlList2.nsc.lib3HlList3.nsc.l
ib3List.nsc.lib3ListBack.nsc.l ib3Way.nsc.lib4ApList.nsc.lib4Error.nsc.lib4HlDns0.nsc.lib4HlDns1.nsc.lib4H
Gateway.nsc.l
ib4HlIp.nsc.lib4HlMask.nsc.lib4HlSet1.nsc.lib4HlSet2.nsc.lib4HlSet3.nsc.lib
HlSsid.nsc.lib4HlUsb.nsc.lib4HlWep.nsc.l ib4Usb.nsc.lib5HlErase.nsc.lib5HlInfo.nsc.lib5HlMove.nsc.lib5HlOption.nsc.l
ib5Info.nsc.l
ib5Move.nsc.lib5OptMenu.nsc.l ibBgHl.ncg.libBgOption.ncg.libBgStep1.ncg.libBgStep1.ncl.libBgStep2.ncg.lib
gStep21.ncg.libBgStep3.ncg.l ibMain.nce.libObjMain.ncg.litBgMain.ncg.litBgMain.ncl.l itMain.nce.l itNull.nsc.litObjMain.ncg.litOption.nsc.l
itStep1.nsc.l
itStep2.nsc.l
itStep3.nsc.l
itTop.nsc.l
jb2Ap.nsc.l
jb2HlAp.nsc.ljb2HlWiFi.nsc.l
jb2Menu.nsc.ljb3HlList1.nsc.ljb3HlList2.nsc.ljb3HlList3.nsc.l
jb3List.nsc.ljb3ListBack.nsc.l jb3Way.nsc.ljb4ApList.nsc.ljb4Error.nsc.ljb4HlDns0.nsc.ljb4HlDns1.nsc.ljb4H
Gateway.nsc.l
jb4HlIp.nsc.ljb4HlMask.nsc.ljb4HlSet1.nsc.ljb4HlSet2.nsc.ljb4HlSet3.nsc.ljb
HlSsid.nsc.ljb4HlUsb.nsc.ljb4HlWep.nsc.l jb4Usb.nsc.ljb5HlErase.nsc.ljb5HlInfo.nsc.ljb5HlMove.nsc.ljb5HlOption.nsc.l
jb5Info.nsc.l
jb5Move.nsc.ljb5Multi.nsc.ljb5OptMenu.nsc.l jbBgHl.ncg.ljbBgOption.ncg.ljbBgOption.ncl.ljbBgOption1.ncl.ljbBgStep1.ncg.l
jbBgStep1.ncl.ljbBgStep11.ncl.ljbBgStep2.ncg.ljbBgStep2.ncl.ljbBgStep21.ncg.
jbBgStep21.ncl.ljbBgStep3.ncg.ljbBgStep3.ncl.ljbBgStep31.ncl.l jbMain.nce.l
jbObjKb.ncl.ljbObjMain.ncg.ljbObjMain.ncl.ljbObjWay.ncl.ljtBgMain.ncg.ljtBg
ain.ncl.l jtMain.nce.l jtNull.nsc.ljtObjMain.ncg.ljtOption.nsc.l
jtStep1.nsc.l
jtStep2.nsc.l
jtStep3.nsc.l
jtTop.nsc.l
kb2Ap.nsc.l
kb2HlAp.nsc.lkb2HlWiFi.nsc.l
kb2Menu.nsc.lkb3HlList1.nsc.lkb3HlList2.nsc.lkb3HlList3.nsc.l
kb3List.nsc.lkb3ListBack.nsc.l kb3Way.nsc.lkb4ApList.nsc.lkb4Error.nsc.lkb4HlDns0.nsc.lkb4HlDns1.nsc.lkb4H
Gateway.nsc.l
kb4HlIp.nsc.lkb4HlMask.nsc.lkb4HlSet1.nsc.lkb4HlSet2.nsc.lkb4HlSet3.nsc.lkb
HlSsid.nsc.lkb4HlUsb.nsc.lkb4HlWep.nsc.l kb4Usb.nsc.lkb5HlErase.nsc.lkb5HlInfo.nsc.lkb5HlMove.nsc.lkb5HlOption.nsc.l
kb5Info.nsc.l
kb5Move.nsc.lkb5OptMenu.nsc.l kbBgHl.ncg.lkbBgOption.ncg.lkbBgStep1.ncg.lkbBgStep1.ncl.lkbBgStep2.ncg.lkb
gStep21.ncg.lkbBgStep3.ncg.l kbMain.nce.lkbObjMain.ncg.lktBgMain.ncg.lktBgMain.ncl.l ktMain.nce.l ktNull.nsc.lktObjMain.ncg.lktOption.nsc.l
ktStep1.nsc.l
ktStep2.nsc.l
ktStep3.nsc.l
ktTop.nsc.l
sb2Ap.nsc.l
sb2HlAp.nsc.lsb2HlWiFi.nsc.l
sb2Menu.nsc.lsb3HlList1.nsc.lsb3HlList2.nsc.lsb3HlList3.nsc.l
sb3List.nsc.lsb3ListBack.nsc.l sb3Way.nsc.lsb4ApList.nsc.lsb4Error.nsc.lsb4HlDns0.nsc.lsb4HlDns1.nsc.lsb4H
Gateway.nsc.l
sb4HlIp.nsc.lsb4HlMask.nsc.lsb4HlSet1.nsc.lsb4HlSet2.nsc.lsb4HlSet3.nsc.lsb
HlSsid.nsc.lsb4HlUsb.nsc.lsb4HlWep.nsc.l sb4Usb.nsc.lsb5HlErase.nsc.lsb5HlInfo.nsc.lsb5HlMove.nsc.lsb5HlOption.nsc.l
sb5Info.nsc.l
sb5Move.nsc.lsb5OptMenu.nsc.l sbBgHl.ncg.lsbBgOption.ncg.lsbBgStep1.ncg.lsbBgStep1.ncl.lsbBgStep2.ncg.lsb
gStep21.ncg.lsbBgStep3.ncg.l sbMain.nce.lsbObjMain.ncg.lstBgMain.ncg.lstBgMain.ncl.l stMain.nce.l stNull.nsc.lstObjMain.ncg.lstOption.nsc.l
stStep1.nsc.l
stStep2.nsc.l
stStep3.nsc.l
stTop.nsc.lxb3Multi.nsc.lxb4ApListBack.nsc.l
xb4Edit.nsc.lxb4EditAddr.nsc.lxb4Multi.nsc.l
xb4None.nsc.lxtObjMain.ncl.lyb5Multi.nsc.lybBgOption.ncl.lybBgOption1.ncl.l
bBgStep11.ncl.lybBgStep2.ncl.lybBgStep21.ncl.lybBgStep3.ncl.lybBgStep31.ncl.

ybObjKb.ncl.lybObjMain.ncl.lybObjWay.ncl.l
banner.char
banner.plt child.srl eng.bmg.l fre.bmg.l ger.bmg.l ita.bmg.l jap.bmg.l
kc_m.NFTR.l kor.bmg.l
lc_m.NFTR.l
lc_s.NFTR.l spa.bmg.l usa.bmg.l sound_data.sdat.l<!--QuoteEnd--></div><!--QuoteEEnd-->
This person claims the AP is a file called Guru2.

This is basically the same no$gba fix as before, but he give the steps as to how he did it.

What this did
I removed the AP from the ROM
This means there is no longer Black screens
Guys, guru2.narc is useless, I analyzed and it is related to graphic data: panels, polygons, egg01, egg02, pSphere, material, etc...

Yeah. I only found things about polygons and stuff too, but didn't someone say that after a while all the tiles went black, and then another guy claimed it had something to do with the AP? So...who knows...
OK, here is some help from Normmatt, who stated that there are multiple checks.
Firstly, Rudolph's Patcher apparently fixes the first check.

020DE16C E1A00000
This fixes the second check, but is not done correctly - only disables it. It should fool it, not disable it.

Basically, what we have to do is to find the address rudolph's patcher changes, and patch the ROM with both that change and a better version of the code above.
Those were the difference on Patched and non patched J version.
<img src="http://img194.imageshack.us/img194/9499/20100314130113.png" border="0" class="linked-image" /><img src="http://img123.imageshack.us/img123/9566/20100314130856.png" border="0" class="linked-image" />
I HAVE READ THESE POSTS AND HAVE A SOLUTION, ALMOST

I can't do it, but I know the logic behind it.

I remember many posts back some guy posted a peice of code found, that changed per event; this obviously is it!

HOWEVER, as the person had said, removing said code via ar, doesnt work since the game needs it.

SO WHAT DO? SIMPLE!

Remove the code in ar, then place the code, every time, so the count stays at 24, virtually fixing all freezing issues.


I need to find the post in the other thread, but if it is possible to insert code via ar, this can be fixed!

Yes, I know my first post here, blah blah..
once again earlier we did find 2 possible addresses
the first was 02260344 this one is constantly rewritten when any event takes place
the second is at 04000600 and it 2 is rewritten on screen loading with the values of
02080086
00000086
00000046-commanality
these were looked at but freezes still took place give me a min i think i just got a new code 2 try
Yo guys, according to this: <a href="http://www.pokecommunity.com/showthread.php?t=194248" target="_blank">http://www.pokecommunity.com/showthread.php?t=194248</a>
The guy's personal findings list includes this:

"The pokegra.narc in the pbr folder uses the D/P encryption"???

HeartGold and SoulSilver have that file in the PBR folder too....
I analyzed the narc file and it contains around 3000 files in it...
a couple of possible locations in the utilities.bin file
!r"r#r$r%r&r'r®r*r+r,r-r.r
found at offset 15520-30
@ B!B"B#B$B%B&B'B(B)B*B+B,B-B.B/B0B1B2B3B4B
offset 174f0-17510
both of these seems to once again use math to do something i'm not sure what
I just needed to have this with: <!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->Hello to all I am French, and I have to find madman's thing, I have patcher the version ( FR) with a patch of tradu FR in the bass for THE VERSION ( J ) but patch in controuner the protection games plants more nor of frezzz

Then I believes in patch it has the solution of the protection of games I give you the link if wanted him(it) to you

I am strong in no way there THERE I am to sadden

BUT THE PATCH WALKS<!--QuoteEnd--></div><!--QuoteEEnd-->
Hmm, I'm still watching some RAM addresses with DeSmuME.

You guys remember the infamous 02260344 address?
I've found 4 addresses more that have the exact same behaviour, they all seem to do some calculations when an event occurs.<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->021E756D
021F1017
021F1083
021F1205<!--c2--></div><!--ec2-->

these address cant be skipped like the others can they are more then like something to do with general screen change
when given the skip code it remains white
gimme a lil while to tweak with them i might b able to find 1 that works individually
that line of code appears multiple times in the utility bin
ultility bin
offset ddc40 of
€9MESGbmg1€90INF1@
offset db3b0-c0
ÀMESGbmg1À0INF1@
offset d8ec0-e2
ÿÿÿMESGbmg10INF1@
offset d801c-35
MESGbmg1€90INF1
offset 0d7080-a1
MESGbmg1`:0INF1@
offset d6200-6220
MESGbmg1À60INF1@
offset 0d54f0-500
MESGbmg100INF1@
now then this could directly tye into the reason for the crash computers hate infinity and they will try to work it out to the last number the same as the route of pie or 3.14594...... thus this could be what they are using to create the ap however i doubt that this is the only problem

The bad Dump theory :
Badlymcbald conclusion :
<i>back up now then i noticed u lot have come back to one of the original hypothesis that this is a graphics glitch which is what it seems to be it is more then likely that we were originally thinking this yesterdayd as the crash occurs in 2 ways first simple black screen as the rom for what ever reason looses its ability to properly project its image every time this occur a dma 8bit error is show and generally the game can be reset and restarted the 2nd way the touch screen looses it capabilites and the next action causes errors to be found, all of the major address that have been looked are primarily used in graphics and screen projection i have gone through the code the only obvious thing wait a few days for a fresh rom to be dumped this one does appear to be glitched and is more then likely unfixable</i>

=><i> There's no AP, it's a bad dump.</i>

Why it cannot be a bad dump :
- That would mean more than 4 bad dump : HG (U), SS (U), HG (F), SS (F) and another HG (F)
- Why does the rom work on AKAIO ?

But :
- The AP maybe <b>cause</b> a bad dump ?

Unreadable explanation of the bug by Badlymcbald, translated by MovieGuy :
If you take the time to read the error that your reading as AP is the fact that there is an 16bit offset that is constantly being read as an 8bit.

When this offset goes above the 8bit address its cause the black screen to appear.

It is an error in the graphics engine of the game, every address that is looked at are addresses that deal in the graphical property of the game.

04000600 is used to refresh the screen during entering of battle, 2260344 is primarily used to drawn sprites and set the writing.

After the the other address that came up later server similar functions there is a constant message in desmume that there is an error in the lighting of the game that it is been shown as to bright.

Now then if this wasnt a pure graphics error that it appears to be that it is AP the whole game would freeze including the sound.
Thus it has to be that the AP was the original problem with loading up of the game originally, which was fixed.
This was the original black screen, all the other freezes are occuring exspeciallly later on due to the nature of the graphics.
The more objects and animation that is require to draw the harder it is for the game, to due this there that address is used more and more the address that is always seen in the crash.

00056612 is used by the emulator itself not the rom.
Note as well when the crash is seen in desmume you will also get crash reports from your computer indicating that various graphics files have crashed.

Souldragon and me where looking at this yesterday but i pushed it aside originally trying to bypass thinking it was something that can be fixed.
It cannot be fixed wait for a new version of the rom or continue in futility.

Next possibility as to why this is occuring if it is not the roms its the emulators most have similar coding.
Thats why it seems so random every1 assumes it is directly at 24 actions.
Desmume experiences the crash at around 50 actions and nosgba crash at 60-75 actions, there is one thing ive yet to try that is to change the emulator on how it displayes light because this seems to direcly corralate the problem that the brightness of the game is directly what is causing the crash in desmume and nosgba

Badlymcbald continue is explanation (Please somebody to translate) :
i took a break and analyzed what is known so far now then the glitch occurs in the graphics error when the light is "turned off" by a cascading failure that is occuring at 56612 which is set as 07 nowthen leaving that alone there must be present a level that can be modified as the shader does automatically on screen reset of the sprites at offset 02260344 now then what is needed to be done is to locate the exact point at which the cascade begins as it begins as a dma error there must be a direct cause to this now then what is needed to be found is the exact point at which the dma is launched 1 of 2possibilities to the is that the ap is what is launching the dma event or that it is a general error in the reading of the rom by the various programs since not all programs the crash occurs at the same time the ap must not be the culprit as it whould have to have strict routine that is to be followed
now ine direct line of this is the fact that 2 of the more used emulators have both and access of 50 graphics reset actions before failure while the average flash card system has less then that amount.
if the failure can expediated by the gym badges as some claim then its should be exponential which it seems to be yet there are cases where individuals have made it to the elite 4 thus the case that badges as a possible way of locating the error seems flawed
next the coding that streams itself seems to be in direct correalation to the errors thus by setting them to be skipped or over ridden caused complete failure of the rom as they are needed by the graphics engine to run the game so they cannot be directly changed.
hypothesis-
game mechanics operate a higher level due to the direct refrence of screen changing the emulators use more ram to calculate the exact pixel ratio needed to run the next screen it is in there that the problem lays if we can directly influence the outcome of those calculations being made it should be able to directly prevent the freezing from occuring any ideas on how to due this

=> Sure it's a graphic engine bug
The RAM overflow theory :
someonewhodied :
<i>im pretty sure that its because of a ram overload...Normaly, no$gba takes 146,284 k of ram (on my PC) but every time i enter/exit a building, the ram spikes up to 297,186 k and then drops back down...maybe thats whats causing the freeze on flashcarts??? on the jp version, the ram only spikes up to 211,912 k.</i>

Well, that makes a lot of Spoiler.

Recap by Ribesg
<!--QuoteEnd--></div><!--QuoteEEnd-->

What is this load of bullshit? Most is not even remotely true.
 

eugene222

Well-Known Member
Member
Joined
Sep 12, 2009
Messages
183
Trophies
0
XP
245
Country
Gambia, The
Wie meinst du das?
Ich weiß nur, dass das M3 Team dran arbeitet, und dass im Chat auch einige dran Arbeiten
 

Olly

Well-Known Member
Newcomer
Joined
Mar 14, 2010
Messages
95
Trophies
0
XP
2
Country
United States
Squall Leonhart said:
QUOTE said:
If you take the time to read the error that your reading as AP is the fact that there is an 16bit offset that is constantly being read as an 8bit.

When this offset goes above the 8bit address its cause the black screen to appear.

It is an error in the graphics engine of the game, every address that is looked at are addresses that deal in the graphical property of the game.

04000600 is used to refresh the screen during entering of battle, 2260344 is primarily used to drawn sprites and set the writing.

After the the other address that came up later server similar functions there is a constant message in desmume that there is an error in the lighting of the game that it is been shown as to bright.

Now then if this wasnt a pure graphics error that it appears to be that it is AP the whole game would freeze including the sound.
Thus it has to be that the AP was the original problem with loading up of the game originally, which was fixed.
This was the original black screen, all the other freezes are occuring exspeciallly later on due to the nature of the graphics.
The more objects and animation that is require to draw the harder it is for the game, to due this there that address is used more and more the address that is always seen in the crash.

00056612 is used by the emulator itself not the rom.
Note as well when the crash is seen in desmume you will also get crash reports from your computer indicating that various graphics files have crashed.

Souldragon and me where looking at this yesterday but i pushed it aside originally trying to bypass thinking it was something that can be fixed.
It cannot be fixed wait for a new version of the rom or continue in futility.

Next possibility as to why this is occuring if it is not the roms its the emulators most have similar coding.
Thats why it seems so random every1 assumes it is directly at 24 actions.
Desmume experiences the crash at around 50 actions and nosgba crash at 60-75 actions, there is one thing ive yet to try that is to change the emulator on how it displayes light because this seems to direcly corralate the problem that the brightness of the game is directly what is causing the crash in desmume and nosgba

"Next possibility as to why this is occuring if it is not the roms its the emulators most have similar coding.
Thats why it seems so random every1 assumes it is directly at 24 actions."

No, they don't.
NoGBA is pure assembly for the emulator core, while desmume is C++.



"00056612 is used by the emulator itself not the rom.
Note as well when the crash is seen in desmume you will also get crash reports from your computer indicating that various graphics files have crashed."

Wrong again, if this is happening with you, then theres an issue with the Your machine.

Anyway, After some random crap i've been doing to reproduce it in numerous ways.

I've found.

1. Its not soley a gfx crash, if you manage to move into a new area during the locking event only half of it loads, this means (A)There was not enough DS memory to load the entire area either through standard cleanups failing or (B) There is an AP technique which prevents the game from reading new data to memory.
2. When the locking event occurs, it can occur as
(A)Black screen while moving from scene to scene, or entering/exiting a building.
(B) The Lower screen breaks upon moving into the next scene, resulting in only the primary backgrounds and button test drawn but not drawing the buttons.
© Following on with C, the Touch screen accepting data as well. This means that the ARM7 also enters a locking state.
(D) A scripted event does not occur when entering a new area or completing a quiz (Radio station quiz..etc), Player doesn't get approached by trainer.
(E) The amount of spinning balls (usually 3) can also only be 1 (but not 2.....)
(F) PC and NPC's glitch out and become moving Missing.No.s, while grass tree's and landscape work (usually will result in (A),
When I was in the Ilex Forest, my game half-crashed. Well, it only about half loaded. There was no tree in the spot to cut, though, when I approached its locations and pressed A, my game prompted me to cut. Would this be significant? (Froze right after I chose to cut)
 

thiefraccoon

Well-Known Member
Member
Joined
Mar 14, 2010
Messages
108
Trophies
0
XP
172
Country
United States
Acekards do not add or patch roms automatically.
they just auto-trim, which anyone can do very easily on their computers.
getting info from acekard firmware is futile as well, since it is encrypted.
(as thousands of others already explained)

now back to OP's topic.
if you can't find the right place to download kernel for your card, consult
http://www.linfoxdomain.com/nintendo/ds/
 

JustRob

Banned!
Banned
Joined
Nov 19, 2008
Messages
87
Trophies
0
XP
10
Country
Netherlands
eugene222 said:
Wie meinst du das?
Ich weiß nur, dass das M3 Team dran arbeitet, und dass im Chat auch einige dran Arbeiten

Ich möchte wissen, wenn es einen Flecken gibt, der für R4DS vorhanden ist, das würde sein ehrfürchtig
 

Edgewalker_001

Well-Known Member
Newcomer
Joined
Mar 13, 2010
Messages
52
Trophies
0
XP
32
Country
Serbia, Republic of
If we are on the topic of glitches due to the AP I *can* add my experiences:

Upon entering Violet city from the path with the wiggly tree, half of the city was replaced by black tiles, when I entered the black area I was transported into the gym, and upon exiting the game froze completely (No music playing)

I was using NO$GBA running the Pokefix2 pack, and I had 3 badges at the time.
 

eugene222

Well-Known Member
Member
Joined
Sep 12, 2009
Messages
183
Trophies
0
XP
245
Country
Gambia, The
JustRob said:
eugene222 said:
Wie meinst du das?
Ich weiß nur, dass das M3 Team dran arbeitet, und dass im Chat auch einige dran Arbeiten

Ich möchte wissen, wenn es einen Flecken gibt, der für R4DS vorhanden ist, das würde sein ehrfürchtig
Alta was meinst du mit Flecken xD.. Bist du überhaupt deutsch? Haha muss mich grad schlaplachen über dein post, ist so hammer lachkick xD Bestimmt google translation oder so xD
 

Squall Leonhart

Well-Known Member
Member
Joined
Mar 12, 2010
Messages
187
Trophies
1
Age
37
Website
vba-m.com
XP
251
Country
Australia
Olly said:
When I was in the Ilex Forest, my game half-crashed. Well, it only about half loaded. There was no tree in the spot to cut, though, when I approached its locations and pressed A, my game prompted me to cut. Would this be significant? (Froze right after I chose to cut)

Event locations can load without loading physical barriers and gfx.

a GFX core crash/error wouldn't allow you to walk through barriers, however i have on atleast one occasion been able to do so.
 

Olly

Well-Known Member
Newcomer
Joined
Mar 14, 2010
Messages
95
Trophies
0
XP
2
Country
United States
Squall Leonhart said:
Olly said:
When I was in the Ilex Forest, my game half-crashed. Well, it only about half loaded. There was no tree in the spot to cut, though, when I approached its locations and pressed A, my game prompted me to cut. Would this be significant? (Froze right after I chose to cut)

Event locations can load without loading physical barriers and gfx.

a GFX core crash/error wouldn't allow you to walk through barriers, however i have on atleast one occasion been able to do so.
That was my one occasion, I guess.
However, it normally just goes black. I have my DS on mute, so I cannot say anything about the music.
I really wish I could delete my first two badges...
frown.gif
 

JustRob

Banned!
Banned
Joined
Nov 19, 2008
Messages
87
Trophies
0
XP
10
Country
Netherlands
eugene222 said:
JustRob said:
eugene222 said:
Wie meinst du das?
Ich weiß nur, dass das M3 Team dran arbeitet, und dass im Chat auch einige dran Arbeiten

Ich möchte wissen, wenn es einen Flecken gibt, der für R4DS vorhanden ist, das würde sein ehrfürchtig
Alta was meinst du mit Flecken xD.. Bist du überhaupt deutsch? Haha muss mich grad schlaplachen über dein post, ist so hammer lachkick xD Bestimmt google translation oder so xD

Ja benutze ich einen Übersetzer, weil ich denke, dass er auf Deutsch kühler klingt
 

eugene222

Well-Known Member
Member
Joined
Sep 12, 2009
Messages
183
Trophies
0
XP
245
Country
Gambia, The
JustRob said:
eugene222 said:
JustRob said:
eugene222 said:
Wie meinst du das?
Ich weiß nur, dass das M3 Team dran arbeitet, und dass im Chat auch einige dran Arbeiten

Ich möchte wissen, wenn es einen Flecken gibt, der für R4DS vorhanden ist, das würde sein ehrfürchtig
Alta was meinst du mit Flecken xD.. Bist du überhaupt deutsch? Haha muss mich grad schlaplachen über dein post, ist so hammer lachkick xD Bestimmt google translation oder so xD

Ja benutze ich einen Übersetzer, weil ich denke, dass er auf Deutsch kühler klingt
Hahaha
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Right onto uremums 3d printed dildo