For direct access use https://forums.oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com

Compiler .bat file

This section is intended for non-Unreal posts. Forum rules apply.
Post Reply
User avatar
LannFyre
OldUnreal Member
Posts: 157
Joined: Fri Mar 13, 2015 7:01 am

Compiler .bat file

Post by LannFyre »

I found this a while ago and thought it was kinda neat, so I thought I'd share it. This is a file you should save as a .bat file, the goal of it is to delete your current .u file and to recompile it through ucc make. I've been using this for a bit, I'm sure all of the seasoned coders already use this or something better, but here it is:

Code: Select all

cd [ENTER SYSTEM FILE PATH HERE]
del [INSERT PACKAGE NAME WITH FILE EXTENSION HERE]
ucc make
For me, it looks something like this:

Code: Select all

cd C:\GOG Games\Unreal Gold\System
del RPG_Game_dev.u
ucc make
I don't remember where I found this, I just thought I'd drop it here. :D
i tryin'a be a gud boi
User avatar
han
Global Moderator
Posts: 686
Joined: Wed Dec 10, 2014 12:38 am

Re: Compiler .bat file

Post by han »

I use nmake makefiles, which one can easily use inside msvc projects.

Example for HX

Code: Select all

# HX.u NMAKE Makefile

HX_U = HX.u
HX_UCC = hcc build -silent -nobind -noconform -noheader
#HX_UCC = hcc build -silent -nobind -noconform

$(HX_U):
      cd ../../System
      -del $(HX_U)
      $(HX_UCC)
      -hexed -e 8 00 $(HX_U)

Though for my build commandlet I just added a -purge= option. So rebuilding a package out of the commandline just works like:

Code: Select all

ucc build -purge=SamplePackage
Last edited by han on Tue May 10, 2016 6:19 pm, edited 1 time in total.
HX on Mod DB. Revision on Steam. Löffels on Patreon.
Post Reply

Return to “Anything else ?”