Giter Site home page Giter Site logo

mtalauncher's People

Contributors

qaisjp avatar

Stargazers

 avatar

Watchers

 avatar  avatar

mtalauncher's Issues

Add open directory buttons

Buttons to open the GTA/MTA directory in the default file browser.

  • GTA: Open the file:///[~]/Library/Application%20Support/Multi%20Theft%20Auto/GTA folder
  • MTA: Open the file://[NSBundle.mainBundle.bundleURL]/wrapper.app/drive_c/Program%20Files/Multi%Theft%Auto/ folder

The execution process

This is the execution process as outlined:

  1. Open wrapper.app/Contents/Resources/system.reg and scan the file for a line in the format of "noav-last-asked-time"="%d", replace this line with a line in the format of "noav-last-asked-time="%now+1"

This is required to force the botnet issue to close.

  1. Open the app as if it was double clicked ( "open wrapper.app" command line or using some Cocoa method )

First time install process

User downloads ~50mb .DMG file
User presses MTA.app in the DMG file

App detects it is run in the DMG (cannot write to the disk if in a DMG anyway)
Ask user whether we should move MTA.app to the Applications folder (and provide a button to manually let them select the location). Also ask if we should delete the dmg image.

MTA is moved to safe place, the app spawns a fresh new version of itself and also ejects the image. It deletes the image if true.

Unpack wrapper.7z
Set up fonts:

  • cd wrapper.app/drive_c/Windows/Fonts
  • ln /Library/Fonts/Tahoma\ Bold.ttf tahomabd.ttf
  • ln /Library/Fonts/Tahoma.ttf tahoma.ttf
  • ln /Library/Fonts/Verdana.ttf verdana.ttf

Set up symbolic links in the user directory of the wrapper to the real user directory
Download mta.7z
Install mta.7z's files
Carry on with normal flow

Go multi-threaded in MTAPathFinder

The MTAPathFinder.m is not multi-threaded and doesn't make use of the status bar correctly. Updates are only shown after it's all done and the only time it can be seen live is in the Foundation panel class.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.