MCP Mapping Viewer
After quite a bit of on and off working on this, I'm pleased to present MCP Mapping Viewer! MCP Mapping Viewer is a Java GUI application that allows you to easily navigate through the MCP obfuscation data used during the decompilation process. The only requirement to use it is an MCP folder.
Why do I need this?
Generally this application is useful for modders who are implementing Forge coremod features like access transformers or ASM bytecode injection. It is also useful for quickly looking up the MCP names of obfuscated classes/methods/fields referenced in stacktraces posted by players.
Doesn't the IRC MCPBot already do this?
Advantages over MCPBot:
- the bot is not always available
- the bot is locked to a specific version of the mappings
- this application is guaranteed to give you data that matches the code used in your local MCP instances
- this application lets you view more data than the output from the bot provides
Isn't there already an application to do this called MCP Class Map Helper?
When I coded MCP Mapping Viewer I was unaware of any other applications to allow you to do easy obfuscation map look-ups. I started working on my implementation on June 12, 2013. On November 19, 2013, however, I decided to run a Google search on "MCP Mapping Viewer" to see what came up and I found a simpler implementation here. In the spirit of good will, I encourage you to take a look and decide which one best meets your particular needs.
Features:
- simple UI
- easily switch between MCP instances (and thus MC versions)
- search through the mappings
- allows editing of MCP names/comments for export in the form of MCPBot commands
- allows editing of MCP names/comments for saving to your local CSVs
- supports both Forge and base MCP mapping configurations
- new version update checking
Note: Per the MCF rules on code that "phones home", I hereby notify you that this application includes a version checker that will notify you of updates to the application. No data is collected during this process; the code retrieves the latest version number from a URL that I cannot track (old style dropbox public link) and compares it to your local version number. You will only be notified of a new release once per new version.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
immibis - for making BON and giving it a non-restrictive license that allowed me to reuse some of the code Searge and the MCP team - for making MCP, the best and only tool for making Minecraft mods easy to develop and package
This is wonderful, This is actually going to be really useful. Although probably not the intended use this will let me help the majority of people who go to my help channel without the need to open eclipse
This is wonderful, This is actually going to be really useful. Although probably not the intended use this will let me help the majority of people who go to my help channel without the need to open eclipse
The intended purpose is to help modders by making the obfuscation map accessible, so I think your case counts
If you use MCPBot to help make the mappings better, be sure to check out the new feature in MCP Mapping Viewer that allows you to edit the mappings in the GUI and generate a list of MCPBot commands to use in a !dcc session with the bot. Just make sure you are using the same version as the bot!
After quite a bit of on and off working on this, I'm pleased to present MCP Mapping Viewer! MCP Mapping Viewer is a Java GUI application that allows you to easily navigate through the MCP obfuscation data used during the decompilation process. The only requirement to use it is an MCP folder.
Generally this application is useful for modders who are implementing Forge coremod features like access transformers or ASM bytecode injection. It is also useful for quickly looking up the MCP names of obfuscated classes/methods/fields referenced in stacktraces posted by players.
Doesn't the IRC MCPBot already do this?
Advantages over MCPBot:
- the bot is not always available
- the bot is locked to a specific version of the mappings
- this application is guaranteed to give you data that matches the code used in your local MCP instances
- this application lets you view more data than the output from the bot provides
When I coded MCP Mapping Viewer I was unaware of any other applications to allow you to do easy obfuscation map look-ups. I started working on my implementation on June 12, 2013. On November 19, 2013, however, I decided to run a Google search on "MCP Mapping Viewer" to see what came up and I found a simpler implementation here. In the spirit of good will, I encourage you to take a look and decide which one best meets your particular needs.
Features:
- simple UI
- easily switch between MCP instances (and thus MC versions)
- search through the mappings
- allows editing of MCP names/comments for export in the form of MCPBot commands
- allows editing of MCP names/comments for saving to your local CSVs
- supports both Forge and base MCP mapping configurations
- new version update checking
Note: Per the MCF rules on code that "phones home", I hereby notify you that this application includes a version checker that will notify you of updates to the application. No data is collected during this process; the code retrieves the latest version number from a URL that I cannot track (old style dropbox public link) and compares it to your local version number. You will only be notified of a new release once per new version.
Current release: 0.7.2 (18-Apr-2014)
Code: Github Repo Issue Tracker
Downloads: Main Mirror Change Log
By downloading this software you agree to the terms of the license (below).
Portions Copyright © 2014 Alex "immibis" Campbell
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Searge and the MCP team - for making MCP, the best and only tool for making Minecraft mods easy to develop and package
There was a crash in the initial release if you already grabbed it. I just uploaded a new jar in place of the old one.
Farewell everyone o/