{"id":17548806,"url":"https://github.com/lslezak/apk2zip","last_synced_at":"2025-03-07T01:31:06.459Z","repository":{"id":40532878,"uuid":"69150223","full_name":"lslezak/apk2zip","owner":"lslezak","description":"Obsolete repository!","archived":true,"fork":false,"pushed_at":"2024-11-24T13:05:21.000Z","size":16,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-03T19:13:51.627Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lslezak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-25T07:36:24.000Z","updated_at":"2024-11-24T13:06:19.000Z","dependencies_parsed_at":"2024-11-24T15:15:23.747Z","dependency_job_id":null,"html_url":"https://github.com/lslezak/apk2zip","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lslezak%2Fapk2zip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lslezak%2Fapk2zip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lslezak%2Fapk2zip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lslezak%2Fapk2zip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lslezak","download_url":"https://codeload.github.com/lslezak/apk2zip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242313596,"owners_count":20107338,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-21T02:44:19.210Z","updated_at":"2025-03-07T01:31:06.441Z","avatar_url":"https://github.com/lslezak.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MSTS Activity to ZIP Converter\n\n\u003e [!NOTE]\n\u003e Obsolete repository, a newer implementation is available at https://github.com/lslezak/msts2zip\n\nThis is a converter for the Microsoft Train Simulator (MSTS) APK activity files.\nIt can convert the APK files to the more commonly used ZIP format.\n\nYou can use it with [OpenRails](http://openrails.org/)\nor when your original MSTS unpacking utility does not work properly.\n\n## The On-line Version\n\nIf you cannot run Ruby scripts in your system or the installation procedure is\ntoo complicated for you then you can try the [on-line version](\nhttps://msts2zip.herokuapp.com/).\nIt is basically a web wrapper around this script.\n\n## Usage\n\n### Installation\n\nFirst you need to install the required Ruby gems, the easiest way is to install\nthem into a `vendor` subdirectory:\n\n```shell\nbundle install --path vendor\n```\n\n### Conversion\n\nSimly run `bundler exec ./apk2zip \u003capk_file\u003e` where `\u003capk_file\u003e` is the APK file to convert.\n\n##### Example\n\n```console\n# bundler exec ./apk2zip rt_82120.apk\nReading APK file rt_82120.apk...\nThe activity is for route 'Breclav - Praha'\nFound 51 files inside\nCreating ZIP file...\nSaved to rt_82120.zip\n```\n\n### Running the Server Locally\n\nTo test the web application locally run\n\n```shell\nbundle exec rackup config.ru\n```\n\nand connect to this URL: [http://localhost:9292](http://localhost:9292)\n\n### Unpacking the ZIP File\n\nThen unpack the ZIP file into your MSTS base directory or if you use OpenRails into the selected profile.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flslezak%2Fapk2zip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flslezak%2Fapk2zip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flslezak%2Fapk2zip/lists"}