recursiveg / yet-another-input-fix Goto Github PK
View Code? Open in Web Editor NEWAn advanced InputFix Mod for Minecraft. Using ASM to allow people using IME.
An advanced InputFix Mod for Minecraft. Using ASM to allow people using IME.
The IME words select dialog not show up when typing in TextField
Linux3.18, Gnome3.14, iBus1.5.10, Oracle Java8, using version of commit de44bbd
可以弄个1.8.X的版本吗?
Environment:
Arch Linux, up to date
java-common 1-8
jdk7-openjdk 7.u65_2.5.2-1
jre7-openjdk 7.u65_2.5.2-1
jre7-openjdk-headless 7.u65_2.5.2-1
jdk8-openjdk 8.u20-1
jre8-openjdk 8.u20-1
jre8-openjdk-headless 8.u20-1
Crash report:
---- Minecraft Crash Report ----
// I feel sad now :(
Time: 9/15/14 6:04 PM
Description: Initializing game
cpw.mods.fml.relauncher.FMLSecurityManager$ExitTrappedException
at cpw.mods.fml.relauncher.FMLSecurityManager.checkPermission(FMLSecurityManager.java:25)
at java.lang.SecurityManager.checkExit(SecurityManager.java:761)
at javax.swing.JFrame.setDefaultCloseOperation(JFrame.java:388)
at org.devinprogress.YAIF.InputFieldWrapper.<init>(InputFieldWrapper.java:45)
at org.devinprogress.YAIF.YetAnotherInputFix.SetupTextFieldWrapper(YetAnotherInputFix.java:43)
at net.minecraft.client.Minecraft.func_71384_a(MinecraftOverlay.java:430)
at net.minecraft.client.Minecraft.func_99999_d(MinecraftOverlay.java:815)
at net.minecraft.client.main.Main.main(SourceFile:103)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at cpw.mods.fml.relauncher.FMLSecurityManager.checkPermission(FMLSecurityManager.java:25)
at java.lang.SecurityManager.checkExit(SecurityManager.java:761)
at javax.swing.JFrame.setDefaultCloseOperation(JFrame.java:388)
at org.devinprogress.YAIF.InputFieldWrapper.<init>(InputFieldWrapper.java:45)
at org.devinprogress.YAIF.YetAnotherInputFix.SetupTextFieldWrapper(YetAnotherInputFix.java:43)
at net.minecraft.client.Minecraft.func_71384_a(MinecraftOverlay.java:430)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(MinecraftOverlay.java:815)
at net.minecraft.client.main.Main.main(SourceFile:103)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
-- System Details --
Details:
Minecraft Version: 1.7.2
Operating System: Linux (amd64) version 3.16.2-1-ARCH
Java Version: 1.7.0_65, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 77026192 bytes (73 MB) / 182472704 bytes (174 MB) up to 1060372480 bytes (1011 MB)
JVM Flags: 5 total; -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
Mod Pack: ~~ERROR~~ NullPointerException: null
LiteLoader Mods: ~~ERROR~~ NullPointerException: null
LaunchWrapper: 21 active transformer(s)
- Transformer: cpw.mods.fml.common.asm.transformers.PatchingTransformer
- Transformer: optifine.OptiFineClassTransformer
- Transformer: cpw.mods.fml.common.asm.transformers.MarkerTransformer
- Transformer: cpw.mods.fml.common.asm.transformers.SideTransformer
- Transformer: cpw.mods.fml.common.asm.transformers.EventSubscriptionTransformer
- Transformer: atomicstryker.dynamiclights.common.DLTransformer
- Transformer: org.devinprogress.YAIF.Transformer
- Transformer: com.mumfrey.liteloader.launch.LiteLoaderTransformer
- Transformer: com.mumfrey.liteloader.core.transformers.CrashReportTransformer
- Transformer: cpw.mods.fml.common.asm.transformers.DeobfuscationTransformer
- Transformer: cpw.mods.fml.common.asm.transformers.AccessTransformer
- Transformer: net.minecraftforge.transformers.ForgeAccessTransformer
- Transformer: shadersmodcore.transform.SMCClassTransformer
- Transformer: com.mumfrey.liteloader.core.transformers.LiteLoaderCallbackInjectionTransformer
- Transformer: com.mumfrey.liteloader.core.transformers.ChatPacketTransformer
- Transformer: com.mumfrey.liteloader.core.transformers.ServerCustomPayloadPacketTransformer
- Transformer: com.mumfrey.liteloader.core.transformers.ServerChatPacketTransformer
- Transformer: com.mumfrey.liteloader.core.transformers.JoinGamePacketTransformer
- Transformer: com.mumfrey.liteloader.core.transformers.MinecraftOverlayTransformer
- Transformer: com.mumfrey.liteloader.core.transformers.LoginSuccessPacketTransformer
- Transformer: com.mumfrey.liteloader.core.transformers.CustomPayloadPacketTransformer
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
Launched Version: 1.7.2-Forge10.12.2.1147
LWJGL: 2.9.0
OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: []
Current Language: ~~ERROR~~ NullPointerException: null
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
Anisotropic Filtering: Off (1)
log:
[19:58:29] [Client thread/INFO]: [CHAT] [喵] LastAvengers 来啦喵~
[19:58:29] [Client thread/INFO]: [CHAT] にゃんぱすー欢迎 [喵] LastAvengers 回来喵~ 当前世界时间为 0184-7-11 00:17
[19:58:29] [Client thread/INFO]: [CHAT] 主页 http://nyaa.cat | Wiki https://wiki.nyaa.cat | 论坛 https://bbs.nyaa.cat
[19:58:29] [Client thread/INFO]: [CHAT] 新玩家请使用 /rules 命令查看服务器规则和指南。
[19:58:29] [Client thread/INFO]: [CHAT] 请使用 /ping 查看游戏延迟,如果延迟较高,请联系管理员协助解决。
[19:58:29] [Client thread/INFO]: [CHAT] 管理员募集中 http://t.cn/Rtz4hnG
[19:58:29] [Client thread/INFO]: [CHAT] 你没有新的邮件
[19:58:30] [Voxelmap WorldMap Calculation Thread 1/INFO] [STDOUT]: [com.mamiyaotaru.voxelmap.b.z:run:-1]: loaded chunks in local region: 0
[19:58:30] [Voxelmap WorldMap Calculation Thread 1/INFO] [STDOUT]: [com.mamiyaotaru.voxelmap.b.z:run:-1]: took too long to load region, bailing
[19:58:30] [Voxelmap WorldMap Calculation Thread 1/INFO] [STDOUT]: [com.mamiyaotaru.voxelmap.b.z:run:-1]: going to load current region
[19:58:31] [Voxelmap WorldMap Calculation Thread 1/INFO] [STDOUT]: [com.mamiyaotaru.voxelmap.b.z:run:-1]: loaded chunks in local region: 0
[19:58:31] [Voxelmap WorldMap Calculation Thread 1/INFO] [STDOUT]: [com.mamiyaotaru.voxelmap.b.z:run:-1]: took too long to load region, bailing
[19:58:31] [Voxelmap WorldMap Calculation Thread 1/INFO] [STDOUT]: [com.mamiyaotaru.voxelmap.b.z:run:-1]: going to load current region
[19:58:31] [Client thread/INFO] [STDOUT]: [com.mamiyaotaru.voxelmap.u:do:-1]: New world name: c5e832f5-dfdf-4e8d-9251-5a9132beeaf6
[19:58:31] [Client thread/INFO]: [CHAT] *[喵] OrganicTao 硝化甘油 暂时离开了.
[19:58:32] [Voxelmap WorldMap Calculation Thread 1/INFO] [STDOUT]: [com.mamiyaotaru.voxelmap.b.z:run:-1]: loaded chunks in local region: 0
[19:58:32] [Voxelmap WorldMap Calculation Thread 1/INFO] [STDOUT]: [com.mamiyaotaru.voxelmap.b.z:run:-1]: took too long to load region, bailing
[19:58:32] [Voxelmap WorldMap Calculation Thread 1/INFO] [STDOUT]: [com.mamiyaotaru.voxelmap.b.z:run:-1]: remaining regions: 5
[19:58:34] [Client thread/INFO] [LiteLoader]: Baking listener list for OutboundChatFilter with 1 listeners
[19:58:34] [Client thread/INFO]: [CHAT] 现金:节4833.91
[19:58:37] [Client thread/INFO]: [CHAT] 命令成功执行
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007feaf50697ba, pid=4423, tid=0x00007feab525f700
#
# JRE version: OpenJDK Runtime Environment (8.0_102-b14) (build 1.8.0_102-b14)
# Java VM: OpenJDK 64-Bit Server VM (25.102-b14 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# v ~BufferBlob::jni_fast_GetLongField
#
# Core dump written. Default location: /home/la/.minecraft/core or core.4423
#
# An error report file with more information is saved as:
# /home/la/.minecraft/hs_err_pid4423.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
It seems that this mod is not working with fcitx, e.g. Sogou Pinyin under Linux no mater how hard I tried. I'm running Ubuntu with Gnome user interface (yes I don't like the default Unity UI). I can see that white input toolbar in game but could not type any Chinese with fcitx or switch between different input methods either. Even though I forced my system input into Sogou Pinyin, I could still input English instead.
So could you make this mod works with fcitx, at least with Sogou PInyin please? Your Yet-Another-Input-Fix is literally my last final hop that I can type Chinese properly in Minecraft under Linux. I have tried the bash script stuff (https://github.com/Hagb/MIH) but the zenity window doesn't even show up at all in Minecraft. So please please please add support with fcitx.
这个mod好像并不支持fcitx类输入法, 比如搜狗输入法。我在用Ubuntu和Gnome版UI(嗯我不喜欢官方的Unity UI)。游戏里我可以看见那个白色的输入工具条但并不能打中文甚至切换别的输入法。即使我强制使用搜狗输入法,打字的时候还是只有英文。
请问可以添加对fcitx的支持吗?或者至少支持搜狗输入法。这个Yet-Another-Input-Fix可以说是我能在Linux版Minecraft正常打中文的最后希望了。我已经试过那个bash脚本(https://github.com/Hagb/MIH)但他那个zenity对话框根本就出不来。所以拜托拜托拜托请务必添加对fcitx的支持。 Orz
My system spec are 我的系统参数如下:
Ubuntu 17.04 with Gnome https://wiki.ubuntu.com/ZestyZapus/ReleaseNotes/UbuntuGNOME (I don't think the mod is going to work with the default "unity" UI either. 我觉得这个mod在unity UI下也会有同样的问题)
fcitx 4.2.9.1-6 (installed with apt-get 用apt-get装的)
Sogou Pinyin Input 2.1.0.0086 http://pinyin.sogou.com/linux/?r=pinyin
If you need more information please let me know in any time :)
如果你需要更多信息的话请随时问我哈 :)
Mac OS X 10.12.1
JRE 1.8.0_74 64-bit
Minecraft 1.10.2 Forge 12.18.2.2099
YAIF 0.5-beta
进入某世界后鼠标就不能动了。
[main/INFO] [FML]: Successfully transformed method func_71384_a()V in class bcx(net.minecraft.client.Minecraft)
[Client thread/INFO] [YAIF]: Now setting Wrapper {Width:854, Hight:480}
[Client thread/WARN] [yaif]: Mod yaif is missing the required element 'version' and a version.properties file could not be found. Falling back to metadata version 0.5-beta
[Client thread/INFO] [FML]: Successfully transformed method func_146195_b(Z)V in class bdv(net.minecraft.client.gui.GuiTextField)
[Netty Local Client IO #0/INFO] [FML]: Successfully transformed method func_147274_a(Lnet/minecraft/network/play/server/SPacketTabComplete;)V in class bll(net.minecraft.client.network.NetHandlerPlayClient)
[Client thread/WARN] [YAIF]: Loading new bridge without releasing previous one
When I resize window, it becomes black screen
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.