Homebrew postLoader4

Maxternal

Peanut Gallery Spokesman
Member
Joined
Nov 15, 2011
Messages
5,210
Trophies
0
Age
39
Location
Deep in GBAtemp addiction
Website
gbadev.googlecode.com
XP
1,698
Country
  • Like
Reactions: stfour

stfour

Well-Known Member
OP
Member
Joined
May 24, 2011
Messages
1,592
Trophies
0
XP
349
Country
Italy
postLoader 4.5.4 (online update)

* emuBrowser: introduced some more checking, like rom name checking. Only one rom is added if the same path is specified on another plugin
* fixed a memory issue with screensaver
* much faster ms_strcmp function. This should speedup a lot of operations
* various fixes
 
  • Like
Reactions: MassiveRican

AbdallahTerro

da KiNG
Member
Joined
Jan 14, 2012
Messages
6,052
Trophies
0
Location
Ideas factory :)
Website
ccabz.wordpress.com
XP
3,021
Country
ok,
I did a quick test for latest rev 4.5.4
my old plugin conf with many disabled lines ~12k roms is building the cache fine but last page of plugin filter is empty!
33aru6t.jpg


trying to enable more plugins results in a code dump upon building cache.
 

stfour

Well-Known Member
OP
Member
Joined
May 24, 2011
Messages
1,592
Trophies
0
XP
349
Country
Italy
uhmmmm.... last page may be empty because active plugin are exatly 48. I'll check and fix this.

For the code dump, I think that the only way is you give me your dump so I can reproduce it.;)
 

AbdallahTerro

da KiNG
Member
Joined
Jan 14, 2012
Messages
6,052
Trophies
0
Location
Ideas factory :)
Website
ccabz.wordpress.com
XP
3,021
Country
hmm :wtf:
never mind I tried to reproduce the dump once more and deleted the emu.dat file this time.
it worked, PL loading 19346 roms now and 1 emu is showing on last page, I'll test if it can handle more now
btw the new emu.dat file is almost half the old file size :)
Edit: 22k fine, now last check for ultimate limit
 
  • Like
Reactions: stfour

AbdallahTerro

da KiNG
Member
Joined
Jan 14, 2012
Messages
6,052
Trophies
0
Location
Ideas factory :)
Website
ccabz.wordpress.com
XP
3,021
Country
Crashed on the ultimate test (~30k) after 10 mins of waiting for cash build. but I'm still very happy
2zrdr0o.jpg


So the memory limit is close to 25k which is plenty (more than twice wiiflow's limit),
Now the best next step is to have 2nd partition support
Thanks stfour for the hard work
 

stfour

Well-Known Member
OP
Member
Joined
May 24, 2011
Messages
1,592
Trophies
0
XP
349
Country
Italy
it took a while, maybe 5-10 mins or so
also the crash might be due to emu.dat file being present, does PL try to update the old file or justs write a new one?
I need some time to make the final setup and see if 30K+ roms work or not ;)


5-10 min (:blink:) is the time to refresh cache or the time to update the screen when you select "Emulators" ?

Anyway postloader should recognize a bad emu.dat and display a message... it shouldn't crash:ph34r:
 

AbdallahTerro

da KiNG
Member
Joined
Jan 14, 2012
Messages
6,052
Trophies
0
Location
Ideas factory :)
Website
ccabz.wordpress.com
XP
3,021
Country
Ah you were asking about time to show emus if cache is already there,
I would say around 10-15 secs (I believe it was shorter before but maybe because there are more roms now)
And yes PL recognizes the bad dat file, but I was talking about rebuilding cache after enabling more plugins while a valid emu.dat is already there
Hopefully I'll have some time tomorrow to test more and post my results
 

AbdallahTerro

da KiNG
Member
Joined
Jan 14, 2012
Messages
6,052
Trophies
0
Location
Ideas factory :)
Website
ccabz.wordpress.com
XP
3,021
Country
postLoader 4.6.0 (also via online update)

