Thread Closed 
 
Thread Rating:
  • 14 Votes - 4.07 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PPSSPP iOS Port
03-06-2013, 02:28 PM
Post: #226
RE: PPSSPP iOS Port
any update today?
Find all posts by this user
03-06-2013, 06:54 PM
Post: #227
RE: PPSSPP iOS Port
(03-06-2013 01:11 PM)V6ser Wrote:  
(03-05-2013 03:01 PM)the avenger Wrote:  
(03-05-2013 02:32 PM)[Unknown] Wrote:  In addition to that change, you also need a valid fd.

Something like... at the top of the file:

#include <fcntl.h>

And then inside that func:

int fd = open("/dev/zero", O_RDWR, 0);

And then replace the param after the MAP_ flags (-1) with fd. It's probably crashing in the emitter because mmap() returned an invalid pointer and so it's crashing when writing to a bad ptr.

(03-05-2013 01:52 PM)the avenger Wrote:  i am trying to build the latest code from the github with these changes and give it root access see what happens but i get this error

any help?

Hmm, xcode should be building the git-version.cpp file in the root. What do you have in that file? You may need to re-run cmake.

-[Unknown]
re-run cmake on what?i already ran it on the ios toolchain,
anyway if you can post the lines of code already edited with what you proposed i can paste it in and see how it works
it's like "make clean" what he meant, not just try again.
i didn't understand that,sorry.
anyway there doesn't seem to be a git-version.cpp file.whats the problem now?
Find all posts by this user
03-06-2013, 07:32 PM
Post: #228
RE: PPSSPP iOS Port
(03-06-2013 06:54 PM)the avenger Wrote:  
(03-06-2013 01:11 PM)V6ser Wrote:  
(03-05-2013 03:01 PM)the avenger Wrote:  
(03-05-2013 02:32 PM)[Unknown] Wrote:  In addition to that change, you also need a valid fd.

Something like... at the top of the file:

#include <fcntl.h>

And then inside that func:

int fd = open("/dev/zero", O_RDWR, 0);

And then replace the param after the MAP_ flags (-1) with fd. It's probably crashing in the emitter because mmap() returned an invalid pointer and so it's crashing when writing to a bad ptr.

(03-05-2013 01:52 PM)the avenger Wrote:  i am trying to build the latest code from the github with these changes and give it root access see what happens but i get this error

any help?

Hmm, xcode should be building the git-version.cpp file in the root. What do you have in that file? You may need to re-run cmake.

-[Unknown]
re-run cmake on what?i already ran it on the ios toolchain,
anyway if you can post the lines of code already edited with what you proposed i can paste it in and see how it works
it's like "make clean" what he meant, not just try again.
i didn't understand that,sorry.
anyway there doesn't seem to be a git-version.cpp file.whats the problem now?
I thought Cmake would generate it automatically.
Find all posts by this user
03-06-2013, 07:49 PM
Post: #229
RE: PPSSPP iOS Port
(03-06-2013 07:32 PM)V6ser Wrote:  
(03-06-2013 06:54 PM)the avenger Wrote:  
(03-06-2013 01:11 PM)V6ser Wrote:  
(03-05-2013 03:01 PM)the avenger Wrote:  
(03-05-2013 02:32 PM)[Unknown] Wrote:  In addition to that change, you also need a valid fd.

Something like... at the top of the file:

#include <fcntl.h>

And then inside that func:

int fd = open("/dev/zero", O_RDWR, 0);

And then replace the param after the MAP_ flags (-1) with fd. It's probably crashing in the emitter because mmap() returned an invalid pointer and so it's crashing when writing to a bad ptr.


Hmm, xcode should be building the git-version.cpp file in the root. What do you have in that file? You may need to re-run cmake.

-[Unknown]
re-run cmake on what?i already ran it on the ios toolchain,
anyway if you can post the lines of code already edited with what you proposed i can paste it in and see how it works
it's like "make clean" what he meant, not just try again.
i didn't understand that,sorry.
anyway there doesn't seem to be a git-version.cpp file.whats the problem now?
I thought Cmake would generate it automatically.
generated it on my windows and copied it to fix that,anyway this is the last error left
   
hope we can get through it soon
Find all posts by this user
03-06-2013, 09:03 PM
Post: #230
RE: PPSSPP iOS Port
You're missing files or something. Close Xcode, and then open Terminal, and:

cd /path/to/ppsspp/checkout
git stash
git fetch origin
git rebase origin/master
git submodule update

And then:

cd /path/to/build/dir
cmake -GXcode -DCMAKE_TOOLCHAIN_FILE=/path/to/ppsspp/checkout/ios/ios.toolchain.cmake /path/to/ppsspp/checkout
open *.xcodeproj

Xcode should relaunch with hopefully all updated files. It should automatically update git-version.cpp and include Core/Reporting.cpp.

At this point to get your changes back you can do:

cd /path/to/ppsspp/checkout
git stash pop

If it breaks again, then your changes are what broke it.

-[Unknown]
Find all posts by this user
03-06-2013, 09:28 PM
Post: #231
RE: PPSSPP iOS Port
(03-06-2013 09:03 PM)[Unknown] Wrote:  You're missing files or something. Close Xcode, and then open Terminal, and:

cd /path/to/ppsspp/checkout
git stash
git fetch origin
git rebase origin/master
git submodule update

And then:

cd /path/to/build/dir
cmake -GXcode -DCMAKE_TOOLCHAIN_FILE=/path/to/ppsspp/checkout/ios/ios.toolchain.cmake /path/to/ppsspp/checkout
open *.xcodeproj

Xcode should relaunch with hopefully all updated files. It should automatically update git-version.cpp and include Core/Reporting.cpp.

At this point to get your changes back you can do:

cd /path/to/ppsspp/checkout
git stash pop

If it breaks again, then your changes are what broke it.

-[Unknown]
thanks now i can build,but if you would be as kind as to post the changes u said would be needed to run the jit that would be great
Find all posts by this user
03-06-2013, 10:36 PM
Post: #232
RE: PPSSPP iOS Port
is there new changes for the new build?
Find all posts by this user
03-07-2013, 12:42 AM
Post: #233
RE: PPSSPP iOS Port
I don't know what changes are needed to run the jit. If you pass the MAP_FILE flag, though, you can't pass -1 for the file, it will fail with an error. If you open some dummy file (like /dev/null) it may work, but I'm not sure. It didn't work for me but I'm probably doing the other parts wrong, so hard to say.

-[Unknown]
Find all posts by this user
03-07-2013, 07:03 PM
Post: #234
RE: PPSSPP iOS Port
(03-07-2013 12:42 AM)[Unknown] Wrote:  I don't know what changes are needed to run the jit. If you pass the MAP_FILE flag, though, you can't pass -1 for the file, it will fail with an error. If you open some dummy file (like /dev/null) it may work, but I'm not sure. It didn't work for me but I'm probably doing the other parts wrong, so hard to say.

-[Unknown]
can you post the exact changes you made,also where you debugging it on a device or simulator,if device is it jailbroken,if jailbroken did you give it the dynamic-codesign entitlement,if you did can you post where it crashes
Find all posts by this user
03-08-2013, 02:03 PM
Post: #235
RE: PPSSPP iOS Port
Hey guys I was hoping if u could help me , I don't know how to download games to ppsppp on my iPad 2 , please help me
Find all posts by this user
03-08-2013, 02:14 PM (This post was last modified: 03-08-2013 03:31 PM by V6ser.)
Post: #236
RE: PPSSPP iOS Port
(03-08-2013 02:03 PM)Hishamcn Wrote:  Hey guys I was hoping if u could help me , I don't know how to download games to ppsppp on my iPad 2 , please help me

It's called make an image of your own games Wink

EDIT: use 25PP
Find all posts by this user
03-08-2013, 02:38 PM
Post: #237
RE: PPSSPP iOS Port
(03-08-2013 02:14 PM)V6ser Wrote:  
(03-08-2013 02:03 PM)Hishamcn Wrote:  Hey guys I was hoping if u could help me , I don't know how to download games to ppsppp on my iPad 2 , please help me

It's make an image of your own games Wink

I think he meant to transfer the games to his ipad,personally i recommend ifunbox(pc) which easily transfers any kind of files on your idevice(jailbroken).If it's not jailbroken you might not be able to put isos/csos on it as it cannot be played on device and you will get an error.
Find all posts by this user
03-08-2013, 03:55 PM
Post: #238
RE: PPSSPP iOS Port
(03-08-2013 02:38 PM)livisor Wrote:  
(03-08-2013 02:14 PM)V6ser Wrote:  
(03-08-2013 02:03 PM)Hishamcn Wrote:  Hey guys I was hoping if u could help me , I don't know how to download games to ppsppp on my iPad 2 , please help me

It's make an image of your own games Wink

I think he meant to transfer the games to his ipad,personally i recommend ifunbox(pc) which easily transfers any kind of files on your idevice(jailbroken).If it's not jailbroken you might not be able to put isos/csos on it as it cannot be played on device and you will get an error.

My iPad is jailbroken and I have ifunbox but how can I put the games inside ppsspp
Find all posts by this user
03-08-2013, 03:57 PM
Post: #239
RE: PPSSPP iOS Port
is var/mobile/documents/place your roms here.
Find all posts by this user
03-08-2013, 03:59 PM (This post was last modified: 03-08-2013 05:06 PM by Apology11.)
Post: #240
RE: PPSSPP iOS Port
(03-08-2013 03:57 PM)brujo55 Wrote:  is var/mobile/documents/place your roms here.

\\no warez here!
--Apology11
Find all posts by this user
Thread Closed 


Forum Jump: