Jump to content


Photo

CSF PAK Creator


  • Please log in to reply
5 replies to this topic

#1 herbert3000

herbert3000

    Guilty Until Proven Innocent

  • Division Admins
  • 610 posts
  • Location:Austria
  • Division:Commandos HQ
  • Job:Division Admin

Posted 17 February 2024 - 05:18 PM

With this tool you can create PAK archives for Commandos Strike Force
Attached File  CSF PAK Creator v0.2.zip   3.79KB   193 downloads

There are two versions of the PAK file format, one compresses the contained files, the other one doesn't. So far I've only implemented the uncompressed version. But it looks like the game accepts any format.

How to use the PAK Creator:
Download and install the the latest version of Java (Java Runtime Environment).
Download and unzip the PAK Creator from my link above.
Backup the .pak file(s) you want to modify!
Extract the whole content of a .pak file using the CommDevToolkit, create a new folder for that. Move that folder to the same location where the PAK Creator.jar and .bat are located.
Edit the extracted resources.
Double-click the .bat file and enter the name of the folder, this will create a new .pak file. Copy that .pak file to the correct location inside the CSF folder.

 

Changelog:

v0.1 - initial version

v0.2 - fixed a bug in the encoding of the filenames which have special characters in it



#2 Samz

Samz
  • Members
  • 57 posts

Posted 02 September 2024 - 05:39 PM

With this tool you can create PAK archives for Commandos Strike Force
attachicon.gif CSF PAK Creator v0.2.zip

There are two versions of the PAK file format, one compresses the contained files, the other one doesn't. So far I've only implemented the uncompressed version. But it looks like the game accepts any format.

How to use the PAK Creator:
Download and install the the latest version of Java (Java Runtime Environment).
Download and unzip the PAK Creator from my link above.
Backup the .pak file(s) you want to modify!
Extract the whole content of a .pak file using the CommDevToolkit, create a new folder for that. Move that folder to the same location where the PAK Creator.jar and .bat are located.
Edit the extracted resources.
Double-click the .bat file and enter the name of the folder, this will create a new .pak file. Copy that .pak file to the correct location inside the CSF folder.

 

Changelog:

v0.1 - initial version

v0.2 - fixed a bug in the encoding of the filenames which have special characters in it

 

 

I got a new PC (Windows 11 instead of 8) and it seems it crashes when attempting to pack files now.

Attached Thumbnails

  • Screenshot 2024-09-02 183626.jpg


#3 herbert3000

herbert3000

    Guilty Until Proven Innocent

  • Division Admins
  • 610 posts
  • Location:Austria
  • Division:Commandos HQ
  • Job:Division Admin

Posted 03 September 2024 - 07:25 PM

I got a new PC (Windows 11 instead of 8) and it seems it crashes when attempting to pack files now.

Hi, does this happen with every file?



#4 Samz

Samz
  • Members
  • 57 posts

Posted 04 September 2024 - 12:55 PM

 

I got a new PC (Windows 11 instead of 8) and it seems it crashes when attempting to pack files now.

Hi, does this happen with every file?

 

 

 

Seemingly.

To be sure, I extracted a new pak (Ambush) and without altering it, tried to repack it.

 

It still had the same error.



#5 SOMYST

SOMYST
  • Members
  • 9 posts
  • Location:Ukraine
  • Projects:CSF Beta Content Mod

Posted 05 September 2024 - 08:21 AM

I got a new PC (Windows 11 instead of 8) and it seems it crashes when attempting to pack files now.

What is your Java version? Maybe that's the problem?



#6 Samz

Samz
  • Members
  • 57 posts

Posted 06 September 2024 - 12:40 PM

 

I got a new PC (Windows 11 instead of 8) and it seems it crashes when attempting to pack files now.

What is your Java version? Maybe that's the problem?

 

 

I just got Java fresh from the website.

 

Version 8 Update 421.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users