Hacking Configurable USB Loader

  • Thread starter Thread starter oggzee
  • Start date Start date
  • Views Views 7,865,854
  • Replies Replies 18,482
  • Likes Likes 22
oggzee said:
Can you post the dump screen?
What is the latest version that still works?
Maybe also post this error in the postloader thread?
and it's not 0.70 but just 70.

...also, are you passing args ?
 
0.69d works great.
Im not in home now,, but will take a image to you later.

edited:
error cfg-70b2 from Postloader
CFG_Error.jpg
 
At the time of that dump should be no traces of postloader in memory... the only thing can be that, as postloader is intended to be executed by priiloader I remove the stubhaxx to disable the return to hbc and let priiloader to reload postolader.

*(u32*)0x80001804 = (u32) 0L;
*(u32*)0x80001808 = (u32) 0L;
DCFlushRange((void*)0x80001804,8);

Maybe can be realated to this ?
 
Albatroz said:
0.69d works great.
Im not in home now,, but will take a image to you later.

edited:
error cfg-70b2 from Postloader
CFG_Error.jpg
I don't know why that happens.
The stack dump is this:
Code:
addr2line -i -f -e cfg70b2.elf 80b820a8 80b82074 80b39d30 80b36f40 80ad035c 80ab0f34 80ad480c 80a80348 80b61e60
_malloc_r
_malloc_r
jinit_memory_mgr
jpeg_CreateDecompress
Load_JPG_RGB
Gui_DrawIntro
main
__crtmain
__lwp_thread_handler

QUOTE(stfour @ Jun 29 2011, 04:32 PM) At the time of that dump should be no traces of postloader in memory... the only thing can be that, as postloader is intended to be executed by priiloader I remove the stubhaxx to disable the return to hbc and let priiloader to reload postolader.

*(u32*)0x80001804 = (u32) 0L;
*(u32*)0x80001808 = (u32) 0L;
DCFlushRange((void*)0x80001804,8);

Maybe can be realated to this ?
Probably not.
In what area is the postloader located?
Maybe there's some overlap although probably not.
cfg gets loaded into: 80a80000 - 80D52480
i don't have priiloader, can i test postloader without it?
 
oggzee said:
i don't have priiloader, can i test postloader without it?

Yes you can...

But postloader (that loads in standard hb space) load the selected app in MEM2 at 0x92000000, then load the apploader at 0x93200000 and execute the apploader,. Then the apploader in MEM2 setup the selected application in the requested space and execute it.

So that area at 0x8.... is totally free...
 
stfour said:
oggzee said:
i don't have priiloader, can i test postloader without it?

Yes you can...

But postloader (that loads in standard hb space) load the selected app in MEM2 at 0x92000000, then load the apploader at 0x93200000 and execute the apploader,. Then the apploader in MEM2 setup the selected application in the requested space and execute it.

So that area at 0x8.... is totally free...

ok i can reproduce the error.
however it crashes even when using no intro (intro=1) so it's not some jpeg decoding bug or something...
and it again crashes in malloc.

stfour: do you clean the area where the app is loaded?
in other words is the BSS region set to 0? (it has to be!)
also, i think the cpu cache needs to be flushed on the app area...
 
jesquinas said:
I follow thinking that CFG USB Loader must show only the languages supported by the specific Game and not a static list like now.

Thanks
Multilanguage support is not a standard, meaning that each game has its own way to do it.
So it's pretty much impossible to do what you ask.
 
Albatroz said:
thx for investigating the problem guys.
oggzee, did u test 0.69d? cause it works flawless
I believe the problem is in the postloader app loader, we're looking to fix this.
and for the milionth time it's not 0.69d but 69d there's no 0.something.
If you want call it 69d.0 or 69d.0.0
 
oggzee said:
cfg v70b2 (beta)
* Fixed GUI game options when clear patches is set to all
* Improved exception stack dump output to show also the debug log and version
* Improved gui theme switch to reflect text and button color changes immediately
Great work oggzee, everything in the gui works fine now
smile.gif
 
My HDD died, so I decided to go with NTFS on the new one..

I haven't changed my install other than to enable ntfs writing in the config.txt. It loads games fine, but when I try to download missing covers it downloads the first cover and then as soon as it goes to write the first image I get a stack dump.

I'm hoping that it is something simple that I am missing.

I'm using 69d btw...
 
psykix said:
My HDD died, so I decided to go with NTFS on the new one..

I haven't changed my install other than to enable ntfs writing in the config.txt. It loads games fine, but when I try to download missing covers it downloads the first cover and then as soon as it goes to write the first image I get a stack dump.

I'm hoping that it is something simple that I am missing.

I'm using 69d btw...

1. try running a diskcheck in windows on that hdd.
2. post the stack dump
3. try the latest version 70b2
 
I have also problems with this 70b2 and 70b versions (until 70a all ok). Some backups give a black screen with a stack dump (others works properly).
05ad32bfb31cdf0d96e55068d050d84ao.jpg

I have tried from hdd and sd with the same results
 
NutNut said:
Is CFG USB Loader compatible with rev65535 of d2x cIOS ?
If yes, great cause we will probably propose to max rev in the installer soon
If not, Why ?
probably yes.
but i see no reason to max out the rev.
what do you gain?
i would prefer to see version as 210xx as is currently
 
Arcasca said:
I have also problems with this 70b2 and 70b versions (until 70a all ok). Some backups give a black screen with a stack dump (others works properly).
05ad32bfb31cdf0d96e55068d050d84ao.jpg

I have tried from hdd and sd with the same results
do you have a larger image? i can't get the numbers out from this one.
 
oggzee said:
probably yes.
but i see no reason to max out the rev.
what do you gain?
I would prefer to see version as 210xx as is currently
Don't worry, the default rev will stay 210xx but some people (and I) prefer to max out theirs cIOS in order to make them update-resistant ! (like Hermes cIOS or IOS236)
happy.gif
So that we could update without lossing the hack at all.
 

Site & Scene News

Popular threads in this forum