Building AT on Android

Discussions of the development process of the game.
User avatar
rijackson741
Posts: 2168
Joined: Tue Aug 20, 2013 2:04 am
android_version: 9.0 - Pie
Location: Somewhere in Dhayavar

Re: Building AT on Android

Post by rijackson741 » Thu Jan 18, 2018 8:12 pm

I misunderstood. I thought when you said "nothing" you meant the game wouldn't launch.

Did you modify loadresources.xml to include your new json and map files? You need to do that. Note that the json needs to be created by exporting the project from ATCS.
Level: 64, XP: 4734786, HP: 196, AC: 246%, AD: 49-59, AP: 3, ECC: 25%, CM: 3, BC: 127%, DR: 2
Gold: 232355 | RoLS: 1, RoL: 1, GoW: 1
HH: 1, CS: 2, IF: 4, Ev: 3, Re: 2, WP:DA: 1, WP:1S: 1, AP:L: 1, FS:DW: 2, S:DW: 1
SR

User avatar
Zukero
Lead Developer
Posts: 1735
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0

Re: Building AT on Android

Post by Zukero » Thu Jan 18, 2018 8:59 pm

You need to add your resources to the loadresources.xml file under res/values/
You also need to alter at least one existing map to add a mapchange area leading to your own maps (if you created maps).
Finally, you may need to ask AIDE to "refresh" the res folder, or to "clean" the project in order to ensure that the R.java file is regenerated by aapt. If R.java doesn't contain references to your own content, while your files are definitely there according to AIDE, you can simply delete R.java before running the game.
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2

User avatar
Shadow Slayer
Posts: 56
Joined: Fri Jan 05, 2018 10:22 am
android_version: 4.4 - Kitkat
Location: Vacor's Hideout (Temporarily Retired)(Real Life Location, I WILL NOT TELL YOU:))

Re: Building AT on Android

Post by Shadow Slayer » Fri Jan 19, 2018 2:08 pm

when I added my content I couldn't save it because it asked me to buy the full version, I do not know how to clean or refresh project?
They called it the Shadow, and started creating a small cult around it, Only the smallest core of the cult actually knows that this power comes from the Kazaul-era dark arts...

User avatar
Zukero
Lead Developer
Posts: 1735
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0

Re: Building AT on Android

Post by Zukero » Fri Jan 19, 2018 4:48 pm

You can't use the free version of AIDE to do anything useful. Period.
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2

User avatar
Shadow Slayer
Posts: 56
Joined: Fri Jan 05, 2018 10:22 am
android_version: 4.4 - Kitkat
Location: Vacor's Hideout (Temporarily Retired)(Real Life Location, I WILL NOT TELL YOU:))

Re: Building AT on Android

Post by Shadow Slayer » Fri Jan 19, 2018 11:50 pm

Oh no, Looks like i'll have to buy it, but £14 just to save a file, WoW, But I guess AT is worth it (NOBODY WILL STOP ME, I WILL SOON BE CREATING PROPER CONTENT!!!!!! :D :lol: :D !!!!)
They called it the Shadow, and started creating a small cult around it, Only the smallest core of the cult actually knows that this power comes from the Kazaul-era dark arts...

User avatar
Shadow Slayer
Posts: 56
Joined: Fri Jan 05, 2018 10:22 am
android_version: 4.4 - Kitkat
Location: Vacor's Hideout (Temporarily Retired)(Real Life Location, I WILL NOT TELL YOU:))

Re: Building AT on Android

Post by Shadow Slayer » Mon Jan 22, 2018 8:57 am

Unfortunately I don't think this will happen soon... (My Phone Broke) :?
They called it the Shadow, and started creating a small cult around it, Only the smallest core of the cult actually knows that this power comes from the Kazaul-era dark arts...

User avatar
Zukero
Lead Developer
Posts: 1735
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0

Re: Building AT on Android

Post by Zukero » Mon Jan 22, 2018 9:21 am

:cry: on the upside, you saved 14 quids. :roll:
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2

User avatar
Shadow Slayer
Posts: 56
Joined: Fri Jan 05, 2018 10:22 am
android_version: 4.4 - Kitkat
Location: Vacor's Hideout (Temporarily Retired)(Real Life Location, I WILL NOT TELL YOU:))

Re: Building AT on Android

Post by Shadow Slayer » Mon Jan 22, 2018 9:37 am

Zukero wrote:
Mon Jan 22, 2018 9:21 am
:cry: on the upside, you saved 14 quids. :roll:
lol :lol:
Maybe I will try to create AT on my laptop if that's possible,
and then add my content, I heard somewhere on the forums
that you can get Android Studio on laptop and its free?
They called it the Shadow, and started creating a small cult around it, Only the smallest core of the cult actually knows that this power comes from the Kazaul-era dark arts...

User avatar
Zukero
Lead Developer
Posts: 1735
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0

Re: Building AT on Android

Post by Zukero » Mon Jan 22, 2018 10:09 am

Yes. The best place to work on AT is a desktop/laptop computer.

I recently tried Android Studio 3.0, and it's forcing a bunch of changes to the layout of the source code, which I don't want to deal with until after we release the next version.
I suggest you to stick to Android Studio 2.X if you can find it, or Eclipse with the ADT plugin, which has been abandoned by Google a while ago, but still works fine if you're willing to jump through a few hoops to set it up.

For testing, I recommend installing VirtualBox (or another Virtual Machine system), and creating at least one Android VM using ISOs from androidx86.org.
There are some more hoops to jump through to attach such a VM to the android debugger (set up networking correctly, connect manually using the command line...), but it's neither hard, nor long, and there are plenty of tutorials out there.
You'll need this even more as you no longer have a phone handy.

As a bonus, you'll be able to have ATCS and Android Studio (or Eclipse) running side by side (if you have at least 8GB RAM. Possible with 4GB, but painful).

Finally, it will also let you use Git, but as it seems you're new to development tools, you should get familiar with the rest before looking at Git. Git is powerful, convenient, reliable, and a bit hard to understand and use when you're not familiar with it.
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2

User avatar
Shadow Slayer
Posts: 56
Joined: Fri Jan 05, 2018 10:22 am
android_version: 4.4 - Kitkat
Location: Vacor's Hideout (Temporarily Retired)(Real Life Location, I WILL NOT TELL YOU:))

Re: Building AT on Android

Post by Shadow Slayer » Mon Jan 22, 2018 10:21 am

So I need to use virtual box to test Andor's Trail, and I need Android studio for what then, Is it that after I compile Andors Trail it will only work on virtual box or could I just download the apk on my laptop without virtual box after compiling it in android studio?
They called it the Shadow, and started creating a small cult around it, Only the smallest core of the cult actually knows that this power comes from the Kazaul-era dark arts...

Post Reply