Giter VIP home page Giter VIP logo

ultimate-asi-loader'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:

It is possible(and sometimes necessary) to load the original dll by renaming it to <dllname>Hooked.dll, e.g. d3d12Hooked.dll. With binkw32.dll and vorbisFile.dll it is optional 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', 'plugins' or 'update' 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.

UPDATE FOLDER (Overload From Folder)

It is possible to install mods that replace files via the update folder, allowing you to avoid actual file replacement.

For example, if a mod replaces the file located at:

Resident Evil 5\nativePC_MT\Image\Archive\ChapterEnd11.arc

With Ultimate ASI Loader installed, you can create an update folder and place the file at:

Resident Evil 5\update\nativePC_MT\Image\Archive\ChapterEnd11.arc

To revert the game to its initial state, simply remove the update folder.

Please note that the update folder is relative to the location of the ASI loader, so you need to adjust paths accordingly. For example:

\Gameface\Content\Movies\1080\GTA_SA_CREDITS_FINAL_1920x1080.mp4

Should be adjusted to:

\Gameface\Binaries\Win64\update\Content\Movies\1080\GTA_SA_CREDITS_FINAL_1920x1080.mp4

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's People

Contributors

blackbird88 avatar cookieplmonster avatar dependabot[bot] avatar illusion0001 avatar thirteenag 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  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

ultimate-asi-loader's Issues

ASI Loader with a DX7 game (Hitman Codename 47)

I want to use the loader with a DX7 game and also use DSOAL (dsound.dll). How do I rename the loader .dll? DDraw.dll isn't an option since I'm also using dgVoodoo2.

Everything I tried (dinput, etc.) hasn't been hooked. I tried renaming the DSOAL .dlls into .asis and putting them and the corresponding ini in a properly set-up scripts folder, but DSOAL didn't work. The scripts folder contains a global.ini:

[GlobalSets]
FindModule=1

and I'm already hooking a widescreen fix .asi so it should be working.

Direct3D8DisableMaximizedWindowedModeShim option shouldn't use system path to d3d8.dll

If it's enabled and user wants to use dgVoodoo Direct3D8 -> 11 wrapper, it can happen that dgVoodoo will not be loaded because in the else branch you're using path to system d3d8.dll in LoadLibrary, while you should use just "d3d8.dll" because mere fact that you're in the else branch tells you you're not a d3d8.dll proxy so whatever d3d8.dll comes first can be used. This way the option behaves properly in both scenarios. I've noticed this with Max Payne 2. You need this patch for it to work with dgVoodoo at all: http://www.vogons.org/viewtopic.php?f=8&t=51579

Possible to load through user32, kernel32, gdi32 or ADVAPI32?

First of all I want to really thank you for this project! Thanks to you I was able to play Hitman 2: Silent Assassin, Contracts and Blood money with both widescreen and reshade together at the same time! Unfortunately the same is not true for their older brother, Codename 47. It only supports reshade through opengl and it's widescreen patch only injects through dx7. The above dlls are the main ones I can find referenced in it's exe and dll files, but none of the major ones you list seam to work.

Max Payne 2 can't load d3d8to9

Max Payne 2 throws an error with d3d8to9 enabled, however if d3d8.dll is placed separately from ual, it works. Max Payne 1 works fine at the same time.

Not working in Wine with override mode on Native, or Native/Built-in.

Wine (from 1.1.21 to 1.7.55) doesn't load dinput8.dll even with the proper override mode (native) selected.

#LastRunWine.log

