Hacking How can I build a VPK? (instructions attached)

dragonz

Well-Known Member
OP
Member
Joined
Jan 14, 2015
Messages
275
Trophies
0
XP
661
Country
United States
Hi - does anyone have experience in building a VPK? - This is the modified source code for Openbor https://filebin.net/z56g7tjiyprfol7t
and the Building instructions are below.
I'm trying to modify the source code to include 2,3, or 4 players support. So if someone can build it the VPK for me or teach me how - (read below)

Build Instructions
Vita:

cmake -DBUILD_PSP2=1 -DBUILD_TREMOR=1 -DCMAKE_BUILD_TYPE=Release ../openbor
make OpenBOR.vpk -j12

I use windows 10 - so if anyone could point me to what programs do I need in order to build the VPK again after I modified the source code -
I would really appreciate it.

Thank you,
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,116
Country
United States
I might be able to help a little. that download contains devkitpro and mingw, so it should allow you to use the make command. svn is a download type app that will grab the source code from somewhere like github (though you can always download it as a zip). it's been a very long since I've used the "make" command, so I don't remember it very well. I've compiled things for the wii u in the past like mocha for example, but it's been so long.

--------------------- MERGED ---------------------------

you should be able to find an installer for devkitpro, mingw but cygwin might work (it works for the ps3 iirc), and svn like tortoise svn. it will ask for a download location, so it's not just for github.

--------------------- MERGED ---------------------------

devkitpro is a must though, because it can compile things for many systems including 3ds and wii u. you may have to add it to environmental variables like this:

upload_2020-9-27_15-6-33.png
 

dragonz

Well-Known Member
OP
Member
Joined
Jan 14, 2015
Messages
275
Trophies
0
XP
661
Country
United States
First things first - this task or update will have to be up to us since I just got confirmation that the PSVITA openbor will never
have an official vita release "full stop" - so I'm grateful that we have our vita version of openbor but unforgettably it has not been updated. http://www.chronocrash.com/forum/index.php?topic=5204.0

--------------------- MERGED ---------------------------

https://gbatemp.net/threads/release-openbor-vita-port-by-cpasjuste.527852/
This is the githun link - but is it necessary ? I mean the file I posted is the source code given to us by RSN8887.
https://github.com/rsn8887/openbor/releases/tag/v4704-rsn8887git-1.1
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,116
Country
United States
sorry about piling all that info. I'm just trying to think back to the wii u. I may have compiled stuff for other systems, but iosux, mocha, etc. can be compiled in the same way as that tutorial I linked you to. it shows how to use the make command. make sure there's a make file for that app otherwise it won't work.
 

dragonz

Well-Known Member
OP
Member
Joined
Jan 14, 2015
Messages
275
Trophies
0
XP
661
Country
United States
The only difference is that I modified the code to enable 2, 3 or 4 player support for ps vita or psvita tv.
and that's the first link I posted.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,116
Country
United States
might work. there's a make file:

upload_2020-9-27_15-22-10.png


you may need an sdk for devkitpro may be enough. no need for svn if you can just download as zip.
 

dragonz

Well-Known Member
OP
Member
Joined
Jan 14, 2015
Messages
275
Trophies
0
XP
661
Country
United States
sorry about piling all that info. I'm just trying to think back to the wii u. I may have compiled stuff for other systems, but iosux, mocha, etc. can be compiled in the same way as that tutorial I linked you to. it shows how to use the make command. make sure there's a make file for that app otherwise it won't work.

Don't worry about piling anything on me- Im new to this so I'm absorbing as much as info as I can - I can brain storm all day
if I have to - I really want to get this done.

--------------------- MERGED ---------------------------

might work. there's a make file:

View attachment 226390

you may need an sdk for devkitpro may be enough. no need for svn if you can just download as zip.

Could you double check if there's anything in the tools folder that is already there?

--------------------- MERGED ---------------------------

If you could cook the VPK first that would be awesome also - I could test the VPK for you and report back and see if the openbor modded source code posted on the OP worked.

what would it create a vpk or an eboot.bin - either way I could make the VPK by simply replacing the eboot with the modded one.

after all the VPK can be extract by simply renaming to .zip and extracting it.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,116
Country
United States
never seen that before, but it sounds like psl1ght on the ps3. it's open source and it appears to be made from the ground up (at least from what I saw skimming it), so it's perfectly legal. that will probably work, yes. the correct command seems to be make BUILD=VITA 1 iirc. you have to input the sdk location in the make file I think as well or it will error. you can open it with .txt at the end (remember to remove it). there's also a bat that seems to look in the tools directory. I'm not sure if you have to extract the rar or not for those tools, but it will look for vitasdk I believe (no spaces).
 

dragonz

Well-Known Member
OP
Member
Joined
Jan 14, 2015
Messages
275
Trophies
0
XP
661
Country
United States
never seen that before, but it sounds like psl1ght on the ps3. it's open source and it appears to be made from the ground up (at least from what I saw skimming it), so it's perfectly legal. that will probably work, yes. the correct command seems to be make BUILD=VITA 1 iirc. you have to input the sdk location in the make file I think as well or it will error. you can open it with .txt at the end (remember to remove it). there's also a bat that seems to look in the tools directory. I'm not sure if you have to extract the rar or not for those tools, but it will look for vitasdk I believe (no spaces).

Alright, when I get home - I'm going to download whatever tools I need and if you don't mind checking up in my progress later I'd really appreciate it.

By the way I private message several OpenBor users and they all told me that indeed they are having issues with openbor not recognizing player 2, 3 and 4 game pads.

So I'm hoping the OG dev takes a look at it, if not I'm going to see if I can get this done myself and with the help of who ever is interested.

I really appreciate your help on this Godreborn.

Thank you.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,116
Country
United States
I'll try to help if I can. I didn't get very far compiling it without the sdk. the bat found psp, then err'd on wii (probably needs sdk). it mentioned needing the sdk for vita (I do remember that). the psp and windows sdk are included in that download. devkitpro might be enough for some other systems, but you probably need an actual sdk for some of them. I know when I compiled for the wii u all I needed was devkitpro. I tried using it with the vita, but it didn't work.

--------------------- MERGED ---------------------------

btw, the makefile is in the engine folder. there's a lot of folders, but that's where it is in case you try searching for it. if you type make in command prompt, it will tell you that it needs to be make BUILD=console name in this case VITA 1.
 

master801

Well-Known Member
Member
Joined
Feb 24, 2011
Messages
1,133
Trophies
1
XP
2,465
Country
United States
I've tried compiling it.

The author of the port didn't properly put the vita sources in the build file, so after fixing the error, it's now stuck at some random error.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,116
Country
United States
I've tried compiling it.

The author of the port didn't properly put the vita sources in the build file, so after fixing the error, it's now stuck at some random error.

yeah, it's kinda fucked up. the bat tries to build the homebrew for every system, then if it errors in one of them, it stops the build process. also, using the make file VITA isn't even listed, but it works (just need sdk) if you do BUILD=Vita 1 or whatever.
 

master801

Well-Known Member
Member
Joined
Feb 24, 2011
Messages
1,133
Trophies
1
XP
2,465
Country
United States
yeah, it's kinda fucked up. the bat tries to build the homebrew for every system, then if it errors in one of them, it stops the build process. also, using the make file VITA isn't even listed, but it works (just need sdk) if you do BUILD=Vita 1 or whatever.

I'm pretty sure you're supposed to compile with the CMake file and not the bat/sh scripts.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    AncientBoi @ AncientBoi: lol