Giter VIP home page Giter VIP logo

Comments (4)

chegele avatar chegele commented on August 23, 2024

I'm having trouble replicating this issue on bedrock-server-1.14.60.5. Can you provide the full dir contents of the resources folder as well as the text in valid_known_packs.json?

Resources: C:\Users\user_name\Documents\bedrockserver\resource_packs
Valid Packs: C:\Users\user_name\Documents\bedrockserver\valid_known_packs.json

from bdsaddoninstaller.

chkwon avatar chkwon commented on August 23, 2024

There are only two subdirectories within resource_packs: chemistry and vanilla. There are no hidden directories or anything that starts with ._

I modified your script to skip anything that starts with ._, then it worked fine. But quite strange.

It goes over all variants such as ._chemistry, ._vanilla, ._test_vanilla_1.11, and so on.

Here is valid_known_packs.json:

[
	
	{
		"file_version" : 2
	},
	
	{
		"file_system" : "RawPath",
		"from_disk" : true,
		"hashes" : 
		[
			"4XYf+lxO5eSNo8DR+ILg/HZAVZh9tSg56LZY0yeBL28=",
			"FtpolfWOT1V7pyJDmqV3SHYSbiXJHoyaJyf4ux3liaw="
		],
		"path" : "behavior_packs/test_vanilla_1.11",
		"uuid" : "fe9f8597-5454-481a-8730-8d070a8e2e58",
		"version" : "1.11.0"
	},
	
	{
		"file_system" : "RawPath",
		"path" : "resource_packs/vanilla",
		"uuid" : "0575c61f-a5da-4b7f-9961-ffda2908861e",
		"version" : "0.0.1"
	},
	
	{
		"file_system" : "RawPath",
		"path" : "resource_packs/chemistry",
		"uuid" : "0fba4063-dba1-4281-9b89-ff9390653530",
		"version" : "1.0.0"
	},

	{
		"file_system" : "RawPath",
		"path" : "behavior_packs/vanilla_1.14",
		"uuid" : "fe9f8597-5454-481a-8730-8d070a8e2e58",
		"version" : "1.14.0"
	},

       {
		"file_system" : "RawPath",
		"path" : "behavior_packs/vanilla",
		"uuid" : "fe9f8597-5454-481a-8730-8d070a8e2e58",
		"version" : "0.0.1"
	},
	
	{
		"file_system" : "RawPath",
		"path" : "behavior_packs/vanilla_experimental",
		"uuid" : "47db1a44-55b4-4d4e-aa0f-d5de6206a0fd",
		"version" : "0.0.1"
	},
	
	{
		"file_system" : "RawPath",
		"path" : "behavior_packs/chemistry",
		"uuid" : "6baf8b62-8948-4c99-bb1e-a0cb35dc4579",
		"version" : "1.0.0"
	},
	
	{
		"file_system" : "RawPath",
		"from_disk" : true,
		"hashes" : 
		[
			"NsOhIUmhR0mVHFAq2Yh+z6lAY9M8UuFoOIyxoc84c8Q=",
			"dDIeWfuadZSJkYYfmhQMgyavQ91ozF3pn7201qiJVDs="
		],
		"path" : "behavior_packs/test_vanilla_1.12",
		"uuid" : "fe9f8597-5454-481a-8730-8d070a8e2e58",
		"version" : "1.12.0"
	}
]

from bdsaddoninstaller.

chegele avatar chegele commented on August 23, 2024

I'm having a hard time determining where it is finding files or folders with "._" appended to the beginning of the names. I could implement a blind fix of skipping those files, but i would prefer to understand the cause.

Would you be willing to upload a zip of your bds?

from bdsaddoninstaller.

chkwon avatar chkwon commented on August 23, 2024

It seems like my folder was corrupted somehow. I started over with a fresh install of the server and it didn't happen. Strange. But your code works fine. Thanks for working on it. I appreciate your time.

from bdsaddoninstaller.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.