Compiled ACS
Compiled ACS
Okay, so I want to RIP OFF Parkmore for my project, but for gods sake I can't edit the scripts to remove that HRRGN training message.
"Type "PHELP" For Parkmore Tutorial"
Because I can't open the script which contains this script for an tutorial script, it's already compiled, and when I go "View As Text" I get only this line for the entire .o file
"ACS
"
I tried all kinds of ACS De-Compilers but they dont work at all.
In short, how do I de-compile ACS?
"Type "PHELP" For Parkmore Tutorial"
Because I can't open the script which contains this script for an tutorial script, it's already compiled, and when I go "View As Text" I get only this line for the entire .o file
"ACS
"
I tried all kinds of ACS De-Compilers but they dont work at all.
In short, how do I de-compile ACS?
Last edited by gamevoin on Wed Jul 02, 2014 1:49 pm, edited 1 time in total.
RE: Compiled ACS
Ask Ijon if he wants to give you the source code. you'll need his permission anyway.
[][][][][][][][][][][][][][][]
Nothing to see here
[][][][][][][][][][][][][][][]
Nothing to see here
[][][][][][][][][][][][][][][]
RE: Compiled ACS
But but
Code: Select all
. DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2012 Ijon Tichy <gztichy@lavabit.com>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.
RE: Compiled ACS
You still have to ask him for source code because most decompilers are useless garbage.
[][][][][][][][][][][][][][][]
Nothing to see here
[][][][][][][][][][][][][][][]
Nothing to see here
[][][][][][][][][][][][][][][]
RE: Compiled ACS
Thanks, I feel better.
-
Absolute Zero
- Posts: 78
- Joined: Fri Feb 14, 2014 1:43 am
RE: Compiled ACS
I think the line you are looking for is this one (from parkmore.c):
HudMessage(s:"Type 'phelp' for Parkmore help.";
Comment it and you are ready to go. Regardless, as the original author, I think he would be happy to know in what you are using it for.
HudMessage(s:"Type 'phelp' for Parkmore help.";
Comment it and you are ready to go. Regardless, as the original author, I think he would be happy to know in what you are using it for.
IMPLEMENT WEAPON PICKUP PREDICTION 2K14! VOTE NOW! YES/YES
In fact, I hate Kelvins, and humans too, because they are carrying nearly 300 of them EVERYWHERE!
In fact, I hate Kelvins, and humans too, because they are carrying nearly 300 of them EVERYWHERE!
RE: Compiled ACS
It doesn't seem to care for Parkmore.C, since I edited it, it seems to take everything from Parkmore.o still.
RE: Compiled ACS
You need to compile Parkmore.c after editing it.
Last edited by Konda on Wed Jul 02, 2014 4:35 pm, edited 1 time in total.
Code: Select all
<Synert> fuck
<Synert> plugged in my memory stick and got a bsod
RE: Compiled ACS
But It doesn't compile. In any formats.
This error. And when I remove "include file "commonfuncs.h" it gives me a bunch of other errors.
P.S. If there's an obvious error or smth, remember. I AM DUMB.
Code: Select all
Line 4 in file "C:\Users\Admin\Desktop\Doom\Slade\temp\parkmore.acs" ...
C:\Users\Admin\Desktop\Doom\Slade\temp\parkmore.acs:4: Couldn't find include file "commonFuncs.h".P.S. If there's an obvious error or smth, remember. I AM DUMB.
Last edited by gamevoin on Wed Jul 02, 2014 4:42 pm, edited 1 time in total.
-
Sir_Dyalot
- New User
- Posts: 13
- Joined: Sun Jun 29, 2014 1:47 pm
RE: Compiled ACS
I just so happen to have encountered similar errors recently when modifying other people's code for my own amusement...gamevoin wrote: But It doesn't compile. In any formats.This error. And when I remove "include file "commonfuncs.h" it gives me a bunch of other errors.Code: Select all
Line 4 in file "C:\Users\Admin\Desktop\Doom\Slade\temp\parkmore.acs" ... C:\Users\Admin\Desktop\Doom\Slade\temp\parkmore.acs:4: Couldn't find include file "commonFuncs.h".
P.S. If there's an obvious error or smth, remember. I AM DUMB.
SLADE is stupid about compiling ACS; it won't look inside the file for the header file it's including. If it's including a header file (commonfuncs.h in this case), you'll need to export that header file to disk, THEN add the directory you put it in to the Include Paths in your Preferences under Scripting/ACS. Also, depending on what version of ACS you're using, that commonfuncs.h, if it's anything like ones i've seen before, might redefine stuff that's already defined -- so you'll have to remove those functions from the exported header file as the errors come.. If all goes well, you can compile it, BUT it won't change the file name and will overwrite the C in the wad. SO if you want to back up the source code, you'll want to export it before you compile it, at which point, you might as well have been compiling it from the command line...
Also, off-topic, why are you running a doom editor as admin?
Last edited by Sir_Dyalot on Thu Jul 03, 2014 4:02 am, edited 1 time in total.
RE: Compiled ACS
Thank you, good Sir, but it still gives me errors telling what CommonFuncs.h has errors. Feel like I use something wrong here.
News::: Nevermind!After some pain, torture, and manipulation I managed to get through it and get rid of that training message. ho ho ho.
Code: Select all
Line 187 in file "commonFuncs.h" ...
commonFuncs.h:187: Invalid identifier.
> function int sqrt(
> ^News::: Nevermind!After some pain, torture, and manipulation I managed to get through it and get rid of that training message. ho ho ho.
Last edited by gamevoin on Thu Jul 03, 2014 8:09 am, edited 1 time in total.