wine: cannot find L"C:\windows\system32\plugplay.exe"
err:winedevice:ServiceMain driver L"WineBus" failed to load
trace:x11settings:X11DRV_Settings_SetHandlers Resolution settings now handled by: NoRes
trace:x11settings:X11DRV_Settings_SetHandlers Initialized new display modes array
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 0: 1920x1080x32 @60 Hz (NoRes)
trace:x11settings:X11DRV_Settings_SetHandlers Resolution settings now handled by: NoRes
trace:x11settings:X11DRV_Settings_SetHandlers Initialized new display modes array
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 0: 1920x1080x32 @60 Hz (NoRes)
trace:x11settings:X11DRV_Settings_SetHandlers Resolution settings now handled by: XRandR
trace:x11settings:X11DRV_Settings_SetHandlers Destroying old display modes array
trace:x11settings:X11DRV_Settings_SetHandlers Initialized new display modes array
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 0: 1920x1080x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 1: 1920x1080x32 @2 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 2: 640x480x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 3: 800x600x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 4: 1024x768x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 5: 1280x1024x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 6: 1280x720x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 7: 1344x756x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 8: 1600x900x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 9: 1680x1050x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 10: 1920x1058x32 @1 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 11: 1920x1080x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 12: 1920x1080x8 @2 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 13: 640x480x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 14: 800x600x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 15: 1024x768x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 16: 1280x1024x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 17: 1280x720x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 18: 1344x756x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 19: 1600x900x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 20: 1680x1050x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 21: 1920x1058x8 @1 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 22: 1920x1080x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 23: 1920x1080x16 @2 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 24: 640x480x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 25: 800x600x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 26: 1024x768x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 27: 1280x1024x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 28: 1280x720x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 29: 1344x756x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 30: 1600x900x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 31: 1680x1050x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 32: 1920x1058x16 @1 Hz (XRandR)
trace:x11settings:X11DRV_Settings_SetHandlers Resolution settings now handled by: XRandR
trace:x11settings:X11DRV_Settings_SetHandlers Destroying old display modes array
trace:x11settings:X11DRV_Settings_SetHandlers Initialized new display modes array
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 0: 1920x1080x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 1: 1920x1080x32 @2 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 2: 640x480x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 3: 800x600x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 4: 1024x768x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 5: 1280x1024x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 6: 1280x720x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 7: 1344x756x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 8: 1600x900x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 9: 1680x1050x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 10: 1920x1058x32 @1 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 11: 1920x1080x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 12: 1920x1080x8 @2 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 13: 640x480x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 14: 800x600x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 15: 1024x768x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 16: 1280x1024x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 17: 1280x720x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 18: 1344x756x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 19: 1600x900x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 20: 1680x1050x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 21: 1920x1058x8 @1 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 22: 1920x1080x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 23: 1920x1080x16 @2 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 24: 640x480x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 25: 800x600x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 26: 1024x768x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 27: 1280x1024x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 28: 1280x720x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 29: 1344x756x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 30: 1600x900x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 31: 1680x1050x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 32: 1920x1058x16 @1 Hz (XRandR)
err:module:import_dll Library d3dx9_43.dll (which is needed by L"C:\gtavc\d3d8.dll") not found
trace:x11settings:X11DRV_Settings_SetHandlers Resolution settings now handled by: NoRes
trace:x11settings:X11DRV_Settings_SetHandlers Initialized new display modes array
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 0: 1920x1080x32 @60 Hz (NoRes)
trace:x11settings:X11DRV_Settings_SetHandlers Resolution settings now handled by: XRandR
trace:x11settings:X11DRV_Settings_SetHandlers Destroying old display modes array
trace:x11settings:X11DRV_Settings_SetHandlers Initialized new display modes array
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 0: 1920x1080x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 1: 1920x1080x32 @2 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 2: 640x480x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 3: 800x600x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 4: 1024x768x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 5: 1280x1024x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 6: 1280x720x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 7: 1344x756x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 8: 1600x900x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 9: 1680x1050x32 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 10: 1920x1058x32 @1 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 11: 1920x1080x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 12: 1920x1080x8 @2 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 13: 640x480x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 14: 800x600x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 15: 1024x768x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 16: 1280x1024x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 17: 1280x720x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 18: 1344x756x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 19: 1600x900x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 20: 1680x1050x8 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 21: 1920x1058x8 @1 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 22: 1920x1080x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 23: 1920x1080x16 @2 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 24: 640x480x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 25: 800x600x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 26: 1024x768x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 27: 1280x1024x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 28: 1280x720x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 29: 1344x756x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 30: 1600x900x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 31: 1680x1050x16 @60 Hz (XRandR)
trace:x11settings:X11DRV_Settings_AddOneMode initialized mode 32: 1920x1058x16 @1 Hz (XRandR)
err:menubuilder:wWinMain unknown option L"-r"
err:module:attach_process_dlls "dinput8.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\gtavc\gta-vc.exe" failed, status c0000005

