Search Unity

How to get .tpk on the Emulator

Discussion in 'Tizen' started by BAnyBudde, Dec 1, 2016.

  1. BAnyBudde

    BAnyBudde

    Joined:
    Jun 3, 2014
    Posts:
    51
    Hey Guys,

    I built my latest game off Unity 5.5.0f3, specifically aimed at an emulator which I created.
    But I cannot get it to install on the Emulator. What must I do to get my .tpk generated file
    working on the Emulator?

    Windows 10 (64 Bit)
    Tizen 2.4 (64 Bit)

    Thanks
     
  2. Masterfalcon

    Masterfalcon

    Unity Technologies

    Joined:
    Dec 29, 2014
    Posts:
    364
    Have you tried installing the build manually using SDB?

    sdb.exe is in the Tizen Studio installation under the tools directory. From a command prompt put in the path to sdb and then give it the path to your tpk. For example:

    sdb.exe install MyGame.tpk
     
  3. BAnyBudde

    BAnyBudde

    Joined:
    Jun 3, 2014
    Posts:
    51
    Do I need the Studio specifically?, or is there a way I can alternatively do it with the Tizen SDK which I already have installed and set up?

    Thanks
     
  4. Masterfalcon

    Masterfalcon

    Unity Technologies

    Joined:
    Dec 29, 2014
    Posts:
    364
    Absolutely! The same command works with Tizen SDK.
     
  5. BAnyBudde

    BAnyBudde

    Joined:
    Jun 3, 2014
    Posts:
    51
    I typed in the first command and then it gave me a whole list of options.

    I tried sdb.exe install C:\path to my game etc..
    I tried sdb install C:\path to my game etc..

    It says in the cmd to use this syntax:
    sdb install <pkg_path>

    but then when I try that it still doesn't work...
    What is the exact way I should be doing this second part?

    the path to my game is:
    C:\Users\Braydon\workspacenew\Hiro in Winterland 2

    Thanks
     
  6. Masterfalcon

    Masterfalcon

    Unity Technologies

    Joined:
    Dec 29, 2014
    Posts:
    364
    You may need quotes if there are spaces in the path. Also, you need to specify the absolute path to the tpk. For example:

    sdb install "C:\Users\Braydon\workspacenew\Hiro in Winterland 2\Game.tpk"

    Or whatever the tpk file is called.
     
  7. BAnyBudde

    BAnyBudde

    Joined:
    Jun 3, 2014
    Posts:
    51
    It says 'sdb' is not recognized as an internal or external command, operable program or batch file.

    sorry about this :(
     
  8. Masterfalcon

    Masterfalcon

    Unity Technologies

    Joined:
    Dec 29, 2014
    Posts:
    364
    Let's say that your Tizen SDK is installed at C:\tizen-sdk. Then you'll run something like this:

    C:\tizen-sdk\tools\sdb.exe install "C:\Users\Braydon\workspacenew\Hiro in Winterland 2\Game.tpk"
     
  9. BAnyBudde

    BAnyBudde

    Joined:
    Jun 3, 2014
    Posts:
    51
    Ok, brilliant.

    I didn't realise it was all in one command.
    It's working now thanks