Compiling AGS: Difference between revisions
Jump to navigation
Jump to search
mentionned libraries
(the thread linked was old) |
(mentionned libraries) |
||
Line 53: | Line 53: | ||
:* Get the source code, as described in the previous section. | :* Get the source code, as described in the previous section. | ||
: * Get the '''free''' version of Visual Studio : '''Visual Studio Community 2019'''. | :*Get the '''free''' version of Visual Studio : '''Visual Studio Community 2019'''. | ||
* '''<big>AGS.Editor.NoNative.sln</big> -''' That's only the high-level, C# part of the Editor, which does most of the work. | * '''<big>AGS.Editor.NoNative.sln</big> -''' That's only the high-level, C# part of the Editor, which does most of the work. | ||
: * You'll need to get the latest '''Native.dll''' file, '''already compiled.''' | :* You'll need to get the latest '''Native.dll''' file, '''already compiled.''' | ||
:- If you have a recent AGS already installed, you can take it from the regular Editor. Otherwise, download it from the AGS page. | :- If you have a recent AGS already installed, you can take it from the regular Editor. Otherwise, download it from the AGS page. | ||
:- If you need a really, really recent Native.dll (nightly build?) then go to [https://www.adventuregamestudio.co.uk/forums/index.php?board=18.0 the forums] (AGS Development --> Editor Development) and download the alpha version you need. | :- If you need a really, really recent Native.dll (nightly build?) then go to [https://www.adventuregamestudio.co.uk/forums/index.php?board=18.0 the forums] (AGS Development --> Editor Development) and download the alpha version you need. | ||
: - '''Native.dll''' is the only file you need to continue. Put it in any folder of your choice. | : - '''Native.dll''' is the only file you need to continue. Put it in any folder of your choice. | ||
: * Open the .sln file with Visual Studio. Expand the "'''AGSEditor'''" project, then expand "'''References'''". Remove the reference to "Native.dll", then add it again (right-click-->'''Add Reference...''') and use the "'''browse'''" button to point to your '''Native.dll''' file. | :* Open the .sln file with Visual Studio. Expand the "'''AGSEditor'''" project, then expand "'''References'''". Remove the reference to "Native.dll", then add it again (right-click-->'''Add Reference...''') and use the "'''browse'''" button to point to your '''Native.dll''' file. | ||
: * Follow extra instructions from the readme : https://github.com/adventuregamestudio/ags/tree/master/Windows#building-ags-editor | :* Follow extra instructions from the readme : https://github.com/adventuregamestudio/ags/tree/master/Windows#building-ags-editor | ||
:* If you still have issues, go to [https://www.adventuregamestudio.co.uk/forums/index.php?board=18.0 the forums] (AGS Development --> Editor Development) and see if there is a recent thread devoted to compiling the Editor. Or try any thread about the latest unstable version of AGS. | :* If you still have issues, go to [https://www.adventuregamestudio.co.uk/forums/index.php?board=18.0 the forums] (AGS Development --> Editor Development) and see if there is a recent thread devoted to compiling the Editor. Or try any thread about the latest unstable version of AGS. | ||
Line 73: | Line 73: | ||
:* If you still have issues, go to [https://www.adventuregamestudio.co.uk/forums/index.php?board=18.0 the forums] (AGS Development --> Engine Development) and see if there is a recent thread devoted to compiling the Engine. Or try any thread about the latest unstable version of AGS. | :* If you still have issues, go to [https://www.adventuregamestudio.co.uk/forums/index.php?board=18.0 the forums] (AGS Development --> Engine Development) and see if there is a recent thread devoted to compiling the Engine. Or try any thread about the latest unstable version of AGS. | ||
* '''<big>AGS.Engine.sln</big> -''' That's the AGS game engine (the one that actually plays the game). | * '''<big>AGS.Engine.sln</big> -''' That's the AGS game engine (the one that actually plays the game). | ||
: * Follow instructions from the readme : https://github.com/adventuregamestudio/ags/tree/master/Windows#building-ags-engine | :* Follow instructions from the readme : https://github.com/adventuregamestudio/ags/tree/master/Windows#building-ags-engine | ||
:* '''ABOUT LIBRARIES:''' The readme provides a link to download the pre-compiled libraries but it's an old link. Ask on the forums to get a more recent libraries package containing SDL_sound.lib, etc. | |||
:* If you still have issues, go to [https://www.adventuregamestudio.co.uk/forums/index.php?board=18.0 the forums] (AGS Development --> Engine Development) and see if there is a recent thread devoted to compiling the Engine. Or try any thread about the latest unstable version of AGS. | :* If you still have issues, go to [https://www.adventuregamestudio.co.uk/forums/index.php?board=18.0 the forums] (AGS Development --> Engine Development) and see if there is a recent thread devoted to compiling the Engine. Or try any thread about the latest unstable version of AGS. | ||