Author Topic: Pythonic Module Editor v0.8.0  (Read 7935 times)

0 Members and 1 Guest are viewing this topic.

Fujiwara

  • Sergeant at Arms
  • *
    • View Profile
  • Faction: Neutral
Pythonic Module Editor v0.8.0
« on: January 05, 2007, 10:27:27 PM »
Announcing the Pythonic Module Editor, v.0.8.1!

Download here

The Pythonic Module Editor (PyME) is a Gui-based module editor for M&B module files.

PyME requires the following to run:

NOTHING! (links removed)

A short manual is included in the PyME archive. Read BEFORE running. Lemme know what ya'll think!  :D
« Last Edit: April 11, 2007, 05:32:32 AM by Fujiwara »
M&B: Onin no Ran - THE Japan Mod

Pythonic Module Editor

Johnny is a hacker's son
But Johnny is not 133t
What Johnny thought was ADD_AND_SHIFT
Instead was REG_DELETE

Fujiwara

  • Sergeant at Arms
  • *
    • View Profile
  • Faction: Neutral
Re: Pythonic Module Editor v0.8.0
« Reply #1 on: January 05, 2007, 11:12:17 PM »
PyME no longer requires any external libraries! The download is a stand-alone installer. Enjoy!
M&B: Onin no Ran - THE Japan Mod

Pythonic Module Editor

Johnny is a hacker's son
But Johnny is not 133t
What Johnny thought was ADD_AND_SHIFT
Instead was REG_DELETE

Nethros

  • Master Knight
  • *
    • View Profile
  • Faction: Vaegir
  • MP nick: 6thLegion_Fisher
Re: Pythonic Module Editor v0.8.0
« Reply #2 on: January 05, 2007, 11:18:11 PM »
You Ecchi Bastard :D

It seems interesting. Your background too ;)
Liberty or Death - Back in Development
A mod about the American Revolution. Ported to 1.011, public version released.

Fujiwara

  • Sergeant at Arms
  • *
    • View Profile
  • Faction: Neutral
Re: Pythonic Module Editor v0.8.0
« Reply #3 on: January 05, 2007, 11:34:22 PM »
Update: bug fix - Import, Export, and Save folders now created at initialization
M&B: Onin no Ran - THE Japan Mod

Pythonic Module Editor

Johnny is a hacker's son
But Johnny is not 133t
What Johnny thought was ADD_AND_SHIFT
Instead was REG_DELETE

Fujiwara

  • Sergeant at Arms
  • *
    • View Profile
  • Faction: Neutral
Re: Pythonic Module Editor v0.8.0
« Reply #4 on: January 05, 2007, 11:35:00 PM »
WHAT???  :D She's cute
M&B: Onin no Ran - THE Japan Mod

Pythonic Module Editor

Johnny is a hacker's son
But Johnny is not 133t
What Johnny thought was ADD_AND_SHIFT
Instead was REG_DELETE

Thorgrim

  • Cartographic Conquistador
  • Moderator
  • *
    • View Profile
Re: Pythonic Module Editor v0.8.0
« Reply #5 on: January 06, 2007, 05:58:10 AM »
It looks, and sounds good in theory, but I think it definitely needs the importer to work if anyone is to make much use of it.  I'm sure more people will give it a go once you have that working.

I gave it a bit of a go anyway, but couldn't seem to add records to any of the modules.  Are there only certain ones that work so far?

Also, Export seems to try to export to a hard coded path (C:/Program Files/Pythonic Module Editor/Export)
« Last Edit: January 06, 2007, 06:00:44 AM by Thorgrim »

Fujiwara

  • Sergeant at Arms
  • *
    • View Profile
  • Faction: Neutral
Re: Pythonic Module Editor v0.8.0
« Reply #6 on: January 06, 2007, 07:52:31 AM »
Thor,

Agreed re: the importers. I've included a few, but not all.

All the modules SHOULD work except for skins. Are you starting a new project? What exactly is going on?

Yes, for now, the module_xxx.py files live in that folder. The thought just occured to me to set up a config.ini file and let the user decide where to put them.

This is my first big programming project, so I'm having to learn this stuff as I go along :)
M&B: Onin no Ran - THE Japan Mod

Pythonic Module Editor

Johnny is a hacker's son
But Johnny is not 133t
What Johnny thought was ADD_AND_SHIFT
Instead was REG_DELETE

Thorgrim

  • Cartographic Conquistador
  • Moderator
  • *
    • View Profile
