Quantcast

Jump to content

» «
Photo

creating ASI files...

10 replies to this topic
rami zouari
  • rami zouari

    Nothing

  • Members
  • Joined: 23 Jul 2013

#1

Posted 03 September 2013 - 02:13 AM

after creating scripts, editing data files, modelling the game, i decided to do a new think, but it's HARD, creating asi files mercie_blink.gif , but how???
i have a little experience in "C++" (creating some exe files) but i don't know how to create in asi file, someones saids that it is a DLL based files but i can't create them, and it's impossible to edit ASI files (as many saids), so it's hard to learn it, [not like scm/cs scripts, you can learn them by editing the scripts]...
so i need some help to understand this files and how to create them
help please...
(please someone give me an exemple of an asi file) monocle.gif
and how it will be compiled (i have visual studio ultimate 2012, there is a plugin?)

xNCx
  • xNCx

    VCMP beta tester

  • Members
  • Joined: 15 May 2008
  • None

#2

Posted 03 September 2013 - 03:30 PM

ASI is a DLL file, just renamed to asi. You may need a plugin/header file if you want some special operation on GTA (like memory editing).

If you know some C++, create a DLL template in Visual Studio, add there for example a message box, compile, rename to asi, copy to GTA folder, launch game and look out for the message box smile.gif .

ThirteenAG
  • ThirteenAG

    Gangsta

  • Feroci
  • Joined: 29 Dec 2008
  • None
  • Contribution Award [Mods]

#3

Posted 03 September 2013 - 03:42 PM

QUOTE (rami zouari @ Tuesday, Sep 3 2013, 06:13)
(please someone give me an exemple of an asi file) monocle.gif

There's plenty of them around the forums, check the coding section. You can also check my test plugin for asi loader.

rami zouari
  • rami zouari

    Nothing

  • Members
  • Joined: 23 Jul 2013

#4

Posted 03 September 2013 - 04:37 PM

thanks a lot krasiejow and thirteenAG for helping and i will try to make some new asi files

rami zouari
  • rami zouari

    Nothing

  • Members
  • Joined: 23 Jul 2013

#5

Posted 03 September 2013 - 05:06 PM

when i compile it it will be at extension DLL not ASI, i must change the extension with command "rename"? : Essais.dll ==> Essais.asi ?

xNCx
  • xNCx

    VCMP beta tester

  • Members
  • Joined: 15 May 2008
  • None

#6

Posted 03 September 2013 - 06:57 PM

QUOTE (rami zouari @ Tuesday, Sep 3 2013, 18:06)
when i compile it it will be at extension DLL not ASI, i must change the extension with command "rename"? : Essais.dll ==> Essais.asi ?

Yep.

fastman92
  • fastman92

    фастман92 | ف

  • Members
  • Joined: 28 Jul 2009
  • None
  • Contribution Award [Mods]

#7

Posted 03 September 2013 - 07:06 PM

Project -> Properties -> Configuration properties -> General

Output directory: your GTA SA dir.
Target extension: .asi

rami zouari
  • rami zouari

    Nothing

  • Members
  • Joined: 23 Jul 2013

#8

Posted 03 September 2013 - 07:14 PM

thanks Fastman biggrin.gif it worked

rami zouari
  • rami zouari

    Nothing

  • Members
  • Joined: 23 Jul 2013

#9

Posted 03 September 2013 - 07:23 PM

Fastman, also the *.CLEO are DLL based files so they are created with Visual studio?
[Project -> Properties -> Configuration properties -> General
Output directory: your GTA SA's CLEO folder.
Target extension: .cleo??]

Silent
  • Silent

    Chief Fixing Officer

  • GTA Mods Staff
  • Joined: 01 Feb 2010
  • Poland
  • Contribution Award [Mods]
    Best Script/Plugin 2014 [SilentPatch]
    Most Respected 2014
    Most Helpful [Mods] 2014
    Most Helpful [GTA] 2013
    Most Helpful [Mods] 2013
    Most Talented [Modding] 2013
    Best Map 2013 [ViceCityStories PC Edition]
    Best Vehicle 2013 [III Aircraft]
    Most Helpful [Mods] 2012
    Modder of the Year 2012

#10

Posted 03 September 2013 - 07:34 PM

Yeah.

rami zouari
  • rami zouari

    Nothing

  • Members
  • Joined: 23 Jul 2013

#11

Posted 03 September 2013 - 08:31 PM

thanks very match for answering, smile.gif now i can start creating ASI files.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users