#LastRunX11.log

WineskinX11: main(): argc=10
Waiting for startup parameters via Mach IPC.
WineskinX11: do_start_x11_server(): argc=10
Attempting to use pixel depth of 24
[2214366.008] WineskinX11 starting:
[2214366.009] X.Org X Server 1.13.0
[2214366.009] Build Date: 20120921
[2214366.009] _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
[2214366.012] Initializing built-in extension Generic Event Extension
[2214366.012] Initializing built-in extension SHAPE
[2214366.012] Initializing built-in extension MIT-SHM
[2214366.012] Initializing built-in extension XInputExtension
[2214366.012] Initializing built-in extension XTEST
[2214366.012] Initializing built-in extension BIG-REQUESTS
[2214366.012] Initializing built-in extension SYNC
[2214366.012] Initializing built-in extension XKEYBOARD
[2214366.012] Initializing built-in extension XC-MISC
[2214366.012] Initializing built-in extension XINERAMA
[2214366.012] Initializing built-in extension PseudoramiX
[2214366.012] Initializing built-in extension XFIXES
[2214366.012] Initializing built-in extension RENDER
[2214366.012] Initializing built-in extension RANDR
[2214366.012] Initializing built-in extension DAMAGE
[2214366.012] Initializing built-in extension MIT-SCREEN-SAVER
[2214366.012] Initializing built-in extension DOUBLE-BUFFER
[2214366.012] Initializing built-in extension RECORD
[2214366.012] Initializing built-in extension X-Resource
[2214366.012] Initializing built-in extension XVideo
[2214366.012] Initializing built-in extension XVideo-MotionCompensation
[2214366.012] Initializing built-in extension GLX
[2214366.012] x: 0, y: 0, w: 1920, h: 1058
[2214366.054] (II) GLX: Initialized Core OpenGL GL provider for screen 0
[2214366.055] [dix] Could not init font path element /Users/ibloodheuer/Applications/Wineskin/GTA Vice City.app/Contents/Frameworks/bin/fonts/75dpi, removing from list!
[2214366.055] [dix] Could not init font path element /Users/ibloodheuer/Applications/Wineskin/GTA Vice City.app/Contents/Frameworks/bin/fonts/100dpi, removing from list!
[2214366.055] [dix] Could not init font path element /Users/ibloodheuer/Applications/Wineskin/GTA Vice City.app/Contents/Frameworks/bin/fonts/cyrillic, removing from list!
[2214366.055] [dix] Could not init font path element /Users/ibloodheuer/Applications/Wineskin/GTA Vice City.app/Contents/Frameworks/bin/fonts/misc, removing from list!
[2214366.055] [dix] Could not init font path element /Users/ibloodheuer/Applications/Wineskin/GTA Vice City.app/Contents/Frameworks/bin/fonts/OTF, removing from list!
[2214366.055] [dix] Could not init font path element /Users/ibloodheuer/Applications/Wineskin/GTA Vice City.app/Contents/Frameworks/bin/fonts/Speedo, removing from list!
[2214366.055] [dix] Could not init font path element /Users/ibloodheuer/Applications/Wineskin/GTA Vice City.app/Contents/Frameworks/bin/fonts/TTF, removing from list!
[2214366.055] [dix] Could not init font path element /Users/ibloodheuer/Applications/Wineskin/GTA Vice City.app/Contents/Frameworks/bin/fonts/Type1, removing from list!
[2214366.056] [dix] Could not init font path element /Users/ibloodheuer/Applications/Wineskin/GTA Vice City.app/Contents/Frameworks/bin/fonts/util, removing from list!
[2214368.477] x: 0, y: 0, w: 1920, h: 1080
Hardware:

