UCC Make

Dedicated to the discussion of OTP and Deus Ex in general.

Moderators: Master_Kale, TNM Team

User avatar
Jonas
Off Topic Productions
Off Topic Productions
Posts: 14224
Joined: Sat Apr 24, 2004 9:21 pm
Location: Hafnia

Re: UCC Make

Post by Jonas »

Psscht we have specialized batch files for that!

Although apparently Chris doesn't want to use them :P

(Admittedly they can be a chore to set up).
Jonas Wæver
Chief Poking Manager of TNM

I've made some videogames:
Expeditions: Rome
Expeditions: Viking
Expeditions: Conquistador
Clandestine
User avatar
ZeroPresence
The Nameless Mod
The Nameless Mod
Posts: 618
Joined: Mon Oct 17, 2005 7:29 pm
Location: Florida, USA
Contact:

Re: UCC Make

Post by ZeroPresence »

since I reformat like I change my socks... I don't have SVN setup... yargh
User avatar
Jonas
Off Topic Productions
Off Topic Productions
Posts: 14224
Joined: Sat Apr 24, 2004 9:21 pm
Location: Hafnia

Re: UCC Make

Post by Jonas »

If you reformat that often, consider finding a program to do a complete disk image backup of your default setup :)
Jonas Wæver
Chief Poking Manager of TNM

I've made some videogames:
Expeditions: Rome
Expeditions: Viking
Expeditions: Conquistador
Clandestine
EER
Illuminati
Posts: 2486
Joined: Sat Oct 22, 2005 7:52 pm
Location: NL

Re: UCC Make

Post by EER »

just get svn, open the command prompt and browse to your backed up svn copy of TNM, there type "svn up" to get the latest shite. Done. So easy, assuming you have a backed up svn copy of TNM.
Another Visitor ... Stay a while ... Stay forever!
User avatar
Dead-eye
X-51
Posts: 944
Joined: Tue Apr 25, 2006 3:45 am
Location: Santa Cruz, California

Re: UCC Make

Post by Dead-eye »

Jonas wrote:Psscht we have specialized batch files for that!
I think:

Code: Select all

ucc make
pause
Is the same thing. Am I wrong? Did TNM make it's own uccmake.bat file?
Image
User avatar
Jonas
Off Topic Productions
Off Topic Productions
Posts: 14224
Joined: Sat Apr 24, 2004 9:21 pm
Location: Hafnia

Re: UCC Make

Post by Jonas »

Dead-eye wrote:Is the same thing. Am I wrong? Did TNM make it's own uccmake.bat file?
By "specialized" I mean we have one batch file per data package (so we don't have to manually delete the old packages before compiling), we have batch files for updating from each of the SVN repositories plus one for a full update, we have one for rebuilding all packages for UEd2, and we have batch files for compiling each of our conversation packages with or without audio or both of them.

Nick wrote them. We like automating things.
Jonas Wæver
Chief Poking Manager of TNM

I've made some videogames:
Expeditions: Rome
Expeditions: Viking
Expeditions: Conquistador
Clandestine
User avatar
Neveos
X-51
Posts: 875
Joined: Wed Mar 03, 2010 1:29 am

Re: UCC Make

Post by Neveos »

EER wrote:Also, you could press <enter> after ucc make and type pause to keep the window open after ucc making.

contents would then be:

Code: Select all

ucc make
pause
You could just create a text file with all the commands you want, and change the extension to ".cmd". All you have to do is click the command file to execute the recompile. You can right click it later, and "edit" it's contents as you would a notepad file. I use it to delete the package that needs to be recompiled. So:

Code: Select all

cd c:\DeusEx\System
del IWR.u
ucc make
pause
If you don't put 'pause' at the end, it will close the window automatically before you can overlook how it went down.

You can use this to perform more complex actions like:

Code: Select all

cd C:\deusex\system
del IWR.u
del IWRText.u
del IWRAudioMission51.u
del IWRAudioMission52.u
ucc make
cd C:\DeusEx\Ued2
del IWR.u
COPY "C:\DeusEx\system\IWR.u" "C:\DeusEx\Ued2\IWR.u"
COPY "C:\DeusEx\IWRtxts\TextImport.uc" "C:\DeusEx\IWR\Classes\TextImport.uc"
cd C:\deusex\system
del IWR.u
del IWRText.u
del IWRAudioMission51.u
del IWRAudioMission52.u
ucc make
cd C:\DeusEx\IWR\Classes
del TextImport.uc
pause
which is how I create two packages, one without code that can't be loaded into the Ued2 editor.

Oh and who has/can provide this ucc.exe that is in the Ued2 folder? How did you get it, and how do you know about it?
What I do in my other free time:
http://www.youtube.com/watch?v=e3FfPUKuGsQ
User avatar
Chris
UNATCO
Posts: 135
Joined: Wed Jul 11, 2012 11:56 pm
Location: In the secret underground MJ12 base in Goat City, as a prisoner.

Re: UCC Make

Post by Chris »

Hi, Zero where could you download the UCCMake.bat file?

The PDX Site is dead so i cant download it from there. Any other places where i could download it?
Platypus
~DJ~
UNATCO
Posts: 277
Joined: Thu Sep 13, 2007 4:15 pm

Re: UCC Make

Post by ~DJ~ »

Code: Select all

@ECHO OFF
:Start
CLS
ECHO ==============================
ECHO +  ----     Compiler   ----  +
ECHO ==============================
ECHO Please wait....
del C:\DeusEx\System\YOURMOD.u
C:\DeusEx\System\ucc make
pause
exit
Save that as .BAT extention, put it in your "CLASSES" folder of your custom mod, run it whenever you want to compile.


*Fill in the name of your mod in "YOURMOD.u" and the location of System folder.
User avatar
Chris
UNATCO
Posts: 135
Joined: Wed Jul 11, 2012 11:56 pm
Location: In the secret underground MJ12 base in Goat City, as a prisoner.

Re: UCC Make

Post by Chris »

DJ? Thats for me? I dont want that. I mean where could i download the UCC Make.BAT file

I want to create my own packages [-o<
Platypus
User avatar
Chris
UNATCO
Posts: 135
Joined: Wed Jul 11, 2012 11:56 pm
Location: In the secret underground MJ12 base in Goat City, as a prisoner.

Re: UCC Make

Post by Chris »

Thanks anyway DJ. Fuck SOPA!
Platypus
DDL
Traditional Evil Scientist
Traditional Evil Scientist
Posts: 3791
Joined: Mon Oct 17, 2005 10:03 am

Re: UCC Make

Post by DDL »

Wait, isn't UCC part of the entire DX SDK, i.e. entirely free for everyone to use? Why is SOPA even an issue here?
Post Reply