Jump to content

Help
Latest News Article

[1.1] Reobf help please?


13 replies to this topic

#1

Posted 22 February 2012 - 07:39 PM

Hi guys i am making a mod and need to reobf it but whenever i do it, i get the .class files but not the image files i have tried on a clean mcp but that didnt work. if you could help me please leave a message!
Posted Image

Register or log in to remove.

#2

  • Minecraft: Bonesnrobes

Posted 22 February 2012 - 07:44 PM

so you are trying to find the images? and when you reobfuscate you put those .class into your minecraft.jar
I don't like this signature stuff >:(

#3

Posted 22 February 2012 - 07:46 PM

View PostBonesnrobes, on 22 February 2012 - 07:44 PM, said:

so you are trying to find the images? and when you reobfuscate you put those .class into your minecraft.jar
basically everything works when i recompile and try the client in MCP but when i re obfuscate then it generates the .class files but dont generate the Images files from the bin

View PostBonesnrobes, on 22 February 2012 - 07:44 PM, said:

so you are trying to find the images? and when you reobfuscate you put those .class into your minecraft.jar
basically everything works when i recompile and try the client in MCP but when i re obfuscate then it generates the .class files but dont generate the Images files from the bin

View PostBonesnrobes, on 22 February 2012 - 07:44 PM, said:

so you are trying to find the images? and when you reobfuscate you put those .class into your minecraft.jar
basically everything works when i recompile and try the client in MCP but when i re obfuscate then it generates the .class files but dont generate the Images files from the bin
Posted Image

#4

  • Minecraft: Bonesnrobes

Posted 22 February 2012 - 07:51 PM

View PostDannyDobbi, on 22 February 2012 - 07:46 PM, said:

basically everything works when i recompile and try the client in MCP but when i re obfuscate then it generates the .class files but dont generate the Images files from the bin


basically everything works when i recompile and try the client in MCP but when i re obfuscate then it generates the .class files but dont generate the Images files from the bin


basically everything works when i recompile and try the client in MCP but when i re obfuscate then it generates the .class files but dont generate the Images files from the bin
you need to put the images that you got into minecraft.jar with your classes
I don't like this signature stuff >:(

#5

Posted 22 February 2012 - 07:53 PM

View PostBonesnrobes, on 22 February 2012 - 07:51 PM, said:

you need to put the images that you got into minecraft.jar with your classes
I tried that but just gave me the black screen. YES i did delete META-INF and added modloader
Posted Image

#6

  • Minecraft: Bonesnrobes

Posted 22 February 2012 - 07:57 PM

View PostDannyDobbi, on 22 February 2012 - 07:53 PM, said:

I tried that but just gave me the black screen. YES i did delete META-INF and added modloader
i'm not to good with modloader stuff but when you recompiled you got no errors right? i was never too good with making singleplayer mods but you might have to put the images in your mods folder? im really not to shure about it thought but if you have any errors i can help out
I don't like this signature stuff >:(

#7

Posted 22 February 2012 - 08:08 PM

View PostBonesnrobes, on 22 February 2012 - 07:57 PM, said:

i'm not to good with modloader stuff but when you recompiled you got no errors right? i was never too good with making singleplayer mods but you might have to put the images in your mods folder? im really not to shure about it thought but if you have any errors i can help out
i will try adding it again and see what happens
Posted Image

#8

Posted 22 February 2012 - 08:17 PM

View PostBonesnrobes, on 22 February 2012 - 07:57 PM, said:

i'm not to good with modloader stuff but when you recompiled you got no errors right? i was never too good with making singleplayer mods but you might have to put the images in your mods folder? im really not to shure about it thought but if you have any errors i can help out
Nope it dont recognize the image files :L
Posted Image

#9

  • Location: Anywhere where I can hunt montar
  • Minecraft: Dirk_pwnz

Posted 22 February 2012 - 08:40 PM

What error do you get when running mine craft? I had these kinda errors for a while, i might be able to help you.

[color="#ff0000"][/center][img][/color][url="http://www.minecraftforum.net/topic/741823-killion-detention-center-updated-125-nether-potions-more-transfers-open-prison-server/"]http://imgur.com/ROdKq[/url][/img][/url]

