Quickly compile ACS-files via the context menu (right-click menu)!

General discussion of the port and Doom-related chat.
Post Reply
User avatar
Vincent(PDP)
Forum Regular
Posts: 527
Joined: Thu Mar 14, 2013 7:35 pm
Location: Sweden
Clan: My DOOM site
Clan Tag: <MDS>
Contact:

Quickly compile ACS-files via the context menu (right-click menu)!

#1

Post by Vincent(PDP) » Thu Dec 31, 2015 12:45 am

WINDOWS ONLY!

I made a small registry modification for .acs-files which makes one able to quickly compile them by just right-clicking them and pressing "Compile ACS".

How to use:
  • First place a copy of the ACC compiler and it's files in: C:\Program Files\ACC\.
  • Then copy the below code into Notepad.
  • Save it as whatever.reg. - It's important that the file extension is .reg!
  • Run it...

...and voilà!
Image
(Icon not included)

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.acs]

[HKEY_CLASSES_ROOT\.acs\shell]

[HKEY_CLASSES_ROOT\.acs\shell\compileacs]
@="Compile ACS"
"MUIVerb"="Compile ACS"

[HKEY_CLASSES_ROOT\.acs\shell\compileacs\command]
@="C:\\Program Files\\ACC\\acc.exe %1 %*"
Note: If you want to change the ACC path (or not use ACC at all), you can change the last line of the code - BUT it's important that you use double backslashes ('\\').
The '%1' and '%*' symbols are the parameters sent to the application. '%1' is the selected file.
Last edited by Vincent(PDP) on Thu Dec 31, 2015 12:47 am, edited 1 time in total.
//Visual Vincent ( Vincent (PDP) )
- My DOOM site Team

My projects:
Spoiler: (Open)
Doom Writer
Escape From The Laboratory - Done
Escape From The Laboratory Part 2
Parkskolan Zombie Horde Map (ZM10) - Done
In game Admin Commands for Zandronum.
Achievement Mod for Zandronum
Stats mod

Catastrophe
Retired Staff / Community Team Member
Posts: 2569
Joined: Sat Jun 02, 2012 2:44 am

RE: Quickly compile ACS-files via the context menu (right-click menu)!

#2

Post by Catastrophe » Thu Dec 31, 2015 1:37 am

Should go in tutorials, nice.

Post Reply