byteandahalf / GenericLauncher

Launcher template for programmers to create their own MCPE hacked client/launcher.
46 stars 22 forks source link

how to make colored chat? #5

Open Ivanzar opened 9 years ago

Ivanzar commented 9 years ago

how to make colored chat? I understand the need to use C, but I only know Java

byteandahalf commented 9 years ago

Hi

byteandahalf commented 9 years ago

Here is how Coloured Chat is made in BlockLauncher, you should be able to copy that. https://github.com/zhuowei/MCPELauncher/commit/fafba0ba595ca825a2d8d2f4ac32b6a0714be201

Ivanzar commented 9 years ago

@byteandahalf thanks

Ivanzar commented 9 years ago

@byteandahalf How to configure at 0.10?

byteandahalf commented 9 years ago

I don't think there's anything different about 10.0

Ivanzar commented 9 years ago

@byteandahalf Sorry, How to configure at 0.10 Launcher ?

byteandahalf commented 9 years ago

I don't understand.

Ivanzar commented 9 years ago

@byteandahalf how to set up your launcher to work on 0.10?

byteandahalf commented 9 years ago

I'll fix that later.

Ivanzar commented 9 years ago

which file relates to an installation for a specific version of the launcher?

byteandahalf commented 9 years ago

What do you mean?

Ivanzar commented 9 years ago

@byteandahalf the fact is that I do not understand what's inside the skeleton of this application, I would like to know what affects the launcher to a specific version mcpe

zhuowei commented 9 years ago

@Vanzar A few files need to be updated for each version of MCPE: src/com/mojang/minecraftpe/MainActivity.java needs to be updated to provide the Java methods that the C++ Minecraft code calls. jni/main.cpp contains the code that hooks into Minecraft PE, and so those hooks need to be updated when the code they override in MCPE changes.

Ivanzar commented 9 years ago

@zhuowei You can find out how to get this information if you need to unpack Minecraft where there to get it?

zhuowei commented 9 years ago

@Vanzar Go read Byteandahalf's guide to developing addons: https://github.com/byteandahalf/MCPE-NativeMods/wiki/0:-Home It will answer all your questions

Ivanzar commented 9 years ago

@zhuowei Okay, but now I do not have a computer, you could not throw me all the functions libminecraftpe.so