project-navigation
Personal tools

Author Topic: Can't make the game read an extra pk3 file (disabled?)  (Read 3191 times)

Offline Destructavator

  • Combination Multiple Specialty Developer
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1908
  • Creater of Scorchcrafter, knows the zarakites...
    • View Profile
Can't make the game read an extra pk3 file (disabled?)
« on: January 03, 2010, 07:47:12 am »
I've been doing a lot more work on the animations, TAGs, and other stuff related to the new models, and I wanted an easy way to test the new stuff with my working SVN copy without altering the working copy, so that I could remove or put back in the altered files with the new models quickly and easily.

I also wanted to do this so I could put a single custom pk3 file in the data source, that way other people could also test the new models and animations without making permanent changes to their copy of the game.

I double-checked the folder names internal to the custom pk3 and didn't see anything wrong, but I can't seem to make the game read the extra pk3.

Was this disabled or taken out of the game engine?  Or, what am I missing?

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Can't make the game read an extra pk3 file (disabled?)
« Reply #1 on: January 03, 2010, 10:12:21 am »
upload your pk3 somewhere - then i will have a look

Offline Destructavator

  • Combination Multiple Specialty Developer
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1908
  • Creater of Scorchcrafter, knows the zarakites...
    • View Profile
Re: Can't make the game read an extra pk3 file (disabled?)
« Reply #2 on: January 03, 2010, 06:50:09 pm »
Ah-ha!  I found the cause of the problem - I forgot the order of priority the game reads files in, and I had unaltered files unpacked as well as the custom pk3s.

I uploaded the pk3 anyways so that people can try it out with the 2.3 dev builds, I'll post details under "Artwork."

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Can't make the game read an extra pk3 file (disabled?)
« Reply #3 on: January 03, 2010, 07:27:37 pm »
if you name your pk3 1name.pk3 it should overwrite those starting with 0* (e.g. 0models.pk3)

Offline bayo

  • Professional loser
  • Project Coder
  • Captain
  • ***
  • Posts: 733
    • View Profile
Re: Can't make the game read an extra pk3 file (disabled?)
« Reply #4 on: January 07, 2010, 09:05:51 pm »
and 10name.pk3 should overwrite those starting with 9*  ;D