Page 1 of 1

Error Inhibits Custom Side Creation

Posted: Sun Feb 27, 2011 12:41 am
by SoranoGuardias
I found CodaRez's beautiful Zangetsu Shikai mod assets (forums/viewtopic.php?f=64&t=20847) , and I tried incorporating them into the SWBF1 Alliance side, replacing the Bowcaster on the wookie with intentions of adding a Getsugatensho (for those of you who do not know what that is, it is an uber wave-like attack) for my own personal enjoyment. Sadly, when I tried to munge the new side, some sort of error nullified the munger and left me with a 1 KB ALL.lvl side file. After several attempts with this mod, I tried several older mod projects that I knew to work and had not been changed for months, and again I was left with a 1KB side file.

I transferred all of my projects into a safe location on a separate drive, shredded the directory that contained BFBuilder, "reinstalled" the application and restored the project sides. Again, I was left with an undersized file that does not work, even after following psych0freds's guidelines step-by-step.

Anyone had any trouble like this? If so, do you know how to fix it?

For reference, I am including the ODF files I modified for the smuggler and Zangetsu.

Smuggler:
Hidden/Spoiler:
[GameObjectClass]
ClassLabel = "soldier"
GeometryName = "all_inf_wookie.msh"

[Properties]
FootWaterSplashEffect = "watersplash_sm"
WaterSplashEffect = "watersplash_md"
WakeWaterSplashEffect = "watersplash_wade"

UnitType = "repair"
IconTexture = "all_sapper_icon"
MapTexture = "troop_icon"
MapScale = 1.4

GeometryName = "all_inf_wookie"
SkeletonName = "all_inf_wookie"
FirstPerson = "all\allwook;all_1st_wookie"
FirstPersonFOV = "70"
ThirdPersonFOV = "65"
AnimationName = "all_inf_snowtrooper"
GeometryLowRes = "all_inf_wookie_low1"
SkeletonLowRes = "all_inf_wookie_lowres"

OverrideTexture = "wookie"
OverrideTexture2 = "wookieface02"

SkeletonRootScale = "1.15"
CollisionRootScale = "1.15"

CAMERASECTION = "STAND"

EyePointOffset = "0.0 1.8 0.0"
TrackCenter = "0.0 2.25 0.0
TrackOffset = "0.0 0.0 4.0"
TiltValue = "5.0"

CAMERASECTION = "STANDZOOM"

EyePointOffset = "0.0 1.8 0.0"
TrackCenter = "0.0 2.0 0.0
TrackOffset = "0.4 0.05 3.25"
TiltValue = "3.5"

CAMERASECTION = "CROUCH"

EyePointOffset = "0.0 1.3 0.0"
TrackCenter = "0.0 1.3 0.0
TrackOffset = "0.0 0.15 3.5"
TiltValue = "5.0"

CAMERASECTION = "CROUCHZOOM"

EyePointOffset = "0.0 1.3 0.0"
TrackCenter = "0.0 1.3 0.0
TrackOffset = "0.4 0.2 2.8"
TiltValue = "3.5"

CAMERASECTION = "PRONE"

EyePointOffset = "0.0 0.5 0.0"
TrackCenter = "0.0 0.5 0.0"
TrackOffset = "0.0 0.0 3.0"
TiltValue = "5.0"

CAMERASECTION = "PRONEZOOM"

EyePointOffset = "0.0 0.5 0.0"
TrackCenter = "0.0 0.5 0.0"
TrackOffset = "0.4 0.2 2.8"
TiltValue = "3.5"

AimValue = "1.0"

HealthType = "person"
MaxHealth = 450.0

Acceleraton = 70.0
MaxSpeed = 6.0
MaxStrafeSpeed = 4.5
MaxTurnSpeed = 4.0

WeaponName1 = "all_weap_inf_bowcaster"
WeaponAmmo1 = 6
WeaponName2 = "all_weap_inf_mortar_launcher"
WeaponAmmo2 = 3
WeaponName3 = "all_weap_inf_remote_charge_dispenser"
WeaponAmmo3 = 3
WeaponChannel3 = 1
WeaponName4 = "all_weap_zangetsu"
WeaponAmmo4 = 0
WeaponChannel4 = 1


AimFactorPostureSpecial = 50
AimFactorPostureStand = 100
AimFactorPostureCrouch = 140
AimFactorPostureProne = 160
AimFactorStrafe = 60
AimFactorMove = 70

DropItemClass = "com_item_powerup_ammo"
DropItemProbability = 0.40
NextDropItem = "-"
DropItemClass = "com_item_powerup_health100"
DropItemProbability = 0.30
NextDropItem = "-"
DropItemClass = "com_item_powerup_dual"
DropItemProbability = 0.10

HurtSound = "all_inf_com_chatter_wound_wookie"
DeathSound = "all_inf_com_chatter_death_wookie"
//AcquiredTargetSound = ""
HidingSound = "all_inf_com_chatter_hide_wookie"
ApproachingTargetSound = "all_inf_com_chatter_approach_wookie"
FleeSound = "all_inf_com_chatter_flee_wookie"
PreparingForDamageSound = "all_inf_com_chatter_predamage_wookie"
HeardEnemySound = "all_inf_com_chatter_heard_wookie"
//ShockFadeOutTime = "0.8"
//ShockFadeInTime = "2.0"
ShockFadeOutGain = ""
ShockSound = ""
ClothingRustleSound = ""
LowHealthSound = ""
//LowHealthThreshold = ".25"
FoleyFXClass = "wok_inf_soldier"

// squad command VO
SCFieldMoveOutSound = "wok_inf_com_chatter_tac_moveout"
SCFieldHoldSound = "wok_inf_com_chatter_tac_hold"
SCFieldFollowSound = "wok_inf_com_chatter_tac_follow"
SCDriverGetInSound = "wok_inf_com_chatter_tac_needgunner"
SCDriverGetOutSound = "wok_inf_com_chatter_tac_moveout"
SCPassengerMoveOutSound = "wok_inf_com_chatter_tac_spreadout"
SCPassengerStopSound = "wok_inf_com_chatter_tac_stop"
SCPassengerGetInSound = "wok_inf_com_chatter_tac_needgunner"
SCPassengerGetOutSound = "wok_inf_com_chatter_tac_moveout"
SCGunnerAllClearSound = "wok_inf_com_chatter_tac_allclear"
SCGunnerSteadySound = "wok_inf_com_chatter_tac_stop"
SCGunnerGetInSound = "wok_inf_com_chatter_tac_needgunner"
SCGunnerGetOutSound = "wok_inf_com_chatter_tac_moveout"
SCResponseYessirSound = "wok_inf_com_chatter_tac_yes"
SCResponseNosirSound = "wok_inf_com_chatter_tac_no"

// AI squad command VO
AISCFieldMoveOutSound = "wok_inf_com_chatter_tac_moveout"
AISCFieldHoldSound = "wok_inf_com_chatter_tac_hold"
AISCFieldFollowSound = "wok_inf_com_chatter_tac_follow"
AISCDriverGetInSound = "wok_inf_com_chatter_tac_needgunner"
AISCDriverGetOutSound = "wok_inf_com_chatter_tac_moveout"
AISCPassengerMoveOutSound = "wok_inf_com_chatter_tac_spreadout"
AISCPassengerStopSound = "wok_inf_com_chatter_tac_stop"
AISCPassengerGetInSound = "wok_inf_com_chatter_tac_needgunner"
AISCPassengerGetOutSound = "wok_inf_com_chatter_tac_moveout"
AISCGunnerAllClearSound = "wok_inf_com_chatter_tac_allclear"
AISCGunnerSteadySound = "wok_inf_com_chatter_tac_stop"
AISCGunnerGetInSound = "wok_inf_com_chatter_tac_needgunner"
AISCGunnerGetOutSound = "wok_inf_com_chatter_tac_moveout"
AISCResponseYessirSound = "wok_inf_com_chatter_tac_yes"
AISCResponseNosirSound = "wok_inf_com_chatter_tac_no"
Zangetsu:
Hidden/Spoiler:
[WeaponClass]

