Comments (5)
If you try with versions 2.X, it will work
from recaf.
The mappings provided do not throw the NPE you'be listed with the class file you've given in 4.X
I assume some other class is causing the problem to occur. What game version are you targeting?
from recaf.
the game is runned in java 8
from recaf.
and i am using the newest github dev branch, could it be the issue with that?
here is a small video of me applying it, am i doing it right?
also here is the class file with the mappings
stuff.zip
2024-05-09.22-33-04.mp4
mabye its my issue with the branch or its a generic issue?
from recaf.
I'm not sure why I don't see the same issue on dev4
with the files you've originally provided but I did notice the field names weren't being applied. I'll push up the fix for that in a bit and it may also solve this NPE problem as well.
The gist is the mapping applier assumes all formats have fields declare what type they are, but SRG does not. Making the applier aware of this instead of assuming they all support it should work.
from recaf.
Related Issues (20)
- RuntimeVisibleAnnotations, RuntimeInvisibleAnnotations modify feature request
- A question. Is it possible to compile decompiled j2me-code? HOT 3
- Tiny V2 Mapping support HOT 1
- Tiny v1 mapping don't work HOT 6
- Cannot run Recaf 4.X on Windows HOT 4
- Please add search features to 4.x HOT 1
- Unsupported class file major version 65 HOT 2
- Unable to open Kotlin classes in Assembler HOT 1
- Classes not being updated in the information panel. HOT 1
- Methods to have their argument types on sides HOT 2
- The `default` window style gives unreadable white text HOT 1
- AgentInitializationException: Agent JAR loaded but agent failed to initialize when trying to attach to a running VM HOT 5
- Light theme option
- Impossible class rename HOT 1
- Cannot rename or open unicode named classes / variables in the code editor. HOT 1
- Restore FallbackDecompiler on 4.x branch
- 4.X primary TODO list.
- Export files as-is from Recaf to outside
- can not running on mac os HOT 1
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 recaf.