Skip to content

Commit

Permalink
Merge pull request #24 from Laupetin/feature/improved-ipak-building
Browse files Browse the repository at this point in the history
Improve IPak building
  • Loading branch information
Laupetin authored Oct 21, 2023
2 parents 1384c91 + 483d47d commit 4fa66ac
Show file tree
Hide file tree
Showing 13 changed files with 200 additions and 53 deletions.
3 changes: 3 additions & 0 deletions docs/example/ExtendZone/zone_source/ExtendZoneProject.zone
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
// Overwrite the name of the zone to be "ui"
>name,ui

// Set type to fastfile
>type,fastfile

// Add custom assets
material,,clanlvl_box
material,,xp
Expand Down
7 changes: 7 additions & 0 deletions docs/example/IPakZone/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

# You can now either build the fastfile by building the project itself
Linker IPakZone

# ...or by building both targets separately
Linker "IPakZone/IPakZone_ff" "IPakZone/IPakZone_ipak"
Empty file.
8 changes: 8 additions & 0 deletions docs/example/IPakZone/zone_source/IPakZone.zone
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Set the game to "Call Of Duty: Black Ops 2"
>game,T6

// Set type to none, only makes the other two projects build
>type,none

build,IPakZone_ff
build,IPakZone_ipak
11 changes: 11 additions & 0 deletions docs/example/IPakZone/zone_source/IPakZone_ff.zone
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Set the game to "Call Of Duty: Black Ops 2"
>game,T6

// Overwrite the name of the fastfile to be "IPakZone"
>name,IPakZone

// Set type to fastfile
>type,fastfile

// Add custom assets
image,sample_image
11 changes: 11 additions & 0 deletions docs/example/IPakZone/zone_source/IPakZone_ipak.zone
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Set the game to "Call Of Duty: Black Ops 2"
>game,T6

// Overwrite the name of the ipak to be "IPakZone"
>name,IPakZone

// Set type to ipak
>type,ipak

// Add custom assets
image,sample_image
Loading

0 comments on commit 4fa66ac

Please sign in to comment.