Jump to content
Sign in to follow this  
Migal

Build PBO mikero file not found

Recommended Posts

Hi, It I'm building my first little addon.

If I create the PBO with BI addonBuilder everything goes well but I need a command line tool to build the addon, so I'm trying to use mikero's.

If I build the addon with mikero's makePBO it gives an error for missing files.

Missing files are icon picture in a subfolder.

 

The addon line is:

 

icon = "ric_zonedefiner\data\cp.paa"

 

The building command is:

Quote

MakePbo.exe -X="scripts, note" "addons/ric_zonedefiner"

 

 

and the   output is:

 

Quote

rapWarning: **********missing file(s)***************
C:\Users\Migal\Documents\Arma3work\@RIC_ZonesDefiner\addons/ric_zonedefiner\cfgVehicles.hpp circa Line 27: ric_zonedefiner\data\cp.paa
rapWarning: **********missing file(s)***************
rapWarning: **********missing file(s)***************

data\cp.paa:loading...
</end entries>
Missing File Summary
cfgVehicles.hpp : ric_zonedefiner\data\cp.paa
missing file(s)

 

I tryed to change backslash to slash: mikeros compile well and produce the pbo but using the mod on arma3 give an error for file missing.

 

Thank you for your help.

Share this post


Link to post
Share on other sites

TL:DR . Simply put. How can I reference a file in a subfolder with mikero's tools?

Share this post


Link to post
Share on other sites
12 minutes ago, Migal said:

TL:DR . Simply put. How can I reference a file in a subfolder with mikero's tools?

Shouldn't need to as its already referenced in the config.cpp. The fact that its not "working" means either the path is wrong, or the file isn't where the path says it is.

 

EDIT: Upon a second read, try inserting a '\' at the beginning of the path so it becomes:

icon = "\ric_zonedefiner\data\cp.paa";

As a side note, why are you not using the correct texture-naming type for your icon, which at a guess would be '_ca.paa' if it contains some form of transparency

 

  • Like 1

Share this post


Link to post
Share on other sites
On 1/24/2022 at 2:58 AM, Migal said:

C:\Users\Migal\Documents\Arma3work\@RIC_ZonesDefiner\addons/ric_zonedefiner\cfgVehicles.hpp circa Line 27: ric_zonedefiner\data\cp.paa

 

Should that not be a backslash?

  • Like 1

Share this post


Link to post
Share on other sites
4 minutes ago, Harzach said:

Should that not be a backslash?

I thought that too, but it seems to be finding the file to read it, so I figured MakePBO allowed for / and/or \ to be somewhat interchangeable

  • Like 2

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×