Comments (7)
Follow the examples and you wont have this issue:
https://www.spigotmc.org/threads/spigot-bungeecord-1-17-1-17-1.510208/#post-4184317
from specialsource.
im not sure those will help tbh, thats for minecraft 1.17 but im using 1.6.4 :(
ive also tried using some of the command parameters from one of the replies, but they dont seem to help either
from specialsource.
Same thing, you need an MC jar in your classpath or as a remapped depend if using the maven plugin
from specialsource.
i still cant get it to work :(
my full command is: java -classpath minecraft_server-mcpremap.jar -jar specialsource.jar --live --in-jar ModFileMCP.jar --out-jar ModFileObfus.jar --srg-in obf2srg.srg --reverse
. all of these files are in the same directory too
it remapps the class names (converts EntityPlayer
to uf
, but the methods that were inherited aren't). on that forum they used the --live
parameter, but it still doesn't work. i even tried changing the classpath from the minecraft_server-mcpremap (containing MCP class names/methods/fields) to the obfuscated version (obfuscated everything, no packages), but none of that works
and ive also tried supplying --srg-in
with a folder which contains files like fields.csv, joined.srg, packaged.srg, etc. that didn't work either
from specialsource.
You can't mix -classpath and -jar. Read the forum post example closely.
from specialsource.
ah i see. i managed to get it to remap the function :) using java -cp specialsource.jar;minecraft_server-mcpremap.jar net.md_5.specialsource.SpecialSource --live -i ModFileMCP.jar -o ModFileObfus.jar -m obf2srg.srg --reverse
thanks for helping too :)))
from specialsource.
It seems that the issue raised applies when using SpecialSource jar in BuildTools.jar directory ./BuildData/bin/SpecialSource.jar
, even with the manual commands presented in https://www.spigotmc.org/threads/spigot-bungeecord-1-17-1-17-1.510208/#post-4184317
from specialsource.
Related Issues (20)
- SourceFile attribute is not remapped HOT 2
- Error when run SpecialSource HOT 1
- no main class found HOT 4
- Dependencies with remapped source are unable to be depended on cleanly. HOT 2
- NPC plugin HOT 1
- dont build it! HOT 1
- Fields that shadow remappable fields get inadvertently remapped when referred to from a subclass HOT 2
- Records aren't mapped properly HOT 5
- Suggestion: Include instructions on how to use SpecialSource in the ReadMe file HOT 4
- `FluidState` gets remapped by mistake when running maven `build` HOT 4
- Methods fetched via reflection are renamed, but not fields
- zip END header not found HOT 1
- Class names are mapped twice when loading tsrg reversed
- Doesnt work with java 17
- Method override is not being remapped for subclasses in different modules HOT 1
- Package exclusion not working with T/CSRG mappings
- Package renaming inconsistency for T/CSRG mappings HOT 1
- Class#getDeclaredField not remappable with Proguard mappings
- Java 19 compatibilty. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from specialsource.