GithubHelp home page GithubHelp logo

ledemmers / ultimate-asi-loader_starfield Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thirteenag/ultimate-asi-loader

0.0 0.0 0.0 5.46 MB

ASI Loader is the tool that loads custom libraries with the file extension .asi into any game process.

License: MIT License

C++ 97.42% C 0.41% Lua 1.19% PowerShell 0.48% Batchfile 0.50%

ultimate-asi-loader_starfield's Introduction

AppVeyor GitHub Actions Build

Ultimate ASI Loader

DESCRIPTION

This is a DLL file which adds ASI plugin loading functionality to any game, which uses any of the following libraries:

With the last two, it is possible to load the original dll by renaming it to 'vorbisHooked.dll' or 'binkw32Hooked.dll'. Usually it is not required and you can simply replace the dll. Always make a backup before replacing any files.

INSTALLATION

In order to install it, you just need to place DLL into game directory. Usually it works as dinput8.dll, but if it's not, there is a possibility to rename it(see the list of supported names above).

USAGE

Put ASI files in game root directory, 'scripts' or 'plugins' folder. If configuration is necessary, global.ini file can be placed to 'scripts' or 'plugins' folder. It can be used alongside the chosen dll and if so, it is also possible to use dll name for ini file, e.g. version.dll/version.ini. See example of global.ini here.

ADDITIONAL WINDOWED MODE FEATURE

ASI loader have built-in wndmode.dll, which can be loaded, if you create empty wndmode.ini in the folder with asi loader's dll. It will be automatically filled with example configuration at the first run of the game. Settings are not universal and should be changed in every specific case, but usually it works as is.

D3D8TO9

Some mods, like SkyGfx require d3d8to9. It is also a part of ASI loader, so in order to use it, create global.ini inside scripts folder with the following content:

[GlobalSets]
UseD3D8to9=1

See example of global.ini here.

CrashDumps

ASI loader is now capable of generating crash minidumps and crash logs. To use this feature, create a folder named CrashDumps in the folder with asi loader's dll. You can disable that via DisableCrashDumps=1 ini option.

Using with UWP games

  1. Enable Developer Mode (Windows Settings -> Update and Security -> For Developers -> Developer Mode)
    image
  2. Install an UWP game, for example GTA San Andreas.
    image
  3. Launch an UWP game through the start menu.
  4. Open UWPInjector.exe from the UWPDumper download.
    image
  5. Enter the Process ID that is displayed from the injector and then hit enter.
  6. Wait until the game is dumped.
    image
  7. Go to the directory : C:\Users\[YOUR USERNAME]\AppData\Local\Packages\[YOUR UWP GAME NAME]\TempState\DUMP
  8. Copy these files into a new folder somewhere else of your choosing.
  9. Uninstall an UWP game by clicking on start menu and right clicking on its icon and uninstall.
    image
  10. Go to your directory with your new dumped files (the ones you copied over) and shift + right click in the directory and "Open Powershell window here".
  11. In that folder, rename AppxBlockMap.xml and AppxSignature.xml to anything else.
  12. Run the following command: Add-AppxPackage -Register AppxManifest.xml
  13. Place Ultimate ASI Loader DLL into game directory. You need to find out which name works for a specific game, in case of GTA SA I've used d3d11.dll, so I put dinput8.dll from x86 archive and renamed it to d3d11.dll.
  14. Create an ini file with the same name, in this case: d3d11.ini, with the following content:
[GlobalSets]
DontLoadFromDllMain=0

Sometimes it may not be necessary, but UWP GTA SA didn't work with current implementation of DontLoadFromDllMain=1.
15. Create scripts or plugins folder within the root directory and place your plugins in it.
Rough code example of radio for all vehicles plugin here. Compiled binary here - GTASAUWP.RadioForAllVehicles.zip
16. Click on the start menu and launch the game!
17. See your mods in action.
ApplicationFrameHost_2021-10-08_15-57-14

ultimate-asi-loader_starfield's People

Contributors

thirteenag avatar cookieplmonster avatar illusion0001 avatar blackbird88 avatar

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.