Pandanet Auto Zoom In Cancellation On Mobiles

Comments, questions, rants, etc, that are specifically about IGS go here.
Post Reply
PlaySlow
Lives with ko
Posts: 176
Joined: Sat Jun 20, 2015 2:17 am
Rank: 4 Kyu
GD Posts: 0
KGS: Wretched, Secil, PlaySlow
Tygem: PlaySlow
Wbaduk: Eksert
Has thanked: 102 times
Been thanked: 7 times

Pandanet Auto Zoom In Cancellation On Mobiles

Post by PlaySlow »

Is there a way to cancel the automatic zooming in for Pandanet in Note 4 or any other cell phone? It does not zoom in automatically in Ipad but in my note 4 it's super annoying.
Thanks for help!
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post by EdLee »

Panda fails 100% on an iPhone 4S, iOS 7 --
it crashes instantly 100% of the time.

Developer: 100% crash is kind of a show-stopper. :shock:
User avatar
horace
Beginner
Posts: 9
Joined: Fri Jan 28, 2011 9:28 am
Rank: 2 dan
GD Posts: 0
Location: Hong Kong
Has thanked: 1 time
Been thanked: 2 times
Contact:

Re: Pandanet Auto Zoom In Cancellation On Mobiles

Post by horace »

I have to reverse engineer the apk to force Pandanet Go to run in tablet mode (no auto-zooming) on my Samsung Note 8. Here is the section of code to be patched:

Code: Select all

.method public static isTablet()Z
    .locals 4

    .prologue
    .line 534
    sget-object v0, Lbe/gentgo/tetsuki/Main;->sInstance:Lbe/gentgo/tetsuki/Main;

    invoke-static {v0}, Lbe/gentgo/tetsuki/Main;->getScreenDiagonalInInch(Landroid/app/Activity;)D

    move-result-wide v0

    const-wide/high16 v2, 0x4014000000000000L    # 5.0

    cmpl-double v0, v0, v2

    if-ltz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x1  # force to tablet mode

    goto :goto_0
.end method


To decompile apk, you will need apktool: https://ibotpeaches.github.io/Apktool/
Post Reply