1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Issues loading resource pack

Discussion in 'Help' started by Josh Armour, Feb 28, 2018.

  1. Josh Armour

    Josh Armour Spider

    Messages:
    7
    GitHub:
    josharmour
    I'm attempting to load a resource pack that my 4 yo son loves - jurassic craft. This author has also made maps and behavior packs but I understand pmmp doesn't quite work with those yet.

    https://mcpeup.com/jurassic-craft-resources/

    The entire offering is here: http://mcpedl.com/jurassic-craft/ You can see that there is a behavior pack and resource pack, I'm just trying to install the resource pack.

    It comes in the form of a .mcpack which I believe needs to be converted into a zip file. I did that by unzipping it and rezipping it to a .zip file. When I did, I verified that it has a manifest file in the root of the directory.

    I am getting errors when starting pmmp after putting the zip file in the resource folder and modifying the yaml file to load it.
    It looks like PMMP is adding an additional slash to the path it tries to load when looking for the manifest file.

    [17:59:39] [Server thread/CRITICAL]: InvalidStateException: "Could not load resource pack from /home/zues/pmmp/resource_packs//Minecraft.zip: manifest.json not found in the archive root" (EXCEPTION) in "src/pocketmine/resourcepacks/ZippedResourcePack" at line 82

    See that extra slash before Minecraft.zip? Anyways, Any help is appreciated. I've tried to put the .mcpack file in the resource folder, tried unzipping and leaving the unzipped folder in there, and tried rezipping..

    Any thoughts?
     
  2. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    What folder did you put it in?
     
  3. Josh Armour

    Josh Armour Spider

    Messages:
    7
    GitHub:
    josharmour
  4. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    .mcpack resource packs are supported directly since 3.0.0-ALPHA6, just drop it in directly.
     
  5. Josh Armour

    Josh Armour Spider

    Messages:
    7
    GitHub:
    josharmour
    Interesting, I did put it in there, and declared it in the yml file but it still complained about the manifest.

    Is this specific pack not formatted correctly?

    https://mcpeup.com/jurassic-craft-resources/

    Can you give me an example of how the yaml would look?
     
  6. Josh Armour

    Josh Armour Spider

    Messages:
    7
    GitHub:
    josharmour
    Ok, I went ahead and copied the full .mcpack file into the folder and started the server. No errors but it didn't show that it loaded the resource pack and i didn't see it when playing on the server.

    Code:
    zues@virtualbox:~/pmmp/resource_packs$ mv Jurassic\ Craft\ Resources.mcpack jurassic.mcpack
    zues@virtualbox:~/pmmp/resource_packs$ ls
    jurassic.mcpack  resource_packs.yml
    zues@virtualbox:~/pmmp/resource_packs$ sudo vi resource_packs.yml
    [sudo] password for zues:
    zues@virtualbox:~/pmmp/resource_packs$ ../start.sh
    [22:39:52] [Server thread/INFO]: Loading pocketmine.yml...
    [22:39:52] [Server thread/INFO]: Loading server properties...
    [22:39:52] [Server thread/INFO]: Selected English (eng) as the base language
    [22:39:52] [Server thread/INFO]: Starting Minecraft: PE server version v1.2.10
    [22:39:52] [Server thread/NOTICE]: Online mode is enabled. The server will verify that players are authenticated to Xbox Live.
    [22:39:52] [Server thread/NOTICE]: To disable authentication, set "xbox-auth" to "false" in server.properties.
    [22:39:52] [Server thread/INFO]: Opening server on 0.0.0.0:19132
    [22:39:52] [Server thread/INFO]: This server is running PocketMine-MP version 1.7dev-743 "[REDACTED]" (API 3.0.0-ALPHA11)
    [22:39:52] [Server thread/INFO]: PocketMine-MP is distributed under the LGPL License
    [22:39:52] [Server thread/INFO]: Loading recipes...
    [22:39:52] [Server thread/INFO]: Loading resource packs...
    [22:39:52] [Server thread/INFO]: Loading DevTools v1.12.9
    [22:39:52] [Server thread/INFO]: Enabling DevTools v1.12.9
    [22:39:52] [Server thread/INFO]: [DevTools] Registered folder plugin loader
    [22:39:52] [Server thread/INFO]: Preparing level "world"
    [22:39:52] [Server thread/INFO]: Starting GS4 status listener
    [22:39:52] [Server thread/INFO]: Setting query port to 19132
    [22:39:52] [Server thread/INFO]: Query running on 0.0.0.0:19132
    [22:39:52] [Server thread/INFO]: Default game type: Creative Mode
    [22:39:52] [Server thread/INFO]: Done (0.236s)! For help, type "help" or "?"
    [22:40:51] [Server thread/INFO]: jarmour[/192.168.86.51:50576] logged in with entity id 1 at (world, 387.2852, 76.8441, 288.7605)
    [22:40:53] [Server thread/INFO]: jarmour joined the game
    [22:41:55] [Server thread/INFO]: jarmour left the game
    [22:41:55] [Server thread/INFO]: jarmour[/192.168.86.51:50576] logged out due to client disconnect
    ^C[22:42:03] [Server thread/INFO]: Disabling DevTools v1.12.9
    [22:42:03] [Server thread/INFO]: Unloading level "world"
    [22:42:03] [Server thread/INFO]: Stopping other threads
    
    zues@virtualbox:~/pmmp/resource_packs$ ls
    jurassic.mcpack  resource_packs.yml
    zues@virtualbox:~/pmmp/resource_packs$ vi resource_packs.yml
    zues@virtualbox:~/pmmp/resource_packs$
    
    Code:
    #This configuration file controls global resources used on your PocketMine-MP server.
    
    #Choose whether players must use your chosen resource packs to join the server.
    #NOTE: This will do nothing if there are no resource packs in the stack below.
    force_resources: true
    resource_stack:
     - jurassic.mcpack
    #Resource packs here are applied from bottom to top. This means that resources in higher packs will override those in lower packs.
     #Entries here must indicate the filename of the resource pack.
     #Example
     # - natural.zip
     # - vanilla.zip
     #If you want to force clients to use vanilla resources, you must place a vanilla resource pack in your resources folder and add it to the stack here.
    
    
     
  7. Josh Armour

    Josh Armour Spider

    Messages:
    7
    GitHub:
    josharmour
    Any suggestions from anyone?
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.