RegisterRegister    Log inLog in    SearchSearch   

Post new topic   Reply to topic
Goto page Previous  1, 2 
View previous topic :: View next topic  
Author Message
Andrew
Mammoth


PostPosted: Thu Sep 09, 2010 10:00 am    Post subject: Reply with quote

Hey,

It sounds like your trying to run 'php build-update.bat'.

If you're on Windows, try these steps:

1) Download (again, if you've been editing the script files) the package builder on the left

2) Unzip it

3) With PHP installed; open a command prompt window via Start->Run type 'cmd' [Enter]

4) Change directory using 'cd' to where you unzipped the files

5) Type: build-update

You should see this text appear:

Quote:

c:\....\contentmaster>build-update.bat

Usage: build-update.php <package-name> [parameters]

Package name may appear before, between, or after any parameters.

Type /help for more information.


6) Now you know it works, make sure you setup your configuration right (rename build-update.config-default to build-update.config) and start building packages.

You may need to setup the configuration first before step 5.
Back to top
View user's profile Send private message
adbot



PostPosted: Thu Mar 31, 2011 3:57 am 

ryguy222



PostPosted: Mon Oct 11, 2010 4:13 pm    Post subject: Reply with quote

Well I decided to try building these updates on one of my Linux VPS systems (that I use for web hosting services)

Is it possible to build windows packages on a linux system? (paticularly cent os)

This time it works (I never liked php + windows >_<)

HOWEVER, I get a could not find package 'tf2'- did you add it to packages.txt?

And it is in packages.txt, and packages.txt is readable.

I've tried
Orangebox
Orange-box
TF2
TF2 Orangebox
TF2 Orange-box
TF
TF Orange-Box
.....etc

Apologies for such a late reply, I had given up on this project, but with all these updates that valve is throwing out it would shave off a ton of my time.
Back to top
View user's profile Send private message
Kybber



PostPosted: Mon Oct 11, 2010 6:13 pm    Post subject: Reply with quote

I use a Linux VPS for building both our Linux and Windows packages. The trick to running updates for steam-games is to install wine and run "wine Hldsupdatetool.exe -command etc." the same way you'd run "steam -command etc." for a Linux package.

All entries in packages.txt need to be lower-case. The relevant lines from my file look like this:
Code:
tf2 orange-box
- /orangebox/tf
Back to top
View user's profile Send private message
ryguy222



PostPosted: Tue Oct 12, 2010 4:56 am    Post subject: Reply with quote

The VPS happens to be in the same data center as the full dedicated system (or at least pretty close, not sure how else I could explain a 20mbps upload speeds)

So I just run HLDS on the windows, zip it up, and upload it. I don't have any linux systems (other than the VPS at this time, so I don't need linux files, and I can't seem to get it to build properly on a windows platform)

The main directory is /SERV/

so the path to the build-update.php is

/SERV/build-update.php

and then I have /SERV/win32/orangebox/tf

I did use both uppercase and lowercase as a command, and they are all lowercase.

ALso I have that exact code in the packages file and same error >_<
Back to top
View user's profile Send private message
Kybber



PostPosted: Tue Oct 12, 2010 4:49 pm    Post subject: Reply with quote

What error? That tf2 cannot be found in packages.txt? Where is your packages.txt located? And is it readable by the user that runs the build-update script?

Can you post the exact output when trying to run build-update?
Back to top
View user's profile Send private message
ryguy222



PostPosted: Sat Oct 16, 2010 3:24 pm    Post subject: Reply with quote

Well I uploaded the files to the server under an account ryguy221. Permissions are set 777 on the packages.txt file. I also did nano and opened that packages.txt file and made sure that the code was in there. I will post an image, and you will see tf2 is in the file.

I tried this from both the root account, as well as the ryguy221 account which may have had ownership as I uploaded the file under the ryguy221 account.

Here is what this all looks like.

Back to top
View user's profile Send private message
Kybber



PostPosted: Sat Oct 16, 2010 6:10 pm    Post subject: Reply with quote

Is packages.txt in your cwd? I notice you are running build-update from a different dir. That is ok, but packages.txt needs to be in the dir you are at when you launch build-update. If packages.txt is in /home/ryguy221/evlgaming/SERV, along with you win32 dir etc, just cd to that dir before running build-update.

If you are willing to allow me access to your host, please send me a pm with your login information and I will take a look and try to identify the problem. If not, then that's understandable, and we can continue here on the forums.
Back to top
View user's profile Send private message
ryguy222



PostPosted: Sun Oct 17, 2010 5:46 pm    Post subject: Reply with quote

Very Happy

Change the CD to that directory did the trick Smile

We're not outta the woods yet...


IT says:


Code:
============================================
Building new installation script for win32
============================================

Ignoring orange-box Directory: /hl2
Ignoring orange-box Directory: /orangebox
Ignoring bg2 Directory: /orangebox/bg2
Ignoring dodsource Directory: /orangebox/dod
Ignoring fistfuloffrags Directory: /orangebox/fistful_of_frags
Ignoring garrysmod Directory: /orangebox/garrysmod
Ignoring zombiepanic Directory: /orangebox/zps
Ignoring zombiepanic Directory: /orangebox/zpscustom
Preparing win32/tf2 revision 1


============================================
NOTE: Not writing a new revision.
No changes were made since the last revision!
============================================




No text files were made in that folder specifying any instructions. I did a new install of TF2 (with all of the custom content server settings correctly set) Linked to the location of the content, and checked the box.

So no changes in the revision. But there isn't even a base file or instruction set for the server. And new server installs are still downloading from the game create content server, and being uber slow.

What needs to be done?
Back to top
View user's profile Send private message
Kybber



PostPosted: Sun Oct 17, 2010 5:59 pm    Post subject: Reply with quote

Do you have any files in you win32 and/or linux dirs that are called tf2.txt* or orange-box.txt? They are the files that contain information about every single file and dir in you tf2 master install.

If you have those files, do this:
- remove all the .txt* files from both win32 and linux
- in gc webinterface, uncheck both tf2 and orangebox. Save. Recheck tf2 and orangebox, and save again. This zeros out your revision numbering.
- run build-update.php on tf2. If it works now, run build-update on orange-box.
Back to top
View user's profile Send private message
Mika56



PostPosted: Thu Dec 30, 2010 6:19 am    Post subject: Reply with quote

loool
I had fun reading this topic.
<?, aka shors tags, are disabled by default (because it is in conflict with asp tags).
<? should not be used anymore. Use <?php instead.
Change your first (second) line to <?php and the script will work, on Windows too.

Mika.
Back to top
View user's profile Send private message
Kybber



PostPosted: Sat Jan 01, 2011 11:09 pm    Post subject: Reply with quote

ASP sucks on so many levels. And here's another one. Nice find Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic All times are GMT + 10 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum powered by phpBB © 2001, 2005 phpBB Group
GameCreate Service Terms | Privacy Policy | © Copyright Mammoth Media 2001-2007
GameCreate™ is a trademark of Mammoth Media Pty Ltd. GameCreate® is a registered trademark in Australia.