Author Topic: Pythonic Module Editor : 0.9.5 fixup released (0.9.5a) [june, 6th 2010]  (Read 41718 times)

0 Members and 1 Guest are viewing this topic.

André de Cuyne

  • Knight
  • *
  • Mahaa ! ! !
    • View Profile
  • Faction: Neutral
  • WB



Fujiwara's code rewritten !




If your are interrested in making a translation, see here.


Spanish translation available (for 0.9.4) here !
Thanks to Megale91 !


I am glad to announce that the PyME version 0.9.5a (fixed 0.9.5) is out !
You can download it here.



For french users, here is the link to the french forum PyME board.

This app is designed to edit the Module System, not the other resources of the game.





New features in the version 0.9.5 (and 0.9.5a) ?

Of course :

Version 0.9.5
  • Warband compatible : WB MS and mods should be fully editable.
  • GUI refunded (partial) : most of the GUI code has been changed for more efficiency, but hasn't changed a lot for the user.
  • Internal compiler implemented (only for M&B 1.010 and 1.011): saves time when building a mod.
  • '+' limitation removed.
  • 'Changes' option added to the help ('?') menu : objects to display the PyME changes also added.
  • 'Readme' option added to the help ('?') menu : objects to display the PyME readme also added.

Version 0.9.5a
  • Animations window and other bugs fixed.
  • Mods importing functions updated.
  • New plugin added for compatibility with "Fire Arrow" based mods.

(click to show/hide)
Some screenies...

(click to show/hide)


The new core can work with Module System for Mount & Blade versions:

  • 0.808
  • 0.890
  • 0.894
  • 0.903
  • 0.960
  • 1.01x

Be sure to read the readme.txt file after installation !

Or just now !
(click to show/hide)
« Last Edit: June 06, 2010, 02:41:15 PM by André de Cuyne »
D'or à lion de sable armé et lampassé de gueules, à bande de même chargée de trois étoiles d'argent. "J'astend fortune"

The PyME 0.9.5 is on the repository !

The simplest way to edit the Module System.

Servitor

  • Sergeant Knight at Arms
  • *
    • View Profile
  • Faction: Neutral
  • M&BWB
Re: Pythonic Module Editor 0.8.7 for M&B 0.903
« Reply #1 on: June 08, 2008, 01:40:45 PM »
So basically this is a GUI for the Module System?

Quite awesome!

André de Cuyne

  • Knight
  • *
  • Mahaa ! ! !
    • View Profile
  • Faction: Neutral
  • WB
Re: Pythonic Module Editor 0.8.7 for M&B 0.903
« Reply #2 on: June 08, 2008, 05:00:25 PM »
Yes.

I'm actually tracking bugs and unwanted issues in the version 0.8.8. But this one won't be published. It's only a development version.

Bugs are well hidden, it's hard for one people to track them all. Testers are welcome !

You can DL it on the repository, but be carefull. If you find bugs, just post here. Don't forget to include a copy of the file 'PyME.exe.log' to the post. It will be usefull to correct the problems.
D'or à lion de sable armé et lampassé de gueules, à bande de même chargée de trois étoiles d'argent. "J'astend fortune"

The PyME 0.9.5 is on the repository !

The simplest way to edit the Module System.

AK47

  • Baron
  • *
  • Slightly Sanguine
    • View Profile
  • Faction: Neutral
Re: Pythonic Module Editor 0.8.7 for M&B 0.903
« Reply #3 on: June 23, 2008, 12:26:28 PM »
Lovely, I thought it was my error and I get this
Quote
Traceback (most recent call last):
  File "PythonCard\widget.pyo", line 408, in _dispatch
  File "editor.py", line 393, in on_btnOpenModule_command
AttributeError: 'Editor' object has no attribute 'moduleSelected'
Traceback (most recent call last):
  File "wx\_core.pyo", line 13830, in <lambda>
  File "meshes.pyo", line 30, in on_initialize
KeyError: 'meshes'
Traceback (most recent call last):
  File "wx\_core.pyo", line 13830, in <lambda>
  File "items.pyo", line 22, in on_initialize
AttributeError: 'Editor' object has no attribute 'itm_imodbits'
Traceback (most recent call last):
  File "wx\_core.pyo", line 13830, in <lambda>
  File "items.pyo", line 22, in on_initialize
AttributeError: 'Editor' object has no attribute 'itm_imodbits'
Traceback (most recent call last):
  File "wx\_core.pyo", line 13830, in <lambda>
  File "items.pyo", line 22, in on_initialize
