diff --git a/.gitignore b/.gitignore index b790580..72498d9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,10 @@ bin/ .vscode/ -.DS_Store \ No newline at end of file +.DS_Store +resources/ + +# Certificates and keys +*.p12 +*.pfx +*.pem +*.crt \ No newline at end of file diff --git a/README.md b/README.md index 50a3e98..aeca538 100644 --- a/README.md +++ b/README.md @@ -44,3 +44,5 @@ If you want the original or older versions made by AlternativaPlatform they can This repository uses the vscode [as3mxml](https://github.com/BowlerHatLLC/vscode-as3mxml) extension with the [Adobe AIR SDK](https://airsdk.harman.com/download) 51 from HARMAN, however the project should be able to build and run with any sdk that can target atleast flashplayer 11. To build just run one of the actionscript build tasks from vscode, such as `compile release` or `compile debug`, which will output the game into the `bin/` folder. To run your built client you will need to download the game `data/` folder and `cfg.dxt1.xml` file from the latest Arena or Crash demos (v3) and place them next to `tanki2.swf`, you can find these files [here](https://github.com/MapMakersAndProgrammers/alternativa-demos/tree/master/alternativa/Tanki2.0). + +To package the application you'll need a certificate file (project assumes `./certificate.p12`) and game resources (project assume `data/`, `cfg.dxt1.xml` in `./resources`). diff --git a/TanksTestingTool-app.xml b/TanksTestingTool-app.xml index b3fb7ca..a8dd9ae 100644 --- a/TanksTestingTool-app.xml +++ b/TanksTestingTool-app.xml @@ -18,10 +18,10 @@ TanksTestingTool - tanki2 + Tanki Online 2.0 - + 64 @@ -31,7 +31,7 @@ Values can also be 1-part or 2-part. It is not necessary to have a 3-part value. An updated version of application must have a versionNumber value higher than the previous version. Required for namespace >= 2.5 . For iOS Apps, this represents build number. --> - 1.0.0 + 3 - + Tanki Online 2.0 diff --git a/asconfig.json b/asconfig.json index 505aa41..9624271 100644 --- a/asconfig.json +++ b/asconfig.json @@ -9,10 +9,31 @@ "default-frame-rate": 100, "default-size": { "width": 1024, - "height": 1024 + "height": 768 }, "swf-version": 13 }, + "airOptions": { + "output": "bin/TanksTestingTool.air", + "signingOptions": { + "storetype": "pkcs12", + "keystore": "certificate.p12" + }, + "windows": { + "target": "bundle", + "output": "bin/windows" + }, + "files": [ + { + "file": "resources/data", + "path": "data" + }, + { + "file": "resources/cfg.dxt1.xml", + "path": "cfg.dxt1.xml" + } + ] + }, "mainClass": "TanksTestingTool", "application": "TanksTestingTool-app.xml" } \ No newline at end of file