Advertising (This ad goes away for registered users. You can Login or Register)

Unofficial VitaSDK pre-built

The PlayStation Mobile SDK and Unity for PlayStation Mobile can be downloaded here: http://www.playstation.com/psm/
cheeyee09
Posts: 132
Joined: Sat Feb 28, 2015 7:31 am

Unofficial VitaSDK pre-built

Post by cheeyee09 »

Many devs are switching to the VitaSDK, but there is no pre-built release of it floating on the internet. After searching the net with no results, I decided to build it myself. I followed the buildscripts instructions provided by xyzz github https://github.com/xyzz/vitasdk-buildscripts and after many many hours here are the results. There are 2 version for win32 for use with MingW and another for linux.

Also included a build of realboy-vita elf that I built with this toolchain. The elf was only tested on Rejuvenate 0.3.3 and PSM Unity 1.05.

Since I built this with ubuntu 8.10, I am not sure if the linux version will run on any Ubuntu release greater than 8.10.

Here is the win32 version. (Updated on 2015-11-11)
https://mega.nz/#!yJUVRSDI!EhcZUBxzk_TT ... mmHGev0pns

Here is the Linux 32bit version. (Updated on 2015-11-11)
https://mega.nz/#!jVNX0RwA!caWWgMxmyUSp ... 8ODGbI7DEw

Update:
Added link to Ubuntu 8.10 32Bit Virtual Disk that I used to compile the toolchain. The VDI was create with VirtualBox 5.0.0r101573.

https://mega.nz/#!zBVTxByY!QfyGkytmJLY7 ... -fhHkbkGNw

The username is "rejuvenate" and password for both user and root is "password".

To build the toolchain go into the directory /home/rejuvenate/vitasdk/vitasdk-buildscripts and type "./build.sh". Results will be in the "pkg" directory. The build.sh pulls all the new updates from the various github repo before building so end result should be latest version. Since the git repo's are continuous being updated, the build.sh may fail one day and need update.

Following repos are being used in the build.sh

https://github.com/xyzz/vitasdk-buildscripts
https://github.com/vitasdk/vita-toolchain.git
https://github.com/vitasdk/vita-headers.git
https://github.com/xyzz/vita-newlib.git


Update 2015-09-23 :
The original setup to build the toolchain in the VM has become obsolete since the git-repos for vitasdk-buildscripts and vita-newlib have moved. I have recreated the environment based on the new git-repos. Dowload the following file and unzip into the "/home/rejuvenate/vitasdk" folder. Then run "build.sh in the new "buildscripts" folder. You can delete the old folder "vitasdk-buildscirpts".

Link to new buildscripts setup.
https://mega.nz/#!bEVx1azb!4V8LrcXFXZO- ... T7gCW5GlaY

New git-repos
https://github.com/vitasdk/buildscripts.git
https://github.com/vitasdk/newlib.git

Prebuilts from frangarcj (x64 linux and MacOS) (Updated 9/25/2015 - Now includes all these platforms win32, linux 32, linux 64, MacOs). These builds are a bit behind now. Hope frangarcj updates them soon
https://github.com/frangarcj/vitasdk-bu ... s/releases

Prebuilts of vita2dlib and vita_portlibs from frangarcj
https://github.com/frangarcj/vitasdk-ex ... s/releases
Advertising
Last edited by cheeyee09 on Wed Nov 11, 2015 8:56 am, edited 16 times in total.
Joel16
Posts: 914
Joined: Wed Oct 12, 2011 8:47 pm

Re: Unofficial VitaSDK pre-built

Post by Joel16 »

Thanks, is there instructions on building for windows?
Advertising
"Forever in darkness, a guardian devil."
cheeyee09
Posts: 132
Joined: Sat Feb 28, 2015 7:31 am

Re: Unofficial VitaSDK pre-built

Post by cheeyee09 »

sauske_firekid wrote:Thanks, is there instructions on building for windows?
This builds both the linux and win32 version (thru cross-compile). You'll get both versions in the pkg.
cheeyee09
Posts: 132
Joined: Sat Feb 28, 2015 7:31 am

