Thread Closed 
 
Thread Rating:
  • 14 Votes - 4.07 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PPSSPP iOS Port
03-16-2013, 08:05 PM (This post was last modified: 03-16-2013 08:08 PM by [Unknown].)
Post: #406
RE: PPSSPP iOS Port
(03-16-2013 02:41 PM)rock88 Wrote:  I had to use "magic number" -
Code:
#define SAMPLE_SIZE 44100/6
I do not understand why there should be exactly that number. Because of this, on different generations of devices audio output can work in different ways..
I'll try to fix it and try to use two buffers and alSourceUnqueueBuffers/alSourceQueueBuffers for streaming sound output.
IOS: added audio output

Hmm. I messed with it a bit. After adding a delay, this seemed less necessary. Probably doing the buffers would work better, I'm not sure.

I made some adjustments since it was sucking down cpu cycles:
https://github.com/hrydgard/ppsspp/pull/1006

(03-16-2013 02:41 PM)rock88 Wrote:  Buttons sometimes remain pressed when touch up, I'll fix it later.

I noticed this too, and I think some people not on iOS have reported it. But it could be iOS specific. Seems to happen when you touch the screen with multiple fingers at once. See also:

https://github.com/hrydgard/ppsspp/issues/989

(03-16-2013 07:10 PM)the avenger Wrote:  did i mention i hate linker errors,after copying rock88's audio implementation to the main project i am getting this linker error,should be ready with audio after resolving this
edit:silly me,forgot to include the error

Are you using the latest cmake? This looks similar to the errors I was getting before where I had to clean/build every time I changed anything.

Anyway, you can try cleaning which may also help.

-[Unknown]
Find all posts by this user
03-16-2013, 08:10 PM
Post: #407
RE: PPSSPP iOS Port
(03-16-2013 08:01 PM)elmon Wrote:  
(03-16-2013 07:30 PM)the avenger Wrote:  
(03-16-2013 07:26 PM)elmon Wrote:  @the avenger, v0.7c will be available soon?Smile Btw, I'd like to try to compile it by myself, are there any difficulties in it?
yes as soon as i can get around this error
as for compiling not really,compiling is the easy part,trying to get around code signing(to avoid paying 99$ to apple) is the not-so-easy part

Can i just build it for tests and then upload to iphone? i mean without signing?
[Huh, maybe i should try to build something with xcode or read some guides]
might wanna read something about that as it needs to by signed with something but not necessarily a dev certificate
Find all posts by this user
03-16-2013, 09:04 PM
Post: #408
RE: PPSSPP iOS Port
(03-16-2013 08:10 PM)the avenger Wrote:  might wanna read something about that as it needs to by signed with something but not necessarily a dev certificate
Well, ran around building ios app (for testing) for an hour without a successSmile After understanding that i should create some separate project for every folder in repo i became a bit sad.

[iOS 6.1.0] [iPhone 5]
- The Sign Painter
Find all posts by this user
03-16-2013, 09:06 PM (This post was last modified: 03-16-2013 09:28 PM by the avenger.)
Post: #409
RE: PPSSPP iOS Port
(03-16-2013 08:05 PM)[Unknown] Wrote:  
(03-16-2013 02:41 PM)rock88 Wrote:  I had to use "magic number" -
Code:
#define SAMPLE_SIZE 44100/6
I do not understand why there should be exactly that number. Because of this, on different generations of devices audio output can work in different ways..
I'll try to fix it and try to use two buffers and alSourceUnqueueBuffers/alSourceQueueBuffers for streaming sound output.
IOS: added audio output

Hmm. I messed with it a bit. After adding a delay, this seemed less necessary. Probably doing the buffers would work better, I'm not sure.

I made some adjustments since it was sucking down cpu cycles:
https://github.com/hrydgard/ppsspp/pull/1006

(03-16-2013 02:41 PM)rock88 Wrote:  Buttons sometimes remain pressed when touch up, I'll fix it later.

I noticed this too, and I think some people not on iOS have reported it. But it could be iOS specific. Seems to happen when you touch the screen with multiple fingers at once. See also:

https://github.com/hrydgard/ppsspp/issues/989

(03-16-2013 07:10 PM)the avenger Wrote:  did i mention i hate linker errors,after copying rock88's audio implementation to the main project i am getting this linker error,should be ready with audio after resolving this
edit:silly me,forgot to include the error

Are you using the latest cmake? This looks similar to the errors I was getting before where I had to clean/build every time I changed anything.

Anyway, you can try cleaning which may also help.

-[Unknown]
silly me,always forgetting to re-run cmake,anyway i got it to build with sound and i am going to mess around a bit with it before i upload it on cydia
EDIT:the thing's a beast,it goes according to the framerate with barely any chopiness(in my case that was25-30 fps) and it barely takes any any of the speed,there also seems to be an overall increase in speed
Find all posts by this user
03-16-2013, 09:38 PM
Post: #410
RE: PPSSPP iOS Port
Could you post that build to cydia? Smile

Somebody needs to make intructions on how to build ppsspp for iOS, then I could just build it myself. Whenever I try to use cmake I get errors.
Find all posts by this user
03-16-2013, 09:40 PM (This post was last modified: 03-16-2013 09:42 PM by the avenger.)
Post: #411
RE: PPSSPP iOS Port
(03-16-2013 09:38 PM)BubblegumBalloon Wrote:  Could you post that build to cydia? Smile

