Git Product home page Git Product logo

agpt's Introduction

AGPT

Apple Game Porting Toolkit Installer

This public repository showcases using the brand-new InstallAware Multi Platform to completely automate the installation of Apple's new Game Porting Toolkit, making the process as simple as point-and-click - even for non-developers!

If you are not a developer and are looking for a free way to run PC apps (and games) on your Mac, you may download a ready-to-run app built from this sample, notarized by Apple, at the URL below: www.installaware.com/iamp/agpt.dmg (10.5 MB)

Screenshot 2024-01-07 at 19 59 59

This app works even on Intel Macs and does not require that you download the Apple Game Porting Toolkit from an Apple Developer account.

However, if you do have an Apple Silicon Mac and an Apple Developer account, this sample will also perform additional setup tasks to accelerate 3D games using Apple's brand-new technology.

Please note that you may run any Windows app using this sample, and are not limited to running games only.

If you are a developer, you may customize this sample following the steps below:

  1. Please install InstallAware Multi Platform 1.2 from www.installaware.com/iamp/rtm.dmg. If you have previously installed InstallAware Multi Platform, just run the built-in update tool to upgrade to this version.
  2. Please double-click the MPRX project file in the Finder to open this sample in the InstallAware Multi Platform IDE. While your IDE may ship with an older version of this sample, always check the online repository for the latest version.
  3. For human readable copies of the installation scripts, please take a look at https://github.com/installaware/AGPT/blob/main/Game%20Porting%20Toolkit%20Installer.miax.txt, https://github.com/installaware/AGPT/blob/main/sudo.miax.txt, https://github.com/installaware/AGPT/blob/main/logging.miax.txt, and https://github.com/installaware/AGPT/blob/main/env.miax.txt. Your IDE renders these scripts with syntax highlighting, code folding, undo/redo, etc.

This sample demonstrates intermediate coding techniques using InstallAware Multi Platform.

For more information on InstallAware Multi Platform, please visit https://www.installaware.com/installaware-multi-platform.htm.

Please feel free to contact InstallAware Software at https://www.installaware.com/contact-us.htm.

agpt's People

Contributors

installaware avatar michaelglass avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

agpt's Issues

Error: Tap apple/apple remote mismatch.

I got this error when trying to install the kit:

Error: Tap apple/apple remote mismatch. https://github.com/apple/homebrew-apple != http://github.com/apple/homebrew-apple

It looks like I need to add an s after http, but how do I do that?

Fails at installing wine

image

I have space, i did not have homebrew pre installed. It fails every time. I also have plenty of space on the drive. Currently on Ventura 13.1

Installation of current version fails

Installation of current version fails ...