Re: Pythonic Module Editor v0.8.0
« Reply #7 on: January 06, 2007, 08:29:39 AM »
Hmm, seems to work now, not sure what I was doing before.

Agreed re: the importers. I've included a few, but not all.

Well, problem is that it sounds like you need to do a lot of tweaking to them for them to import right.  But it's a good start :)

BTW, what I downloaded was just a rar.  Are you sure you uploaded the installer?

Fujiwara

  • Sergeant at Arms
  • *
    • View Profile
  • Faction: Neutral
Re: Pythonic Module Editor v0.8.0
« Reply #8 on: January 06, 2007, 05:07:57 PM »
Ah hah :) Not 5 minutes after I uploaded the RAR I got the standalone Builder for PythonCard working. Try DLing it again.

I fear there's no way around the tweaking, as I couldn't possible account for every coding idiosyncracy. It was the simplest solution I could think of and make it manageble to write. I've tried to be as forgiving as possible, and tried to stick to the way the native modules files were formatted as best I could.
M&B: Onin no Ran - THE Japan Mod

Pythonic Module Editor

Johnny is a hacker's son
But Johnny is not 133t
What Johnny thought was ADD_AND_SHIFT
Instead was REG_DELETE

Vacuus

  • Recruit
  • *
  • Was Nebbuchadnezzar
    • View Profile
    • M&B Decompiler
Re: Pythonic Module Editor v0.8.0
« Reply #9 on: January 07, 2007, 01:36:19 AM »
Ahhh, you bastard - you've done almost exactly what I have! :D

Have you looked into compiling your project? It's been a while since I've done any Python, however, you should be able to remove those dependencies somehow.

Still, I'll release the demo of mine later today, and we can compare features ;)
The brave are cowards - behind angry masks.[/i]

Thorgrim

  • Cartographic Conquistador
  • Moderator
  • *
    • View Profile
Re: Pythonic Module Editor v0.8.0
« Reply #10 on: January 07, 2007, 01:54:59 AM »
I fear there's no way around the tweaking, as I couldn't possible account for every coding idiosyncracy. It was the simplest solution I could think of and make it manageble to write. I've tried to be as forgiving as possible, and tried to stick to the way the native modules files were formatted as best I could.

Hmm, you should be able to account for most.  MBDev highlights what part of the entry you should currently be entering.  Although that isn't quite the same as parsing it, it is a pretty simple matter to read each string and do something with them (as I started doing with game menus).  You just need to ignore comments, and count braces.

Vacuus: Cool, looking forward to seeing yours too :)

Fujiwara

  • Sergeant at Arms
  • *
    • View Profile
  • Faction: Neutral
Re: Pythonic Module Editor v0.8.0
« Reply #11 on: January 07, 2007, 04:23:17 AM »
All the dependencies have been removed. It exists as a stand alone app now.

I'm planning to release the code, and I'm all ears as far as suggestions go to make it better. :)

EDIT: Source code can be DLed here
« Last Edit: January 10, 2007, 08:08:48 PM by Fujiwara »
M&B: Onin no Ran - THE Japan Mod

Pythonic Module Editor

Johnny is a hacker's son
But Johnny is not 133t
What Johnny thought was ADD_AND_SHIFT
Instead was REG_DELETE

Fujiwara

  • Sergeant at Arms
  • *
    • View Profile
  • Faction: Neutral
Re: Pythonic Module Editor v0.8.0
« Reply #12 on: January 10, 2007, 08:09:12 PM »
Application DL and source code DL links fixed.
M&B: Onin no Ran - THE Japan Mod

Pythonic Module Editor

Johnny is a hacker's son
But Johnny is not 133t
What Johnny thought was ADD_AND_SHIFT
Instead was REG_DELETE

Mirek_cz

  • Recruit
  • *
    • View Profile
Re: Pythonic Module Editor v0.8.0
« Reply #13 on: January 16, 2007, 08:11:01 PM »
I still cannot download Pythonic editor ... err 503. Is there any other link to download?
<><


Fujiwara

  • Sergeant at Arms
  • *
    • View Profile
  • Faction: Neutral
Re: Pythonic Module Editor v0.8.0
« Reply #14 on: January 17, 2007, 08:26:40 AM »
The link in the first post takes you to the PyME page at the Repository. From there you can download the installer from there. The Repository no longer allows direct links.
M&B: Onin no Ran - THE Japan Mod

Pythonic Module Editor

Johnny is a hacker's son
But Johnny is not 133t
What Johnny thought was ADD_AND_SHIFT
Instead was REG_DELETE