Recursive Resources

Recursive Resources

979 Downloads

Resource packs with the same name are displayed only in one place

Felix14-v2 opened this issue · 9 comments

commented

I will try to catch this bug and find a conflicting mod, but it doesn't look like there is any way to reproduce it, this bug always appears randomly (I hate "floating" bugs)

Minecraft.1.19.4.2023-03-30.21-56-28.mp4

latest.log

UPD: Minecraft no longer sees this resource pack 0_0
Переводы всего.zip

commented

Can you try to send a log that captures the moment a pack dissapears? It might not, but if it contains a clear error I'll at least have something to go on.

commented

captures the moment a pack dissapears?

The log above was recorded at this moment, I even caused a diagnostic crash so as not to lose it. And yeah, I can confirm, that this pack now disappears with your mod and works fine without it.

commented

Ah my bad, didn't notice the attached log. There seem to be a lot of errors about an invalid CEN header, but nothing that'd explain this odd behaviour.

The strangest part is that my mod changes nothing about pack loading itself, it just tells MC to do more of it, so I'm not sure what could be going wrong. I'll see if I can replicate it on my machine when I have time.

commented

Thanks! In the worst case scenario, I will send you my entire Minecraft instance.

commented

I think I've caught it! Previous version of this pack also exists in subfolder, and Recursive resources don't understand, that this is a second pack with the same name, but different logo and content:
image
Idk how I missed that, but pack on the video – is an old version with a placeholder logo and old description, located in the 1.18 subfolder. Here is what the current version of the pack (from the root folder) looks like:
image
It doesn't disappear, it just randomly appears in one of two places! And the situation randomly changes with each new launch of the game.

So, finally, steps to Reproduce:

  • Create an isolated instance
  • Install Recursive Resources
  • Create a subfolder in the root resourcepacks directory
  • Copy any pack with the same name to the subfolder
  • Launch Minecraft several times and see the result
commented

Also the problem isn't only visual – if you load a new version of the pack, there's a chance that it will be replaced with an old version at the next launch.

By the way, could you make the text in your mod translatable? I would like to suggest translations into my language, but at the moment I just can't do that.

commented

Oh I see, good catch! This shouldn't be too hard to fix, I'll definitely look into it.

Translations are a good idea, I suppose not having those is a leftover from Resource Pack Organizer. I'll let you know once I've pushed those so you can work on a PR if you want.

commented

Lang file support added in c366e8e, I'll work on the bugfix in a bit.

commented

The bug is fixed in version 2.3.0, which just released.