Somebody needs to make intructions on how to build ppsspp for iOS, then I could just build it myself. Whenever I try to use cmake I get errors.
just did,and there are instructions on how to build it,assuming that you have a mac with xcode or atleast a vm running mac,and a provisioning certificate from apple(there are alternatives but their not that easy)
Find all posts by this user
03-16-2013, 09:48 PM (This post was last modified: 03-16-2013 09:48 PM by elmon.)
Post: #412
RE: PPSSPP iOS Port
cmake isn't a problem - i can't include folders from /native so as path for them in project will be same as written in files. Sad [gone on stackoverflow]

[iOS 6.1.0] [iPhone 5]
- The Sign Painter
Find all posts by this user
03-16-2013, 09:48 PM (This post was last modified: 03-16-2013 09:54 PM by BubblegumBalloon.)
Post: #413
RE: PPSSPP iOS Port
(03-16-2013 09:40 PM)the avenger Wrote:  
(03-16-2013 09:38 PM)BubblegumBalloon Wrote:  Could you post that build to cydia? Smile

Somebody needs to make intructions on how to build ppsspp for iOS, then I could just build it myself. Whenever I try to use cmake I get errors.
just did,and there are instructions on how to build it,assuming that you have a mac with xcode or atleast a vm running mac,and a provisioning certificate from apple(there are alternatives but their not that easy)

Thanks! Where can I find the instructions? And I have a Mac with xcode but no certificate from apple. :/

EDIT: For whatever reason I keep getting size mismatch when downloading the new version.
Find all posts by this user
03-16-2013, 10:00 PM (This post was last modified: 03-16-2013 10:02 PM by the avenger.)
Post: #414
RE: PPSSPP iOS Port
(03-16-2013 09:48 PM)BubblegumBalloon Wrote:  
(03-16-2013 09:40 PM)the avenger Wrote:  
(03-16-2013 09:38 PM)BubblegumBalloon Wrote:  Could you post that build to cydia? Smile

Somebody needs to make intructions on how to build ppsspp for iOS, then I could just build it myself. Whenever I try to use cmake I get errors.
just did,and there are instructions on how to build it,assuming that you have a mac with xcode or atleast a vm running mac,and a provisioning certificate from apple(there are alternatives but their not that easy)

Thanks! Where can I find the instructions? And I have a Mac with xcode but no certificate from apple. :/
on the github itself how to use cmake,if your confused,make a folder in the ppsspp folder called build-ios cd to it and type the following line in terminal after installing cmake
Code:
cmake -GXcode -DCMAKE_TOOLCHAIN_FILE=/path/to/ppsspp/folder/ios/ios.toolchain.cmake /path/to/ppsspp/folder
just replace /path/to/ppsspp/folder/ with you put the ppsspp folder
that should make a an xcodeproject in the build-ios folder,now follow this to bypass the certificate try this for personal use,if you want to release it you will need another method
http://www.securitylearn.net/2012/12/26/...g-profile/
Find all posts by this user
03-16-2013, 10:02 PM
Post: #415
RE: PPSSPP iOS Port
Sometimes completely closing Cydia and restarting fixes the size mismatch error.
Find all posts by this user
03-16-2013, 10:02 PM (This post was last modified: 03-16-2013 10:07 PM by BubblegumBalloon.)
Post: #416
RE: PPSSPP iOS Port
deleting and re-adding the repo fixed it for me

EDIT: Thanks for the instructions theavenger!
Find all posts by this user
03-16-2013, 10:04 PM
Post: #417
RE: PPSSPP iOS Port
You can try JailCoder, http://jailcoder.tk/ or https://www.facebook.com/jailcoder , JailCoder will patch xCode, so you don't need an Apple Developer Certificate.
Find all posts by this user
03-16-2013, 10:18 PM
Post: #418
RE: PPSSPP iOS Port
(03-16-2013 10:04 PM)biijive Wrote:  You can try JailCoder, http://jailcoder.tk/ or https://www.facebook.com/jailcoder , JailCoder will patch xCode, so you don't need an Apple Developer Certificate.
that was the first method i use but jailcoder needs to patch xcode and the project and doesn't work with cmake generated projects for some reason
Find all posts by this user
03-16-2013, 10:22 PM (This post was last modified: 03-16-2013 10:30 PM by elmon.)
Post: #419
RE: PPSSPP iOS Port
(03-16-2013 10:00 PM)the avenger Wrote:  on the github itself how to use cmake,if your confused,make a folder in the ppsspp folder called build-ios cd to it and type the following line in terminal after installing cmake
Code:
cmake -GXcode -DCMAKE_TOOLCHAIN_FILE=/path/to/ppsspp/folder/ios/ios.toolchain.cmake /path/to/ppsspp/folder
just replace /path/to/ppsspp/folder/ with you put the ppsspp folder
that should make a an xcodeproject in the build-ios folder,now follow this to bypass the certificate try this for personal use,if you want to release it you will need another method
http://www.securitylearn.net/2012/12/26/...g-profile/
That made a xcode project for macos for meSmile kinda strange...

Nevermind, i made some strange stuff before that and got a thatSmile

P.s. .../ppsspp/native/math/math_util.cpp:39:26: Unknown register name 'r0' in asm [ "fmxr fpscr, r0" : : : "r0"); ]

[iOS 6.1.0] [iPhone 5]
- The Sign Painter
Find all posts by this user
03-16-2013, 10:50 PM (This post was last modified: 03-16-2013 10:51 PM by [Unknown].)
Post: #420
RE: PPSSPP iOS Port
(03-16-2013 10:22 PM)elmon Wrote:  P.s. .../ppsspp/native/math/math_util.cpp:39:26: Unknown register name 'r0' in asm [ "fmxr fpscr, r0" : : : "r0"); ]

Make sure you're targeting an actual iOS device. The simulator will not work.

Also if you ever get an error involving native, make sure to git submodule update.

-[Unknown]
Find all posts by this user
Thread Closed 


Forum Jump: