• Welcome to Battlezone Universe.
 

News:

Welcome to the BZU Archive dated December 24, 2009. Topics and posts are in read-only mode. Those with accounts will be able to login and browse anything the account had access granted to at the time. No changes to permissions will be made to be given access to particular content. If you have any questions, please reach out to squirrelof09/Rapazzini.

Main Menu

PB4 Bug: AIP Autoreg files and MPI

Started by Steeveeo, July 11, 2008, 03:47:49 AM

Previous topic - Next topic

Steeveeo

A bug that could use some fixing:

aip_<name>.autoreg files do not work for MPI AIP listings, only IA. Needs some looking in to if this was not intentional.

(Click it for more art, y'know you wanna!)

Gone to college, but I now have internet.

GSH

Note: if you're using a custom aiplist.txt file on a map, that overrides the autoreg files.

-- GSH

Steeveeo

Im not using custom maps (stated many times before, out of the scope of SRV), and I had to resort to the aiplist.txt method AFTER I found that autoregs do not work for MPI (not specifying a custom one, I mean I made an override by copying and modifying the file for the Beta phase of testing to still work). Having no custom aiplist.txt and only having the aip_<name>.autoreg files do not work to have the custom AIPs show up in MPI, only IA. And since it was said that autoreg files were supposed to kill the need for such files as aiplist.txt, ia_aiplist.txt, recylist.txt, etc, you can see where I found a problem.

Just trying to make that a bit more clear.

(Click it for more art, y'know you wanna!)

Gone to college, but I now have internet.

mrtwosheds

so why does pb4 list aips for mpi then?

GSH

I believe it's because aiplist.txt was deleted, but resurrected by accident. (Look in the patch13.pak). If it's present, it ignored the autoreg files.

Next full build (pb4a) will fix this by deleting aiplist.txt

-- GSH

wug

Sorry, it was my fault.  I'm glad Steeveeo caught the problem. :oops:

GENERAL MANSON*

Quote from: wug on July 13, 2008, 04:42:27 AM
Sorry, it was my fault.  I'm glad Steeveeo caught the problem. :oops:


About time.

Warfreak

0_O, that explains why Wug's was working this entire time  :lol:

mrtwosheds

This sort of links to my current point of confusion.
My 3rd race can use just about all of the stock maps, except the mpi maps for a variety of reasons, Aips/path points etc etc.
Can anyone think of a way to Not display non Legions Of skaro mpi maps in the map list, while retaining all the other strat/dm/ctf maps?


Warfreak

That is a good questions....... I know you can now avoid ALL maps, but each section of the maps13 folder i think cannot be selected individually......

Wait, try this in the .cfg:


AddDirRecurse("@rootdir\maps13\Missions\Multiplayer\ST");
AddDirRecurse("@rootdir\maps13\Missions\Multiplayer\DM");
AddDirRecurse("@rootdir\maps13\Missions\Multiplayer\CTF");
// AddDirRecurse("@rootdir\maps13")


That SHOULD only include the Strat, Dm, and Ctf maps from the stock selection.  :-)

GSH

Warfreak - sorry, but I don't think that'll work. The logic BZ2 uses is roughly this:

ForEach AddDirRecurse entry
- Take that path, add "Missions/Mutiplayer"
- Find all .bzn files under there, add to list

Your entries have no way to specify Missions/Multiplayer to it.

-- GSH

Warfreak

That's actually what i was afraid of, thanks for verifying GSH.

mrtwosheds

Using mm5 I can do this to remove the mpi maps.

RenameEX("bzone.cfg", "bzoneLOS.cfg", "bzonebak.cfg");
RenameEX("maps13\Missions\Multiplayer\mpi", "Los\Missions\Multiplayer\mpi", "Los\mpi");
RenameEX("maps13\Missions\Multiplayer\3rdParty", "Los\Missions\Multiplayer\3rdParty", "Los\3rdParty");

It also removes other 3rdParty maps, attempting to go further into the dir's to renameEX just "Greenhearts Map Pack", did not work.
I wonder if it has anything to do with the spaces in the folder names?


CmptrWz

The rename command passes things to an internal command that does not like spaces, apparently. I may be able to fix that.

mrtwosheds

Or someone could remove the spaces in pb4a