* now every mode allocate it's structure to mem2... tested with up to 23767 unique roms (thank abz)
* emuBrowser: now all partiotions should handled correctly
* various fixes
First thanks for ongoing bug fixes, I really like the rom scanning procedure now.
Tested with 20k ok but when I try more I get this:
34pzajl.jpg


It can be due to:
1. too many roms
2. many plugins using same roms like GBA
3. same roms on 2 different partitions
And I looks like 2nd partition is still not supported.

stfour can you please send me the dat file you made using my emudump?
getting there
:)
 

stfour

Well-Known Member
OP
Member
Joined
May 24, 2011
Messages
1,592
Trophies
0
XP
349
Country
Italy
First thanks for ongoing bug fixes, I really like the rom scanning procedure now.
stfour can you please send me the dat file you made using my emudump?
getting there
:)

Sure... anyway I've dumped your roms to sd only, not separated on every partition (also I've no more a ntfs partition)... tonight I will check the dump... I don't think now is a memory problem... there must be something else...
 
  • Like
Reactions: AbdallahTerro

stfour

Well-Known Member
OP
Member
Joined
May 24, 2011
Messages
1,592
Trophies
0
XP
349
Country
Italy
AbdallahTerro, I've reproduced the dsi... it is very odd... apparently it is outside my code, it is the "readdir" function to crash, and actually heppens on ntfs filesystem. But it is not clear if it caused by ntfs or simply so much usage of opendir/readdir/closedir.
 

stfour

Well-Known Member
OP
Member
Joined
May 24, 2011
Messages
1,592
Trophies
0
XP
349
Country
Italy
Maybe you should try out some of that sexy new file logging code your best friend gave you. ;)

;)

This isn't something can be logged. I'm just hoping that somewhere I forgot to free some memory during rom searching... the big problem is that every test take 10-15 minutes :ph34r:
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Skelletonike @ Skelletonike:
    3h left until work finishes, bah
  • Skelletonike @ Skelletonike:
    link doesn't work
    +2
  • Skelletonike @ Skelletonike:
    1H left, such a slow week.
  • Sonic Angel Knight @ Sonic Angel Knight:
    Okay, I had spaghetti :P
  • SylverReZ @ SylverReZ:
    Hope they made lots of spaget
  • K3N1 @ K3N1:
    Chill dog
  • SylverReZ @ SylverReZ:
    Chilli dog
  • Skelletonike @ Skelletonike:
    Damn, I'm loving the new zelda.
  • xtremegamer @ xtremegamer:
    loving the new zelda, i started a game, it was so fucking good, so i
    am waiting on my friend to get home so we can start a new one together
  • Skelletonike @ Skelletonike:
    I just dislike that they don't let me choose the voices before the game starts. Happened with botw as well, had to change to japanese and restart.
  • K3N1 @ K3N1:
    But the important question is can you choose gender
  • Skelletonike @ Skelletonike:
    Same way you can choose Gerald's gender.
  • Skelletonike @ Skelletonike:
    *Geralt, damn autocorrect.
  • Psionic Roshambo @ Psionic Roshambo:
    But can he be trans? Lol
  • K3N1 @ K3N1:
    Zelda transforms into link
  • Psionic Roshambo @ Psionic Roshambo:
    Link I'm not the princess your looking for.... *Pulls a crying game*
  • K3N1 @ K3N1:
    *skirt up* it's exactly what I always wanted
  • Skelletonike @ Skelletonike:
    Just scanned all my zelda amiibos, took a while but didn't get anything that cool, did get the lon lon ranch hylian fabrics though.
  • Skelletonike @ Skelletonike:
    It was pretty funny when I scanned wolf link and got a shit load of meat.
  • K3N1 @ K3N1:
    @Skelletonike, btw I ran that custom for mgs4 on the deck I'm amazed it got that far in game
  • K3N1 @ K3N1:
    Plug in*
    K3N1 @ K3N1: Plug in*