project-navigation
Personal tools

Author Topic: .Pk3 files need revision stamping  (Read 2852 times)

Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
.Pk3 files need revision stamping
« on: April 30, 2009, 07:53:39 pm »
While trying to reproduce a problem in 24147, I was getting a very different error.

A make clean, and a fresh make, solved this -- giving me what I was expecting.

It seems that if the game finds .pk3 files left over from a different build, they are being used and altering the results seen.

Can the pk3 files get stamped with an SVN revision so that the game can ignore them if they are from a different compile?

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2552
    • View Profile
Re: .Pk3 files need revision stamping
« Reply #1 on: April 30, 2009, 08:11:44 pm »
simple answer: no

Why do you build pk3 for testbuild at all?

-geever

Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
Re: .Pk3 files need revision stamping
« Reply #2 on: April 30, 2009, 09:58:47 pm »
Because if I get the game to "work" (bring up the skirmish map, and start the campaign game), I build an installer, and then upload what I have for others to download.

Now I know I need to clean things out afterwards, and not leave them around.

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Re: .Pk3 files need revision stamping
« Reply #3 on: May 01, 2009, 12:13:22 am »
It *should* prefer loose files over pack files though...

Offline bayo

  • Professional loser
  • Project Coder
  • Captain
  • ***
  • Posts: 733
    • View Profile
Re: .Pk3 files need revision stamping
« Reply #4 on: May 01, 2009, 02:08:42 pm »
pk3 should only be used for the release version. It is not need at all to create it. Resource from SVN are usable without pack.

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Re: .Pk3 files need revision stamping
« Reply #5 on: May 01, 2009, 02:52:29 pm »
But he said he wanted to create an installer, and you have to build the packs files for that.

odie

  • Guest
Re: .Pk3 files need revision stamping
« Reply #6 on: May 01, 2009, 03:27:26 pm »
While trying to reproduce a problem in 24147, I was getting a very different error.

A make clean, and a fresh make, solved this -- giving me what I was expecting.

It seems that if the game finds .pk3 files left over from a different build, they are being used and altering the results seen.

Can the pk3 files get stamped with an SVN revision so that the game can ignore them if they are from a different compile?
keybounce,

Pk3 files are meant to be compiled for creating installers (nsis script) only.

Usually, after creating it, when u update a new svn version, u need to run the /base/archives.bat which will update all the latest pk3 files again.

U dun really need to delete them, unless u really wish to have a super clean rebuilt.... (IMHO, not necessary, since i already previously submitted a change for the 7za scripts in the batch files to use -u[update] instead of -a [add] for the files).

Either way, if u update ur SVN, u need to basically rebuild the workspace, do a compile_maps.bat and archives.bat before creating that installer. :) Toodles.

Offline bayo

  • Professional loser
  • Project Coder
  • Captain
  • ***
  • Posts: 733
    • View Profile
Re: .Pk3 files need revision stamping
« Reply #7 on: May 01, 2009, 05:11:11 pm »
Installer for Mac?

Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
Re: .Pk3 files need revision stamping
« Reply #8 on: May 01, 2009, 07:49:46 pm »
Yes, for Mac.