Raised This Month: $51 Target: $400
 12% 

The Windows Compile Batch File


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
cgountanis
Guest
Old 03-08-2004 , 14:35   The Windows Compile Batch File
Reply With Quote #1

Should be this works great when debugging... try it once and you will see

@echo off
rem AMX Mod X
rem
rem by the AMX Mod X Development Team
rem originally developed by OLO
rem
rem This file is part of AMX Mod X.

if not exist compiled mkdir compiled
if exist temp.txt del temp.txt
for %%i in (*.sma) do sc %%i -ocompiled\%%i >> temp.txt
notepad temp.txt
del temp.txt
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 03-08-2004 , 19:33  
Reply With Quote #2

Maybe its me, but its saying X errors found.. but not showing me the errors :/
devicenull is offline
cgountanis
Guest
Old 03-08-2004 , 19:39  
Reply With Quote #3

remove cls
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 03-08-2004 , 19:55  
Reply With Quote #4

This is what I am using now - it copies compiled plugins directly to the plugins directory
Code:
@echo off
rem AMX Mod X
rem
rem by the AMX Mod X Development Team
rem  originally developed by OLO
rem
rem This file is part of AMX Mod X.


if not exist compiled mkdir compiled
for %%i in (*.sma) do sc %%i -ocompiled\%%i 
copy compiled\*.amx ..\plugins\*.amx
del compiled\*.amx

pause
Theres no reason to change the file extension anymore - Its done already
devicenull is offline
cgountanis
Guest
Old 03-08-2004 , 19:59  
Reply With Quote #5

nice
MagicShot
Senior Member
Join Date: Mar 2004
Location: MN
Old 03-08-2004 , 20:40   WOW
Reply With Quote #6

Quote:
Originally Posted by cgountanis
nice

Wow Its Looking nice!!!

Can't Wait to get home and Test!!!
__________________
|v|agic$hot
.
Without a Sound
MagicShot is offline
Send a message via MSN to MagicShot Send a message via Yahoo to MagicShot
xeroblood
BANNED
Join Date: Mar 2004
Location: Toronto, Canada
Old 03-08-2004 , 20:47  
Reply With Quote #7

Well, just my 2 cents, but for an easier way to Code & Compile your plugins, try using Crimson Editor

You can link up to 9 (I think) different compilers (or the same compilers with diff options) into it, so compiling is as easy as a shotcut key.. Also, it conviently captures output and displays without ever seeing the DOS command prompt !!

I currently have linked 4 different methods of compiling AMX/AMXX plugins (extra 2 for optimized versions)..

(if you need help with adding SC compiler, PM me, if it is a reasonable question, I will reply!!)
xeroblood is offline
Send a message via MSN to xeroblood
MagicShot
Senior Member
Join Date: Mar 2004
Location: MN
Old 03-08-2004 , 20:59   Hmm..
Reply With Quote #8

Quote:
Originally Posted by xeroblood
Well, just my 2 cents, but for an easier way to Code & Compile your plugins, try using Crimson Editor

You can link up to 9 (I think) different compilers (or the same compilers with diff options) into it, so compiling is as easy as a shotcut key.. Also, it conviently captures output and displays without ever seeing the DOS command prompt !!

I currently have linked 4 different methods of compiling AMX/AMXX plugins (extra 2 for optimized versions)..

(if you need help with adding SC compiler, PM me, if it is a reasonable question, I will reply!!)
Currently I Use SmallEd.. (New Version comming soon)
But i will give Crimson Editor a try and see if I like it...
I keep hearing about it all over.

Thanx...
__________________
|v|agic$hot
.
Without a Sound
MagicShot is offline
Send a message via MSN to MagicShot Send a message via Yahoo to MagicShot
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 03-08-2004 , 21:00  
Reply With Quote #9

4 Ways?
What are they?
I think I like this Crimson Editor

Should I use the C/C++ template or do you have one I could use?
devicenull is offline
_KaszpiR_
AMX Mod X Beta Tester
Join Date: Feb 2004
Location: Warsaw, Poland
Old 03-09-2004 , 02:38  
Reply With Quote #10

i edit in editplus - and wrote also a simple highlight extension to it
compiling manual but without deleting temp.txt - more secure for me, at least
__________________
= Ave Cesar, morituri Te salutant. = http://nvt.prv.pl = http://hlds.pl/
_KaszpiR_ is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:58.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode