Making activities into APK files

The MSTS Activity Editor allows you to make your own activities, or missions, for the player to complete. This is also how you can get lots of other trains running while you drive yours!

Moderator: Moderators

Locked
User avatar
Zackybong1
Very Active Forum Member
Posts: 1591
Joined: Sat Jul 06, 2002 10:19 am
Location: SHED CODE 30E

Making activities into APK files

Post by Zackybong1 »

How do you turn activities into uploadable APK files. The forum seems to assume we all know how to do it.

Please help me. I've got some good activities.
User avatar
phill70
Has a sign reading.. Its NOT the end of the world!
Posts: 8767
Joined: Mon Sep 23, 2002 8:01 pm
Location: Basingstoke, where you just go around in circles and end up where you started.

Post by phill70 »

Hi, all you do is when you have written your activity, in the activity editor do file | package activity
This makes an APK file with the activity, all services, traffic and consists
thats it, have fun
Glyn Phillips
tdurbo
Established Forum Member
Posts: 322
Joined: Wed Dec 11, 2002 10:48 am
Location: Derbyshire

Post by tdurbo »

...just put a readme people can see before they download showing if any stock is needed? Please?
"She made me wash me owd man in the sink"

"You took your dad to a prostitute??"
User avatar
asalmon
Very Active Forum Member
Posts: 5190
Joined: Sun Dec 23, 2001 12:00 am
Location: near Bristol

Post by asalmon »

Better still use the links facility of the library so you can download the stock in one go!

Oh, and when you've made the APK try running it to make sure it works, if the route folder has been renamed the pack silently fails - there are one or two routes out where the author renamed the folder just before distribution

-Alan
User avatar
peiper
Getting the hang of things now
Posts: 18
Joined: Wed Jan 30, 2002 12:00 am
Location: Warsaw, Poland

Post by peiper »

Hi all,

...but even if the activity author would manage to unpack the .apk file, it does not guarantee that it is OK. Much better to "hire" some beta tester :D or simply unpack it on any PC other than the one used to create the activity - if it runs OK on second machine, it would probably run OK on any other one as well.

Rgds,
JH
User avatar
asalmon
Very Active Forum Member
Posts: 5190
Joined: Sun Dec 23, 2001 12:00 am
Location: near Bristol

Post by asalmon »

Yes indeed.

I meant to test that the file does actually unpack (rather than say "more files expected") rather than to test that the activity actually works! :)

-Alan
iainstronach
Getting the hang of things now
Posts: 67
Joined: Wed Jun 05, 2002 12:00 am
Location: Stockport UK

Post by iainstronach »

asalmon wrote:Better still use the links facility of the library so you can download the stock in one go!


-Alan
Can you explain how the above works I am not sure I understand, though it sounds as if it could be very usefull

Iain
User avatar
asalmon
Very Active Forum Member
Posts: 5190
Joined: Sun Dec 23, 2001 12:00 am
Location: near Bristol

Post by asalmon »

Once you have uploaded your file, and its been approved, go into it through "view my uploads" and click the (i) button.

Then click on "add related file" which opens the standard file search form, find the file then click on the R button along side the relevant file. Repeat as necessary.

I think that's it, but it is a bit early in the morning for such technical stuff! :)


-Alan
iainstronach
Getting the hang of things now
Posts: 67
Joined: Wed Jun 05, 2002 12:00 am
Location: Stockport UK

Post by iainstronach »

Alan

7:32.... I was still in the land of nod

Thanks for the reply

Not sure if I fully understand, but will study in more detail tonight

Iain
User avatar
Fodda
Very Active Forum Member
Posts: 6157
Joined: Fri Feb 22, 2002 12:00 am
Location: Bristol, England

Post by Fodda »

It makes a lot more sense when you're actually doing it than reading about it. Easy really, if a little long-winded sometimes.
Locked

Return to “[MSTS1] Activity Creation”