Module Not Building with Vanilla Native Copy

正在查看此主题的用户

Been following directions on trying to start building my first mod.  I have originally downloaded the latest python version, but downloaded 2.6.x after finding a post saying anything after 2.6 python isn't compatible.  I still have the latest python version, but replaced the PATH in my environment variables with 2.6 (I guess I should mention I'm using Windows 7 64-bit).

I uninstalled and reinstalled Warband to get a fresh Native file as I did some light tweaks in the txt files (like cattle following you, better wages and taxes, etc.); I did this after the initial errors, but the same errors are appearing after the fresh install.  Copied everything in the fresh Native file and put it in my mod's folder and redownloaded the latest module system just in case.

Set the module_info.py file's export_dir variable in the module folder to look at my mod's folder (and followed the format of changing the \'s to /'s as well as adding a / to the end of the mod's path) and put the flora_kinds, ground_specs, and skyboxes txt files in my mod's data folder.

I then run the bat file only to get these errors.  I have done nothing with the files, yet I'm getting errors?  Everything is vanilla native so I'm at a loss at this point.  Any help would be greatly appreciated.

P.S.

My mod still shows up and can be played with no problem (as it's just a copy of Native), but if I try to compile the module system with the module_info looking at my mod; it never builds correctly as shown below.

File "process_init.py", line 5
    print "Initializing..."
                          ^
SyntaxError: invalid syntax
  File "process_global_variables.py", line 23
    add_variable(varb, variable_list, variable_uses)
                                                  ^
TabError: inconsistent use of tabs and spaces in indentation
  File "process_strings.py", line 24
    print "Exporting strings..."
                              ^
SyntaxError: invalid syntax
  File "process_skills.py", line 30
    print "Exporting skills..."
                              ^
SyntaxError: invalid syntax
  File "process_music.py", line 21
    print "Exporting tracks..."
                              ^
SyntaxError: invalid syntax
  File "process_animations.py", line 58
    print "Exporting animations..."
                                  ^
SyntaxError: invalid syntax
  File "process_meshes.py", line 23
    print "Exporting meshes..."
                              ^
SyntaxError: invalid syntax
  File "process_sounds.py", line 49
    print "Exporting sounds..."
                              ^
SyntaxError: invalid syntax
  File "process_skins.py", line 104
    print "Exporting skins..."
                            ^
SyntaxError: invalid syntax
  File "process_map_icons.py", line 32
    print "Exporting map icons..."
                                ^
SyntaxError: invalid syntax
  File "process_factions.py", line 27
    print "ERROR faction not found: "+ rel_name
                                    ^
SyntaxError: invalid syntax
  File "process_items.py", line 60
    print "Exporting item data..."
                                ^
SyntaxError: invalid syntax
  File "process_scenes.py", line 12
    print "Exporting scene data..."
                                  ^
SyntaxError: invalid syntax
  File "process_troops.py", line 104
    print "Exporting troops data"
                                ^
SyntaxError: invalid syntax
  File "process_particle_sys.py", line 60
    print "Exporting particle data..."
                                    ^
SyntaxError: invalid syntax
  File "process_scene_props.py", line 26
    print "Exporting scene props..."
                                  ^
SyntaxError: invalid syntax
  File "process_tableau_materials.py", line 25
    print "Exporting tableau materials data..."
                                              ^
SyntaxError: invalid syntax
  File "process_presentations.py", line 27
    print "Exporting presentations..."
                                    ^
SyntaxError: invalid syntax
  File "process_party_tmps.py", line 28
    print "Error! NUMBER OF TEMPLATE MEMBERS EXCEEDS 6 " + party_template[0]
                                                      ^
SyntaxError: invalid syntax
  File "process_parties.py", line 28
    print "Error: Unable to find menu-id :" + menu_param
                                          ^
SyntaxError: invalid syntax
  File "process_quests.py", line 29
    print "Exporting quest data..."
                                  ^
SyntaxError: invalid syntax
  File "process_info_pages.py", line 25
    print "Exporting info_page data..."
                                      ^
SyntaxError: invalid syntax
  File "process_scripts.py", line 34
    print "Exporting scripts..."
                              ^
SyntaxError: invalid syntax
  File "process_mission_tmps.py", line 29
    print "ERROR: Too many item_overrides!"
                                          ^
SyntaxError: invalid syntax
  File "process_game_menus.py", line 41
    print "Exporting game menus data..."
                                      ^
SyntaxError: invalid syntax
  File "process_simple_triggers.py", line 19
    print "exporting simple triggers..."
                                      ^
SyntaxError: invalid syntax
  File "process_dialogs.py", line 95
    print sentence[ipt_token_pos]
                ^
SyntaxError: invalid syntax
  File "process_global_variables_unused.py", line 6
    print "Checking global variable usages..."
                                            ^
SyntaxError: invalid syntax
  File "process_postfx.py", line 26
    print "Exporting postfx_params..."
                                    ^
SyntaxError: invalid syntax
Could Not Find C:\Users\Matt\Desktop\My Mod\Module_system 1.153\*.pyc #Side Note: lol, wtf, the bat file doesn't recognize itself???

______________________________

Script processing has ended.
Press any key to exit. . .
 
Soooooooo...Are we gonna just let this one die off; or am I not getting something obvious that no one is bothering to tell me?
 
Try posting it in the mod development subforum. This board is more for people with native issues.
 
Ah, I thought since it was dealing with Native not being able to be compiled that it would still count towards this; but thanks for the suggestion, I'll try my luck at that forum.
 
后退
顶部 底部