build_module.bat Producing Bad Text Files

正在查看此主题的用户

I'm trying to make alterations to module_game_menus.py but when I run build_module.bat it produces a menus.txt which causes all sorts of weird problems within the game:

1.) Instead of starting in a town the player starts in a field. After defeating the enemies present the scene never moves forward and the player is stuck there. This is one REALLY good reason the Esc menu should have a quit option. . .

2.) All text inside of towns/castles refer to the name of the town/castle as the player name.

3.) Enemy party sizes are reported as being the same size as the player's party- but only when you attack them. .  .

This happens even if I do I fresh install and create a menus.txt with no changes. I don't get these problems otherwise. I'm using the lastest version of both the game and the module system. Any ideas?

- Ryan Paul Fialcowitz
 
RyanFialcowitz 说:
I'm trying to make alterations to module_game_menus.py but when I run build_module.bat it produces a menus.txt which causes all sorts of weird problems within the game
Apart from menus.txt compilation process produces a whole bunch of other necessary txt files. You need them all, not only menu.txt
Besides, check if you use correct module system. Latest are 1.125 for Warband, 1.011 for Mount & Blade original
 
RyanFialcowitz 说:
I'm using the lastest version of both the game and the module system.

I was under the assumption that the text files built using build_module.bat were the same as those in the Modules folder of the game. Is this not the case?

- Ryan Paul Fialcowitz
 
RyanFialcowitz 说:
I was under the assumption that the text files built using build_module.bat were the same as those in the Modules folder of the game. Is this not the case?
They are. Your phrasing made it unclear if you place ALL compiled txt files into your module folder (or just designate module folder target one for compilation) or you only take menus.txt (which is wrong).
Besides, you need to start a new game after many changes in MS
This all assumes you do things right with your coding.
 
RyanFialcowitz 说:
This happens even if I do I fresh install and create a menus.txt with no changes. I don't get these problems otherwise.

If they are the same then why does the glitch when a built menus.txt is used instead of the default one?

- Ryan Paul Fialcowitz
 
RyanFialcowitz 说:
If they are the same then why does the glitch when a built menus.txt is used instead of the default one?
because you are doing something wrong. Nobody else has these problems
 
GetAssista 说:
because you are doing something wrong. Nobody else has these problems

Very helpful. Thank you.

1.) I install the 1.125 version of Mount&Blade - Warband.

2.) I download the the 1.125 Mount&Blade - Warband Module System.

3.) I edit the info Python file to specify a directory to convert to.

4.) I run the bat file.

5.) I take the new menus.txt file and drop it into my module folder.

6.) Glitches galore.

Pray tell the error in this process. . . I read the tutorial on this site and I fail to see my mistake, although I'm not denying there could be one. It doesn't suprise me there are problems. Seriously, other games that use Python don't require a text conversion. And just because you are not familiar with this issue means nothing. Not everyone posts there problems on boards such as this. One of the reasons for this is because problems such as this can be notoriously difficult to troubleshoot. Notice no one aside from yourself has offered a solution.

- Ryan Paul Fialcowitz
 
RyanFialcowitz 说:
Very helpful. Thank you.

1.) I install the 1.125 version of Mount&Blade - Warband.

2.) I download the the 1.125 Mount&Blade - Warband Module System.

3.) I edit the info Python file to specify a directory to convert to.

4.) I run the bat file.

5.) I take the new menus.txt file and drop it into my module folder.

6.) Glitches galore.
Instead of doing that, edit module_info.py to point to the folder of your new module. You need all the files, since they contain references to eachother, even if you haven't touched the other files.
 
Somebody 说:
Instead of doing that, edit module_info.py to point to the folder of your new module. You need all the files, since they contain references to eachother, even if you haven't touched the other files.

Although I know it's not recommended I'm directly modding the Native folder, or rather I mod the file then bat it and move it into the Native folder. So, all the original game files are there. Am I to understand that The Module System requires it's version of the files rather then the ones that come with the game?

- Ryan Paul Fialcowitz
 
RyanFialcowitz 说:
Am I to understand that The Module System requires it's version of the files rather then the ones that come with the game?
Definitely. Build_module.bat rebuilds all the module files so there is no way to use only one of the txt files without the rest of the files that were compiled.
 
后退
顶部 底部