ps2homebrew / wLaunchELF

ELF loader and File browser for Sony PlayStation 2
Other
500 stars 51 forks source link

Extreme slowdown when editing network settings stored in HDD #31

Open carl0sjt opened 5 years ago

carl0sjt commented 5 years ago

wLaunchELF v4.43a

Version Fri jan 11 18:41:39 2019 commit: 41e4ebe

SELECT: Configure > Network Settings...

Extreme slowdown when the save path is "hdd0:/__sysconf/FMCB/IPCONFIG.DAT"

mahoneyt944 commented 4 years ago

https://www.ps2-home.com/forum/viewtopic.php?f=16&t=8908

More on this issue.

AKuHAK commented 3 years ago

I will post details here:

When I go into network configurations to edit and save them, I have the option to :

save hdd0:/__sysconf/FMCB/IPCONFIG.DAT

Every time I try to save to this location wLE stumbles for a second then changes the save path to:

mc?:/SYS-CONF/IPCONFIG.DAT

A directory, SYS-CONF is then made on my memory card with IPCONFIG.DAT inside by itself so it shows up as corrupted data on the MC browser menu.

I tried manually copying this file to hdd0:/__sysconf/FMCB/IPCONFIG.DAT then saved the file again under network configurations. This time it does save the file to the HDD, but still creates an empty directory SYS-CONF on my memory card anyhow.

It seems wLE has a bug when saving the IPCONFIG.DAT file to HDD and defaults to creating a memory card directory.

The workaround was to just save IPCONFIG.DAT to the memory card under SYS-CONF and add the icon and naming files so it displays properly in MC browser.

I found that when manually saving IPCONFIG.DAT to the HDD location allows wLE to use this setting, but other homebrew such as HDL servers, expect the IPCONFIG.DAT file the be at the MC location. So by using the HDD location for IPCONFIG.DAT you loose some compatibility with other homebrew.

With no memory card in place, when trying to save hdd0:/__sysconf/FMCB/IPCONFIG.DAT it just says "Saved Failed" at the top.

UPDATE:

If I manually copy IPCONFIG.DAT to the HDD location then try to save network settings again with all memory cards removed, it says Saved pfs0:/FMCB/IPCONFIG.DAT at the top.

jhonathanc commented 1 year ago

I have a similar issue when loading wLE from "mc?:/BOOT/BOOT.ELF" (where BOOT.ELF is wLE). It always tries to save on the same location (mc?:/BOOT/) but fails (I don't know exactly why). I have Matrix Infinity and usually boots holding R1 to execute wLE when necessary, but it never read the configuration, even if it exists on "mc?:/BOOT/" or on "mc?:/SYS-CONF/IPCONFIG.DAT"). This issue doesn't happen when booting from disc. I'll try to check what's going on, maybe opening a PR if I find the problem.