Sig provided my meh :D[/center]


#10

Posted 22 February 2012 - 08:51 PM

View PostGunThaSun, on 22 February 2012 - 08:40 PM, said:

What error do you get when running mine craft? I had these kinda errors for a while, i might be able to help you.
java.lang.RuntimeException: java.lang.Exception: Image not found: /Huntersmod/Images/HBSide.png
	at ModLoader.RegisterAllTextureOverrides(ModLoader.java:1377)
	at ModLoader.OnTick(ModLoader.java:1103)
	at EntityRendererProxy.b(EntityRendererProxy.java:16)
	at net.minecraft.client.Minecraft.x(SourceFile:742)
	at net.minecraft.client.Minecraft.run(SourceFile:662)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.Exception: Image not found: /Huntersmod/Images/HBSide.png
	at ModLoader.loadImage(ModLoader.java:1046)
	at ModLoader.RegisterAllTextureOverrides(ModLoader.java:1369)
	... 5 more

I did add the image files in aswell
Posted Image

#11

  • Location: Anywhere where I can hunt montar
  • Minecraft: Dirk_pwnz

Posted 22 February 2012 - 10:35 PM

Do this: (if you've done it already then ur doomed :( )

Open you minecraft.jar
Install modloader
RemOve metainf ( if you are on a Mac then only remove the files that start with mojang_)
Add the class files
Create a folder called Huntersmod ( note that java is CaSe senSitive)
Create a folder called Images In there
Add the HBSide.png file.
Make sure it is 16 by 16 pixels!! Use gimp or paint.net to edit

That should work...

[color="#ff0000"][/center][img][/color][url="http://www.minecraftforum.net/topic/741823-killion-detention-center-updated-125-nether-potions-more-transfers-open-prison-server/"]http://imgur.com/ROdKq[/url][/img][/url]

Sig provided my meh :D[/center]


#12

Posted 23 February 2012 - 04:57 PM

View PostGunThaSun, on 22 February 2012 - 10:35 PM, said:

Do this: (if you've done it already then ur doomed :( )

Open you minecraft.jar
Install modloader
RemOve metainf ( if you are on a Mac then only remove the files that start with mojang_)
Add the class files
Create a folder called Huntersmod ( note that java is CaSe senSitive)
Create a folder called Images In there
Add the HBSide.png file.
Make sure it is 16 by 16 pixels!! Use gimp or paint.net to edit

That should work...
I have already added ALL the things i need to add. nothing works.
Posted Image

#13

    Zorm

    Coal Miner

  • Members
  • 139 posts

Posted 23 February 2012 - 06:27 PM

View PostDannyDobbi, on 22 February 2012 - 08:51 PM, said:

java.lang.RuntimeException: java.lang.Exception: Image not found: /Huntersmod/Images/HBSide.png
	at ModLoader.RegisterAllTextureOverrides(ModLoader.java:1377)
	at ModLoader.OnTick(ModLoader.java:1103)
	at EntityRendererProxy.b(EntityRendererProxy.java:16)
	at net.minecraft.client.Minecraft.x(SourceFile:742)
	at net.minecraft.client.Minecraft.run(SourceFile:662)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.Exception: Image not found: /Huntersmod/Images/HBSide.png
	at ModLoader.loadImage(ModLoader.java:1046)
	at ModLoader.RegisterAllTextureOverrides(ModLoader.java:1369)
	... 5 more

I did add the image files in aswell

According to your error, the image files aren't in the minecraft.jar. They are in a folder inside the minecraft.jar called 'huntersmod' then another folder called 'Images' THEN your image files. Unless you have alot of images I wouldn't recommend coding it to do this as it just over complicates things.
"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former."

#14

Posted 23 February 2012 - 07:19 PM

View PostZorm, on 23 February 2012 - 06:27 PM, said:

According to your error, the image files aren't in the minecraft.jar. They are in a folder inside the minecraft.jar called 'huntersmod' then another folder called 'Images' THEN your image files. Unless you have alot of images I wouldn't recommend coding it to do this as it just over complicates things.
Well at the moment i have 13 images but i have had made previous mods and not had problems like this before.
Posted Image