So you surely know the game Minecraft. You can add mod via forge. There is a mod that a really want to have but it give me an error when lauching:
Property exception component:'simpleNGramModel' property:'location' - Bad URL C:\Users\Samuel\Desktop\MultiMC\instances\gfwg\minecraft\config\spells.lmunknown protocol: c
While I absolutly want this mod and I think that the dev had aboonded the project I want and decompile the mod after finding witch function make my minecraft crashes I really don't know what's going wrong (I'm not a big java developper):
edu/cmu/sphinx/util/props/ConfigurationManagerUtils.class
public static URL getResource(String name, PropertySheet ps)
throws PropertyException
{
String location = ps.getString(name);
if (location == null) {
throw new InternalConfigurationException(ps.getInstanceName(), name, "Required resource property '" + name + "' not set");
}
try
{
URL url = resourceToURL(location);
if (url == null) {
throw new InternalConfigurationException(ps.getInstanceName(), name, "Can't locate " + location);
}
return url;
}
catch (MalformedURLException e)
{
throw new InternalConfigurationException(e, ps.getInstanceName(), name, "Bad URL " + location + e.getMessage());
}
}
static final Pattern jarPattern = Pattern.compile("resource:(.*)", 2);
public static URL resourceToURL(String location)
throws MalformedURLException
{
Matcher jarMatcher = jarPattern.matcher(location);
if (jarMatcher.matches())
{
String resourceName = jarMatcher.group(1);
return ConfigurationManagerUtils.class.getResource(resourceName);
}
if (location.indexOf(':') == -1) {
location = "file:" + location;
}
return new URL(location);
}
for help If I move my minecraft to an another disk (I://) I get this error
Property exception component:'simpleNGramModel' property:'location' - Bad URL I:\MultiMC\instances\gfwg\minecraft\config\spells.lmunknown protocol: i
The original mod thread: http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2692177-forge-hp-spells-cast-spells-with-your-voice?page=7
PS:I 'm french sorry for mistake