Posted March 2, 20187 yr Hi I know there is something for the asm getters from obfuscated names but, I am looking for general obfuscated name > class and deobname. This is so I can generate csv files but, the current ones I see only look like this Example needs for this: Random rand = (Random) ReflectionUtil.getObject(gen, ChunkGeneratorOverworld.class, MainJava.isDeObfuscated ? "rand" : null ); What I am looking to do eventually after the csv mappings are created Random rand = (Random) ReflectionUtil.getObject(gen, ChunkGeneratorOverworld.class, MCPMappings.get("rand",ChunkGeneratorOverWorld.class,MainJava.isDeobfuscated) ); Edited March 2, 20187 yr by jredfox
March 2, 20187 yr Find the correct string from the CSV file. It's a comma-separated-values file, open it in literally any spreadsheet program, ctrl-F. You're probably going to find more than one field named "rand" and you're just going to have to try each one until you find the right one. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
March 2, 20187 yr Author 6 hours ago, diesieben07 said: Or use the bot on IRC, which has built-in search and you don't have to use trial and error. I tried that No luck it has obname,deobname,side,comment when no classes attacthed I was wondering how to get classname from obname
March 2, 20187 yr Author 12 hours ago, Draco18s said: Find the correct string from the CSV file. It's a comma-separated-values file, open it in literally any spreadsheet program, ctrl-F. You're probably going to find more than one field named "rand" and you're just going to have to try each one until you find the right one. there is a csv file with obname and classname could you specify the path please since I cannot simply find it
March 2, 20187 yr Author 2 hours ago, diesieben07 said: You need to use the Bot on IRC. The class names are not in the csvs. installed python run file MCPBot.py does nothing
March 2, 20187 yr Author 2 hours ago, diesieben07 said: You need to use the Bot on IRC. The class names are not in the csvs. So how am I suppose to know what is what on the files of joined.exc and joined.csrg. I need to map class to obfuscated field
March 2, 20187 yr 32 minutes ago, jredfox said: installed python run file MCPBot.py does nothing Jesus christ on a crutch. Quote How do I use MCPBot? MCPBot can be accessed on the EsperNet IRC network in one of the official MCP channels. Once in a channel with MCPBot_Reborn type !help to see a list of available commands. More info on how to use the bot can be found here. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
March 2, 20187 yr Author 1 hour ago, Draco18s said: Jesus christ on a crutch. leads to nothing irc://irc.esper.net/mcpbot
March 2, 20187 yr Author 4 hours ago, diesieben07 said: You need to use the Bot on IRC. The class names are not in the csvs. joined.srg is this what I am looking for does it contain all fields methods and parameters? FD: abo/at net/minecraft/entity/projectile/EntityThrowable/field_85053_h Edit: it appears all fields are there but, are missing mappings of parameters where do I find classes of obfuscated parameters? I could get classes from everything else via joins.srg Edited March 2, 20187 yr by jredfox
March 2, 20187 yr 1 hour ago, jredfox said: leads to nothing irc://irc.esper.net/mcpbot You need an IRC client. That uri is one that would open an IRC client if you had one. And it isn't hard to find EsperNet's webclient either. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
March 2, 20187 yr Author 15 minutes ago, Draco18s said: You need an IRC client. That uri is one that would open an IRC client if you had one. And it isn't hard to find EsperNet's webclient either. No thanks I will make a reformatter program. It will take joined.srg,fields.csv,methods.csv and output two files fields_map.csve and fields_map.csve. CSVE is my library that expands on csv alowing you to define variables to call later in the csv file. Not sure if it was already suppose to be there but, it's not in java so wrote up my own code. I heard there was another way but, I can't seem to find out what it was Input class and deobfuscated variable name then based on the environment return string of field/method Edited March 2, 20187 yr by jredfox
March 3, 20187 yr Author Ok my formatted has been completed I can now use csv mappings by calling the class and deob namehttps://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-tools/2892343-srg-to-csv-converter
March 14, 20187 yr Author On 3/2/2018 at 9:32 AM, diesieben07 said: You need to use the Bot on IRC. The class names are not in the csvs. ok yeah I got the fields and parameters but, where does forge store the parameter files for srg? I only see the stuff for asm but, nothing tying the srg to the srg method.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.