Hola, gente. Soy nuevo en el modding de Warband y queria empezar a hacer algún que otro mod que mejorase la economía, diera mas opciones de diplomacia, etc... Básicamente volver un poco más compleja cada mecánica del juego.
Estoy usando MS y leyendo algún que otro tutorial para entender un poco como funciona todo esto, pero estoy teniendo algunos problemas. Estos problemas son por la sintáxis de cómo estan escritos los archivos *.pyque hacen funcionar el MS, por lo que veo son errores como que no estan escritos los paréntesis cuando va a hacer la función print() o errores en la tabulación. Aparte de eso vi que los scripts trataron de escribir algunos errores, como por ejemplo uno que me saltó en process_factions.py. Ví que si arreglaba el problema de la sintáxis se arreglaba el error que trataba de escribir el script, pero la verdad me da mucha pereza ir a cada script y arreglar la sintáxis, aparte yo no se mucho de python y puede que la este cagando. ¿Alguien sabe como arreglar esto o alguna versión de MS sin estos problemas?
Mi versión de Python: 3.12.6
Mi versión de MS: 1.171
El MS lo descargue de: Warband Modder's Repository
Estoy usando MS y leyendo algún que otro tutorial para entender un poco como funciona todo esto, pero estoy teniendo algunos problemas. Estos problemas son por la sintáxis de cómo estan escritos los archivos *.pyque hacen funcionar el MS, por lo que veo son errores como que no estan escritos los paréntesis cuando va a hacer la función print() o errores en la tabulación. Aparte de eso vi que los scripts trataron de escribir algunos errores, como por ejemplo uno que me saltó en process_factions.py. Ví que si arreglaba el problema de la sintáxis se arreglaba el error que trataba de escribir el script, pero la verdad me da mucha pereza ir a cada script y arreglar la sintáxis, aparte yo no se mucho de python y puede que la este cagando. ¿Alguien sabe como arreglar esto o alguna versión de MS sin estos problemas?
Mi versión de Python: 3.12.6
Mi versión de MS: 1.171
El MS lo descargue de: Warband Modder's Repository
- Lo que me saltó cuando trate de correr build_module.bat:
- Código:
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_init.py", line 5
print "Initializing..."
^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_global_variables.py", line 23
add_variable(varb, variable_list, variable_uses)
TabError: inconsistent use of tabs and spaces in indentation
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_strings.py", line 24
print "Exporting strings..."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_skills.py", line 30
print "Exporting skills..."
^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_music.py", line 21
print "Exporting tracks..."
^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_animations.py", line 58
print "Exporting animations..."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_meshes.py", line 23
print "Exporting meshes..."
^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_sounds.py", line 49
print "Exporting sounds..."
^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_skins.py", line 104
print "Exporting skins..."
^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_map_icons.py", line 32
print "Exporting map icons..."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_factions.py", line 67
print "Exporting faction data..."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_items.py", line 60
print "Exporting item data..."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_scenes.py", line 12
print "Exporting scene data..."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_troops.py", line 104
print "Exporting troops data"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_particle_sys.py", line 60
print "Exporting particle data..."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_scene_props.py", line 26
print "Exporting scene props..."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_tableau_materials.py", line 25
print "Exporting tableau materials data..."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_presentations.py", line 27
print "Exporting presentations..."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_party_tmps.py", line 28
print "Error! NUMBER OF TEMPLATE MEMBERS EXCEEDS 6 " + party_template[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_parties.py", line 28
print "Error: Unable to find menu-id :" + menu_param
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_quests.py", line 29
print "Exporting quest data..."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_info_pages.py", line 25
print "Exporting info_page data..."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_scripts.py", line 34
print "Exporting scripts..."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_mission_tmps.py", line 29
print "ERROR: Too many item_overrides!"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_game_menus.py", line 41
print "Exporting game menus data..."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_simple_triggers.py", line 19
print "exporting simple triggers..."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_dialogs.py", line 95
print sentence[ipt_token_pos]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_global_variables_unused.py", line 6
print "Checking global variable usages..."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
File "E:\warband_modding\module_system_1.171\Module_system 1.171\process_postfx.py", line 26
print "Exporting postfx_params..."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
No se pudo encontrar E:\warband_modding\module_system_1.171\Module_system 1.171\*.pyc