Author Topic: A question  (Read 2582 times)

0 Members and 1 Guest are viewing this topic.

Kuningas

  • Recruit
  • *
    • View Profile
A question
« on: March 14, 2008, 12:39:30 PM »
While trying to do all the things that the first moding tutorial says i still end up with this when i try to run module_build.bat

"python" is not an recognized as an internal or external command, operable program or batch file
Could not find C:\Program Files\Mount&Blademodule\ModuleSystem\*.pyc
____
Script processing has ended.
Press any key to exit....

I changed module_info file and changed the spot to my mod folder. In my opinion i did everything in that tutorial. I would be very grateful of help.
PS: Im using Vista <- :(
To follow the path:
look to the master,
follow the master,
walk with the master,
see through the master,
    become the master.

grailknighthero

  • Knight at Arms
  • *
  • www.games-workshop.com
    • View Profile
  • Faction: Neutral
  • M&B
Re: A question
« Reply #1 on: March 14, 2008, 02:26:49 PM »
Did you read that it says you have to switch the slashes (it says to use forward slashes)?
The Peasants' Rebellion: Warhammer Battles - a custom battle mod featuring TW/Warhammer style formations/battles for M&B - currently in development.

Kuningas

  • Recruit
  • *
    • View Profile
Re: A question
« Reply #2 on: March 14, 2008, 03:17:07 PM »
In the module_info file i have / slashes , still havent figured out what file is wrong/missing :S
To follow the path:
look to the master,
follow the master,
walk with the master,
see through the master,
    become the master.

Darkwood

  • Veteran
  • *
  • Errr... Hello!
    • View Profile
Re: A question
« Reply #3 on: March 14, 2008, 04:09:07 PM »
build_module.bat

@echo off
set OLDPATH=%PATH%
set PATH="D:\Program Files\Python25";%PATH%

python process_init.py
python process_global_variables.py
python process_strings.py
python process_skills.py
python process_music.py
python process_animations.py
python process_meshes.py
python process_sounds.py
python process_skins.py
python process_map_icons.py
python process_factions.py
python process_items.py
python process_scenes.py
python process_troops.py
python process_particle_sys.py
python process_scene_props.py
python process_presentations.py
python process_party_tmps.py
python process_parties.py
python process_quests.py
python process_scripts.py
python process_mission_tmps.py
python process_game_menus.py
python process_simple_triggers.py
python process_dialogs.py
python process_global_variables_unused.py

set PATH=%OLDPATH%
@del *.pyc
echo.
echo ______________________________
echo.
echo Script processing has ended.
echo Press any key to exit. . .
pause>nul


Legend:
red - write yours python path, for example C:\PYTHON25\

Should work!  :wink:

Errr... Hello!... Me Willy, me Willy Thrombone... With this I tell you a story, story about good, story about bad, this disc is all that are left of the true story...

Kuningas

  • Recruit
  • *
    • View Profile
Re: A question
« Reply #4 on: March 14, 2008, 07:59:58 PM »
Thank you very much, now i can start to learn how to mod :) Finally, you cane believe how grateful i am =)
To follow the path:
look to the master,
follow the master,
walk with the master,
see through the master,
    become the master.

Narcissa

  • Sergeant
  • *
    • View Profile
  • Faction: Neutral
Re: A question
« Reply #5 on: March 25, 2008, 09:49:11 PM »
This actually works. I presume that adds what the enviroment varable tampering is supposed to directly to the .bat?

Jlgx50

  • Grandmaster Knight
  • *
  • Senior Initiate
    • View Profile
    • FalloutMod forum
  • Faction: Vaegir
  • MP nick: Jlgx50
  • M&BWB