/private/tmp/game-porting-toolkit-20240317-26917-lidya2/wine/dlls/crypt32/unixlib.c:629:11: error: unknown type name 'SecTrustSettingsDomain'
    const SecTrustSettingsDomain domains[] = {
          ^
/private/tmp/game-porting-toolkit-20240317-26917-lidya2/wine/dlls/crypt32/unixlib.c:630:9: error: use of undeclared identifier 'kSecTrustSettingsDomainSystem'
        kSecTrustSettingsDomainSystem,
        ^
x86_64-w64-mingw32-gcc -c -o dlls/ctapi32/ctapi32.cross.o /private/tmp/game-porting-toolkit-20240317-26917-lidya2/wine/dlls/ctapi32/ctapi32.c \
  -I dlls/ctapi32 -I /private/tmp/game-porting-toolkit-20240317-26917-lidya2/wine/dlls/ctapi32 -I \
  include -I /private/tmp/game-porting-toolkit-20240317-26917-lidya2/wine/include -I \
  /private/tmp/game-porting-toolkit-20240317-26917-lidya2/wine/include/msvcrt -D__WINESRC__ -D_UCRT \
  -D__WINE_PE_BUILD -Wall -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
  -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes \
  -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
  -Wabsolute-value -Wno-format -Wformat-overflow -Wnonnull -mcx16 -gdwarf-4 -Wformat -g -O2
/private/tmp/game-porting-toolkit-20240317-26917-lidya2/wine/dlls/crypt32/unixlib.c:631:9: error: use of undeclared identifier 'kSecTrustSettingsDomainAdmin'
        kSecTrustSettingsDomainAdmin,
        ^
/private/tmp/game-porting-toolkit-20240317-26917-lidya2/wine/dlls/crypt32/unixlib.c:632:9: error: use of undeclared identifier 'kSecTrustSettingsDomainUser'
        kSecTrustSettingsDomainUser
        ^
/private/tmp/game-porting-toolkit-20240317-26917-lidya2/wine/dlls/crypt32/unixlib.c:640:18: warning: this function declaration is not a prototype [-Wstrict-prototypes]
        status = SecTrustSettingsCopyCertificates(domains[domain], &certs);
                 ^
/private/tmp/game-porting-toolkit-20240317-26917-lidya2/wine/dlls/crypt32/unixlib.c:641:23: error: use of undeclared identifier 'noErr'
        if (status == noErr)
                      ^
/private/tmp/game-porting-toolkit-20240317-26917-lidya2/wine/dlls/crypt32/unixlib.c:647:31: warning: this function declaration is not a prototype [-Wstrict-prototypes]
                if ((status = SecItemExport(cert, kSecFormatX509Cert, 0, NULL, &certData)) == noErr)
                              ^
/usr/local/opt/game-porting-toolkit-compiler/bin/clang -m64 -c -o dlls/ctapi32/unixlib.o /private/tmp/game-porting-toolkit-20240317-26917-lidya2/wine/dlls/ctapi32/unixlib.c \
  -ilocal dlls/ctapi32 -ilocal \
  /private/tmp/game-porting-toolkit-20240317-26917-lidya2/wine/dlls/ctapi32 -ilocal include -ilocal \
  /private/tmp/game-porting-toolkit-20240317-26917-lidya2/wine/include -D__WINESRC__ -D_UCRT \
  -DWINE_UNIX_LIB -Wall -pipe -fcf-protection=none -fno-stack-protector -fno-strict-aliasing \
  -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Winit-self -Wno-pragma-pack \
  -Wstrict-prototypes -Wtype-limits -Wvla -Wwrite-strings -Wpointer-arith -fPIC \
  -fasynchronous-unwind-tables -I/usr/local/opt/zlib/include -I/usr/local/opt/freetype/include -I/usr/local/opt/sdl2/include -I/usr/local/opt/libgphoto2/include -I/usr/local/opt/faudio/include -I/usr/local/opt/jpeg/include -I/usr/local/opt/libpng/include -I/usr/local/opt/mpg123/include -I/usr/local/opt/libtiff/include -I/usr/local/opt/libgsm/include -I/usr/local/opt/glib/include -I/usr/local/opt/gnutls/include -I/usr/local/opt/libusb/include -I/usr/local/opt/gettext/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/sane-backends/include -O3 -Wno-implicit-function-declaration -Wno-format -Wno-deprecated-declarations -Wno-incompatible-pointer-types -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
/private/tmp/game-porting-toolkit-20240317-26917-lidya2/wine/dlls/crypt32/unixlib.c:647:51: error: use of undeclared identifier 'kSecFormatX509Cert'
                if ((status = SecItemExport(cert, kSecFormatX509Cert, 0, NULL, &certData)) == noErr)
                                                  ^
/private/tmp/game-porting-toolkit-20240317-26917-lidya2/wine/dlls/crypt32/unixlib.c:647:95: error: use of undeclared identifier 'noErr'
                if ((status = SecItemExport(cert, kSecFormatX509Cert, 0, NULL, &certData)) == noErr)
                                                                                              ^
2 warnings and 7 errors generated.
make: *** [dlls/crypt32/unixlib.o] Error 1
make: *** Waiting for unfinished jobs....

any suggestions?

installation issue-wine

Hi! I've tried to install this both having homebrew preinstalled and not. In either case I keep getting the Wine Installation Failed-error 1
![Captura de Pantalla 2023-10-11 a las 11 02 12](https://github.com/installaware/AGPT/assets/147601248/c07dc956-fa8a-47c0-b9b8-25a8220c6f19
Captura de Pantalla 2023-10-11 a las 10 54 26
)
I have plenty of disk space (like 50G) and these are the specifications

Captura de Pantalla 2023-10-11 a las 11 03 39

In the log I'm getting

Hunk #4 FAILED at 370.
1 out of 9 hunks FAILED -- saving rejects to file wine/dlls/atiadlxx/atiadlxx_main.c.rej

I don't know what this means and I can't figure it out

I'll attach the .txt in case it's useful
log.txt

Launching PC program Failed!

Please consider changing your launch options, and try again.

Error code: 255


The above error message occurs when I try to execute a .EXE binary.

I installed Championship Manager 01/02 inside the "environment", after which there are update steps including:

  • Running an updater EXE provided by the game maker
  • Copy some data files (data updates, tactics, background images, etc)
  • Then you run a game "patcher". I chose "Nicks CM0102 Patcher" that is a simple EXE file, that you point towards the game's cm0102.exe and it updates it.

This works without issue when using Crossover.

A fresh MacOS install, I wanted to try the new Apple Game Porting Kit instead. Also I don't want to pay for Crossover if it is unnecessary.

Can I start a "desktop" session? or equivalent? are there other ways to execute this binary?

error on successful installation ?

Hello, the installer tells me there was an error installing, but the logs look actually very promising. Is it all set up properly now or was there really an error?
installer logs.txt

Sorry for the huge log file, here are also the last few lines:

==> Caveats
zsh completions have been installed to:
  /usr/local/share/zsh/site-functions
==> Summary
🍺  /usr/local/Cellar/lima/0.20.1: 107 files, 171MB
==> Running `brew cleanup lima`...
Removing: /usr/local/Cellar/lima/0.20.0... (107 files, 171MB)
Removing: /Users/ethereumbook/Library/Caches/Homebrew/lima--0.20.0... (50.7MB)
==> Checking for dependents of upgraded formulae...
==> No broken dependents found!
==> Caveats
==> game-porting-toolkit
Please follow the instructions in the Game Porting Toolkit README to complete installation.
==> lima
zsh completions have been installed to:
  /usr/local/share/zsh/site-functions

Program shortcut

Hello, firstly thank you for open sourcing this!

What is the best way to access a Windows program once installed? Is there a way to create a shortcut for easy launching?

Thanks in advance!
Dom

Can't get controller to work

Tried using an Xbox controller for Steam games, but nothing is detecting my controller. Is there a way to get this to work?

Homebrew gets installed into the wrong prefix.

Looks like when the option to "install Homebrew" is checked (accidentally in my case) the installer causes the the install to /usr/local instead of the recommended /opt/homebrew for Apple Silicon. This has the effect of breaking an existing homebrew install or setting up the wrong location for new installs.

Where are things downloaded?

Hey there, not a developer, just a gamer looking to play some windows games on the mac.

I installed the ready to use app. and I used the app to launch Battle.net and when I started to install a game it said it was downloading it to a C/ drive. Where exactly is that and how can I access it? Just would like to know if/when I might want to uninstall things. Thanks.

-1 error running different windows installers

ran AGPT installer after downloading commandline tools, AGPT, and nuking my apple silicon homebrew install. The installer proceeded through the steps of installing commandline tools, AGPT, and the intel homebrew version. Choosing either the Atari50 installer or steam PC installer results in the same error:
GPT installer error

Can I find out more with the logs? Don't know where to find them. Checked system log in Console.app but no dice.

Password displayed in plain text

When using this software, if Homebrew is already installed it asks to remove it. Then "Checking for 'sudo' access" window pops up with a filed to enter your password. When you type your password, the characters are shown in plain text instead of bullets like MacOS or invisible like Terminal

Terminal commands

My steam installation is not working, it's the same steamwebhelper error as in the other issues posted. I am trying to fix this using the terminal but it says that there is no command for gameportingtoolkit. Is there a way to use the terminal with installaware's automatic installation of game porting tool kit?

log file

Where is the logfile written ? The process lloks to be hanging (for a certain amount of time now) but as it say it take a looooong time, I would like to check how it is going in its logfile.

Installation error

I had an issue while installing it keeps saying

Homebrew x86_64 Installation failed please check internet connection, free disk space and try again Error code 1.

But I am pretty sure I connected to a good internet and have 100 GB of space left does anyone knows a fix THX

DO NOT uninstall brew without explicit consent

i lost all my dev env and all the installed packages in my machine.

Because of the brew reinstall.

This need to be opted in and explicitly say you lost all installed package when you reinstall

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.