AttributeError: 'Editor' object has no attribute 'itm_imodbits'
Traceback (most recent call last):
  File "wx\_core.pyo", line 13830, in <lambda>
  File "items.pyo", line 22, in on_initialize
AttributeError: 'Editor' object has no attribute 'itm_imodbits'
« Last Edit: June 23, 2008, 12:52:20 PM by G36E »

André de Cuyne

  • Knight
  • *
  • Mahaa ! ! !
    • View Profile
  • Faction: Neutral
  • WB
Re: Pythonic Module Editor 0.8.7 for M&B 0.903
« Reply #4 on: June 23, 2008, 01:55:14 PM »
Thanks for the feed back.

Here is the explanation of these errors.

Quote
Traceback (most recent call last):
  File "PythonCard\widget.pyo", line 408, in _dispatch
  File "editor.py", line 393, in on_btnOpenModule_command
AttributeError: 'Editor' object has no attribute 'moduleSelected'
This message is displayed when you click 'Open Module' button without any module selected.

Quote
Traceback (most recent call last):
  File "wx\_core.pyo", line 13830, in <lambda>
  File "meshes.pyo", line 30, in on_initialize
KeyError: 'meshes'
Traceback (most recent call last):
  File "wx\_core.pyo", line 13830, in <lambda>
  File "items.pyo", line 22, in on_initialize
AttributeError: 'Editor' object has no attribute 'itm_imodbits'
Traceback (most recent call last):
  File "wx\_core.pyo", line 13830, in <lambda>
  File "items.pyo", line 22, in on_initialize
AttributeError: 'Editor' object has no attribute 'itm_imodbits'
Traceback (most recent call last):
  File "wx\_core.pyo", line 13830, in <lambda>
  File "items.pyo", line 22, in on_initialize
AttributeError: 'Editor' object has no attribute 'itm_imodbits'
Traceback (most recent call last):
  File "wx\_core.pyo", line 13830, in <lambda>
  File "items.pyo", line 22, in on_initialize
AttributeError: 'Editor' object has no attribute 'itm_imodbits'
These errors are displayed when no module system is loaded and the user opens a module.
Since there are no data to display, errors are returned.
Will be fixed in the next version.

To avoid this, open a modification (Menu 'File', option 'Open a modification') or create a new project (Button 'New Project').

A question : did you tried it with the module system for 0.960 ?
D'or à lion de sable armé et lampassé de gueules, à bande de même chargée de trois étoiles d'argent. "J'astend fortune"

The PyME 0.9.5 is on the repository !

The simplest way to edit the Module System.

AK47

  • Baron
  • *
  • Slightly Sanguine
    • View Profile
  • Faction: Neutral
Re: Pythonic Module Editor 0.8.7 for M&B 0.903
« Reply #5 on: June 23, 2008, 03:59:19 PM »
Okay, I did Open Modification => Module System, type: C:\Program Files\Mount&Blade\Modules\ModuleSystem. It loads but certain parts of it are empty:  game_menus etc.

If I browse for it, I get the same result.

I select open module: C:\Program Files\Mount&Blade\PyME\Import (I put all the .py files there) and I get this:


BTW, triggers are fine.

PyME.ini:
[Pathes] #should be [Paths]
game = C:\Program Files\Mount&Blade
modulesystem = C:\Program Files\Mount&Blade\PyME\Import
brfedit = C:\Program Files\BRFEdit
mapeditor = C:\Program Files\M&BMapEditor

A question : did you tried it with the module system for 0.960 ?

No, I didn't, I'm using .903's module system.

André de Cuyne

  • Knight
  • *
  • Mahaa ! ! !
    • View Profile
  • Faction: Neutral
  • WB
Re: Pythonic Module Editor 0.8.7 for M&B 0.903
« Reply #6 on: July 12, 2008, 01:26:25 PM »
Okay, I did Open Modification => Module System, type: C:\Program Files\Mount&Blade\Modules\ModuleSystem. It loads but certain parts of it are empty:  game_menus etc.

If I browse for it, I get the same result.

Strange issue, it works on my computer and some other... But the "Open modification" is intended to open an existing mod, not the module system itself.
It is better to create a new project: this will load the module system files (to the condition you have configured the module system path).

I select open module: C:\Program Files\Mount&Blade\PyME\Import (I put all the .py files there) and I get this:

*image*
The troubles you experienced are maybe the consequence of the two running PyME sessions. Concerning the configuration file (PyME.ini), it is not guaranteed that one session can't be corrupted by the changes you make in the other. Just avoid running multiple sessions, or don't modify the configuration until you run only one session.

BTW, triggers are fine.
Thanks !
They will be nicer in the next version...
D'or à lion de sable armé et lampassé de gueules, à bande de même chargée de trois étoiles d'argent. "J'astend fortune"

The PyME 0.9.5 is on the repository !

The simplest way to edit the Module System.

André de Cuyne

  • Knight
  • *
  • Mahaa ! ! !
    • View Profile
  • Faction: Neutral
  • WB
Re: Pythonic Module Editor 0.8.7 for M&B 0.903
« Reply #7 on: September 06, 2008, 03:46:42 PM »
PyME 0.9.1 uploaded today on the repository.

Link in the first message.
D'or à lion de sable armé et lampassé de gueules, à bande de même chargée de trois étoiles d'argent. "J'astend fortune"

The PyME 0.9.5 is on the repository !

The simplest way to edit the Module System.

Balrog

  • Sergeant
  • *
    • View Profile
  • Faction: Swadian
Re: Pythonic Module Editor 0.9.1 for M&B 0.903/0.960
« Reply #8 on: September 22, 2008, 04:52:57 PM »
Hello André de Cuyne,

Thank you for posting your tool!

I am new to MODing and I would like to know what this tool does. Would you mind telling us more about your tool and how we can use it to Mod? Or is this in the read me file?

Either way I will be downloading it and trying it out.

Thanks!

Balrog

  • Sergeant
  • *
    • View Profile
  • Faction: Swadian
Re: Pythonic Module Editor 0.9.1 for M&B 0.903/0.960
« Reply #9 on: October 07, 2008, 07:44:06 PM »
Ahhh, sorry about the above post. For some reason the pictures did not show up the other day (or I am just getting better at this). I see now, awesome tool!

#1 asked question: Do you have any intention of updating this to 1.003?

André de Cuyne

  • Knight
  • *
  • Mahaa ! ! !
    • View Profile
  • Faction: Neutral
  • WB
Re: Pythonic Module Editor 0.9.1 for M&B 0.903/0.960
« Reply #10 on: October 08, 2008, 10:07:33 AM »
Hi Balrog, and thanks for your interest.

I will port PyME for 1.003 as soon as the Module System is released.

But, it can take a bit of time, depending the differences in the Module System structure.

I can also say that I have allready started the development of another app, which is close to the Unofficial Editor, and will deal directly with the compiled resources of M&B.
D'or à lion de sable armé et lampassé de gueules, à bande de même chargée de trois étoiles d'argent. "J'astend fortune"

The PyME 0.9.5 is on the repository !

The simplest way to edit the Module System.

Balrog

  • Sergeant
  • *
    • View Profile
  • Faction: Swadian
Re: Pythonic Module Editor 0.9.1 for M&B 0.903/0.960
« Reply #11 on: October 08, 2008, 03:28:20 PM »
Hi Balrog, and thanks for your interest.

I will port PyME for 1.003 as soon as the Module System is released.

But, it can take a bit of time, depending the differences in the Module System structure.

I can also say that I have allready started the development of another app, which is close to the Unofficial Editor, and will deal directly with the compiled resources of M&B.

André if you pull that off you will be my hero! Great work and much thanks to people like you!

Luisrah

  • Sergeant
  • *
    • View Profile
  • Faction: Swadian
Re: Pythonic Module Editor 0.9.1 for M&B 0.903/0.960
« Reply #12 on: December 04, 2008, 06:36:31 PM »
Yeah if you make one of those for the earliest version you would be doing us all a great favor  :mrgreen:

kavien

  • Sergeant at Arms
  • *
  • Permanently Banned
  • The Motherland
    • View Profile
    • Blades of Valiance Forums
  • Faction: Nord
Re: Pythonic Module Editor 0.9.1 for M&B 0.903/0.960
« Reply #13 on: December 10, 2008, 11:25:26 PM »
download link?
Bringin' Vintage Back

Luisrah

  • Sergeant
  • *
    • View Profile
  • Faction: Swadian
Re: Pythonic Module Editor 0.9.1 for M&B 0.903/0.960
« Reply #14 on: December 12, 2008, 10:05:19 PM »
There isn't yet. He hasn't ported it to the newest version.

But some progress on it would be great.