ClassLabel = "melee"

Label = "Zangetsu"

[Properties]
IconTexture = "HUD_all_rifle_icon"


GeometryName = "all_weap_zangetsu_shikai"
AnimationBank = "lightsabre"

//MuzzleFlash = "med_muzzle_flash"
//Discharge = "med_smoke_effect"

RoundsPerClip = "0"
ReloadTime = "0.6"

TargetEnemy = "1"
TargetNeutral = "0"
TargetFriendly = "0"

TargetPerson = "1"
TargetAnimal = "1"
TargetDroid = "1"
TargetVehicle = "1"
TargetBuilding = "1"

FireSound = "com_weap_throw"
WeaponChangeSound = "all_weap_inf_equip_sm"
ClankLeftWalkSound = ""
ClankRightWalkSound = ""
ClankLeftRunSound = ""
ClankRightRunSound = ""
JumpSound = "all_weap_inf_pistol_mvt_jump"
LandSound = "all_weap_inf_pistol_mvt_land"
RollSound = "all_weap_inf_pistol_mvt_roll"
ProneSound = "all_weap_inf_pistol_mvt_squat"
SquatSound = "all_weap_inf_pistol_mvt_lie"
StandSound = "all_weap_inf_pistol_mvt_getup"



LockOnRange = "1.7"
LockTime = "0.4"
AutoAimSize = "1.0"

MinRange = "0"
OptimalRange = "1.5"
MaxRange = "3"


FirePointName = "hp_fire"

//HitSound = "imp_weap_lightsabre_hit"
DeflectSound = "imp_weap_lightsabre_deflect"
SwingTime = "0.5 0.3 imp_weap_lightsabre"
And that's all she wrote!

Re: Unknown Error Inhibits Custom Side Creation

Posted: Sun Feb 27, 2011 3:43 am
by bamdur123
what kind of error are you getting. did you edit any req file? you should just import all using bfbuilder pro and edit it from there. this will not work online also

Re: Error Inhibits Custom Side Creation

Posted: Tue Mar 08, 2011 6:44 pm
by SoranoGuardias
It is not a specific error within the munge, but something is causing my munges to not produce any files that are useable.

CORRECTION: Error pops up in DOS prompt during munge. Reads:

Munging >instance.req<
Error: Could not open (null) for output. DOS reports: could not open >instance.lvl< for output. DOS reports:
No such file or directory.

Error: Sould not open >instance.lvl< for output. DOS reports:
No such file or directory
[continuing]

Please help! This has crippled all of my mods!

NEW INFORMATION:

Downloaded a fresh copy of BFBUILDER tools from FilePlanet. No Change in status.

EDIT
It has been suggested that the bat files I modified to facilitate the faction creation might be the cause. I modified them exactly character for character in the tutorial. In case I somehow messed up, I am adding them for review.

\_BUILD_PC\munge.bat:
Hidden/Spoiler:
@if "%1" == "" (
@set FRONTLINE_LANGVERSION="ENGLISH"
) else (
@set FRONTLINE_LANGVERSION=%1
)

echo %FRONTLINE_LANGVERSION%

del Mungelog.txt