Hardware Overview:

  Model Name: iMac
  Model Identifier: iMac10,1
  Processor Name: Intel Core 2 Duo
  Processor Speed: 3,06 GHz
  Number of Processors: 1
  Total Number of Cores: 2
  L2 Cache: 3 MB
  Memory: 8 GB
  Bus Speed: 1,07 GHz
  Boot ROM Version: IM101.00CF.B00
  SMC Version (system): 1.52f9

Graphics/Displays:

NVIDIA GeForce 9400:

  Chipset Model: NVIDIA GeForce 9400
  Type: GPU
  Bus: PCI
  VRAM (Total): 256 MB
  Vendor: NVIDIA (0x10de)
  Device ID: 0x0869
  Revision ID: 0x00b1
  ROM Revision: 3454
  Displays:
    iMac:
      Display Type: LCD
      Resolution: 1920 x 1080
      Framebuffer Depth: 24-Bit Color (ARGB8888)
      Main Display: Yes
      Mirror: Off
      Online: Yes
      Rotation: Supported
      Automatically Adjust Brightness: No

Gta sa Multiple Crashes

Sorry My English, the gta sa it crashes when i out of los santos or another city, when I get on an air vehicle and even water vehicle and the is incompatible with various patches and mods, fix it man please.

Cannot load ASI files if the exe is encrypted with SteamStub or Origin

If the game exe is encrypted with SteamStub (some Steam games) or Origin (all Origin games), ASI Loader does not load any ASI files. After decrypting the exe using external tools and running it decrypted, ASI Loader works fine. Is there a possibility to make the loader work on encrypted exes?

bink2w32/64 support?

Do the latest releases still support this or has it been dropped? I attempted to use the loader with Hyperdimension Neptunia ReBirth 1 but received a boot error.

Provided file does not work on GTA:SA (wine)

Provided file does not work on GTA:SA replacing vorbisFile.dll and as mensioned in current readme:

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.

neither of which works renaming the original file.

kreyren@leonid:~/.wine/drive_c/Program Files (x86)/Steam/steamapps/common/Grand Theft Auto San Andreas$ wine gta-sa.exe 
02b2:err:module:import_dll Loading library vorbisfile.dll (which is needed by L"C:\\Program Files (x86)\\Steam\\steamapps\\common\\Grand Theft Auto San Andreas\\gta-sa.exe") failed (error c000007b).
02b2:err:module:LdrInitializeThunk Importing dlls for L"C:\\Program Files (x86)\\Steam\\steamapps\\common\\Grand Theft Auto San Andreas\\gta-sa.exe" failed, status c0000135

Error 126

When i try to open GTA IV i got the error that says "Unable to load blablabla.asi. Error: 126". This was the first time i get this error. Is this has something to do with the Microsoft visual c++ redistributable that i haven't installed yet?

Can't load saves in GTA IV

I can't load any saved games in GTA IV when using this .dll.
Running windows 10, GTA IV Complete Edition from Steam.
It was working fine until recently.
What happens is the game starts loading but then the message onscreen changes from "Loading, please wait" to some thing like "Unable to load savegame. Starting new game..." and then it starts a new game. If I then create a new save I can't load the new saves either.
Problem starts occurring before I install any plugins. Just the ASI-Loader dinput8.dll file.
If I delete the .dll the problem goes away.
I tried renaming the dll to dinput.dll or dsound.dll but the problem persisted.
I created a CrashDumps folder but no crash dump was created.

Manhunt doesn't start

