11-20-2010,07:48 PM

Originally Posted by
belek666
Hi
Just use these functions before loading irx from cd:
sbv_patch_enable_lmb();
sbv_patch_disable_prefix_check();
from sbv_patches.h and add -lpatches to makefile
No.
Functions:
sbv_patch_enable_lmb() <- Enables "LoadModuleBuffer()" on the RPC server
sbv_patch_disable_prefix_check() <- Disables the check that prevents the loading of IRX modules from certain locations (E.g. a Memory Card).
Loading modules from rom0: and cdrom: should work without any patches.

Originally Posted by
OzzyyzzO
Hello,
I'm working on a homebrew which will boot as an iso.
Using SifLoadModule(..) i'm unable to load properly the AUDSRV.IRX (which is located into the CD root directory.
i've tried many combinations ->
SifLoadModule("cdrom0:/AUDSRV.IRX"
SifLoadModule("cdrom0:AUDSRV.IRX"
SifLoadModule("cdrom0:\AUDSRV.IRX"
SifLoadModule("cdrom:AUDSRV.IRX"
etc..
Please note that the elf and other data files are opened and read properly.
moreover i have only seen examples using host:audsrv .. any limitation?
thx for any help / hint
Did you load LIBSD before use? It seems like FREESD might not work.... so you might want to try to load rom0:LIBSD instead if your console has it (Only the SCPH-10000 and SCPH-15000 consoles lack this).
I don't know much about AUDSRV because I haven't really worked with it a lot.
It should be like this:
SifLoadModule("cdrom0:AUDSRV.IRX;1", <argc and argv>);
Please take note that the path is case sensitive.
What's the return value of SifLoadModule()?
Did you reset the IOP before loading any modules?
Last edited by SP193; 11-21-2010 at 06:13 AM.
Unmodified SCPH-77006 with SM 3.6
SCPH-39006 with M-chip modchip, SCPH-10281 NA and refurb Seagate 80GB HDD
SCPH-10000 v1.00 with SCPH-10190 PCMCIA NA and SCPH-20400 HDD unit

PS2ESDL v0.823B
やっほー 汗がひかる♪