@IF %FRONTLINE_LANGVERSION%=="English" SET FRONTLINE_LANGDIR=ENG
@IF %FRONTLINE_LANGVERSION%=="ENGLISH" SET FRONTLINE_LANGDIR=ENG
@IF %FRONTLINE_LANGVERSION%=="UK" SET FRONTLINE_LANGDIR=UK_
@IF %FRONTLINE_LANGVERSION%=="FRENCH" SET FRONTLINE_LANGDIR=FRE
@IF %FRONTLINE_LANGVERSION%=="GERMAN" SET FRONTLINE_LANGDIR=GER
@IF %FRONTLINE_LANGVERSION%=="JAPANESE" SET FRONTLINE_LANGDIR=JAP
@IF %FRONTLINE_LANGVERSION%=="ITALIAN" SET FRONTLINE_LANGDIR=ITA
@IF %FRONTLINE_LANGVERSION%=="SPANISH" SET FRONTLINE_LANGDIR=SPA

@setlocal
@set PATH="%CD%"\..\..\ToolsFL\Bin;%PATH%

@if %FRONTLINE_LANGVERSION%=="ITALIAN" (
@endlocal
@set FRONTLINE_LANGVERSION="ITALIAN"
@set FRONTLINE_LANGDIR=ITA
@set MUNGE_PLATFORM_DIR_STR=_source_pc
@set MUNGE_PLATFORM_OVERRIDE_STR=_SOURCE_PC_ITALIAN
@setlocal
@cd Common
@call clean.bat
@set PATH="%CD%"\..\..\ToolsFL\Bin;%PATH%
@call munge.bat
@cd ..\Shell
@call clean.bat
@call munge.bat

@cd ..

) else (
@cd Common
@call munge.bat
@cd ..

@cd Shell
@call munge.bat
@cd ..
)

cd addme
@call munge.bat
cd ..

cd Sides
REM STARTSIDES
cd ALL
@call munge.bat
cd ..
REM ENDSIDES

cd ..


cd Worlds
cd ZAN1
@call munge.bat
cd ..
cd ..

endlocal

cd Sound
@call munge.bat
cd ..

set PACKAGE_NUM=ZAN1

set FolderExt=
if NOT %FRONTLINE_LANGVERSION%=="ENGLISH" (
set FolderExt=%FRONTLINE_LANGDIR%
)

xcopy /S /Y /D ..\_lvl_pc\*.lvl ..\..\AddOn%FolderExt%\%PACKAGE_NUM%\Data\_lvl_pc\
xcopy /S /Y /D ..\_lvl_pc\*.mvs ..\..\AddOn%FolderExt%\%PACKAGE_NUM%\Data\_lvl_pc\
xcopy /Y /D addme\munged\addme.script ..\..\AddOn%FolderExt%\%PACKAGE_NUM%\
\_BUILD_PC\clean.bat:
Hidden/Spoiler:
del/s/q ..\_lvl_PC\*.lvl
del/s/q *.log
cd Common
@call clean.bat
cd ..
cd Shell
@call clean.bat
cd ..
cd addme
@call clean.bat
cd ..

cd Sides
cd ALL
@call clean.bat
cd ..
cd ..

cd Sound
@call clean.bat
cd ..

REM Modders Change this to point to new world
cd Worlds
cd ZAN1
@call clean.bat
cd ..
cd ..
\_BUILD_PC\Sides\clean.bat:
Hidden/Spoiler:
cd ALL
@call clean.bat
cd ..
\_BUILD_PC\Sides\ALL\munge.bat:
Hidden/Spoiler:
@call ..\munge_side.bat ALL
@call ..\munge_fpm.bat ALL
If you can think of anymore information that will be helpful to the resolution of this problem, do not hesitate to PM me.

Also, I use XP SP3, and the munge has worked on here before.

Double posting is against the RULES, so please EDIT your post instead next time. -Staff

Re: Error Inhibits Custom Side Creation

Posted: Tue Mar 08, 2011 8:34 pm
by bamdur123
If using bfbuilder pro it shoudl automatically edit the .bat files for you. if you dont have it i suggest you use it

Re: Error Inhibits Custom Side Creation

Posted: Wed Mar 09, 2011 1:18 am
by SoranoGuardias
All versions of BFBuilder Pro failed to operate properly. :cpu: At this point I am convinced it is a system internals or another like error.