Staredit Network > Forums > Modding Assistance > Topic: Quick plugin question
Quick plugin question
Apr 3 2009, 7:51 pm
By: Biophysicist  

Apr 3 2009, 7:51 pm Biophysicist Post #1



Quick question: If I write a plugin, how do I compile the source into a qdb? (In other words, how do I compile it so that I can add it to FG?) Compile it into a DLL in some C++ compiler, right? Then what?

Oh, I downloaded LocUnlock's source to try to learn how to write plugins. If I just removed his EnableDebug() function/method/whatever it's called in C++ and replaced it with my own, would it work? Or would I have to do something else as well?



None.

Apr 3 2009, 8:07 pm poiuy_qwert Post #2

PyMS and ProTRG developer

Depends what compiler you use, easiest way to compile would be:
1) Get Dev-C++, install, then run
2) In the menu do Tools>Compiler Options
3) Add a new compiler set with the + button, name it QDP or something
4) Click "Add the following commands when calling compiler"
5) In the edit box below the above checkbox, place "-shared -o PLUGIN_NAME.qdp -Wl,QDPlugin.def -lversion" (this creates a dll but gives the filename the qdp extension)
6) Now you just hit the compile button on the main cpp file of your dll




Apr 3 2009, 8:09 pm Biophysicist Post #3



Thank you poiuy. <3

Also, can you answer my second question?



None.

Apr 3 2009, 8:25 pm poiuy_qwert Post #4

PyMS and ProTRG developer

If you had even tried to learn C++ you should be able to answer that question... Yes, as long as you pass/return the correct types.




Apr 4 2009, 2:45 am Biophysicist Post #5



Thanks for all the help, poiuy. :)

Topic has served its purpose.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-9-14. : 3:21 pm]
Oh_Man -- Racoon City Remastered*
[2026-9-14. : 3:21 pm]
Oh_Man -- Join the front line SEN, DEFEND MANKIND. 2030 is just a number! https://scmscx.com/map/2fHHj96p
[2026-9-14. : 3:21 pm]
Oh_Man -- from the maker of the legendary Architect RPG, the peerless Racoon City, the capitvating One Piercing Note, comes another creation minutes in the making
[2026-9-14. : 11:15 am]
Oh_Man -- heh heh thanks for the minerals suckers, now it's time to quit while i'm ahead
[2026-9-14. : 1:01 am]
Oh_Man -- Heroes of the Storm literally died and was revived before we got next SC game. Wb Loveless, u cooking any UMS for us?
[2026-9-13. : 11:35 pm]
LoveLess -- getting diablo 5 and wow 4 before starcraft ghost
[2026-9-13. : 9:22 pm]
RIVE -- To be fair, I used to post custom emotes back when I still used the forums.
[2026-9-13. : 12:54 pm]
l)ark_ssj9kevin -- RIVE
RIVE shouted: 💯
holy shit did you just use an emoji on SEN that feels illegal 🍆
[2026-9-13. : 10:24 am]
Moose -- Heinermann
Heinermann shouted: new era of SC and it's just some shooter they're gonna cancel before 2030
StarCraft 2: Ghost 2, The Reghostening
[2026-9-13. : 3:38 am]
Symmetry -- :wob:
Please log in to shout.


Members Online: Heinermann, Zoan