Problem when munging a default common.req from the mod tools

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Plaigon
Recruit Womprat Killer
Posts: 13
Joined: Fri Dec 14, 2018 6:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: SWBF2
xbox live or psn: No gamertag set

Problem when munging a default common.req from the mod tools

Post by Plaigon »

Hi guys,
Idon't understand why when I munge a common.reqfrom a new map, I'm getting the ps2 start menu, like on this screen.
I just created the world with the visual tools exe in data/build folder, and my common.lvl is about 2812 kbytes where the original one (1.1 version from steam) is about 2833 kbytes.
This is the same rblem when I go in the options menu ingame, look at the 2nd picture.
And finally with this common.lvl I can't see the stats menu, after every game end, it waits 2 seconds on a black screen and then switches to the next map without displaying any stats. I'm pretty sure the original common.req file (generated with my new map) of the mod tools for is missing something, and makes the game believing i'm playing on a ps2, and as a consequent avoiing the display of the stats menu.
So 2 questions to sum up:
1) Why am I getting the ps2 menu instead of the PC ones with this common.lvl munged from the original mod tools common.req?
2) Why am I missing the stats at every game end?

Here's my common.req if that can help you in some way:
Hidden/Spoiler:
[code]ucft
{
REQN
{
"script"
"startup"

"interface_util"
"ifelem_button"
"ifelem_roundbutton"
"ifelem_flatbutton"
"ifelem_buttonwindow"
"ifelem_helptext"
"ifelem_hslider"
"ifelem_popup"
"ifelem_segline"
"ifelem_listmanager"
"ifelem_shellscreen"
"ifelem_titlebar"
"ifelem_borderrect"
"ifelem_AnimationMgr"
"ifelem_form"
"ifs_movietrans_game"

"ifs_pausemenu"
"ifs_teamstats"
"ifs_personalstats"
"ifs_awardstats"
"ifs_careerstats"

"ifs_opt_top"
"ifs_opt_general"
"ifs_opt_sound"
"ifs_opt_mp_listtags"
"ifs_opt_mp"
"ifs_opt_controller_mode"
"ifs_opt_controller_common"
"ifs_opt_controller_vehunit"

"popups_common"
"popup_ok"
"popup_yesno"
"popup_yesno_large"
"popup_loadsave2"
"error_popup"
"popup_busy"
"popup_vote"

"ifs_mp_lobby"
"popups_lobby"
"ifs_mpgs_friends"

"globals"
"ifs_saveop"
"controller_presets"
}

REQN
{
"script"
"platform=xbox"

"popup_ab"
"ifs_mpxl_friends"
"ifs_mpxl_feedback"
"ifs_mpxl_voicemail"
}

REQN
{
"script"
"platform=pc"

"popup_ab"
"popup_busy"

"ifs_opt_pckeyboard"
"ifs_opt_pccontrols"
"ifs_opt_pcvideo"
"ifutil_mouse"
"ifelem_editbox"
"ifelem_tabmanager"
"pctabs_options"
}

REQN
{
"texture"
"_LOCALIZE_english_ig_victory_defeat"
"_LOCALIZE_french_ig_victory_defeat"
"_LOCALIZE_german_ig_victory_defeat"
"_LOCALIZE_italian_ig_victory_defeat"
"_LOCALIZE_spanish_ig_victory_defeat"
"_LOCALIZE_uk_english_ig_victory_defeat"
"HUD_icon_flash"
"all_icon"
"bf2_buttons_botleft"
"bf2_buttons_botright"
"bf2_buttons_items_center"
"bf2_buttons_midleft"
"bf2_buttons_midright"
"bf2_buttons_upleft"
"bf2_buttons_upright"
"bf2_buttons_title_center"
"bf2_buttons_topleft"
"bf2_buttons_topright"
"bf2_buttons_scroll_tab"
"bf2_buttons_scroll_box"
"border_3_pieces"
"btnA"
"btnB"
"btnR1"
"btnR2"
"btnL2"
"btn_R2"
"btn_circle"
"btn_directional_pad"
"btn_directional_pad_LR"
"btn_directional_pad_L"
"btn_directional_pad_R"
"btn_directional_pad_U"
"btn_directional_pad_D"
"Dpad_up"
"Dpad_down"
"btn_l3r3"
"btn_pad"
"btn_rectangle"
"btn_select"
"btn_start"
"btn_stick"
"btn_triangle"
"btnmisc"
"btnmisc2"
"buttonleft"
"buttonmid"
"buttonright"
"cis_icon"
"controller"
"cursor"
"gray_rect"
"headerbuttonleft"
"headerbuttonmid"
"headerbuttonright"
"hero_points"
"hotspot"
"imp_icon"
"listbox_cursor"
"listbox_topbot_more"
"lobby_icons"
"noise"
"opaque_black"
"opaque_rect"
"ping_icon"
"points"
"rep_icon"
"slider_bg"
"slider_fg"
"slider_sound"
"stats_cpp"
"stats_deaths"
"stats_kills"
"stats_flags"
"titlebar_l"
"titlebar_r"
"tooltip_bg"
"tooltipsborder"
"white_rect"
}

REQN
{
"texture"
"platform=xbox"
"_LOCALIZE_English_btn_R1"
"_LOCALIZE_English_btn_L1"
"_LOCALIZE_English_btnR1"
"_LOCALIZE_English_btnL1"
"_LOCALIZE_English_btn_analog_L"
"_LOCALIZE_English_btn_analog_L_down"
"_LOCALIZE_English_btn_analog_R"
"_LOCALIZE_English_btn_analog_R_down"
"_LOCALIZE_UK_English_btn_R1"
"_LOCALIZE_UK_English_btn_L1"
"_LOCALIZE_UK_English_btnR1"
"_LOCALIZE_UK_English_btnL1"
"_LOCALIZE_UK_English_btn_analog_L"
"_LOCALIZE_UK_English_btn_analog_L_down"
"_LOCALIZE_UK_English_btn_analog_R"
"_LOCALIZE_UK_English_btn_analog_R_down"
"_LOCALIZE_German_btn_R1"
"_LOCALIZE_German_btn_L1"
"_LOCALIZE_German_btnR1"
"_LOCALIZE_German_btnL1"
"_LOCALIZE_German_btn_analog_L"
"_LOCALIZE_German_btn_analog_L_down"
"_LOCALIZE_German_btn_analog_R"
"_LOCALIZE_German_btn_analog_R_down"
"_LOCALIZE_Spanish_btn_R1"
"_LOCALIZE_Spanish_btn_L1"
"_LOCALIZE_Spanish_btnR1"
"_LOCALIZE_Spanish_btnL1"
"_LOCALIZE_Spanish_btn_analog_L"
"_LOCALIZE_Spanish_btn_analog_L_down"
"_LOCALIZE_Spanish_btn_analog_R"
"_LOCALIZE_Spanish_btn_analog_R_down"
"_LOCALIZE_French_btn_R1"
"_LOCALIZE_French_btn_L1"
"_LOCALIZE_French_btnR1"
"_LOCALIZE_French_btnL1"
"_LOCALIZE_French_btn_analog_L"
"_LOCALIZE_French_btn_analog_L_down"
"_LOCALIZE_French_btn_analog_R"
"_LOCALIZE_French_btn_analog_R_down"
"_LOCALIZE_Italian_btn_R1"
"_LOCALIZE_Italian_btn_L1"
"_LOCALIZE_Italian_btnR1"
"_LOCALIZE_Italian_btnL1"
"_LOCALIZE_Italian_btn_analog_L"
"_LOCALIZE_Italian_btn_analog_L_down"
"_LOCALIZE_Italian_btn_analog_R"
"_LOCALIZE_Italian_btn_analog_R_down"
"optionl"
"optionr"
}

REQN
{
"texture"
"platform=PS2"
"btn_R1"
"btn_L1"
"btn_analog_L"
"btn_analog_L_down"
"btn_analog_R"
"btn_analog_R_down"
"btnL1"
"btnR1"
"optionl"
"optionr"
}

REQN
{
"texture"
"platform=pc"
"BackButton_Left"
"BackButton_Mid"
"BackButton_Right"
"border_3a_pieces"
"border_dropdown"
"border_popup"
"optionl"
"optionr"
"listbox_hilight"
"mousecursor"
"small_arrow"
"btn_R1"
"btn_L1"
"btn_analog_L"
"btn_analog_L_down"
"btn_analog_R"
"btn_analog_R_down"
"btnL1"
"btnL2"
"BF2_basicbutton_left"
"BF2_basicbutton_mid"
"BF2_basicbutton_right"
"BF2_radiobutton_on"
"BF2_radiobutton_off"
"BF2_dropdown_arrow"
"headerbuttonleft_highlighted"
"headerbuttonmid_highlighted"
"headerbuttonright_highlighted"
"PC_spotted_icon"
"PC_medic_icon"
"PC_repair_icon"
"PC_ammo_icon"
"PC_pickup_icon"
"PC_backup_icon"
"PC_attack_icon"
"PC_defend_icon"
}
}
[/code]
Do you guys have any idea to help me ???
Thanks in advance!

Here are the 2 screens:
Hidden/Spoiler:
Image
Image

EDIT
Do you guys have any idea? I'm prettt sure some of you have already munged a custom common.lvl without encountering this problem right? Thanks in advance!
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Problem when munging a default common.req from the mod t

Post by [RDH]Zerted »

This was a common problem, there's probably an answer in the forum somewhere. The basic issue is one of those files isn't the PC version. I think you fix it either by deleteing the non-PC file, copying the PC version to the main folder, or moving the file to the platform=PC section of the req. Look at the PC scripts and look at the non-PC scripts. There will be at least one script which has both versions. Those are the scripts you need to fix.
Post Reply