Posts: 132
Threads: 2
Joined: Feb 2013
Reputation:
5
(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?...39#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
Posts: 40
Threads: 1
Joined: Nov 2012
Reputation:
6
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.
Posts: 132
Threads: 2
Joined: Feb 2013
Reputation:
5
03-02-2013, 01:17 PM
(This post was last modified: 03-02-2013, 01:56 PM by the avenger.)
(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
Posts: 726
Threads: 4
Joined: Nov 2012
Reputation:
29
(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?
Posts: 3,228
Threads: 25
Joined: Nov 2012
Reputation:
98
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]
Posts: 132
Threads: 2
Joined: Feb 2013
Reputation:
5
(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
Posts: 3,228
Threads: 25
Joined: Nov 2012
Reputation:
98
Sorry, Core/MIPS/ARM/ArmJit.cpp. That's where the jit lives.
-[Unknown]
Posts: 132
Threads: 2
Joined: Feb 2013
Reputation:
5
(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
Posts: 583
Threads: 12
Joined: Feb 2013
Reputation:
5
03-02-2013, 06:22 PM
(This post was last modified: 03-02-2013, 06:26 PM by brujo55.)
maybe never will work because there is no application/game that use JIT actually,even taking jailbreak
Posts: 69
Threads: 1
Joined: Feb 2013
Reputation:
1
03-02-2013, 06:30 PM
(This post was last modified: 03-02-2013, 06:39 PM by theCreed.)
(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  seemed like you were close! Lol
Posts: 55
Threads: 4
Joined: Mar 2013
Reputation:
0
iOS security forces apps to crash if it detects JIT coding. Maybe with jailbreak you can bypass..?
Posts: 583
Threads: 12
Joined: Feb 2013
Reputation:
5
03-02-2013, 09:25 PM
(This post was last modified: 03-02-2013, 09:36 PM by brujo55.)
@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.
Posts: 40
Threads: 1
Joined: Nov 2012
Reputation:
6
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..
Posts: 583
Threads: 12
Joined: Feb 2013
Reputation:
5
03-03-2013, 02:38 AM
(This post was last modified: 03-03-2013, 03:09 AM by brujo55.)
(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/201...leges.html
http://www.saurik.com/id/8
both articles are fundamentals
Posts: 3,228
Threads: 25
Joined: Nov 2012
Reputation:
98
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]
|