• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

OTClient How to have two different OTClients on one phone?

Tibia Idle

Active Member
Joined
Nov 23, 2023
Messages
149
Reaction score
28
Is it possible to install two different OTClients on the same Android phone so they work independently? I tried changing the package name in AndroidManifest.xml, but the app crashes. Does anyone know what else needs to be modified to make both versions work properly?
 
Could you say something more? How to achieve such an effect? I completely don't know anything about mobile applications.
You application is detected by Android as com.otclientv8. That's how packages are named in Java language (like domain in reverse order, so test.gesior.com is com.gesior.test) and first Android apps were Java based (maybe still are), so that's what is important for Android, when you install new app:
That's why when you compile "your version" of OTCv8 Android app it's in conflict with other OTCv8 installed on phone.

I would just replace every string otclientv8 in otcv8-dev folder with myotc (your OTS name) and then replace all folders in otcv8-dev that contains otclientv8 in name with myotc. That way it would be renamed everywhere in Windows/Linux/Android.

I tried changing the package name in AndroidManifest.xml, but the app crashes
Attempts to edit just part of information may fail, as Android may expect manifest XML/Java file/C++ code to use same 'package name' for security reasons.
 
You application is detected by Android as com.otclientv8. That's how packages are named in Java language (like domain in reverse order, so test.gesior.com is com.gesior.test) and first Android apps were Java based (maybe still are), so that's what is important for Android, when you install new app:
That's why when you compile "your version" of OTCv8 Android app it's in conflict with other OTCv8 installed on phone.

I would just replace every string otclientv8 in otcv8-dev folder with myotc (your OTS name) and then replace all folders in otcv8-dev that contains otclientv8 in name with myotc. That way it would be renamed everywhere in Windows/Linux/Android.


Attempts to edit just part of information may fail, as Android may expect manifest XML/Java file/C++ code to use same 'package name' for security reasons.
Here we go again with linking otcv8-dev repo 😩
 
Back
Top