BuildCraft|Core

BuildCraft|Core

7M Downloads

Duplicate textures

rapus95 opened this issue ยท 8 comments

commented

When i cloned the project to be able to make better suggestions, my git client complained that there are duplicates in the texture folder; especially there:
https://github.com/BuildCraft/BuildCraft/tree/7.2.x/buildcraft_resources/assets/buildcrafttransport/textures/items
some folder exist twice with different case. At least on windows both end up in the same directory since win doesn't care about the case :D

commented

well it didn't crash it's just SmartGit showed a duplicate! tag at those dirs since windows isn't capable of having different files for same name with only different case.

commented

Sorry, I want to get a list of all duplicates so that I can fix them :)

You could clone it manually with git in windows, and copy the duplicate directories shown in the console here. I don't have windows so I can't check myself.

commented

buildcraft_resources/assets/buildcraftfactory/models/item/autoworkbenchblock.json
buildcraft_resources/assets/buildcraftfactory/models/item/autoWorkbenchBlock.json

buildcraft_resources/assets/buildcraftenergy/models/item/*

buildcraft_resources/assets/buildcrafttransport/textures/items/pipeWire/*
buildcraft_resources/assets/buildcrafttransport/textures/items/pipewire/*

buildcraft_resources/assets/buildcrafttransport/textures/items/pipeWaterproof.png
buildcraft_resources/assets/buildcrafttransport/textures/items/pipewaterproof.png

these are all that i found so far (manually -.-)

commented

Sorry, I meant if it gave you a list automatically then I would like to have it, you don't have to do it manually as there might be a lot :(.

It might be easier (if you have git installed as a command-line tool) to clone the repo, then do git status and paste the output of that to this, as that will list all the files that are invalid.

commented

I got bored :P

found duplicate: ./buildcraft_resources/assets/buildcrafttransport/textures/items/pipewaterproof.png ./buildcraft_resources/assets/buildcrafttransport/textures/items/pipeWaterproof.png
found duplicate: ./buildcraft_resources/assets/buildcrafttransport/textures/items/pipewire ./buildcraft_resources/assets/buildcrafttransport/textures/items/pipeWire
found duplicate: ./buildcraft_resources/assets/buildcrafttransport/textures/items/gatecopier ./buildcraft_resources/assets/buildcrafttransport/textures/items/gateCopier
found duplicate: ./buildcraft_resources/assets/buildcraftfactory/models/item/autoworkbenchblock.json ./buildcraft_resources/assets/buildcraftfactory/models/item/autoWorkbenchBlock.json
found duplicate: ./buildcraft_resources/assets/buildcraftenergy/models/item/bucketredplasma.json ./buildcraft_resources/assets/buildcraftenergy/models/item/bucketRedPlasma.json
found duplicate: ./buildcraft_resources/assets/buildcraftenergy/models/item/bucketoil.json ./buildcraft_resources/assets/buildcraftenergy/models/item/bucketOil.json
found duplicate: ./buildcraft_resources/assets/buildcraftenergy/models/item/bucketfuel.json ./buildcraft_resources/assets/buildcraftenergy/models/item/bucketFuel.json
commented

Thanks!

commented

Can you paste your git log? I don't know of any other way to get all files+folders that have case-insensitive duplicates.

commented

@AlexIIL But it nevertheless should be mentioned that the textures had different sizes :/
But as it seems you deleted the smaller ones :)