WhiskyTangoFawks / Expedition

9 stars 11 forks source link

Resourcepack does not generate properly on linux #64

Closed portablejim closed 7 years ago

portablejim commented 7 years ago

Since linux uses '/' instead of '\' for the separator between folders and files.

WTF-Expedition_1.10.2_v1.3_Beta6.jar

After loading, there is a bunch of files created in the minecraft folder (1 file per line).

resourcepacks\WTFOres
resourcepacks\WTFOres\assets
resourcepacks\WTFOres\assets\wtfcore
resourcepacks\WTFOres\assets\wtfcore\blockstates
resourcepacks\WTFOres\assets\wtfcore\blockstates\dirt0DecoStatic.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\gravel0DecoStatic.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\netherrack0DecoAnim.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\netherrack0DecoStatic.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\netherrack0SpeleothemFrozen.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\netherrack0Speleothem.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\obsidian0DecoAnim.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\obsidian0DecoStatic.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\obsidian0SpeleothemFrozen.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\obsidian0Speleothem.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\red_sandstone0DecoAnim.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\red_sandstone0DecoStatic.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\red_sandstone0SpeleothemFrozen.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\red_sandstone0Speleothem.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\sand0DecoStatic.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\sand1DecoStatic.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\sandstone0DecoAnim.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\sandstone0DecoStatic.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\sandstone0SpeleothemFrozen.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\sandstone0Speleothem.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\stone0DecoAnim.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\stone0DecoStatic.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\stone0SpeleothemFrozen.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\stone0Speleothem.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\stone1DecoAnim.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\stone1DecoStatic.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\stone1SpeleothemFrozen.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\stone1Speleothem.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\stone3DecoAnim.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\stone3DecoStatic.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\stone3SpeleothemFrozen.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\stone3Speleothem.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\stone5DecoAnim.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\stone5DecoStatic.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\stone5SpeleothemFrozen.json
resourcepacks\WTFOres\assets\wtfcore\blockstates\stone5Speleothem.json

Note that these are not in folders but the files have the backslashes in their names.

screenshot at 2016-12-30 15-32-41

WhiskyTangoFawks commented 7 years ago

I can see how that would be a problem.

I'll see what I can do about swapping it over to a default character.

portablejim commented 7 years ago

http://docs.oracle.com/javase/1.5.0/docs/api/java/io/File.html#separator might help. and http://stackoverflow.com/questions/2417485/file-separator-vs-slash-in-paths might also help.

WhiskyTangoFawks commented 7 years ago

It does help.

New beta just went up to curseforge, needs to be approved but will then be available. Let me know if it solves the issue or not.

portablejim commented 7 years ago

Folders are correct, files still incorrect.

In other words "resourcepacks/WTFOres/assets/wtfcore/blockstates" exists but is empty, the files are still in the main minecraft folder with backslashes.

Dragnier commented 7 years ago

I have this on the Mac. Causes lots of purple/black checkers in-game.

Update: I don't think all of the block states generate either. I renamed and moved the ones I had which made some things work, but I still get missing textures in-game.

The ones that did generate are: wtfexpeditionblockstateerror

I even went so far as to download the repository here as a .zip and extracted the wtfcore folder to put the contents where it would conceivably go and that didn't fix anything either.

WhiskyTangoFawks commented 7 years ago

Next beta release should have this issue sorted. I found what would cause that. Unfortunately I can't test it myself.

Dragnier commented 7 years ago

That's why I like to play mods like this and help with the debug. I'm in University for game design and I know how hard it is to do this stuff without feedback.

WhiskyTangoFawks commented 7 years ago

Release 1.3 went live yesterday, and should have it fixed. Let me know if it doesn't.

DeadSix27 commented 7 years ago

@WhiskyTangoFawks actually deleted my post as i realized i could have just tested it.. and i did, works fine. (But ye, as reference, i did ask whether this issue was fixed in the (at time of writing, newest version)) and it seems like it is.