Re: A question
« Reply #6 on: April 20, 2008, 09:44:32 AM »
I dont get it :(

can someone brake this down for me in a way my little brin can read that
to me that was just a bunch of words all mixed up  :?

Haail

  • Regular
  • *
  • Permanently Banned
    • View Profile
  • Faction: Neutral
Re: A question
« Reply #7 on: April 26, 2008, 01:23:26 AM »
build_module.bat

@echo off
set OLDPATH=%PATH%
set PATH="D:\Program Files\Python25";%PATH%

python process_init.py
python process_global_variables.py
python process_strings.py
python process_skills.py
python process_music.py
python process_animations.py
python process_meshes.py
python process_sounds.py
python process_skins.py
python process_map_icons.py
python process_factions.py
python process_items.py
python process_scenes.py
python process_troops.py
python process_particle_sys.py
python process_scene_props.py
python process_presentations.py
python process_party_tmps.py
python process_parties.py
python process_quests.py
python process_scripts.py
python process_mission_tmps.py
python process_game_menus.py
python process_simple_triggers.py
python process_dialogs.py
python process_global_variables_unused.py

set PATH=%OLDPATH%
@del *.pyc
echo.
echo ______________________________
echo.
echo Script processing has ended.
echo Press any key to exit. . .
pause>nul


Legend:
red - write yours python path, for example C:\PYTHON25\

Should work!  :wink:
HAH.
YES.
Finally it works. Anyone here want to start The Church of Darkwood with me?

Winslow

  • Veteran
  • *
    • View Profile
  • M&BWB
Re: A question
« Reply #8 on: June 08, 2008, 10:47:58 AM »
Ok, I'm hoping I can get some clarification: my build_module.bat works perfectly till the end when it says it cannot find the:

Could not find C:\Program Files\Mount&Blademodule\ModuleSystem\*.pyc

Can anyone explain why this is coming up, while I have no other issues?

vuk

  • Sergeant at Arms
  • *
  • Apocalypto
    • View Profile
  • Faction: Swadian
  • MP nick: Vuk
  • M&BWBWF&S
Re: A question
« Reply #9 on: July 07, 2008, 07:30:43 PM »
What does this mean? Can you explain what I should do? I am having the same problem, but on XP.
build_module.bat

@echo off
set OLDPATH=%PATH%
set PATH="D:\Program Files\Python25";%PATH%

python process_init.py
python process_global_variables.py
python process_strings.py
python process_skills.py
python process_music.py
python process_animations.py
python process_meshes.py
python process_sounds.py
python process_skins.py
python process_map_icons.py
python process_factions.py
python process_items.py
python process_scenes.py
python process_troops.py
python process_particle_sys.py
python process_scene_props.py
python process_presentations.py
python process_party_tmps.py
python process_parties.py
python process_quests.py
python process_scripts.py
python process_mission_tmps.py
python process_game_menus.py
python process_simple_triggers.py
python process_dialogs.py
python process_global_variables_unused.py

set PATH=%OLDPATH%
@del *.pyc
echo.
echo ______________________________
echo.
echo Script processing has ended.
echo Press any key to exit. . .
pause>nul


Legend:
red - write yours python path, for example C:\PYTHON25\

Should work!  :wink:

froggyluv

  • Sergeant Knight at Arms
  • *
    • View Profile
  • Faction: Neutral
  • MP nick: KoA_Froggyluv
  • NW
Re: A question
« Reply #10 on: August 11, 2008, 10:59:12 AM »

 Much obliged Darkwood :D
Sexy Beast!

 

jfinley12

  • Recruit
  • *
    • View Profile
  • Faction: Neutral
  • M&BWB
Re: A question
« Reply #11 on: January 13, 2009, 01:57:06 PM »
Wow Darkwood how did you figure out to do this? thanks allot i tried allot of different steps until i found this post.

revknight

  • Regular
  • *
  • modeler for hire!!!
    • View Profile
  • Faction: Neutral
Re: A question
« Reply #12 on: July 03, 2009, 01:28:01 AM »
I tried doing the editing the file but i just end up with this
  File "process_init.py", line 4
    print "Initializing..."
                          ^
SyntaxError: invalid syntax
  File "process_global_variables.py", line 25
    print "Error in trigger:"
                            ^
SyntaxError: invalid syntax
  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 47
    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 53
    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 102
    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_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_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 91
    print sentence[ipt_token_pos]
                 ^
SyntaxError: invalid syntax
  File "process_global_variables_unused.py", line 6
    print "Checking global variable usages..."
                                             ^
SyntaxError: invalid syntax
Could Not Find G:\Mount&Blade\ModuleSystem\*.pyc

______________________________

Script processing has ended.
Press any key to exit. . .
A man who says his a master is not a master himself......

tavener

  • Regular
  • *
    • View Profile
  • Faction: Vaegir
Re: A question
« Reply #13 on: August 01, 2009, 02:54:12 PM »
happens t ome too :(

Dark Joyce

  • Veteran
  • *
  • Redemption through Annihilation
    • View Profile
  • Faction: Nord
Re: A question
« Reply #14 on: August 10, 2009, 09:22:06 AM »
YES GOT IT WOOO

if your using vista take it out of the directory and it somewhere like C:/Users/(yourname)/pictures.it worked for me
(click to show/hide)
Triple post, damn, I need to be banned.