Re: Unofficial VitaSDK pre-built

Post by cheeyee09 »

Wolfmade wrote:
cheeyee09 wrote:Since I built this with ubuntu 8.10
but why
Just following instructions from the "How to build Toolchain.pdf" from the arm embedded website. There are some prebuilt tool binaries that probably only work on 8.10.

If you don't care about building the toolchain and just want to use it, here is a Tutorial from user "Beatnukem" on how to use it in newer Ubuntu releases. I believe he prebuilt the toolchain himself and didn't use this.

viewtopic.php?f=113&t=44212
cheeyee09
Posts: 132
Joined: Sat Feb 28, 2015 7:31 am

Re: Unofficial VitaSDK pre-built

Post by cheeyee09 »

Updated with new builds on 2015-09-21. Links updated on 1st Post.

Change log
new-lib
161dd36 Implement _gettimeofday_r
8b68730 (Vita) Add user-defined heap size
f88157d exit now calls uvl_exit.
57f4136 Renames uvl_write to uvl_log_write.
3d792ab Adds a call to uvl_write for handling STDIN, STDOUT, and STDERR.
d456455 Call __libc_init_array in Vita crt0.c

vita-headers
7c74fc7 Removes sceIoChdir since it doesn't exist on the Vita.
bdc77b2 rename common_api.h to common_dialog.h
12ade65 fix typo
80e9c73 Added missing license
c59704b Add MsgDialog headers
Last edited by cheeyee09 on Tue Sep 22, 2015 10:24 pm, edited 1 time in total.
DS_Marine
Developer
Posts: 277
Joined: Wed Oct 10, 2012 1:32 pm
Location: Argentina
Contact:

Re: Unofficial VitaSDK pre-built

Post by DS_Marine »

Great work.
When I have to compile sdk stuff, it always gets messy and I think...these 10 hours fixing stuff I could have used for coding. Still, you always come up wiser, but sometimes you just don't have the time for getting wiser .D
Having the working VM is a big win, thanks.
ImagePSP-Controlled drone
"Hackers don't have superpowers. Just a hackable PSP and a brain (ships by default on most humans models)" -Wololo
Image
cheeyee09
Posts: 132
Joined: Sat Feb 28, 2015 7:31 am

Re: Unofficial VitaSDK pre-built

Post by cheeyee09 »

The original git that come with Ubuntu 8.10 is pretty old and doesn't work.

I compile git 2.5.0 and installed to a user location /home/rejuvenate/apps. Unfortunately, you can't use it with http:// prefix. You have to use with git:// prefix. To compile git with http: support I had to compile a few other libs which I didn't do.

Example for vita-toolchain. The url is https://github.com/vitasdk/vita-toolchain.git. Replace https with git

git clone git://github.com/vitasdk/vita-toolchain.git
frangarcj
Posts: 31
Joined: Mon Jun 16, 2014 6:58 am

Re: Unofficial VitaSDK pre-built

Post by frangarcj »

Can someone test this unnoficial releases on ubuntu less than 12 precise?

https://github.com/frangarcj/vitasdk-bu ... s/releases

Thanks
cheeyee09
Posts: 132
Joined: Sat Feb 28, 2015 7:31 am

Re: Unofficial VitaSDK pre-built

Post by cheeyee09 »

Good to see prebuilts being officially added now. I guess win32 versions coming soon.

Seeing official prebuilts being created. I can stop this thread. I've leave the links to the VM up.
cheeyee09
Posts: 132
Joined: Sat Feb 28, 2015 7:31 am

Re: Unofficial VitaSDK pre-built

Post by cheeyee09 »

frangarcj wrote:Can someone test this unnoficial releases on ubuntu less than 12 precise?

https://github.com/frangarcj/vitasdk-bu ... s/releases

Thanks
Are these 64bit versions? They couldn't run on 32bit.
Locked

Return to “PSM & PSM Unity”