Latenite - 1.0.6.1 Update [Monday 20/08/2007]
- benryves
- Maxcoderz Staff
- Posts: 3088
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
Wait, so if you double-click or select 'Open' for a file inside an EMR it works, but if you "Open in External Editor" it doesn't? OK, that makes sense, if that's the case (The "Open in External Editor" should be greyed out - IIRC the plugin passes the name of the resource/editor back to Latenite, so I should be able to get the menu say 'Open in EarlyMorning').
- benryves
- Maxcoderz Staff
- Posts: 3088
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
Yep, as I said, I can just double-click each resource (map or sprite) and it opens EarlyMorning, and EarlyMorning is automatically showing the resource you double clicked on.
Could you try something for me? Copy a .emr file into the Plugins folder, then open up a command prompt and type "emr <name of resource file>". It should spit out an XML file - for example, emr slippy.emr gives me:
Each 'source' attribute should point to the EarlyMorning EXE, each args should contain the command-line arguments.
Seeing as the data structure is quite clear, you could always try making your own plugin
Could you try something for me? Copy a .emr file into the Plugins folder, then open up a command prompt and type "emr <name of resource file>". It should spit out an XML file - for example, emr slippy.emr gives me:
Code: Select all
<x program="EarlyMorning"><folder name="Sprites"><file name="Empty" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr sprite 0 0" /><file name="Walltile" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr sprite 0 1" /><file name="Coin" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr sprite 0 2" /><file name="IceCube" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr sprite 0 3" /><file name="Hole" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr sprite 0 4" /><file name="PlayerTile" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr sprite 0 5" /></folder><folder name="Title"><file name="Title" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr sprite 1 0" /></folder><folder name="Slippy_Logo"><file name="Slippy" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr sprite 2 0" /></folder><folder name="Original Levels"><file name="Level 1" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr map 3 0" /><file name="Level 2" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr map 3 1" /><file name="Level 3" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr map 3 2" /><file name="Level 4" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr map 3 3" /><file name="Level 5" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr map 3 4" /><file name="Level 6" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr map 3 5" /><file name="Level 7" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr map 3 6" /><file name="Level 8" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr map 3 7" /><file name="Level 9" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr map 3 8" /><file name="Level 10" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr map 3 9" /><file name="Level 11" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr map 3 10" /><file name="Level 12" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr map 3 11" /><file name="Level 13" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr map 3 12" /><file name="Level 14" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr map 3 13" /><file name="Level 15" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr map 3 14" /><file name="Level 16" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr map 3 15" /><file name="Level 17" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr map 3 16" /><file name="Level 18" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr map 3 17" /><file name="Level 19" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr map 3 18" /><file name="Level 20" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr map 3 19" /><file name="Level 21" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr map 3 20" /><file name="Level 22" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr map 3 21" /><file name="Level 23" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr map 3 22" /><file name="Level 24" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr map 3 23" /><file name="Level 25" source="G:\Stuff\EarlyMorning\EarlyMorning.exe" args="slippy.emr map 3 24" /></folder></x>
Seeing as the data structure is quite clear, you could always try making your own plugin
- silver calc
- New Member
- Posts: 73
- Joined: Tue 28 Mar, 2006 10:50 pm
- Location: Wouldn't you like to know?
- silver calc
- New Member
- Posts: 73
- Joined: Tue 28 Mar, 2006 10:50 pm
- Location: Wouldn't you like to know?
- benryves
- Maxcoderz Staff
- Posts: 3088
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
Those plugins (of which there is only one) are for the project viewer on the right hand side. If you create a .emr file in EarlyMorning, Latenite will use EMR.exe to 'decode' it, and it can be expanded like a folder to show the tiles/sprites and maps inside. Double clicking one opens it up in EarlyMorning, if it's installed. That's the only purpose for the plugins as it is.
-
- Extreme Poster
- Posts: 340
- Joined: Fri 07 Jul, 2006 2:39 pm
- KermMartian
- Calc Wizard
- Posts: 549
- Joined: Tue 05 Jul, 2005 11:28 pm
- Contact:
- benryves
- Maxcoderz Staff
- Posts: 3088
- Joined: Thu 16 Dec, 2004 10:06 pm
- Location: Croydon, England
- Contact:
As a template? Maybe, but it's not really tricky to make your own (look at the app "tutorial" on the Brass site). In terms of supporting apps in the same template as RAM programs - no, this will not happen.
@chickendude: No, no internet access required. Make sure you've installed the .NET 2 runtimes, not the .NET 1 runtimes. Not sure what you mean about VB, as there is no VB code in use anywhere in Brass or Latenite...
@chickendude: No, no internet access required. Make sure you've installed the .NET 2 runtimes, not the .NET 1 runtimes. Not sure what you mean about VB, as there is no VB code in use anywhere in Brass or Latenite...
-
- Extreme Poster
- Posts: 340
- Joined: Fri 07 Jul, 2006 2:39 pm
- silver calc
- New Member
- Posts: 73
- Joined: Tue 28 Mar, 2006 10:50 pm
- Location: Wouldn't you like to know?
- kv83
- Maxcoderz Staff
- Posts: 2735
- Joined: Wed 15 Dec, 2004 7:26 pm
- Location: The Hague, Netherlands
- Contact:
Why? For the one time in a year you compile a program that hasn't been changed? When developing the chance is rather low that that happens.silver calc wrote:Suggestion: When you press the 'debug' botton, instead of compilling each time, detect if there's been any changes and only re-compile if there were any changes.