UGX-Mods

Call of Duty 5: World at War => Help Desk => Topic started by: supervladeg on July 20, 2016, 05:45:38 am

Title: duplicate menu name 'options_game'
Post by: supervladeg on July 20, 2016, 05:45:38 am
I've looked everywhere and I haven't found the solution yet.

Whenever I compile my mod, this error always shows up:

Code Snippet
Plaintext
Linker summary:

There were 0 warnings and 1 error.

Errors:
  (!) UNRECOVERABLE ERROR: duplicate menu name 'options_game'

Arguments passed to linker:
  -nopause -language english -moddir example mod

I'm using UGX Version 1.1, and it has worked flawlessly before, but now it displays this error.
I've tried making a blank map to compile the mod on, and the same error appears.
After looking in some threads, it was suggested that I remove one of the 'include,ugx_mod_assets' lines in mod.csv
Code Snippet
Plaintext
// UGX Mod v1.1
include,ugx_mod_assets
menufile,ui/example.menu
rawfile,maps/ugx_modder_help.gsc
// End UGX Mod v1.1
// Zombie Mode Stuff
include,zombiemode
include,zombiemode_dogs
// Zombie Mode Strings
localize,zombie
// Mod Strings
localize,mod
stringtable,maps/mapsTable.csv
// Edited Loadout For Zombie Heroes
rawfile,maps\_loadout.gsc
// Edited LastStand For Deep Water Like Sumpf
rawfile,maps\_laststand.gsc
// Edited For Developer_Script
rawfile,maps\_debug.gsc
include,ugx_mod_assets

I tried this by removing just one line, but it still gave the same error. Removing both lines made the main menu letters unreadable and the map doesn't launch. The error for that is unknown since the characters are unreadable.

Thanks in advance
Title: Re: duplicate menu name 'options_game'
Post by: liamsa669 on July 21, 2016, 11:52:20 pm
what does example.menu look like? the error might b in there
Title: Re: duplicate menu name 'options_game'
Post by: Psh on July 21, 2016, 11:58:22 pm
Try removing menufile,ui/example.menu.
Title: Re: duplicate menu name 'options_game'
Post by: supervladeg on July 22, 2016, 12:28:12 am
Try removing menufile,ui/example.menu.

Didn't work, still gave the same error
Title: Re: duplicate menu name 'options_game'
Post by: HitmanVere on July 22, 2016, 05:40:33 am
You have this twice:

Code Snippet
Plaintext
include,ugx_mod_assets

Remove one instance
Edit: If it doesnt fix it, paste that file from zone_source in here
Title: Re: duplicate menu name 'options_game'
Post by: supervladeg on July 22, 2016, 06:56:29 pm
You have this twice:

Code Snippet
Plaintext
include,ugx_mod_assets

Remove one instance
Edit: If it doesnt fix it, paste that file from zone_source in here


Both methods didn't work, it seems as though the issue is in ugx_mod_assets itself.
Title: Re: duplicate menu name 'options_game'
Post by: HitmanVere on July 22, 2016, 07:06:46 pm


Both methods didn't work, it seems as though the issue is in ugx_mod_assets itself.

Thats why I said to paste the file here, if removing include,ugx_mod_assets doesnt fix it
Title: Re: duplicate menu name 'options_game'
Post by: supervladeg on July 22, 2016, 07:16:38 pm
Thats why I said to paste the file here, if removing include,ugx_mod_assets doesnt fix it

Thought you meant something else.

ugx_mod_assets.csv:

Code Snippet
Plaintext
ignore,ugx_mod_ignore
ignore,ugx_mod_ignore,,
localize,ugxm
rawfile,mp/playeranim.script
rawfile,mp/playeranimtypes.txt
sound,ugx_mod_menu,,all_sp
material,ui_invite_new
material,ui_friend_new
material,ugx_loadscreen_user
material,ugx_main_menu_user
stringtable,mp/ugxm.csv
stringtable,mp/ugxm_rewards.csv
stringtable,mp/ugxm_tier1.csv
font,fonts/ugxmod/bigFont
font,fonts/ugxmod/boldFont
font,fonts/ugxmod/consoleFont
font,fonts/ugxmod/extraBigFont
font,fonts/ugxmod/normalfont
font,fonts/ugxmod/objectiveFont
font,fonts/ugxmod/smallFont
menufile,ui/blurredbg_ugx.inc
menufile,ui_mp/mods.menu
menufile,ui/pregame.menu
menufile,ui/quit.menu
menufile,ui/navcontrols.inc
menufile,ui/popup_ingame.menu
menufile,ui/popup_leavegame.menu
menufile,ui/ingame.txt
menufile,ui/briefing.menu
menufile,ui/options_game_pc.menu
menufile,ui/choices_setup_common.menu
menufile,ui/hud.menu
menufile,ui/objective_info.menu
menufile,ui/xboxlive_lobby.menu
menufile,ui/playerlist.inc
menufile,ui/pc_joinchoosegamemode.menu
menufile,ui/challenges.menu
menufile,ui/joinserver.inc
menufile,ui/playerprofile.menu
menufile,ui_mp/manage_friends.menu
menufile,ui/ugxm_back.inc
menufile,ui/options_new_pc.menu
menufile,ui_mp/leftside_options_ugx.inc
menufile,ui_mp/leftside_options.inc
menufile,ui/options_graphics_pc.menu
menufile,ui_mp/options_voice.menu
menufile,ui_mp/options_multi.menu
menufile,ui_mp/leftside_controls_ugx.inc
menufile,ui/options_look_pc.menu
menufile,ui/options_move_pc.menu
menufile,ui/options_shoot_pc.menu
menufile,ui/options_misc_pc.menu
menufile,ui/options_coop_pc.menu
menufile,ui_mp/mods.menu
menufile,ui/pc_gamesetup_coop.menu
menufile,ui/blurredbg.inc
menufile,ui/blurredbg_findgame.inc
menufile,ui/blurredbg_online.inc
menufile,ui/scriptmenus/ugxm_vote_host.menu
menufile,ui/scriptmenus/ugxm_vote_players.menu
Title: Re: duplicate menu name 'options_game'
Post by: supervladeg on July 29, 2016, 08:27:22 pm
I don't like doing this, but bump
Title: Re: duplicate menu name 'options_game'
Post by: supervladeg on August 15, 2016, 08:10:50 am
bump
Title: Re: duplicate menu name 'options_game'
Post by: codmoddd1234 on August 15, 2016, 10:43:03 pm
Double check the UGX wiki to be sure you installed the modtools and ugxmod properly.

Make a new map with ugx script placer thats not called "example"
There might be a name conflict because mp_example was used and included with modtools.

//
If it was me i would reinstall modtools and make a new script placer map. If it compiles and loads without errors then add ugxmod.
Title: Re: duplicate menu name 'options_game'
Post by: supervladeg on August 18, 2016, 05:10:51 am

Double check the UGX wiki to be sure you installed the modtools and ugxmod properly.

Make a new map with ugx script placer thats not called "example"
There might be a name conflict because mp_example was used and included with modtools.

//
If it was me i would reinstall modtools and make a new script placer map. If it compiles and loads without errors then add ugxmod.

Fixed, although I used UGX v1.1 and not a script placer. Additionally, I reinstalled everything else