[Guide] Compiling your own DLL menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 27
  1. #1
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Guide] Compiling your own DLL

    As a pre-requisite, you will need the following programs:
    TortoiseSVN 2.4.6
    Visual Studios (2003, 2005, or 200
    Any Good Text Editor (I recommend EditPlus)

    Introduction
    This is a pretty basic guide. Many of you have edited the source of a DLL and want to compile your own version, no problem. But I'll have to say this now guys, this isn't easy to grasp, but it isn't hard to learn. In this guide we will be compiling the GlobalNPC i made. I will also be using Visual Studios 2003. Let's Begin.

    Legend
    Bold - Examples or Refrences
    Orange - Pictures and Screenshots
    Green - Very Important Note

    Download the most recent ascent revision from the ascent SVN. Dont know how to? Read my guide here: http://www.mmowned.com/forums/emulat...g-new-svn.html
    Then you need to compile it. If you need help, refer to: http://www.mmowned.com/forums/ascent...wn-ascent.html

    Download the source of your addon. In this case, my GlobalNPC: http://filebin.ca/vvtgop/GlobalNPC.rar

    Next, unpack the contents of my GlobalNPC files (or the source of any other addon) and place them anywhere for now. Go into your ascent source folders, and browse to the \Trunk\src\scripts\src\ Folder (Ascent Source -> src -> scripts -> src). Drag and Drop the folder "GlobalNPC" from the RAR (The folder that contains the source) and drop it in the src folder. You know you have done this step correctly if you see the following folders in the src folder: AscentStats - GossipScripts - InstanceScripts - ServerStatsPlugin - SpellHandlers - GlobalNPC. EXAMPLE OF SCRIPTS FOLDER

    In the same folder, you will also see Makefile.am
    Open it and you will see:
    Code:
    SUBDIRS = GossipScripts InstanceScripts ServerStatusPlugin SpellHandlers
    All you have to do is add a space and then "GlobalNPC" to look like this:
    Code:
    SUBDIRS = GossipScripts InstanceScripts ServerStatusPlugin SpellHandlers GlobalNPC
    Now, go into the \Trunk\src\scripts\projects\ folder of your ascent source. This folder contains all of the project files for the scripts and addons. Drag and Drop "GlobalNPC2003.sln" and "GlobalNPC2003.vcproj" from the RAR, into the folder. If you have a different source, drag and drop the project files into the project folder. These files usually end with the .sln and .vcproj extensions. EXAMPLE OF PROJECTS FOLDER

    Once you have edited the source and are ready to compile, open "GlobalNPC2003.sln" in Visual Studios 2003. On the top of the screen, underneath the File Menus, you will see the buttons for saving, new projects, and other fun stuff. Go to the dropdown box with "Debug" in it. Click that and select Release. EXAMPLE

    Then right click on the folder called "Main Resources" underneath the Solution Explorer (to the right of your screen) Then go to Add -> Add Existing Item...
    and browse to the "Setup.cpp" file in the scripts folder. (\Trunk\src\scripts\src\GlobalNPC\Setup.cpp) Do the same for Setup.h
    Now right click on the "scripts" folder and add "GlobalNPC.cpp" to that folder.
    This is what it should look like: Example

    Once you are ready, and made sure it is set to Release, right click on "Solution 'GlobalNPC2003' (1 Project)" and click Build.
    When it has finished compiling, your DLL will be found in \Trunk\bin\release\script_bin\

    You can watch a streaming video and/or download it here: Howto_Compile.wmv - FileFront.com
    I HIGHLY recommend downloading it, as you will see the picture clearer
    Last edited by Gastricpenguin; 12-31-2007 at 01:08 PM. Reason: Lol grammar issues
    Life Puzzler WoW - Website | Forums

    [Guide] Compiling your own DLL
  2. #2
    Steph's Avatar Member
    Reputation
    166
    Join Date
    Dec 2007
    Posts
    695
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Good work Gastric, as always, I know a lot of people will appreciate this

  3. #3
    jokerjokes's Avatar Active Member
    Reputation
    75
    Join Date
    Apr 2007
    Posts
    902
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Lol yea, btw the source would be just the things im adding? lol (dont laugh at me being nooby) lol go ahead.

  4. #4
    Pragma's Avatar Contributor
    Reputation
    261
    Join Date
    Feb 2007
    Posts
    630
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks for this guide, I was needing one on this topic +2


  5. #5
    shamus252's Avatar Member
    Reputation
    2
    Join Date
    Nov 2007
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    should add in to tell people how to make a project file also cause anymore alot of people only release the code its self

  6. #6
    Illidan1's Avatar Banned
    Reputation
    244
    Join Date
    Jul 2007
    Posts
    2,251
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very nice Gastric, i need to Download Visual Studios, when i get my Connect speed fast back i will and learn some C++

  7. #7
    vasko93's Avatar Member
    Reputation
    1
    Join Date
    Oct 2007
    Posts
    28
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help??
    Last edited by vasko93; 12-29-2007 at 05:45 AM.

  8. #8
    Steph's Avatar Member
    Reputation
    166
    Join Date
    Dec 2007
    Posts
    695
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You havent compiled Ascent first.

  9. #9
    2dgreengiant's Avatar ★ Elder ★


    Reputation
    1190
    Join Date
    Feb 2007
    Posts
    7,129
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    daym thats a good tut nice work dude
    If you need me you have my skype, if you don't have my skype then you don't need me.

  10. #10
    Succy's Avatar Banned
    Reputation
    40
    Join Date
    Jun 2007
    Posts
    804
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Really Nice! +Rep x2

  11. #11
    ~SaiLyn~'s Avatar Contributor
    Reputation
    280
    Join Date
    Aug 2007
    Posts
    546
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ummm , isnt this posted in the wrong section since its a guide?

  12. #12
    ~SaiLyn~'s Avatar Contributor
    Reputation
    280
    Join Date
    Aug 2007
    Posts
    546
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Illidan1 View Post
    Very nice Gastric, i need to Download Visual Studios, when i get my Connect speed fast back i will and learn some C++
    By the way , all files needed to install VS 2003 im putting them in a svn for public use , so you will be able to install it from there instead of downloading it froma torrent and all

  13. #13
    Steph's Avatar Member
    Reputation
    166
    Join Date
    Dec 2007
    Posts
    695
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Make sure you stick the support docs in there too. They are the most annoying part of the install.

  14. #14
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nice
    Adding the video guide shortly
    Life Puzzler WoW - Website | Forums

  15. #15
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Added the video to the first post, its a filefront link:
    Howto_Compile.wmv - FileFront.com
    Life Puzzler WoW - Website | Forums

Page 1 of 2 12 LastLast

Similar Threads

  1. [Guide] How to compile your own DLL
    By Cursed in forum WoW EMU Guides & Tutorials
    Replies: 58
    Last Post: 06-19-2008, 09:38 AM
  2. [GUIDE] How to compile your own server [MUCH SAFER!]
    By razordemon in forum WoW EMU Guides & Tutorials
    Replies: 3
    Last Post: 05-31-2008, 11:27 AM
  3. [Guide] How to compile your own ascent server. 100% work !! TRY IT :D
    By Etzzhy in forum WoW EMU Guides & Tutorials
    Replies: 22
    Last Post: 05-09-2008, 07:04 PM
  4. [Guide] Compile your Own Ascent!
    By Aldaus in forum WoW EMU Guides & Tutorials
    Replies: 6
    Last Post: 12-08-2007, 05:31 PM
  5. [GUIDE]Stuff your own music into WoW. [Pictures]
    By Macroman in forum WoW ME Tools & Guides
    Replies: 22
    Last Post: 10-23-2007, 06:34 AM
All times are GMT -5. The time now is 08:16 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search