You can get the coordinates for the player's party location in-game if you have edit mode on and 'show framerate' ticked in the Configure menu on the launcher. Then use the CTRL-Click cheat to move the party wherever you need to know the coords.
I found out coordinates by taking a screenshot of a world map and using the source code to find out the coordinates of villages, castles, and towns. Then I chose a location and chose two places that would have the village/castle/town between them and used midpoints over and over again to find the approximate coordinates. ;-;
Solved
These questions were about trying to use the compiler and getting edited source code to to be properly exported and compiled.
I have some questions that might be very stupid.
Question
How do you compile the source code or whatever for floris dev suite 2.54?
Problem
I wasn't able to find compile_floris_expanded_source_to_custom_directory.
Instead I found compile_floris_expanded_source_to_build_directory.
Solution: It was in warband/modules/Floris dev suite 2.54/modules/floris dev suite 2.54 or /warband/modules/modules/floris_dev suite 2.54
I ended up moving it, so I'm not quite sure where exactly it was, but it was in a folder called modules that was created by the installation.
Question
How do I make the compiler work?
Problem
I have found the compile_floris_expanded_source_to_custom_directory, but I have realized that I have no idea how to use it.
I've been trying to edit items, and I haven't seen any changes in any of my files at all.
I attempted to use the compiler by right clicking the compiler and clicking the run as administrator.
The cmd box briefly popped up and disappeared before I could see much more than a glimpse.
As far as I can tell, none of the files were changed.
I double clicked the compiler and it had a lot of lines and a lot of access denied messages. But at least this time the cmd window didn't close itself immediately.
Here is the code there.
插入代码块:
Compiling Floris Expanded Mod Pack to a custom directory
Access is denied.
Access is denied.
Access is denied.
Start Processing...
Access is denied.
Access is denied.
Access is denied.
Access is denied.
Access is denied.
Access is denied.
Access is denied.
python: can't open file 'info.py': [Errno 2] No such file or directory
Access is denied.
Access is denied.
Access is denied.
Access is denied.
Access is denied.
Access is denied.
Access is denied.
Access is denied.
Access is denied.
Access is denied.
Access is denied.
______________________________
python: can't open file 'process_init.py': [Errno 2] No such file or directory
python: can't open file 'process_global_variables.py': [Errno 2] No such file or
directory
python: can't open file 'process_strings.py': [Errno 2] No such file or director
y
python: can't open file 'process_skills.py': [Errno 2] No such file or directory
python: can't open file 'process_music.py': [Errno 2] No such file or directory
python: can't open file 'process_animations.py': [Errno 2] No such file or direc
tory
python: can't open file 'process_meshes.py': [Errno 2] No such file or directory
python: can't open file 'process_sounds.py': [Errno 2] No such file or directory
python: can't open file 'process_skins.py': [Errno 2] No such file or directory
python: can't open file 'process_map_icons.py': [Errno 2] No such file or direct
ory
python: can't open file 'process_factions.py': [Errno 2] No such file or directo
ry
python: can't open file 'process_items.py': [Errno 2] No such file or directory
python: can't open file 'process_scenes.py': [Errno 2] No such file or directory
python: can't open file 'process_troops.py': [Errno 2] No such file or directory
python: can't open file 'process_particle_sys.py': [Errno 2] No such file or dir
ectory
python: can't open file 'process_scene_props.py': [Errno 2] No such file or dire
ctory
python: can't open file 'process_tableau_materials.py': [Errno 2] No such file o
r directory
python: can't open file 'process_presentations.py': [Errno 2] No such file or di
rectory
python: can't open file 'process_party_tmps.py': [Errno 2] No such file or direc
tory
python: can't open file 'process_parties.py': [Errno 2] No such file or director
y
python: can't open file 'process_quests.py': [Errno 2] No such file or directory
python: can't open file 'process_info_pages.py': [Errno 2] No such file or direc
tory
python: can't open file 'process_scripts.py': [Errno 2] No such file or director
y
python: can't open file 'process_mission_tmps.py': [Errno 2] No such file or dir
ectory
python: can't open file 'process_game_menus.py': [Errno 2] No such file or direc
tory
python: can't open file 'process_simple_triggers.py': [Errno 2] No such file or
directory
python: can't open file 'process_dialogs.py': [Errno 2] No such file or director
y
python: can't open file 'process_global_variables_unused.py': [Errno 2] No such
file or directory
python: can't open file 'process_postfx.py': [Errno 2] No such file or directory
python: can't open file 'Flora_kinds.py': [Errno 2] No such file or directory
python: can't open file 'Ground_specs.py': [Errno 2] No such file or directory
python: can't open file 'Skyboxes.py': [Errno 2] No such file or directory
Access is denied.
Access is denied.
Access is denied.
python: can't open file 'other_files_custom.py': [Errno 2] No such file or direc
tory
The system cannot find the file specified.
Could Not Find C:\Program Files (x86)\Mount&Blade Warband\Modules\Floris Dev Sui
te 2.54\*.pyc
Could Not Find C:\Program Files (x86)\Mount&Blade Warband\Modules\Floris Dev Sui
te 2.54\*.py
Could Not Find C:\Program Files (x86)\Mount&Blade Warband\Modules\Floris Dev Sui
te 2.54\ground_spec_codes.h
______________________________
All Finished ...
Cleaning up...
______________________________
Script processing has ended.
Press any key to exit. . .
The access is denied can be solved by running it as an administrator; however, I can't see the cmd box long enough to know if anything changed.
I have edited module info/info.py Currently it looks like:
插入代码块:
#################################################################################
# Welcome to the info file! #
# #
# This file was formerly known as module_info.py. Don't change the name of this #
# file! #
# #
# Here you set the path where you want to compile the source to. #
# export_dir_main_guest is your main Warband directory. The source will #
# automatically create the standard Floris #
# directory where you compile and build to. #
# export_dir_custom_guest is a custom directory of your liking. If you #
# don't want to compile to the standard directory,#
# the source will compile to this one. #
# If you need examples, please scroll down for the directories the devs use. #
# Make sure you use forward slashes (/) and NOT backward slashes (\). #
#################################################################################
export_dir_main_guest = "C:/Program Files (x86)/Mount&Blade Warband/"
export_dir_custom_guest = "./TotallyCheating/"
#################################################################################
# Don't change anything below this point unless you know what you're doing. #
#################################################################################
#################################################################################
# Here are the directories used by the devs of the Floris Mod Pack. #
#################################################################################
# Monnikje:
export_dir_main_monnikje = "C:/lan/Mount&Blade Warband 1.143/"
export_dir_custom_monnikje = "./Floris/"
# Duh:
export_dir_main_duh = "C:/Users/Duh/Desktop/Mount&Blade WarbandNEW/"
export_dir_custom_duh = "./Floris Expanded Mod Pack 2.4/"
# Caba`Drin:
export_dir_main_caba = "E:/Games/Mount&Blade Warband/"
export_dir_custom_caba = "./Floris 2.5 Dev/"
# Windyplains:
export_dir_main_windy = "C:/Program Files (x86)/Steam/steamapps/common/mountblade warband/"
export_dir_custom_windy = "./Floris Mod Pack 2.5/"
# WeaponsOfTheMass:
export_dir_main_weapons = "C:/Program Files (x86)/Mount&Blade Warband/"
export_dir_custom_weapons = "./Floris Expanded Mod Pack 2.5/"
#################################################################################
# Here are the some standard Warband directories. #
#################################################################################
# TaleWorlds normal install:
export_dir_main_normal = "C:/Program Files/Mount&Blade Warband/"
export_dir_custom_normal = "./Native/"
# Steam install:
export_dir_main_steam = "C:/Program Files (x86)/Steam/steamapps/common/mountblade warband/"
export_dir_custom_steam = "./Native/"
#################################################################################
# These are the standard directories where the different versions are build and #
# compiled to. Changing this will affect the directories that are automatically #
# created, so do so with care. #
#################################################################################
export_dir_basic = "./Modules/Floris Basic Mod Pack 2.5/"
export_dir_expanded = "./Modules/Floris Expanded Mod Pack 2.5/"
export_dir_gameplay = "./Modules/Floris Gameplay Mod Pack 2.5/"
export_dir_native = "./Modules/Native 1.143/"
#################################################################################
# These are the directories where copies of the compiled files are copied to. #
# It is important for the installer. Don't change this! #
#################################################################################
intern_dir_basic = "../Compiled Files/Basic/"
intern_dir_basic_custom = "./Compiled Files/Basic/"
intern_dir_expanded = "../Compiled Files/Expanded/"
intern_dir_expanded_custom = "./Compiled Files/Expanded/"
intern_dir_gameplay = "../Compiled Files/Gameplay/"
intern_dir_gameplay_custom = "./Compiled Files/Gameplay/"
intern_dir_native = "../Compiled Files/Native/"
intern_dir_native_custom = "./Compiled Files/Native/"
#################################################################################
# This is the main folder where everything is compiled to. Don't change it! #
#################################################################################
export_dir = "./"
#################################################################################
# And here is the code which determines automatically what directory to use. #
# First importing important python stuff: #
#################################################################################
import os
#################################################################################
# Now check what directory exists, create module_info.py and write the right #
# info to that directory. This is the exact reason why this file isn't called #
# module_info.py anymore. #
#################################################################################
f = open("./module_info.py","w")
line = f.write("from info import *\n")
if os.path.exists(export_dir_main_guest):
line = f.write("export_dir_main = export_dir_main_guest\n")
line = f.write("export_dir_custom = export_dir_custom_guest\n")
elif os.path.exists(export_dir_main_duh):
line = f.write("export_dir_main = export_dir_main_duh\n")
line = f.write("export_dir_custom = export_dir_custom_duh\n")
elif os.path.exists(export_dir_main_caba):
line = f.write("export_dir_main = export_dir_main_caba\n")
line = f.write("export_dir_custom = export_dir_custom_caba\n")
elif os.path.exists(export_dir_main_windy):
line = f.write("export_dir_main = export_dir_main_windy\n")
line = f.write("export_dir_custom = export_dir_custom_windy\n")
elif os.path.exists(export_dir_main_weapons):
line = f.write("export_dir_main = export_dir_main_weapons\n")
line = f.write("export_dir_custom = export_dir_custom_weapons\n")
elif os.path.exists(export_dir_main_monnikje):
line = f.write("export_dir_main = export_dir_main_monnikje\n")
line = f.write("export_dir_custom = export_dir_custom_monnikje\n")
elif os.path.exists(export_dir_main_steam):
line = f.write("export_dir_main = export_dir_main_steam\n")
line = f.write("export_dir_custom = export_dir_custom_steam\n")
else:
line = f.write("export_dir_main = export_dir_main_normal\n")
line = f.write("export_dir_custom = export_dir_custom_normal\n")
f.close()
and the module_info.py file that was made at some point (not by me) seems correct.
I have checked my items files and there's no sign of a change at all.
Solution:
Duh 说:
Btw access denied compile errors are prolly related to windows. If you have windows 7, place your warband folder on the desktop or another "free" area, then change the compile path. Alternatively you could try running the compiler as administrator or if you really want to dig deep - change the permissions of your system.
I ended up moving my files out of "C:\Program Files (x86)" because of the issue I had when trying to run as administrator. Will see what happens when the compiling finishes.
Question
Do I need to have an empty mod folder when I start out or something? Solution:
Duh 说:
No. The only thing the compile actually does is create the text files, which contain the instructions for the game, which tell it how to use the resources provided in the module folder. It would make no difference if the text files were missing pre-compile, but the actual game files are absolutely necessary for a mod to work (textures, music, scenes, etc).
Question
Do I need python 2.6? Would python 2.73 work?
Solution: Yes. Any Python 2.x version will work, or so I've heard.
Additional Info
I have Floris Dev Suite 2.54
I have Python 2.73 installed
I am editing the source code in the Source files (Source - Floris Expanded Mod Pack)
When I opened and ran compile_floris_expanded_source_to_build_directory in python there didn't seem to be any errors
When I attempted to run module for the module_items.py file, there were syntax errors that had to do with the end bracket.
When I attempted to check module certain items being tabbed over apparently (the items getting tabbed over showed up after or during checking thing).
I am using python 2.73 because I could not find a 2.6 on python's download page and I read somewhere that any python 2.x would work.
I put python 2.73 into the system paths or whatever it's called in environment variables. (I have windows 7)
I'm a total noob to python, and have only done text file editing and tweaking my games with tweak mb
I only ask this because I've been looking around for the past few days. Maybe I haven't been looking hard enough, because I could not find anything that answered/solved my questions/problems.
Truthfully I had been looking at this thread for a couple of days before I even decided to ask for help, but it is very useful regardless.
(I missed things in the first few reads, some things I missed were quite important).
Thanks for the link.
Thank you very much for your help Windyplains and Duh.