CabConModding
Facebook
Twitter
youtube
Discord
Contact us
RSS
Menu
CabConModding
Home
New
Top
Premium
Rules
FAQ - Frequently Asked Questions
Games
Fornite
Call of Duty: Black Ops 3
Clash of Clans
Grand Theft Auto 5
Apex Legends
Assassin’s Creed Origins
Forums
Premium
Latest posts
What's new
Latest posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Log in
Register
What's new
Premium
Latest posts
Menu
Log in
Register
Navigation
Install the app
Install
More options
Dark Theme
Contact us
Close Menu
Forums
Console Section
PS3
Modding Content
(sprx) Fix - error generating PRX (prx-fixup failed), and similar errors.
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Pyrex BLJ" data-source="post: 42526" data-attributes="member: 420"><p style="text-align: center">This Should Fix your SPRX Menus for any game having this problem.</p> <p style="text-align: center"></p> <p style="text-align: center">[ATTACH=full]2547[/ATTACH]</p> <p style="text-align: center"></p> <p style="text-align: center">What I've found the last few times this error happened to me was that the problem is the built in sqrt() function in c++</p> <p style="text-align: center"></p> <p style="text-align: center">so to fix it, we don't use it. add this function into your menu and use this instead:</p> <p style="text-align: center"></p> <p style="text-align: center">(btw thx for faultz helping me with this originally)</p> <p style="text-align: center"></p> <p style="text-align: center">[SPOILER="Code"]</p> <p style="text-align: center">[CODE=cpp]double sqrtz(double _val) {</p> <p style="text-align: center"> double low = 0;</p> <p style="text-align: center"> double high = _val;</p> <p style="text-align: center"> double mid = 0;</p> <p style="text-align: center"></p> <p style="text-align: center"> while (high - low > 0.0000001) {</p> <p style="text-align: center"> mid = low + (high - low) / 2;</p> <p style="text-align: center"> if (mid*mid > _val) {</p> <p style="text-align: center"> high = mid;</p> <p style="text-align: center"> }</p> <p style="text-align: center"> else {</p> <p style="text-align: center"> low = mid;</p> <p style="text-align: center"> }</p> <p style="text-align: center"> }</p> <p style="text-align: center"> return mid;</p> <p style="text-align: center">}[/CODE]</p> <p style="text-align: center">[/SPOILER]</p> <p style="text-align: center"></p> <p style="text-align: center">I didn't write this func but really any other square root function will work.</p> <p style="text-align: center"></p> <p style="text-align: center">If this doesn't work, you might need to add some dependencies</p> <p style="text-align: center">[SPOILER=""][ICODE]$(SCE_PS3_ROOT)\target\ppu\lib\libc.a;$(SCE_PS3_ROOT)\target\ppu\lib\libdbg_libio_stub.a;$(SCE_PS3_ROOT)\target\ppu\lib\libc_stub.a;$(SN_PS3_PATH)\ppu\lib\sn\libsn.a;$(SCE_PS3_ROOT)\target\ppu\lib\libm.a;$(SCE_PS3_ROOT)\target\ppu\lib\libsysutil_np_trophy_stub.a;$(SCE_PS3_ROOT)\target\ppu\lib\libio_stub.a;$(SCE_PS3_ROOT)\target\ppu\lib\libsysutil_stub.a;$(SCE_PS3_ROOT)\target\ppu\lib\libsysmodule_stub.a;$(SCE_PS3_ROOT)\target\ppu\lib\libsyscall.a;$(SCE_PS3_ROOT)\target\ppu\lib\libgcm_sys_stub.a;$(SCE_PS3_ROOT)\host-win32\spu\lib\gcc\spu-lv2\4.1.1\libgcc.a;$(SCE_PS3_ROOT)\target\ppu\lib\libpadfilter.a;%(AdditionalDependencies)[/ICODE][/SPOILER]</p> <p style="text-align: center"></p> <p style="text-align: center">just paste that into the right place [Properties>linker>Additional Dependencies]</p> <p style="text-align: center"></p> <p style="text-align: center">credits to many people of ngu and 7s, and their threads I looked at trying to fix this</p></blockquote><p></p>
[QUOTE="Pyrex BLJ, post: 42526, member: 420"] [CENTER]This Should Fix your SPRX Menus for any game having this problem. [ATTACH=full]2547[/ATTACH] What I've found the last few times this error happened to me was that the problem is the built in sqrt() function in c++ so to fix it, we don't use it. add this function into your menu and use this instead: (btw thx for faultz helping me with this originally) [SPOILER="Code"] [CODE=cpp]double sqrtz(double _val) { double low = 0; double high = _val; double mid = 0; while (high - low > 0.0000001) { mid = low + (high - low) / 2; if (mid*mid > _val) { high = mid; } else { low = mid; } } return mid; }[/CODE] [/SPOILER] I didn't write this func but really any other square root function will work. If this doesn't work, you might need to add some dependencies [SPOILER=""][ICODE]$(SCE_PS3_ROOT)\target\ppu\lib\libc.a;$(SCE_PS3_ROOT)\target\ppu\lib\libdbg_libio_stub.a;$(SCE_PS3_ROOT)\target\ppu\lib\libc_stub.a;$(SN_PS3_PATH)\ppu\lib\sn\libsn.a;$(SCE_PS3_ROOT)\target\ppu\lib\libm.a;$(SCE_PS3_ROOT)\target\ppu\lib\libsysutil_np_trophy_stub.a;$(SCE_PS3_ROOT)\target\ppu\lib\libio_stub.a;$(SCE_PS3_ROOT)\target\ppu\lib\libsysutil_stub.a;$(SCE_PS3_ROOT)\target\ppu\lib\libsysmodule_stub.a;$(SCE_PS3_ROOT)\target\ppu\lib\libsyscall.a;$(SCE_PS3_ROOT)\target\ppu\lib\libgcm_sys_stub.a;$(SCE_PS3_ROOT)\host-win32\spu\lib\gcc\spu-lv2\4.1.1\libgcc.a;$(SCE_PS3_ROOT)\target\ppu\lib\libpadfilter.a;%(AdditionalDependencies)[/ICODE][/SPOILER] just paste that into the right place [Properties>linker>Additional Dependencies] credits to many people of ngu and 7s, and their threads I looked at trying to fix this[/CENTER] [/QUOTE]
Verification
Post reply
Forums
Console Section
PS3
Modding Content
(sprx) Fix - error generating PRX (prx-fixup failed), and similar errors.
CabConModding is now on facebook! Check the latest Updates, the Site Status and much more now!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top