Page 1 of 2

Is there a way to test out created content?

Posted: Fri Jul 24, 2020 3:21 pm
by BiasZebra
I've created some content on the ATCS, and I'm wondering if there's a way for me to test it out. It's nothing massive, just 9 maps and three quests, but I want to make sure that the quests don't have any bugs and the dialogue works properly. Is there a way for me to somehow play the game with the altered and created content included?

Re: Is there a way to test out created content?

Posted: Fri Jul 24, 2020 4:31 pm
by Nut
In short words: You should have your Andors-Trail sources twice on your pc, in different directories. First the version fir ATCS, the other as output.
In ATCS is an option Export Project, use this to merge the ATCS project into the sources. This can be compiled with Android Studio.

Re: Is there a way to test out created content?

Posted: Fri Jul 24, 2020 5:16 pm
by rijackson741
You need the sources from here: https://github.com/AndorsTrailRelease/andors-trail
Also install this version of Android Studio (not the latest version!): https://www.dropbox.com/s/cy924oqpaori5 ... s.exe?dl=0

Re: Is there a way to test out created content?

Posted: Fri Jul 24, 2020 11:12 pm
by BiasZebra
Do you have a link to an Android Studio tutorial? I'm not the biggest code head around, and the UI looks pretty dense.

I got an emulator running, but I'm not sure how to run the AT app. From superficial research, I get that I need to open a build.gradle file, but I can't seem to locate that

Re: Is there a way to test out created content?

Posted: Sat Jul 25, 2020 12:32 pm
by rijackson741
Nooooo! Do not migrate the project to gradle! We do not support it (yet), and that will break everything!

I'll write up something that hopefully will get you there.

Re: Is there a way to test out created content?

Posted: Sat Jul 25, 2020 12:45 pm
by JaSP
You should test the APK on a real device. If you have access to a system like Debian, the build with Gradle is documented on GitHub. If you have a GitHub account, Travis CI may build the APK for you.

Re: Is there a way to test out created content?

Posted: Sun Aug 23, 2020 2:22 pm
by BiasZebra
rijackson741 wrote: Sat Jul 25, 2020 12:32 pm Nooooo! Do not migrate the project to gradle! We do not support it (yet), and that will break everything!

I'll write up something that hopefully will get you there.
I'm sorry if I'm being a bit needy, but can you help me out with setting up an APK on Travis? I got a project created, but I'm not sure which file to add to my repository (assuming that's the correct way to do it, probably isn't even close =/)

Re: Is there a way to test out created content?

Posted: Sun Aug 23, 2020 7:27 pm
by Gonk
First step would be to get the regular sources build.
Travis CI might be the easiest way and maybe JaSP can help you.

Then try the APK on your phone. Sideloading, etc. I could help you on that part.

If everything is working I can show you how to integrate your ATCS content in the AT sources and then create a build containing your changes.

It sounds more complicated than it is. The hardest part is getting a working build and here JaSP can help to make it simple. If all this is absolutely not working then someone could create a build for you, but it won't be practical to develop content that way.

Re: Is there a way to test out created content?

Posted: Mon Aug 24, 2020 12:10 am
by JaSP
BiasZebra wrote: Sun Aug 23, 2020 2:22 pm can you help me out with setting up an APK on Travis?
What is your GitHub account?

Re: Is there a way to test out created content?

Posted: Sat May 08, 2021 6:02 pm
by BiasZebra
rijackson741 wrote: Sat Jul 25, 2020 12:32 pm Nooooo! Do not migrate the project to gradle! We do not support it (yet), and that will break everything!

I'll write up something that hopefully will get you there.
Been a while since I came here. Sorry about that, life got in the way!

If possible, can you help me out with getting a build with Travis or the such? I'm still new to programming, so I'm not sure where to start.