forums.PPSSPP.org
PPSSPP iOS Port - Printable Version

+- forums.PPSSPP.org (https://forums.ppsspp.org)
+-- Forum: PPSSPP - Playstation Portable Simulator Suitable for Playing Portably (/forumdisplay.php?fid=1)
+--- Forum: Builds, releases and ports (/forumdisplay.php?fid=4)
+---- Forum: iOS port (/forumdisplay.php?fid=26)
+---- Thread: PPSSPP iOS Port (/showthread.php?tid=200)



RE: PPSSPP iOS Port - the avenger - 03-02-2013 12:54 PM

(03-02-2013 12:20 PM)V6ser Wrote:  
(03-02-2013 11:35 AM)the avenger Wrote:  
(03-02-2013 11:14 AM)rock88 Wrote:  the avenger,
If you use my older xcode project - just add Core/Font/PGF.cpp file to project.
got it to compile but still grey and iconless
Now use the fix for it:
Quote:rock88 - See my previous post http://forums.ppsspp.org/showthread.php?tid=200&pid=5539#pid5539
Also you can add some printf function to VFSReadFile in native/file/zip_read.cpp, for print full file path, and view if something is wrong.
i am sorry i didn't understand that


RE: PPSSPP iOS Port - rock88 - 03-02-2013 01:00 PM

Just create folder "assets" in PPSSPP.app on your device and put there ppge_atlas.zim, ui_atlas.zim, and all icon from ios/assets.


RE: PPSSPP iOS Port - the avenger - 03-02-2013 01:17 PM

(03-02-2013 01:00 PM)rock88 Wrote:  Just create folder "assets" in PPSSPP.app on your device and put there ppge_atlas.zim, ui_atlas.zim, and all icon from ios/assets.
ok much easier,just might be able to give it the entitlements it needs to run jit
EDIT:nope,the problem is in the code,i gave it all the entitlements of MobileSafari (which is the only ios app capable of JIT) and it still crashes,i even quad-checked the entitlements and JIT still crashes


RE: PPSSPP iOS Port - xsacha - 03-02-2013 03:20 PM

(03-02-2013 01:17 PM)the avenger Wrote:  
(03-02-2013 01:00 PM)rock88 Wrote:  Just create folder "assets" in PPSSPP.app on your device and put there ppge_atlas.zim, ui_atlas.zim, and all icon from ios/assets.
EDIT:nope,the problem is in the code,i gave it all the entitlements of MobileSafari (which is the only ios app capable of JIT) and it still crashes,i even quad-checked the entitlements and JIT still crashes

Can you see where it's crashing?


RE: PPSSPP iOS Port - [Unknown] - 03-02-2013 03:25 PM

If possible, set a breakpoint here:

Code:
void Jit::RunLoopUntil(u64 globalticks)
{
    // TODO: copy globalticks somewhere
    ((void (*)())enterCode)();
}

If it crashes right after that, it's still not allowing exec of the memory, or the instruction cache wasn't cleared, or something.

-[Unknown]


RE: PPSSPP iOS Port - the avenger - 03-02-2013 04:13 PM

(03-02-2013 03:25 PM)[Unknown] Wrote:  If possible, set a breakpoint here:

Code:
void Jit::RunLoopUntil(u64 globalticks)
{
    // TODO: copy globalticks somewhere
    ((void (*)())enterCode)();
}

If it crashes right after that, it's still not allowing exec of the memory, or the instruction cache wasn't cleared, or something.

-[Unknown]
in what file is that piece of code


RE: PPSSPP iOS Port - [Unknown] - 03-02-2013 04:18 PM

Sorry, Core/MIPS/ARM/ArmJit.cpp. That's where the jit lives.

-[Unknown]


RE: PPSSPP iOS Port - the avenger - 03-02-2013 04:21 PM

(03-02-2013 03:20 PM)xsacha Wrote:  
(03-02-2013 01:17 PM)the avenger Wrote:  
(03-02-2013 01:00 PM)rock88 Wrote:  Just create folder "assets" in PPSSPP.app on your device and put there ppge_atlas.zim, ui_atlas.zim, and all icon from ios/assets.
EDIT:nope,the problem is in the code,i gave it all the entitlements of MobileSafari (which is the only ios app capable of JIT) and it still crashes,i even quad-checked the entitlements and JIT still crashes

Can you see where it's crashing?
no as you need to do a lot of stuff on it before you can run it on the device


RE: PPSSPP iOS Port - brujo55 - 03-02-2013 06:22 PM

maybe never will work because there is no application/game that use JIT actually,even taking jailbreak


RE: PPSSPP iOS Port - theCreed - 03-02-2013 06:30 PM

(03-02-2013 06:22 PM)brujo55 Wrote:  maybe never will work because there is no application/game that use JIT actually,even taking jailbreak

That's such a shame Sad seemed like you were close! Lol


RE: PPSSPP iOS Port - Dribblejam - 03-02-2013 08:06 PM

iOS security forces apps to crash if it detects JIT coding. Maybe with jailbreak you can bypass..?


RE: PPSSPP iOS Port - brujo55 - 03-02-2013 09:25 PM

@rock88

do you have jalibreak or use developer tools for unjalibroken device?

maybe needed mobile sustrate adition on the code.like other cydia app/tweak for system acces,or others packages.


RE: PPSSPP iOS Port - rock88 - 03-03-2013 02:29 AM

brujo55,
Recently i jailbreak my iphone. But have not yet had time to try to run as root.

I also found this solution about run app with root access. It is somewhat different from those already proposed. But I can not check it out until the day after tomorrow..


RE: PPSSPP iOS Port - brujo55 - 03-03-2013 02:38 AM

(03-03-2013 02:29 AM)rock88 Wrote:  brujo55,
Recently i jailbreak my iphone. But have not yet had time to try to run as root.

I also found this solution about run app with root access. It is somewhat different from those already proposed. But I can not check it out until the day after tomorrow..

i really apreciated your effort bro and not problem take your time.

maybe the problem is in Entitlements, root permissions and package.
JIT dont have privilegies to run ass root.

http://exilesofthardware.blogspot.ru/2013/01/ios-run-application-with-root-privileges.html

http://www.saurik.com/id/8

both articles are fundamentals


RE: PPSSPP iOS Port - [Unknown] - 03-03-2013 03:18 AM

This looked very promising:

sysctl -w security.mac.proc_enforce=0

But it turns out not to work on iOS 4.3 or higher.

-[Unknown]