MalisisCore icon indicating copy to clipboard operation
MalisisCore copied to clipboard

Special Characters problem on windows with shipped SpongePowered ASM

Open NitroxydeX opened this issue 6 years ago • 4 comments

It seems like the shipped SpongePowered ASM has some problems with special characters like "!" and "?" in folder-names on windows. Resulting into a

org.spongepowered.asm.service.IMixinServiceBootstrap: Error reading configuration file because it can't find the correct folder. It searches for a folder without that special characters.

NitroxydeX avatar Feb 26 '18 21:02 NitroxydeX

The '?' character is not a legal character in windows path, but there is no problem with '!'. In any case, I'm not sure why you post the issue here, it should probably belong there.

Ordinastie avatar Feb 26 '18 21:02 Ordinastie

I've reported it here because your mod shipped it - stated by the log. And it had problems with "!" because the folder-path it used was displayed without it - resulting into a file not found error.

NitroxydeX avatar Feb 26 '18 21:02 NitroxydeX

NTFS supports all characters except \0 and /, it's windows itself that doesn't really support ?. It's also a valid character inside filenames in zip files (and jar files are zip files).

! causes an issue because of this: http://bugs.sun.com/view_bug.do?bug_id=4523159

Barteks2x avatar Mar 11 '18 12:03 Barteks2x

@Barteks2x that's a really old bug with the !. Well. Since I've already fixed it by removing the ! from the path-name there seems to be no fix at all for this problem.

This might be closed or let open until it is fixed by java itself.

NitroxydeX avatar Mar 11 '18 14:03 NitroxydeX