Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Multiple device (two PS Vita or more) development

Discussion in 'PSM' started by Spidyy, May 29, 2014.

  1. Spidyy

    Spidyy

    Joined:
    Mar 6, 2011
    Posts:
    184
    Hey,

    I'm trying to make my game working on the Vita of an associate, using the following tutorial :

    https://psm.playstation.net/static/general/all/psm_sdk/1/doc/en/key_management_team_en.html

    But so far, I can't seem to get it working on my associate's Vita. He this an error message each time :

    $appkeyerror.JPG

    Here how I proceed :

    - From the Publishing utility tool, I create my publisher key.
    - From Unity, I create the keys, it generate me : The application ID, the seed for my device and the application key for my device.
    - I get the seed from my associate's device
    - I generate the application key for his device
    - I build the game package after all keys are generated
    - I send him the publisher key (.p12), the application keys for our devices (.krng) and the game's package (.psdp)
    - He import all this stuff on his Publishing utility tool
    - He get the error when he try to install the game on his Vita.

    He get the error wether the app key is generated or not.

    Shouldn't the App Exe Key be set when he import the app key?
     
  2. PeterD

    PeterD

    Joined:
    Feb 6, 2013
    Posts:
    120
    Did you change any of the names of the files or the device at any stage because that will invalidate everything.
     
  3. Spidyy

    Spidyy

    Joined:
    Mar 6, 2011
    Posts:
    184
    I changed the name in the player settings of the Unity Editor, but I changed it back, remade the .xml, remade all the files, dev key, app keys, seeds, etc, and my associate still couldn't install the game.
     
  4. PeterD

    PeterD

    Joined:
    Feb 6, 2013
    Posts:
    120
    Hmm I followed the instructions and it seems to work for me in that I can install on multiple devices. I used my home dev PC and my surface pro 2 to mimic a remote dev. Are you sure you've followed the instructions correctly.

    I exported the master p12 and imported that into the pretend dev and then exported the keys from my pretend dev and imported them into the master pc. I then made a build on the master pc and simply emailed that to my pretend dev pc. I then installed the build without changing any settings on the pretend dev.

    Are you sure you didn't change any device names after you created the keys?

    Edit: Just had a thought. Did you build the application for the team members device and not your own! If you build it for your own i.e. the device you have connected to your master PC, then it's tied to that device and not the team members device or seed key!

    You need to do a build in unity and then create the app in PSM against the team members device. It doesn't work on your device but, will work on theirs.
     
    Last edited: Jun 3, 2014
  5. Spidyy

    Spidyy

    Joined:
    Mar 6, 2011
    Posts:
    184
    Hummm, I didn't tried to build for my associate's device. I didn't know it was possible.

    Until now, I just had both seeds and keys registered in my Publishing Utility software, then do a simple "Build and Run" on Unity to get the .psdp file. How can I change the targeted device?
     
  6. PeteD

    PeteD

    Joined:
    Jul 30, 2013
    Posts:
    71
    Hi there. You can select the device when you import the key. You can't do it from a build and run as far as I know as that will always try to install on the connected device.

    You need to do a build in unity and then create the package in PSM with your external devs device selected from the key management screen. The resulting packaged file will run on his device only as far as I can tell.
     
  7. Spidyy

    Spidyy

    Joined:
    Mar 6, 2011
    Posts:
    184
    What do you call PSM? The Publishing Utility software? Or the PSM SDK?
     
  8. PeterD

    PeterD

    Joined:
    Feb 6, 2013
    Posts:
    120
    The publishing utility
     
  9. Spidyy

    Spidyy

    Joined:
    Mar 6, 2011
    Posts:
    184
    Ok, I tried, but same problem. :s We asked the psm support but we still wait for an answer.