Hey
I just tried your tool with Manhunt, for widescreen mod, and it breaks the game. Well not breaks, the game just doesn't start. After clicking on game's exe the mouse cursor changes to "working" and after a second or two nothing happens. Checked it also on Mafia 1 and GTA2. The same problem.

Windows 10 Pro x64, DirectPlay enabled, DirectX9 installed

unload dll

Hi,
it will be great if you add code to unload the dll from the process after inject the asi script and load the original dll.
good work and thanks you

Line breaks in wndmode.ini

Just a minor thing that I noticed, when using wndmode.ini feature of ASI Loader, each setting in wndmode.ini has line breaks after it making it 2x taller... I compared it to the original(?) wndmode and it doesn't have the same thing, which seems odd.

A script on Mafia: City of Lost Heaven (2002) doesn't work

There's this patch that lets you see the map when you're in the countryside. The file is called "libMafiaCountrysideMap2.0.asi". It worked on Ultimate ASI Loader v3.4. On v4.59, though, it won't! Should I stick to v3.4, then? Thanks for your work!

Visual Studio debug for plugins

Hello,

I'm looking for a way to be able to debug an "ASI" plugin with Visual Studio, how do you approach this?
I always end up in the main executable module instead of the plugin when attaching.

Help would be appreciated.

Thanks!

Not loading plugins in The Witcher: Enhanced Edition

Hello!

I got this to work successfully for the Witcher 3 with a couple custom hooks, but I'm having a little trouble replicating that for the Witcher: Enhanced Edition. I've tries multiple x86 DLLs and I've monitored x32dbg. It seems to be loading the original DLL just fine but for some reason it isn't calling the function to load plugins from any directory. I've tried the main directory, the plugins directory, and the scripts directory. Please let me know if there's some mistake being made on my end or if any other information is needed.

Thanks!

image

P.S. the Scripts directory is built into the game, is it possible that the name is causing it to interfere somehow?

Issue with GTASA Control Center

This ASI loader does not work well with GTASA Control Center. Weapon info\player stats\girlfriend stats\time of day\clock speed\game speed all read zero with this ASI loader installed. Everything works flawlessly with Silent's ASI loader. Just something you may wanna know.

Need help

Hi, ThirteenAG.. Your ASI Loader is awesome.. i just have one question, is there any tutorial to make an ASI script..? I want to learn to make a script for Sniper Elite series game,..

Thanks...

Security options

New Options:

  • Prevent ASI plugins from connecting to internet.
  • Prevent ASI plugins from accessing other system directories.
  • Logging option from plugin events, function calls etc.

Some plugins have malicious code and there is no way to block it.

Rayman 3 Crashes when DLL is named d3d8.dll

Hello! Thanks for providing this tool. I am having trouble using it with Rayman 3 (which uses DirectX 8). When the DLL is named "dinput8.dll" or "dsound.dll" it works as expected, however when the DLL is named "d3d8.dll", the game crashes. I would quite like to use the integrated d3d8to9 (instead of just using it alongside the ASI Loader, which does work), but with this not working that is not possible

Return Windows XP compatibility

Older versions of ASI Loader had Windows XP support, while newer not. Why? Updates for updates? It's designed for old-school games, so it's logical to have support their native OS. Also, ASI Loader mostly doesn't increase system requirements, so it's not bad to play old games on some old system or laptop, and have all ASI patches which mainly works good on Windows XP.

Asi Loader Unable to load .asi. Error: 126

Hi, I use Ultimate Asi Loader to use .asi mods in GTA 3 and GTA VC. I've never had any problems before but recently I formatted my computer and when I try to start the games this error happens. This error never happened before and I didn't add or update any .asi mod, just in case I redownloaded the Ultimate Asi Loader and the .asi mod that is related to this problem and still the problem persists. Here are screenshots of the error message:
Capturar
Capturar2
When I remove the .asi related to the error, the error doesn't happen but I use the same rundll32exefix.asi file from GTA 3 in GTA VC and no error occurs in GTA VC. The rundll32exefix.asi error only happens with GTA 3. Before formatting the computer this erros
did not happen.

