1. dragonz

    OP dragonz GBAtemp Regular
    Member

    Joined:
    Jan 14, 2015
    Messages:
    246
    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)

    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,
     
  2. godreborn

    godreborn Retired
    Member

    Joined:
    Oct 10, 2009
    Messages:
    12,193
    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.

    — Posts automatically merged - Please don't double post! —

    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.

    — Posts automatically merged - Please don't double post! —

    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
     
  3. dragonz

    OP dragonz GBAtemp Regular
    Member

    Joined:
    Jan 14, 2015
    Messages:
    246
    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

    — Posts automatically merged - Please don't double post! —

    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
     
  4. godreborn

    godreborn Retired
    Member

    Joined:
    Oct 10, 2009
    Messages:
    12,193
    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.
     
  5. dragonz

    OP dragonz GBAtemp Regular
    Member

    Joined:
    Jan 14, 2015
    Messages:
    246
    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.
     
  6. godreborn

    godreborn Retired
    Member

    Joined:
    Oct 10, 2009
    Messages:
    12,193
    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.
     
  7. dragonz

    OP dragonz GBAtemp Regular
    Member

    Joined:
    Jan 14, 2015
    Messages:
    246
    Country:
    United States
    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.

    — Posts automatically merged - Please don't double post! —

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

    — Posts automatically merged - Please don't double post! —

    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.
     
  8. godreborn

    godreborn Retired
    Member

    Joined:
    Oct 10, 2009
    Messages:
    12,193
    Country:
    United States
    that download is missing the vita sdk. I don't know where you might find it.
     
  9. dragonz

    OP dragonz GBAtemp Regular
    Member

    Joined:
    Jan 14, 2015
    Messages:
    246
    Country:
    United States

    I'll see if I could get it somewhere
     
  10. dragonz

    OP dragonz GBAtemp Regular
    Member

    Joined:
    Jan 14, 2015
    Messages:
    246
    Country:
    United States
    Would this work? https://vitasdk.org/
     
  11. godreborn

    godreborn Retired
    Member

    Joined:
    Oct 10, 2009
    Messages:
    12,193
    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).
     
  12. dragonz

    OP dragonz GBAtemp Regular
    Member

    Joined:
    Jan 14, 2015
    Messages:
    246
    Country:
    United States
    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.
     
  13. godreborn

    godreborn Retired
    Member

    Joined:
    Oct 10, 2009
    Messages:
    12,193
    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.

    — Posts automatically merged - Please don't double post! —

    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.
     
  14. master801

    master801 GBAtemp Fan
    Member

    Joined:
    Feb 24, 2011
    Messages:
    421
    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.
     
  15. godreborn

    godreborn Retired
    Member

    Joined:
    Oct 10, 2009
    Messages:
    12,193
    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.
     
  16. master801

    master801 GBAtemp Fan
    Member

    Joined:
    Feb 24, 2011
    Messages:
    421
    Country:
    United States
    I'm pretty sure you're supposed to compile with the CMake file and not the bat/sh scripts.
     
  17. godreborn

    godreborn Retired
    Member

    Joined:
    Oct 10, 2009
    Messages:
    12,193
    Country:
    United States
    I tried both, but I didn't have the sdk.
     
  18. dragonz

    OP dragonz GBAtemp Regular
    Member

    Joined:
    Jan 14, 2015
    Messages:
    246
    Country:
    United States
  19. master801

    master801 GBAtemp Fan
    Member

    Joined:
    Feb 24, 2011
    Messages:
    421
    Country:
    United States
  20. dragonz

    OP dragonz GBAtemp Regular
    Member

    Joined:
    Jan 14, 2015
    Messages:
    246
    Country:
    United States

    Oh, no.... gosh.... :(

    What to do, what to do.... :(
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - (instructions, attached), build