Creating a .pak file

Creating a .pak file

Postby Zanard » Sunday, 23.September 2012, 09:12

How do I create .Pak? :oops:
I can not find an answer on the net ... :cry:
thanks to all.
Fabio.
User avatar
Zanard
OP-Schieber
OP-Schieber
 
Posts: 14
Joined: Saturday, 19.August 2006, 15:23
Location: Italy Gardasee

Re: .pak

Postby erbsen » Sunday, 23.September 2012, 09:48

Ok, lets say your demo and wz4player.exe is at C:\wz4.

Open up Command Prompt: Press Win+r - a window pops up - type in "cmd" (without quotes).
Change the directory: type in cd C:\wz4.

Type in: wz4player name_of_your_wz4_file.wz4 --pack name_of_your_demo.pak
Or type in: C:\wz4\wz4player name_of_your_wz4_file.wz4 --pack C:\wz4\name_of_your_demo.pak
Use quotes if there are spaces in your path: "C:\wz4\wz4player name_of_your_wz4_file.wz4" --pack "C:\wz4\name_of_your_demo.pak"

Rename wz4player.exe to name_of_your_demo.exe
Zip wz4player.exe and name_of_your_demo.pak and release your demo.

I wrote this from memory i hope it works.
erbsen
Operator
Operator
 
Posts: 873
Joined: Thursday, 15.July 2004, 23:00
Location: Os

Re: .pak

Postby Zanard » Sunday, 23.September 2012, 10:27

erbsen wrote:Ok, lets say your demo and wz4player.exe is at C:\wz4.

Open up Command Prompt: Press Win+r - a window pops up - type in "cmd" (without quotes).
Change the directory: type in cd C:\wz4.

Type in: wz4player name_of_your_wz4_file.wz4 --pack name_of_your_demo.pak
Or type in: C:\wz4\wz4player name_of_your_wz4_file.wz4 --pack C:\wz4\name_of_your_demo.pak
Use quotes if there are spaces in your path: "C:\wz4\wz4player name_of_your_wz4_file.wz4" --pack "C:\wz4\name_of_your_demo.pak"

Rename wz4player.exe to name_of_your_demo.exe
Zip wz4player.exe and name_of_your_demo.pak and release your demo.

I wrote this from memory i hope it works.

erbsen


Thanks arbsen! :D :D :D
User avatar
Zanard
OP-Schieber
OP-Schieber
 
Posts: 14
Joined: Saturday, 19.August 2006, 15:23
Location: Italy Gardasee

Re: Creating a .pak file

Postby CybeREX » Tuesday, 13.May 2014, 12:00

I have working wz4 file with root operator. I run it via cmd "wz4player_dx9_x86.exe test.wz4" and demo run.
I create pak file using "wz4player_dx9_x86.exe test.wz4 --pack test.pak"
but when I try to loading it via player or via cmd "wz4player_dx9_x86.exe test.pak"
I get this error.
pak error.jpg
You do not have the required permissions to view the files attached to this post.
CybeREX
Demomaker
Demomaker
 
Posts: 154
Joined: Thursday, 03.April 2014, 07:44

Re: Creating a .pak file

Postby Skinnytorus » Tuesday, 13.May 2014, 12:43

If you use any stacks similar to those used here viewtopic.php?f=42&t=1415, then this might be the FromVertex operator. That's what ikam said:
There is a problem with FromVertex and the build operator stack process. In short, mesh in cache (readed by fromvertex op) is not available if you directly show a render operator (yellow) in the satck, it is why when you show green operator before it will work, mesh will be in cache. Need investigation to remind me how all this process work.
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: Creating a .pak file

Postby CybeREX » Tuesday, 13.May 2014, 14:25

Seems close to the true, but maybe I do something wrong in the staking?
I add "green add operator almost anywhere" =) but now get this error =)

player.jpg
You do not have the required permissions to view the files attached to this post.
CybeREX
Demomaker
Demomaker
 
Posts: 154
Joined: Thursday, 03.April 2014, 07:44

Re: Creating a .pak file

Postby Skinnytorus » Tuesday, 13.May 2014, 14:40

Working fine for me. All I did was added a full project path into Document options (ctrl +k) and re-saved .wz4 file.
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: Creating a .pak file

Postby Skinnytorus » Tuesday, 13.May 2014, 14:48

It's working even without the full project path. Try my last wz4 build.
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: Creating a .pak file

Postby CybeREX » Wednesday, 14.May 2014, 10:58

Well I try your latest build, but also get new errors...Maybe its all about WinXP?
I try today same things when I came to home with Win7

wz4-latestbuild.JPG
You do not have the required permissions to view the files attached to this post.
CybeREX
Demomaker
Demomaker
 
Posts: 154
Joined: Thursday, 03.April 2014, 07:44

Re: Creating a .pak file

Postby ikam » Wednesday, 14.May 2014, 11:31

it works fine for me too (tested with xp)

try to just lauch wz4player (double click).

and try this pak, maybe its your packaging that is bad.
You do not have the required permissions to view the files attached to this post.
ikam
Operator
Operator
 
Posts: 911
Joined: Friday, 14.October 2011, 13:00
Location: France

Re: Creating a .pak file

Postby CybeREX » Wednesday, 14.May 2014, 11:58

Thank you guys! I finally figureout why it's not work for me.
I used folder for wz4 containing russian letters
C:\Documents and Settings\Администратор.BTI\Рабочий стол\Новая папка\Wz4CE_dx9_x86

and this things don't work, when I change destination folder to simple

C:\Wz4CE_dx9_x86

it paked and run very well!

Again thanks in participation to solve my problem!

PS. I extract several FB demos to the same folder with russian letter, but they run very well... BUT my pak file with player, only work in eng folders only =)
CybeREX
Demomaker
Demomaker
 
Posts: 154
Joined: Thursday, 03.April 2014, 07:44


Return to Support



Who is online

Users browsing this forum: No registered users and 3 guests