Please create a separate release for SA: Definitive Edition

Many people are confused by steps needed for installing ASI loader. Some of them mix the 32-bit and 64-bit, some miss the rename part. If possible, can we create a standalone release tag for GTA SA: DE (and potentially other games in the remaster) where:

  1. it has only 64-bit version
  2. dinput8.dll renamed to version.dll

so that mod authors can link to that specific tag?

If not possible within the current repo, what would be the best course of actions to create another repo with the same?

Thanks!

Loader does not work when disabling Windows 10 Fullscreen Optimizations

In the games I tried so far, the ASI loader does not work when the "Disable Fullscreen Optimizations" option is enabled in the game executable's properties.

Unfortunately, disabling FSO is required for MSAA to work in games that support it, at least on NVidia GPUs. In other words, to have a working ASI Loader, we must abandon anti-aliasing :-/

Error 225

Used this asi loader to run the GTA 4 Rainbowmizer mod which worked perfectly fine the first time I installed it. Now when i try to launch the game it tells me that it is unable to run the mod with an error 225

GTA:SA crashes when trying to set the game's gravity using plugin-sdk

Hey there!

So I've been informed about this ASI Loader being a MUCH MORE improved version over Silent's ASI Loader (I'm unsure if it's written from the ground up or something?)

Anyway, onto the problem:
I'm writing a GTA:SA Chaos Mod using the plugin-sdk (which means I'll also look into supporting Vice City and III later on as they share roughly the same code base) and told a few friends of mine to switch over to this ASI Loader as it contains a crash dumper.
The crash dumper is useful because, as we all know, the people at Rockstar weren't the sharpest tools in the shed at the time they made these games so they have a chance of crashing - either on their own or due to certain things they would never have expected to happen (especially with a Chaos Mod that messes with the gameplay a lot)

Now, when I try to set the game's gravity with the plugin-sdk, it works perfectly fine with Silent's ASI Loader.

With this one? - It crashes.

Attached are the log and the .dmp file in a ZIP archive.
gravity_crash.zip

I'm really hoping this is just an oversight that can be easily fixed - Right off the bat I don't see why it shouldn't be possible to fix this, seeing as it works fine in Silent's ASI Loader.

Can this work on F1 Challenge 99-02 or rFactor 1?

Seems like F1C is a DirectX 8 game (judging of the use of d3d8.dll in the very scarce mods available for this old game), while rf1 uses DirectX 9 (d3d9).

I can't test right now even because there is no ASI mods for these games, but if is theoretically possible to run ASI Loader with those i'm planning to let some folks know if they were interested in doing some fixes for those games (at least to make them run without issues on Windows 10+).

d3d8to9 update

d3d8to9 got updated recently, shouldn't the new version be included with ASI loader?

DebugSetMute_d3d8?

You should export single DebugSetMute function and have a single pointer to it, regardless of whether you're proxying d3d8 or d3d9. You're exporting DebugSetMute_d3d8 which no game will look for and if it wants to call DebugSetMute for some reason, NULL pointer and crash.

Issue

d3d10 Lunches but no CLEO Folder
ddraw Lunches but no CLEO Folder
dinput Lunches but no CLEO Folder
msacm32 Lunches but no CLEO Folder
msvfw32 Lunches but no CLEO Folder
wininet Lunches but no CLEO Folder
xlive Lunches but no CLEO Folder
bink2w64 Lunches but no CLEO Folder
works loading the game however
when launching it no longer creates the folder CLEO after todays update

d3d12 and bink

awesome job you do, pls Can you add d3d12 and binkw64, got game run only on it โค (^_^)

ExtraOptions in nfs crash

When I downloaded the Extra options mod in Nfs most wanted it crashes When I try to load the save game, Please respond.

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.