PDA

View Full Version : [APP][DISCONTINUED] TF3D manila mode9 editor


Pages : [1] 2 3

6Fg8
29th December 2008, 12:03 PM
6Fg8 proudly presents:
m9editor
development discontinued


m9editor is your little helper when it comes to editing manila files. It lets you edit nearly all aspects of a mode9 file. Additionally it will assist you with graphics, allowing import, export and CFC compression. And It includes a directory viewer with information specific to manila files.

requirements:
m9editor is written in .net, so .netCF3.5 (currently SP1) must be installed (usually its already there). It has been developed and tested using Windows XP x64, but should run on any Windows platform.

usage:
see the manual contained in the download package (PDF)

making of / credits:
thanks to: D-MAN666, sztupy, nixx-X1, Chainfire, pcarvalho, showaco, guap, 12aon, xboxmod, NisseDILLIGAF, smotrs, for contributing knowledge, ideas, testing. Thank you guys (& gals of course) !

version history:
2009-03-10 - v3.3.0.1
BUGFIX: crashed when using selections
2009-03-09 - v3.3.0.0
- LuaConv is now included in the m9editor download package
- CHG: all sourcecode related functions use ".lua" as default extension
- NEW: compile and import function for lua script sourcefiles:

for mode9 files (embedded scripts):
m9editor remembers the filename of the source on a per-node basis and lets you subsequently edit the recently used file from the particular node. You may also attach/detach such a link manually. If a link is established, you may edit the sourcefile (check if you set the "SourceCodeViewer" option in m9editor.cfg) and recompile/import in a single step. When saving the mode9 file the links are saved too (mode9file.ann) and reloaded on next open.

for standalone scripts:
m9editor checks if a correspondig xxxxxxxx_manila.lua exists in the script directory. If yes, you are offered edit and compile options.

- NEW: editor context menu: view source for embedded scripts
- NEW: search previous button
- FIX: editing characterreference threw exception
- NEW: dirviewer context menu for mode9 files: compare with: compare two mode9 files without loading it first
- NEW: dirviewer context menu for all files: hex compare with: compare two files with hexview.
Only available if AptDiff is installed. Edit m9editor.cfg and insert the following line (use the path on your system):
AptDiffPath=c:\Program Files (x86)\Brother Technology\AptDiff 1.5\aptdiff.exe

If AptDiff is installed and configured in m9editor.cfg, text compares are done with AptDiff instead of ExamDiff

WARNING:
during directory analyze, if a lua script is found, m9editor checks for existence of <filename>.luac.lua. If its found it will be renamed to <filename>.lua. In directory viewer the line will be shown blue colored to indicate the presence of a sourcecode file.

during mode9 file load, if a embedded script is found, m9editor checks for existence of <filename>_<bytepos>.luac.lua. If its found it will be renamed to <filename>_<bytepos>.lua. In mode9 editor you will notice the link to the script sourcecode. Dont forget to save the mode9 file to make the link permanent (otherwise if you modify the structure, links might be lost due to changing byteposition).

WARNING2:
The pdf attached doesnt reflect the latest changes to m9editor, update follows.

2009-02-22 - v3.2.0.1
- fixed definitions for weather.mode9 and landscape.mode9 which rendered them unusable after modifying
2009-02-22
I removed the QtcConv and LuaConv tools because they lack of syntactical checks and the same functionality is available in m9editor.
EDIT: added the old LuaConv again, seems to work not that bad i thought it would :)
2009-02-21 - v3.2.0.0
- font changes for various fields to avoid overlapping
- if "manila files dir" is changed in settings, directoryview will be reloaded
- new: directory viewer context menu option for mode9 files: "extract embedded scripts", writes them to script directory
- changed interpretation of UV property (16.16 instead of INT32)
- picture view: new "save as PNG" and "save as QTC" buttons will save your graphic to a selectable directory
2009-02-19 - v3.1.0.1
bugfix for "save tree to file" function
2009-02-19 - v3.1.0.0
time for a new version :)
- m9editor now remembers last window/splitter positions and restores them on start and returning from minimize
- HOT compare feature: if a mode9 file is loaded, rightclick on the toplevel node to compare with another mode9 file, or save the treeview as a textfile. Compares are done with a freeware tool named "ExamDiff" from PrestoSoft.
2009-02-18 - v3.0.5.0
new context menu functions in directory viewer: delete, copy to
2009-02-17 - v3.0.4.0
content of XML, HTML displayed in lower right panel
evaluation of XML locales in directory viewer
manual is complete, and now a part of the package
2009-02-16 - v3.0.3.1
annotations now work for new tags as well, and will be copied between instances (+corrected a few flaws during display)
new: search within decompiled lua scripts
new: copy annotations between instances of m9editor
2009-02-11 - v3.0.2.0
bugfix: empty value crash
minor improvements
2009-02-10 - v3.0.1.0
some little improvements:
- sourcecode of embedded scripts and .luac files is shown whenever possible
- zoom percentage display for graphics display
2009-02-09 - v3.0.0.0
I've made a lot of changes to improve m9editor. The most important are:
- integration with sztupy's luadec (thanks and credits to sztupy for great decompiler and permission to use, and of course once again to D-MAN666 for providing knowledge)
- import of compiled lua scripts (ANSI or Unicode, autodetected)
- UI reworked: editor, directory viewer, image viewer combined in one window


planned for next releases of m9editor:
- copy files to/from PDA if connected via ActiveSync
- smart-select referenced graphic files in a mode9 file
- selfcheck for consistent mode9 writing
- analysis of lua script "require"'s for valid manila names

download stats:
v.3.2.0.1: 1554 views (wow! impressed!)

Ximoon
29th December 2008, 12:45 PM
Guess I'll have to try that, seems great !
Your editor seems (as you describe it) only able to change values, but not the structure of the mode9 file, do you intend to change that ?
I have an ongoing project of mode9/xml converter in C, if I can be of some help, don't hesitate to ask :)

6Fg8
29th December 2008, 02:13 PM
Hi Ximoon,

guess you belong to the "intended audience" :)

At the moment only changing values is allowed, correct. The main reason for this is that i'm unable to interpret and understand the complete structure, and to make sure that writing of m9 files produces valid files. If there's more info on that i could build it into the editor of course.

What i could imagine is a more generic approach, e.g. allow insertion/deletion of tags based on hex-values. I'll give that a thought.

Do you have any detailed info about the tag-structure? It can be seen in the tagfile but as hexvalues. Ive been able to interpret some of them, but the meaning of many others is unknown to me. So m9editor filters most of them for better reading.

Anyway, there's more to come with m9editor. I already built routines to disassemble lua scripts which run fine, but as its output is only relevant to p-code its pretty useless at this time. Also planned is a tool to allow image replacement. That could go to a point where we have a complete workbench for TF3D, including preview and the like. But thats far beyound my current scope.

Ximoon
29th December 2008, 02:21 PM
Nice anyway !
I have no more information than you do, all I got is from the manilla thread where you posted earlier ;)
But in the end, names of the tags doesn't really matter.
For LUA, I found some decompiler on the web, so I guess a tool to convert lua-unicode to lua-ascii and reverse could work to use those tools.
I guess I'll go on with my editor and see what I could do in the end, for two different approches could be constructive !

6Fg8
29th December 2008, 02:37 PM
Must have been ChunkSpy, right? I found many more but mostly outdated and not working for Lua 5.1.
The Lua routines i've already written allow converting unicode to ascii, and save the scripts in ascii respectively. I'll have to recode them in .net as the first quick approach has been VB :confused:

D-MAN666
29th December 2008, 02:41 PM
Nice start, man :)
I was waiting for so long since somebody starts public Manila DevKit since i posted specs i reversed :D

Drop me a PM if you have any questions ;)

Ximoon
29th December 2008, 02:49 PM
Can't wait to use those lua tools ;)

6Fg8
29th December 2008, 02:52 PM
yeah, right D-MAN, most of that thing is based on your findings, my respect m8.
I'll PM you later, gotta go shopping now for newyears eve :D

D-MAN666
29th December 2008, 07:17 PM
yeah, right D-MAN, most of that thing is based on your findings, my respect m8.
I'll PM you later, gotta go shopping now for newyears eve :D
Yah, sure, after NY eve when my hangover is over :D

udK
29th December 2008, 11:34 PM
oh oh, nice tool thank you ;)

6Fg8
30th December 2008, 12:41 AM
new version has been released, details here (http://forum.xda-developers.com/showpost.php?p=3095189&postcount=1)

schreda
30th December 2008, 02:33 PM
got ean error if i want to open a file..

System.UnauthorizedAccessException: Der Zugriff auf den Pfad C:\Dokumente und Einstellungen\Administrator\Desktop\HTC\tf3d\2c684 cd8_manila wurde verweigert.
bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
bei System.IO.FileStream..ctor(String path, FileMode mode)
bei m9editor.m9efunctions.readm9(String fname, Boolean writedebug)
bei m9editor.m9editor.fileopen_Click(Object sender, EventArgs e)
bei System.Windows.Forms.Control.OnClick(EventArgs e)
bei System.Windows.Forms.Button.OnClick(EventArgs e)
bei System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
bei System.Windows.Forms.Button.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)



edit: i was write protected.....

6Fg8
30th December 2008, 02:43 PM
got ean error if i want to open a file..

System.UnauthorizedAccessException: Der Zugriff auf den Pfad C:\Dokumente und Einstellungen\Administrator\Desktop\HTC\tf3d\2c684 cd8_manila wurde verweigert.


sorry, i dont have that file on my touch HD, cannot test. Are you sure its a mode9 file? Can you upload it here?

6Fg8
30th December 2008, 02:47 PM
edit: i was write protected.....

:D that explains something

schreda
30th December 2008, 02:52 PM
hmm.. i'm trying to port the analog clock from the Diamond to the HD.. i must change the Resolution i think but i got a bad result if i change the size var... ( i took the original file from the Hd to compare it

6Fg8
30th December 2008, 04:04 PM
hmm.. i'm trying to port the analog clock from the Diamond to the HD.. i must change the Resolution i think but i got a bad result if i change the size var... ( i took the original file from the Hd to compare it

great idea, i'd appreciate to see a analog clock on the HD

6Fg8
31st December 2008, 01:34 AM
new version has been released, details here (http://forum.xda-developers.com/showpost.php?p=3095189&postcount=1)

pcarvalho
31st December 2008, 01:43 AM
wow! finally someone is doing it :D

thanks and keep up the good work!!!

what i show in screenshot, is it portion of unparsed data?

can one edit them? i tried and failed cause i dont know what to change...

i'm missing: RectF, X, Y, Width, Height

6Fg8
31st December 2008, 09:22 AM
wow! finally someone is doing it :D

thanks and keep up the good work!!!

what i show in screenshot, is it portion of unparsed data?

can one edit them? i tried and failed cause i dont know what to change...

i'm missing: RectF, X, Y, Width, Height

its the value of the tag above, "Viewport". Currently i dont know how to parse that, as its binary and i dont understand the meaning. Could be 8 x Int16, or 4x Int32, or a mixture of that, and even then i wouldnt understand what these values mean. Obviously parameters for Viewport.

Yes, you can edit that, simply overwrite the hexvalues and press enter, it will be written.

Can you shed light into the purpose of these values? I'll be glad to parse them right.

BTW there is a baaad bug in v1.0.2.0 when writing m9, i'm currently correcting that.

pcarvalho
31st December 2008, 12:23 PM
its the value of the tag above, "Viewport". Currently i dont know how to parse that, as its binary and i dont understand the meaning. Could be 8 x Int16, or 4x Int32, or a mixture of that, and even then i wouldnt understand what these values mean. Obviously parameters for Viewport.

Yes, you can edit that, simply overwrite the hexvalues and press enter, it will be written.

Can you shed light into the purpose of these values? I'll be glad to parse them right.

BTW there is a baaad bug in v1.0.2.0 when writing m9, i'm currently correcting that.

take your time my friend

those ones for Viewport i only know that they are:

<Property Name="Viewport" Type="RectF" X="0" Y="0" Width="31457280" Height="35127296" Animated="False"/>

cause i used D-MAN666's mode9parser, talk with him cause he might help, i hope :)

6Fg8
31st December 2008, 02:43 PM
take your time my friend

those ones for Viewport i only know that they are:

<Property Name="Viewport" Type="RectF" X="0" Y="0" Width="31457280" Height="35127296" Animated="False"/>

cause i used D-MAN666's mode9parser, talk with him cause he might help, i hope :)
I'm already in contact with him :D, and he sent me the definitions for the properties.

And then there are many other definitions which i'd like to integrate into m9editor, plus a hundred improvements i think of. So little time, so slow brain and fingers on my part, and of course, so little time. Anyway it's still a young project and i'll keep it running and improving, so .... keep watching :)

pcarvalho
31st December 2008, 02:50 PM
great! :D well changing these values in Hex (in picture) changes these values:

<Property Name="Viewport" Type="RectF" X="0" Y="0" Width="31457280" Height="35127296" Animated="False"/>

to

<Property Name="Viewport" Type="RectF" X="16777216" Y="16777216" Width="31391744" Height="1441792" Animated="False"/>

using his parser for now to see what changes and if its ok...gonna try to properly QVGA manila through this...

hope this helps u 2 :)

update: 8 last digits is height , next 8 width , next Y , next X , grouped by 8 digits

6Fg8
31st December 2008, 06:43 PM
From a technical point of view, the conversion seems correct. All numbers are little endian, that explains the big numbers.

From an applation view, i would suspect that the presentation is Int16 and not Int32, the rest filled with 0x0s. At least that would make more sense in respect to resolution and screensize of the THD.

pcarvalho
31st December 2008, 07:05 PM
From a technical point of view, the conversion seems correct. All numbers are little endian, that explains the big numbers.

From an applation view, i would suspect that the presentation is Int16 and not Int32, the rest filled with 0x0s. At least that would make more sense in respect to resolution and screensize of the THD.

for now i'll guess the changes i have to make...if i had a diamond i could change the HD manila to VGA easy...so very good work!! keep it up ;)

6Fg8
2nd January 2009, 12:02 PM
I created a little console app for converting lua-scripts between ASCII and Unicode. Tool and details as always, here (http://forum.xda-developers.com/showthread.php?t=464984)

6Fg8
2nd January 2009, 07:11 PM
new version has been released, details here (http://forum.xda-developers.com/showpost.php?p=3095189&postcount=1)

pcarvalho
2nd January 2009, 08:43 PM
bug report: cooked mode cant be used to edit as it makes the line vanish, or i'm doing something wrong :)

6Fg8
2nd January 2009, 08:58 PM
bug report: cooked mode cant be used to edit as it makes the line vanish, or i'm doing something wrong :)

only the blue-colored lines (=property values) can be edited in cooked mode. if a line is blue, you should be able to edit, if not, its a bug :mad:

can you post a screenshot?

pcarvalho
2nd January 2009, 09:13 PM
its a bug then...cause when i change value it becomes as screenshot...

by the way been qvga the TF3D HD with your tool...nice!!!

will take lots of time but now all kinds of layout are possible...VGA QVGA WVGA WQVGA SQUARE...any one of them...just have to edit it (hard part still)...
hope the sleep/off drivers bug can be traced cause it sure runs well...no more dotted lines missing...unreadble text...everything is in our reach :D

nice one on the search...i was gonna request that, and how about search and replace? ;)

by the way the numbers i said before...they are int32 little-end but that you already know :D

keep up the good work :)

6Fg8
2nd January 2009, 09:28 PM
its a bug then...cause when i change value it becomes as screenshot...

by the way been qvga the TF3D HD with your tool...nice!!! :D

will take lots of time but now all kinds of layout are possible...VGA QVGA WVGA...any one of them...just have to edit...nice one on the search...i was gonna request that, and how about search and replace? ;)

by the way the numbers i said before...they are int32 little-end but that you already know :D

keep up the good work :)


ah right, thats when editing a value. Its the edited line that gets garbled, but value is written correctly. You can correct that by selecting "COOKED" again from the detail level, it will refresh all lines. I'll fix that in the next release.

find&replace isnt as easy as it looks ... when you select a line, i know the underlying datatype, which i wouldnt during a generic find&replace, so i would have to ask. Not sure if thats really convincing.

As for the numbers, its more than just Int32. I'm currently implementing some intelligence to get the correct number format out of the values. Meanwhile i had to handle Int32, Real, Boolean. I'm not done yet, so i'm sure theres more i'll stumble about.

6Fg8
2nd January 2009, 09:40 PM
by the way been qvga the TF3D HD with your tool...nice!!!

will take lots of time but now all kinds of layout are possible...VGA QVGA WVGA WQVGA SQUARE...any one of them...just have to edit it (hard part still)...
hope the sleep/off drivers bug can be traced cause it sure runs well...no more dotted lines missing...unreadble text...everything is in our reach :D

What device is that your modifying TF3D for? Will it run on an oldfashioned Axim x50v? Got one lying around here ;)

keep up the good work :)
wilco :D

pcarvalho
2nd January 2009, 09:57 PM
What device is that your modifying TF3D for? Will it run on an oldfashioned Axim x50v? Got one lying around here ;)


my polaris...if your Axim x50v has an ATI chip and/or 3D drivers for it it will run...else i dont think so...you'll have to investigate...

6Fg8
3rd January 2009, 08:15 PM
new version has been released, details here (http://forum.xda-developers.com/showpost.php?p=3095189&postcount=1)

pcarvalho
3rd January 2009, 10:32 PM
nice...thanks

now we have less number to calculate :D

pcarvalho
4th January 2009, 11:25 PM
got some time and made some very quick changes for just about 1h and here are the screens ;)

patched touchFLO 3D HD to use 240x320 screens and started the port (just patched manila.exe and no other patching needed)...

and ALL themes compatible cause only layout is changed...

touchFLO 3D (HD version) running on QVGA, very bad view in some screens (font unreadble for example) cause only thing i changed was the render screen to QVGA from WVGA, but shows that its possible to make any change...from here i could change layout, font size, adjust various elements to become more QVGA friendly (viewable)...

Edit: screens bigger ;)

6Fg8
4th January 2009, 11:33 PM
got some time and made some changes for just about 1h and here are the screens ;)

patched touchFLO 3D HD to use 240x320 screens and started the port...no other patching needed...and ALL themes compatible cause only layout is changed...

touchFLO 3D (HD version) running on QVGA, very bad view in some screens (font unreadble for example) cause only thing i changed was the render screen to QVGA from WVGA, but shows that its possible to make any change...from here i could change layout, font size, adjust various elements to become more QVGA friendly (viewable)...

ha, that looks awesome!
BTW the screenshots could be a bit bigger :)

CraZyLiLbOy
5th January 2009, 03:06 AM
got some time and made some very quick changes for just about 1h and here are the screens ;)

patched touchFLO 3D HD to use 240x320 screens and started the port (just patched manila.exe and no other patching needed)...

and ALL themes compatible cause only layout is changed...

touchFLO 3D (HD version) running on QVGA, very bad view in some screens (font unreadble for example) cause only thing i changed was the render screen to QVGA from WVGA, but shows that its possible to make any change...from here i could change layout, font size, adjust various elements to become more QVGA friendly (viewable)...

Edit: screens bigger ;)

so your saying that touchflo 3d hd can be ported to qvga devices?

pcarvalho
5th January 2009, 03:16 AM
so your saying that touchflo 3d hd can be ported to qvga devices?

i'm not just saying... i'm showing ;)

CraZyLiLbOy
5th January 2009, 03:35 AM
here is my custom tf3d. It's one of the fastest tf3d out there. I did tweak it a little bit. My only problem is that I can't change the wallpaper for my home tab. I tried to change it through going to settings tab then wallpaper but I don't see the camera icon..that means it won't let me see my pictures, etc.

Grimus
5th January 2009, 04:40 PM
When trying to open 1c684cd8_manila mode9 file from HTC Touch HD it crashes mode9 editor :( This is the original stock file that ships with the touch hd.

I've attached the mode9 file so you can take a look. This file controls the clock on the tf3d today tab. It allows for flip clock animation etc

Also its equivalent version from the htc touch diamond does open with mode9 editor.

pcarvalho
5th January 2009, 04:54 PM
When trying to open 1c684cd8_manila mode9 file from HTC Touch HD it crashes mode9 editor :( This is the original stock file that ships with the touch hd.

I've attached the mode9 file so you can take a look. This file controls the clock on the tf3d today tab. It allows for flip clock animation etc

Also its equivalent version from the htc touch diamond does open with mode9 editor.

first off... this is in development by its author, so problems may appear, though he is quite cautionate...

second if you dont know what you doing stop doing it cause it may break the system...

now then...

actually this file is the full home page...remove the read only attribute ;)

does anyone know the lastest version of manila? and a link to the best HD installer till now with manila only files (no keyboard, youtube, etc)...

Grimus
5th January 2009, 07:06 PM
first off... this is in development by its author, so problems may appear, though he is quite cautionate...

second if you dont know what you doing stop doing it cause it may break the system...

now then...

actually this file is the full home page...remove the read only attribute ;)


First off, I'm aware this is in development and as such I am reporting a bug to help in its development.

Second who ever said I was intending to copy this file back to a touch hd? What system is it you think I am going to break? :)

Now then, there should be code to catch this exception. A program should not crash when trying to open a read only file. Not that I'm blaming anyone. I am merely reporting a bug.

pcarvalho
5th January 2009, 07:15 PM
First off, I'm aware this is in development and as such I am reporting a bug to help in its development.

Second who ever said I was intending to copy this file back to a touch hd? What system is it you think I am going to break? :)

Now then, there should be code to catch this exception. A program should not crash when trying to open a read only file. Not that I'm blaming anyone. I am merely reporting a bug.


haha funny :P

the bug was already reported, next time read thread before posting its only 5 pages long...second i never said anything about coping back to whatever, again read some more...and "the system" is aka "your pda" :)

cheers

Grimus
5th January 2009, 07:31 PM
haha funny :P

the bug was already reported, next time read thread before posting its only 5 pages long...second i never said anything about coping back to whatever, again read some more...and "the system" is aka "your pda" :)

cheers

Yes I guess I can break my pda by merely looking at it :)

Considering you have no idea if I even have a system to break, I'm going to give you the same arbitrary advice :) If you don't know what you doing stop doing it cause it may break the system... :eek: the system is going to break we're all doomed. lol you condescending wanker

pcarvalho
5th January 2009, 07:41 PM
Yes I guess I can break my pda by merely looking at it :)

Considering you have no idea if I even have a system to break, I'm going to give you the same arbitrary advice :) If you don't know what you doing stop doing it cause it may break the system... :eek: the system is going to break we're all doomed. lol you condescending wanker

grow up...

Grimus
5th January 2009, 07:51 PM
grow up...

My silly friend rather than being a condescending wanker and replying with all that patronizing spiel, you could have merely ignored my post or a quick reply saying: "turn off read only attribute" would have also done the trick. So it seems rather hypocritical that you're telling me to grow up. Anyway let us not waste any more of 6Fg8's nice thread.

pcarvalho
5th January 2009, 08:24 PM
My silly friend rather than being a condescending wanker and replying with all that patronizing spiel, you could have merely ignored my post or a quick reply saying: "turn off read only attribute" would have also done the trick. So it seems rather hypocritical that you're telling me to grow up. Anyway let us not waste any more of 6Fg8's nice thread.

Grimus...first off...i wasn't even talking to you on my reply, but to noobs...i just stated: first "this is normal", second "be careful", third "read the full thread and then post"...is that too hard? i dont think so...
sorry if you toke it personal but sorry my "silly friend" it was not...i direct my posts when they need to be...yes i'm stopping now...cheers

Mods...could you please just clean this up, thank you...



6Fg8...can this be exported to lets say the notepad and then be imported to rebuild? i ask this cause since the "search and replace" i mencioned earlier is hard to implemente as you stated and doing so would alow us to do so and then rebuild it later...probably not possible but thanks anyway :)

6Fg8
5th January 2009, 09:20 PM
c'mon people, please, no flaming here. Thank you.

6Fg8
5th January 2009, 09:28 PM
6Fg8...can this be exported to lets say the notepad and then be imported to rebuild? i ask this cause since the "search and replace" i mencioned earlier is hard to implemente as you stated and doing so would alow us to do so and then rebuild it later...probably not possible but thanks anyway :)

As i have a bit more insight now, i'll give the find & replace a second thought. I could do export and import too, i'll see what i can do.

pcarvalho
5th January 2009, 09:31 PM
As i have a bit more insight now, i'll give the find & replace a second thought. I could do export and import too, i'll see what i can do.

thanks...take your time cause this tool is already pretty much functional...just not very user friendly to normal every day users but pretty ok as before we could do non of these...keep it up ;)

6Fg8
5th January 2009, 09:33 PM
Now then, there should be code to catch this exception. A program should not crash when trying to open a read only file. Not that I'm blaming anyone. I am merely reporting a bug.

Let's say, it works as designed :)
There's no specific reason to open the file in r/w, i simply didnt care. Shouldnt be a big problem to correct that, so keep an eye on updates :)

6Fg8
5th January 2009, 09:58 PM
new version has been released, details here (http://forum.xda-developers.com/showpost.php?p=3095189&postcount=1)

pcarvalho
5th January 2009, 10:25 PM
no problems so far...running smooth...thanks

sorry i cant help with tags...will look into it and see what pops out...

showaco
6th January 2009, 01:21 AM
6Fg8, great job on this, glad you made it. It's making it simple to edit most of the mode9 files now. I just finally got the chance to play with it this afternoon, already rearranged home tab and email tab along with making the selected icons bigger.
http://mobile.txcaesar.net/mobile/siteadmins/Showaco/pics/mod3.png http://mobile.txcaesar.net/mobile/siteadmins/Showaco/pics/mod2.png

6Fg8
6th January 2009, 01:59 AM
Great to see whats possible with this :)
Didnt have the time to play with my own tool as i'm still busy implementing new stuff :D

pcarvalho
6th January 2009, 01:09 PM
request (if possible and easy to implement :))

can there be a diferente color on the editor when we change a value (like in the first versions it would be yellow)? so one can keep track of what was changed during that session...

6Fg8
6th January 2009, 08:25 PM
new version has been released, details here (http://forum.xda-developers.com/showpost.php?p=3095189&postcount=1)

chavonbravo
7th January 2009, 03:07 PM
patched touchFLO 3D HD to use 240x320 screens and started the port (just patched manila.exe and no other patching needed)...

How did u patch the manila executable? I''m interested in how this is accomplished.

pcarvalho
7th January 2009, 07:50 PM
How did u patch the manila executable? I''m interested in how this is accomplished.

it envolves knowing assembly, decompling and patching...to complicated to explain...

chavonbravo
8th January 2009, 12:59 AM
I know asm and IDA. Just a few pointers as to what you're looking for would help, to not start from scratch.

pcarvalho
8th January 2009, 02:05 AM
I know asm and IDA. Just a few pointers as to what you're looking for would help, to not start from scratch.

well then just patch createwindowex()

guap
8th January 2009, 01:06 PM
I'm comparing 1c684cd8_manila from TouchHD and spint diamond trying to obtain a sprint clock for HD... see what happen :D

good work! ;)

EDIT: WOW! I streched it and it works! :D But for now can't add more lines to display 4 appointments as touchHD instead of only one of diamond, so I stay with my original... Now trying to do the opposite, discover lines referring to sprint clock and insert in my manilaHD standard home screen

6Fg8
9th January 2009, 12:02 AM
new version has been released, details here (http://forum.xda-developers.com/showpost.php?p=3095189&postcount=1)

guap
9th January 2009, 11:20 AM
thanks for new versions, will try now ;)

I'm trying do go deeper in manila files, with your editor and my hex edit. I found that the offset mentioned by m9 editor sometimes doesn't correspond to real offset, because of some "additional" hex values for group, subgroup etc... Can you make these tags recognizagle to your editor? (I mean 0100 and 0200 hex i.e.)

Also, another nice feature whould be fast switching between raw and cooked mode, and import/export function... I need to add portions of code instead of just edit

Your work is a milestone in manila editing ;)

6Fg8
9th January 2009, 11:44 AM
thanks for new versions, will try now ;)

I'm trying do go deeper in manila files, with your editor and my hex edit. I found that the offset mentioned by m9 editor sometimes doesn't correspond to real offset, because of some "additional" hex values for group, subgroup etc... Can you make these tags recognizagle to your editor? (I mean 0100 and 0200 hex i.e.)

Also, another nice feature whould be fast switching between raw and cooked mode, and import/export function... I need to add portions of code instead of just edit

Your work is a milestone in manila editing ;)
Glad you like my work :)

Hm will have a look at the offsets, they should be accurate with values (point to the header which is 4 bytes, value follows). Not sure were they point within a nested structure :confused:

Fast switching raw/cooked is possible, just select what you want, even if the file is already loaded. You will loose your current position within the tree though, as the tree is rebuilt, so you will start at the topnode. I think i can modify that, just have to remember your current position.

Import/Export is on my list, but will take some time to complete.

guap
9th January 2009, 12:37 PM
My explanation was a bit obscure... See attached file ("home" from touchHD), open in m9editor and in hexedit, go to 000778 offest , "Behaviour" under m9editor seems empty but in hex you will see a HUGE block (end around 0BDD6...). Where are all that tags in m9?:confused: my mistake?

EDIT: attachment replaced, this is the original file, the older one was an edited by me version... not totally safe as paradigm :D

6Fg8
9th January 2009, 01:03 PM
My explanation was a bit obscure... See attached file ("home" from touchHD), open in m9editor and in hexedit, go to 000778 offest , "Behaviour" under m9editor seems empty but in hex you will see a HUGE block (end around 0BDD6...). Where are all that tags in m9?:confused: my mistake?

EDIT: attachment replaced, this is the original file, the older one was an edited by me version
some m9 files have embedded scripts, which are not shown in m9editor. When you see a line <Property> Name=Script Value="", then there's such a script and the offset of the next node could be far away.

guap
9th January 2009, 02:10 PM
may be possible to extract these script?

(anyway... who f*** programmed manila THIS way?!?! :mad:)

pcarvalho
9th January 2009, 02:20 PM
mode9 editor does extract the scripts...they are lua 5.1 compiled that show in same directory after you parse a file...

please correct me if i'm wrong 6Fg8 :)

guap
9th January 2009, 03:02 PM
just tried, it says "wrong file format" when try to open a lua file. Scripts embedded in manila files are simply ignored (far offset until next node suggest their presence but nothing more)

6Fg8
9th January 2009, 03:11 PM
Yes, m9editor extracts the scripts if you want to. Use the "parse 1" button to accomplish that. BTW this parse function is independent of the file loaded.

Scripts are not shown while editing, that wouldnt make much sense from my point of view. For future versions i could implement an import function for compiled LUAs if needed. I didnt hear of anyone having a need for that (except D-MAN possibly), so i'd think its not urgent.

EDIT: you cant open a compiled LUA file with m9editor as its not a mode9 structure.

pcarvalho
9th January 2009, 03:19 PM
just tried, it says "wrong file format" when try to open a lua file. Scripts embedded in manila files are simply ignored (far offset until next node suggest their presence but nothing more)

scripts can't be opened by mode9 editor...they are compiled luaq code that has to be decompiled...haven't bothered to look into them yet but will be my next step after knowing what moves/changes what in mode9 "xml"...pretty much done that...

anyone: how does one proceed at decompiling, opening, editing, recompiling, putting it back in mode9 file? a tutorial on how to make your own luaq script and ataching it to mode9 would be nice for starters...

6Fg8
9th January 2009, 11:49 PM
anyone: how does one proceed at decompiling, opening, editing, recompiling, putting it back in mode9 file? a tutorial on how to make your own luaq script and ataching it to mode9 would be nice for starters...

I'm afraid theres not much knowledge on that part at the moment.
The easiest task would be to attach a compiled script into mode9 files, the format is known so it would just be a matter of a few dozen lines of code.

Lua scripts are p-code which is then interpreted by a runtime. p-code is known too, but that isnt lua source code which could be modified and recompiled. AFAIK there is at least one developer here who tries to solve that, but its a tricky part.

m9editor writes lua scripts in 2 formats: *.luaU is the native chunk as its contained in mode9 files. *.luaA has some conversions applied and could be used e.g. with chunkspy to look at the p-code.

chavonbravo
9th January 2009, 11:56 PM
well then just patch createwindowex()

Thanks, had some time to go through it in IDA today, very easy fix. Thanks for the pointer.

guap
10th January 2009, 03:27 AM
Adding/deleting groups seems to be a little tricky as all values must be recursively updated in hex... can't wait to have this feature :D

my progress with your editor ;)

http://forum.xda-developers.com/showthread.php?p=3134599

6Fg8
10th January 2009, 01:09 PM
new support tool available: QtcConv. Details as always, here (http://forum.xda-developers.com/showpost.php?p=3095189&postcount=1)

6Fg8
10th January 2009, 01:13 PM
Adding/deleting groups seems to be a little tricky as all values must be recursively updated in hex... can't wait to have this feature :D

my progress with your editor ;)

http://forum.xda-developers.com/showthread.php?p=3134599
OMG no, you wont do it that way :confused:
Now, as i'm almost finished with QTC processing (that ate up the last days) i'll take more care for m9editor again.

guap
10th January 2009, 02:05 PM
not me, my dad :D He wanted to prove he found how manila file works lol. Has been a HUGE works, next time we wait for your editor :D

nice QTconv, but i missed the difference between yours and manila editor 0.2 (http://forum.xda-developers.com/showthread.php?t=414861)... Only integration with your m9?

good work ;)

6Fg8
10th January 2009, 02:24 PM
not me, my dad :D He wanted to prove he founded how manila file works lol. Has been a HUGE works, next time we wait for your editor
Uhmmm ... congrats on a LOT of patience and attitude :D

nice QTconv, but i missed the difference between yours and manila editor 0.2 (http://forum.xda-developers.com/showthread.php?t=414861)... Only integration with your m9?

good work ;)
Thanks :) The difference is more under the hood, although its nice to have a piece like that to integrate into m9editor. QtcConv uses a 3rd party library for rendering, manila editor currently has its own algorithm for conversion.

D-MAN666
10th January 2009, 02:52 PM
QtcConv makes use of ATI_compressYes! Yes! Thanks, man, i'm happy now! :D

6Fg8
10th January 2009, 05:34 PM
Yes! Yes! Thanks, man, i'm happy now! :D
Glad you like it :D
So whats next? Some Lua editing perhaps? :cool:

showaco
10th January 2009, 05:56 PM
So whats next? Some Lua editing perhaps? :cool:
Yes, yes, yes:D, also from to do list --->delete and insert new tags and values, this would be a welcome addition as well.

pcarvalho
10th January 2009, 06:57 PM
I'm afraid theres not much knowledge on that part at the moment.
The easiest task would be to attach a compiled script into mode9 files, the format is known so it would just be a matter of a few dozen lines of code.

Lua scripts are p-code which is then interpreted by a runtime. p-code is known too, but that isnt lua source code which could be modified and recompiled. AFAIK there is at least one developer here who tries to solve that, but its a tricky part.

m9editor writes lua scripts in 2 formats: *.luaU is the native chunk as its contained in mode9 files. *.luaA has some conversions applied and could be used e.g. with chunkspy to look at the p-code.

ok, was just checking if the next and probably most important step to full and new customization was possible and a bit more easy...seems not...no worries...its time will come too :)

Hey guys i found another source: (unfortunately german but it's REAL)
http://www.ppc-welt.info/community/showthread.php?t=139544

forget about next text its TF2D...too bad :(

found very nice news for the QSize comunity, about new htc device with QWVGA screen size and TF3D...
lets hope so (i'll believe when i see it :))...
cause thats very nice to have (a manila version with native Q resolutions) all we would have to do is up the elements (mode9 editor) for QVGA resolution...
plus we could see what type of optimization (if any) htc would come up with...
would be nice if it were faster and had new tabs, probably one more (footprints as it seems)...
lets wait and see if any rom comes out soon...

the news...
http://www.mobileindustryreview.com/2009/01/new_htc_mobile_gets_leaked_by_reseller_.html

by the way...nice new tools ;)

guap
11th January 2009, 02:45 AM
delete and insert new tags and values, this would be a welcome addition as well.

+1 for this... :D

6Fg8
11th January 2009, 10:16 AM
+1 for this... :D
alright, got the message :D

nixx-X1
13th January 2009, 01:56 AM
Wow.. great developments going on in this forum :)

Just got my X1 last friday and haven't used WM for a year (f*ck Iphone)
It's good to see all these tools around.

The image quality is better then the ManilaEditor! The png's from that one are a bit messed up.. here all pixels are solid! good job!

A more graphic interface would be very welcome for the graphical ppl among us (like me :P)

6Fg8
13th January 2009, 08:38 AM
A more graphic interface would be very welcome for the graphical ppl among us (like me :P)
Me too :) The next release of m9editor will do that.

6Fg8
17th January 2009, 12:33 AM
corrected a few bugs in QtcConv, new version can be found here (http://forum.xda-developers.com/showpost.php?p=3095189&postcount=1)

6Fg8
18th January 2009, 01:52 PM
new version of m9editor has been released, details as always, here (http://forum.xda-developers.com/showpost.php?p=3095189&postcount=1)

nixx-X1
18th January 2009, 04:27 PM
wrong zip file (old 1.4 editor)
check you PM :)

thanks again!

6Fg8
18th January 2009, 04:47 PM
you're right, thanks for the tip.
Now the right version is in the zip :)

nixx-X1
18th January 2009, 04:57 PM
Thanks! looking at it right now :)

one more tip :)

A preview inside the m9dir window would be very cool.
as now the window closes and the seperate preview window doesn't have the name on it.
Which makes it hard to track which png is open and it's a bit clumsy to browse through the images.

but heh.. maybe i'm spoiled ;)

thanks!

6Fg8
18th January 2009, 05:04 PM
Thanks! looking at it right now :)

one more tip :)

A preview inside the m9dir window would be very cool.
as now the window closes and the seperate preview window doesn't have the name on it.
Which makes it hard to track now which png is open and it's a bit clumsy through browse to the images.

but heh.. maybe i'm spoiled ;)

thanks!
Yes, i'd have to admit there are a dozen of features i'd like to implement, preview is already on my list for the next days. So many features, so little time :mad:

Sometimes its hard to find the best moment for publishing something, but i wouldn't like to let you wait too long. More coming soon!

udK
18th January 2009, 05:12 PM
2009-01-18 - v2.0.0.1
m9editor has been greatly improved, and is now more a "real" editor than a spytool as in previous versions. The most important changes in a quick overview:

- add new nodes and move them through the tree anywhere you want
- copy/paste nodes and subtrees
- open graphic files (QTC, PNG, BMP, JPG) and save them in another format
- directory overview with manila real names

For more details on using several features see the textfile included in the zip.

Really awesome tool, thank you for your work and keep it up ;)

nixx-X1
18th January 2009, 05:13 PM
Heheh, I understand.
I wish I could program myself. I understand the basics but cannot create code.
I'm here now since a week and am really impressed by this community and it's contributions.

It's simply amazing!

The thing I wish to do is to map out the whole manila interface and provide a psd file with everything in place.
I wish I had it done tomorrow.. but unfortunately everything takes allot of time.
(unless one stops to work, eat, sleep and be social :D )

i'll be patient ;)

pcarvalho
19th January 2009, 12:38 PM
nicely done...congrats! :D

bug report: when opening directory and then opening mode9...right clicking any picture...choose view...if files are read only error will pop up

feature request: is it possible to make it handle pictures processed by CFC? as now all can use it and its great improvement in speed and less spaced wasted :)

cheers

6Fg8
19th January 2009, 02:47 PM
ah, the ole readonly trap, i'll check that :)

CFC file handling should be possible, AFAIK the format isnt that much different. I'll have a look at that.

pcarvalho
19th January 2009, 03:15 PM
ah, the ole readonly trap, i'll check that :)

CFC file handling should be possible, AFAIK the format isnt that much different. I'll have a look at that.

thanks again :)

without this tool TF3D-QVGA could not be graphicly improved to become like its old brother VGA (small dots and bigger letters)...

6Fg8
20th January 2009, 12:30 AM
new version of m9editor has been released, details as always, here (http://forum.xda-developers.com/showpost.php?p=3095189&postcount=1)

danyfox
20th January 2009, 01:24 AM
Thank you for your great application..... I have one question for you and i hope you can answer to it......

I need to know if is possible to add (with your application or with anything tools) in comm manager tab (1f3be060_manila) the 3g button....

You can help me??? :confused::confused:

Thank you....:D

showaco
20th January 2009, 03:39 AM
new version of m9editor has been released, details as always, here (http://forum.xda-developers.com/showpost.php?p=3095189&postcount=1)
Thanks, amazing work

6Fg8
20th January 2009, 08:41 AM
Thank you for your great application..... I have one question for you and i hope you can answer to it......

I need to know if is possible to add (with your application or with anything tools) in comm manager tab (1f3be060_manila) the 3g button....

You can help me??? :confused::confused:

Thank you....:D
I'm afraid i cant help you with that one. Its like building a car vs. driving it. m9editor is the car that brings you where you want, but you have to know the way yourself. I can build the car, but cant tell you the way to the 3g button.

nixx-X1
20th January 2009, 07:47 PM
great work mylady!

It will be a long night tonight ;)

I noticed that it reads all the files in the opened directory..Can also edit the bmp's etc :D
It's very nice that the sorting by object property works smoothly!

of course there are always suggestions :P

This one is just from usuability point of view.. not that important:
Could you make a right mouse button option to open the mode9 files in the editor so that the dir viewer doesn't close upon it's double click?

The zoom feature is very cool! But from a graphic point of view it would be better to zoom without re-sampling the image.
so when zooming you can judge the image on the exact pixels instead of a interpolated pixel, this is a great accuracy check on the image

keep up the good work!

6Fg8
20th January 2009, 11:15 PM
great work mylady!

It will be a long night tonight ;)

I noticed that it reads all the files in the opened directory..Can also edit the bmp's etc :D
It's very nice that the sorting by object property works smoothly!

Thank you, glad you like it :)
of course there are always suggestions :P

This one is just from usuability point of view.. not that important:
Could you make a right mouse button option to open the mode9 files in the editor so that the dir viewer doesn't close upon it's double click?

The zoom feature is very cool! But from a graphic point of view it would be better to zoom without re-sampling the image.
so when zooming you can judge the image on the exact pixels instead of a interpolated pixel, this is a great accuracy check on the image

keep up the good work!
right mouse button is no problem, will build that
I agree on the zoom, doesnt look nice indeed, i'll change that

guap
20th January 2009, 11:18 PM
oh my hero :D

great work, i will try next weekend, I'm very busy atm :(

6Fg8
20th January 2009, 11:26 PM
oh my hero :D

great work, i will try next weekend, I'm very busy atm :(
OMG, sure i'm not a hero, just having fun writing software the world hasn't waited for :D

Sorry to read you're busy, guess we all are, we've to raise our economies in times like these, haven't we?

6Fg8
21st January 2009, 12:03 AM
new version of m9editor has been released, details as always, here (http://forum.xda-developers.com/showpost.php?p=3095189&postcount=1)

nixx-X1
21st January 2009, 12:35 AM
- P>Q function crashes when there are no png's in the directory

After batch export I removed the Png's to different folder.. wanted to import again and expected to be asked from which folder. Then it crashed
>> folder selection for batch import (and perhaps export) would be very :cool:

- in mode9 editing.. double clicking on the location name of the manila file (to open the code beneath) results in a crash
-- update.. double click on anything in the mode9 editor causes a crash.. maybe it's my way of editing...

.... en here the mode9 experience ends...

Suggestion for programming n00bs >

is it possible to get the text values instead of the hex values that can be edited?
Position Value="PosX=-10 PosY=0 PosZ=0" I understand.. but 00 00 F6 FF 00 00 00 00 00 00 00 00 is something I cannot translate :P

.. for now I'll stick to swapping images :D

6Fg8
21st January 2009, 07:10 AM
- P>Q function crashes when there are no png's in the directory
hm can imagine that; there's no check currently. Will fix that.

After batch export I removed the Png's to different folder.. wanted to import again and expected to be asked from which folder. Then it crashed
>> folder selection for batch import (and perhaps export) would be very :cool:

I use the selected folder to do import/export. Again no checks if theres something valid in there. Will implement checks, and folder selection as well :) [/quote]

- in mode9 editing.. double clicking on the location name of the manila file (to open the code beneath) results in a crash
-- update.. double click on anything in the mode9 editor causes a crash.. maybe it's my way of editing...

Works as designed :D crashes here too, nothing to blame on you, will correct that.

Suggestion for programming n00bs >

is it possible to get the text values instead of the hex values that can be edited?
Position Value="PosX=-10 PosY=0 PosZ=0" I understand.. but 00 00 F6 FF 00 00 00 00 00 00 00 00 is something I cannot translate :P

.. for now I'll stick to swapping images :D
Agree, i've that on my mind, it will be a bit time consuming to implement (have to create dynamic input fields/forms for the property values).
Meanwhile, you've to read the first 4 bytes from right to left (FFF6 or decimal 65526) and, as its negative (3rd byte >=80), subtract 65536 from it to get a readable -10. So decrementing the 4th number will make higher negatives. To turn it into a positive value, replace the FF by a 00 and increment to get higher values.

6Fg8
22nd January 2009, 12:58 AM
new version of m9editor has been released, details as always, here (http://forum.xda-developers.com/showpost.php?p=3095189&postcount=1)

nixx-X1
22nd January 2009, 02:22 PM
great work .. as always :)

Another suggestion>

Currently I have one directory with all original manila files and from there I open them all in the mode9editor and find the ones I want and copy those I need into a different folder to edit.
At this moment I copy them via explorer (which is a b*tch to search and find)

It would be very usefull if from inside the mode9 dir viewer I could select those I need and from there copy only the selected to a different folder
It would save allot of work :D


What would be uber cool is when you can make this work with all the manila files that are referenced in a mode9file :)

nixx-X1
22nd January 2009, 04:40 PM
This is what I did >

I opened a bunch of manila files (related to music player) and started to edit 252e3f90_manila when I change a number of things in the first group and want to save and overwrite the mode9 editor crashes :)
And I get a beautiful big log -see buttom-

When I change the same things and press "save as" and make a new file it works and from that moment on it also overwrites.

(there is one funny thing when writing the new file.. it's non existent and yet it tell me it exists and whether I want to overwrite or not)




See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.UnauthorizedAccessException: Access to the path 'C:\X1\Posted\MP3Player\252e3f90_manila' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode)
at m9editor.m9efunctions.writem9file(String fname)
at m9editor.m9emain.save_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
m9editor
Assembly Version: 2.1.2.0
Win32 Version: 2.1.2.0
CodeBase: file:///C:/X1/Installed/m9editor/m9editor.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

6Fg8
22nd January 2009, 05:26 PM
This is what I did >

I opened a bunch of manila files (related to music player) and started to edit 252e3f90_manila when I change a number of things in the first group and want to save and overwrite the mode9 editor crashes :)
And I get a beautiful big log -see buttom-

When I change the same things and press "save as" and make a new file it works and from that moment on it also overwrites.

(there is one funny thing when writing the new file.. it's non existent and yet it tell me it exists and whether I want to overwrite or not)

Looks like the file you're trying to save has the readonly attribute set. Remove it and it should work. The overwrite message on a new file shouldnt happen - i'll look for that.

nixx-X1
22nd January 2009, 06:24 PM
I thought that aswell.. but checked the file.. it's not a read only file..
mmh.. but it was partly a read only folder..my bad :(

and I noticed if I forget a space or fill in a wrong hex value it all crashes..
Is it possible to make a check before putting in the value to see if it's actually correct hex?

Got the mp3 player re-arranged now.. still messing with it.

The time drag bar is a bit tricky.. as there are different relative value's to the visible play range and the one that shows after pressing.

Also.. the shadow of the album art is weirdly connected :)
In the current image the shadow and album art have the same values..
but somehow the shadow end up being over the 'prev' buttom..

Everything works.. so that's good (it's just horrible to look at at the moment ;) )

Driskol
22nd January 2009, 06:30 PM
Good work nixx :)

I think u must separate more the next and back buttons and use more bigger images for both.

pull down the title, center the image of the album and make more bigger :)

I need to give a try to this software...

6Fg8
22nd January 2009, 06:32 PM
and I noticed if I forget a space or fill in a wrong hex value it all crashes..
Is it possible to make a check before putting in the value to see if it's actually correct hex?

thats one of the weakest (and oldest) parts of m9editor. I'm currently rewriting that so you'll have separated input fields with normal, decimal numbers.

First impression of the player looks very nice!

nixx-X1
22nd January 2009, 06:36 PM
tnx! that's exactly what will happen.. more finger friendly :)
And will reskin the visuals later

things to figure out first :

- rotation album art
- fitting pos of shadow (or will remove as the frontal angle will not need it)
- song and album title not disappearing when scrolling through song.

and a bunch more things...

unfortunately I can't finish it now :( have to work on 'real work' :D

Driskol
22nd January 2009, 06:58 PM
tnx! that's exactly what will happen.. more finger friendly :)
And will reskin the visuals later

things to figure out first :

- rotation album art
- fitting pos of shadow (or will remove as the frontal angle will not need it)
- song and album title not disappearing when scrolling through song.

and a bunch more things...

unfortunately I can't finish it now :( have to work on 'real work' :D


im like u, i hate the real wor(k)ld xD

12aon
22nd January 2009, 10:44 PM
great work .. as always :)

Another suggestion>

Currently I have one directory with all original manila files and from there I open them all in the mode9editor and find the ones I want and copy those I need into a different folder to edit.
At this moment I copy them via explorer (which is a b*tch to search and find)

It would be very usefull if from inside the mode9 dir viewer I could select those I need and from there copy only the selected to a different folder
It would save allot of work :D


What would be uber cool is when you can make this work with all the manila files that are referenced in a mode9file :)

Yeah I to would find this extremely useful, especially since I'm trying to separate a part of a theme from the bloat but somehow I see files (lua scripts) in the editor that don't appear to be in the folder that they are from. In this perspective, it would be a nice to be able to just copy from within the editor. Your tool is great this gives me a chance to do thing I couldn't dream to do with the manila editor, thanks a lot, 12

6Fg8
22nd January 2009, 11:06 PM
Currently I have one directory with all original manila files and from there I open them all in the mode9editor and find the ones I want and copy those I need into a different folder to edit.
At this moment I copy them via explorer (which is a b*tch to search and find)

Yeah I to would find this extremely useful, especially since I'm trying to separate a part of a theme from the bloat but somehow I see files (lua scripts) in the editor that don't appear to be in the folder that they are from. In this perspective, it would be a nice to be able to just copy from within the editor. Your tool is great this gives me a chance to do thing I couldn't dream to do with the manila editor, thanks a lot, 12
That would be a cool feature, i'll implement that.

nixx-X1
23rd January 2009, 05:48 PM
That would be a cool feature, i'll implement that.

Hurry up ;)

I'm almost done with the mp3 basics and want to start repositioning other tabs :)

btw.. maybe I missed sth.. but how do I replace only 1 qtc file and save it?
It would be cool to implement and have the altered qtc files also highlighted..




Mp3 Thread > http://forum.xda-developers.com/showthread.php?p=3155386#post3155386

6Fg8
23rd January 2009, 06:05 PM
Hurry up ;)
speed kills :D

I'm almost done with the mp3 basics and want to start repositioning other tabs :)

btw.. maybe I missed sth.. but how do I replace only 1 qtc file and save it?
It would be cool to implement and have the altered qtc files also highlighted..

pretty oldfashioned ATM, view the pic from directoryview or editor, and save it as QTC, hassle with having to remember the manila filename it was originally :p

I see, there's something to improve ...

nixx-X1
23rd January 2009, 06:16 PM
It didn't crash at anytime today :)
I like those improvements :D

pcarvalho
23rd January 2009, 09:12 PM
it has been crashing a bit more than usual but thats what we have for now, let the developer work :)

i'm using windows 7 and it can be it doing tricks so you judge if its valid bug:

there seems to be a bit of a problem saving files...
either it cant and crashes if i save to same directory...
or...
if i save to another directory it pops up the file already exists want to overright...

its saves and all just has these small problems ;)

another thing is that every change i make sound a windows sound...i dont know if its like this or not...i just turn it off after changing the 1st 10 'bings'...

keep it up 6Fg8...and thanks :)

6Fg8
23rd January 2009, 09:37 PM
it has been crashing a bit more than usual but thats what we have for now, let the developer work :)

i'm using windows 7 and it can be it doing tricks so you judge if its valid bug:

there seems to be a bit of a problem saving files...
either it cant and crashes if i save to same directory...
or...
if i save to another directory it pops up the file already exists want to overright...

its saves and all just has these small problems ;)

another thing is that every change i make sound a windows sound...i dont know if its like this or not...i just turn it off after changing the 1st 10 'bings'...

keep it up 6Fg8...and thanks :)
Yes, the handling of write protected files or directories is lousy at the moment, i've to implement a better errorhandling there. Also if you save to another directory there's a bug telling you that the file already exists, which is nonsense. I'll correct that in the next versions. For the time being its best to have no write protected files at all to avoid troubles there.

As for the windows sound, i never noticed that, i'm using XP64 so there might be the difference. I've a Vista running in a VM, will try to reproduce it there. Crazy anyway :confused:

BTW pcarvalho, did you have a chance testing the CFC compression? As i cant use it on my HD i could only do some rough tests, but i dont now if the files actually work on a real PDA.

nixx-X1
23rd January 2009, 09:48 PM
heheh.. the sound thing is true :) (xpPro 32 bits here)

i kinda like it.. feels as if i'm spanking my pc ;)

but no.. it's same sound when you try to do sth that is not allowed.

maybe stupid Q.. but what does that compressing do? :)

6Fg8
23rd January 2009, 10:21 PM
heheh.. the sound thing is true :) (xpPro 32 bits here)

i kinda like it.. feels as if i'm spanking my pc ;)

but no.. it's same sound when you try to do sth that is not allowed.

maybe stupid Q.. but what does that compressing do? :)
Jeeez now you made me curious, i'll test that, immediately :)

CFC uses zip compression inside a QTC1 to compress pixel data, which in turn reduces the filesize, and from what i've read speeds up display. Some genius found out that manila is able to handle compressed graphics but manila.exe has to be patched for that. Dont know who it was exactly, so not sure whom to credit for that.

I bet pcarvalho could tell us more as he's much more involved with that. There's an interesting thread on graphic formats and a tool from Chainfire as well, here: http://forum.xda-developers.com/showthread.php?t=437777

6Fg8
23rd January 2009, 10:39 PM
Great, now got the sound too. Its the standard warning sound in the windows sound settings. Set it to none and its mute. No idea why m9editor triggers that, strange :eek:

nixx-X1
23rd January 2009, 10:51 PM
Jeeez now you made me curious, i'll test that, immediately :)

CFC uses zip compression inside a QTC1 to compress pixel data, which in turn reduces the filesize, and from what i've read speeds up display. Some genius found out that manila is able to handle compressed graphics but manila.exe has to be patched for that. Dont know who it was exactly, so not sure whom to credit for that.

I bet pcarvalho could tell us more as he's much more involved with that. There's an interesting thread on graphic formats and a tool from Chainfire as well, here: http://forum.xda-developers.com/showthread.php?t=437777

Glad you could fully emerge in multimedia experience of your mode9editor ;)

That thread is fast.. shall take a look at it.. it also complains why your editor has better QTC quality then the (old) manila editor.. I bet that one used compression all of the time.

Now i'm wondering till how far they use the png format .. but shall read a little later and find out.

too much info on all this stuff :D

pcarvalho
23rd January 2009, 10:52 PM
BTW pcarvalho, did you have a chance testing the CFC compression? As i cant use it on my HD i could only do some rough tests, but i dont now if the files actually work on a real PDA.

well they are decoded properly...before the images were random pixels...now its ok...so i think they are ok...haven't tried your's cause i used Chainfire's GUI and now all my are CFC compressed :)

will probably test that soon so you can forget that aspect ;)

nixx-X1
23rd January 2009, 11:06 PM
well they are decoded properly...before the images were random pixels...now its ok...so i think they are ok...haven't tried your's cause i used Chainfire's GUI and now all my are CFC compressed :)

will probably test that soon so you can forget that aspect ;)

Do you see noticeable decrease of image quality with the compressed files and does it make allot of difference in speed?

Usually compressing images messes up the smooth gradients inside it unless it's decompressed while reading (targa file format is perfect for this in rendering movies etc..)

6Fg8
23rd January 2009, 11:08 PM
it also complains why your editor has better QTC quality then the (old) manila editor.. I bet that one used compression all of the time.
manila editor has been written by D-MAN666 when everyone else didnt have a clue what QTC1 really is. So he used a self-developed algorithm to decode the pics. Taking that into account, its the work of a genius. I had an easier start because all the reverse engineering work was almost done.

6Fg8
23rd January 2009, 11:09 PM
Usually compressing images messes up the smooth gradients
CFC compression is lossless (gzip), so it wont harm quality.

nixx-X1
23rd January 2009, 11:15 PM
CFC compression is lossless (gzip), so it wont harm quality.

yeah.. I was looking for that word :) (same with tga)
but I don't get it how it can make manila faster as yes, the file size is smaller but no, there is more calculation needed to uncompress.

grumble.. I shall have to read that whole thread now :P

luckely i'm rendering ;)
(to quicktime this time :P)

/ going to read in order to know all

6Fg8
23rd January 2009, 11:23 PM
yeah.. I was looking for that word :) (same with tga)
but I don't get it how it can make manila faster as yes, the file size is smaller but no, there is more calculation needed to uncompress.
AFAIK the rendering is done by hardware, not sure about that though

nixx-X1
23rd January 2009, 11:31 PM
/ going to read in order to know all

I withdraw that one.. I think I'll stay on the surface to enjoy the technical wonders of other geniuses and stick at what I'm good at..using it to make sth look good...

.. and the good thing is.. there is no true of false.. :cool:

xboxmod
28th January 2009, 08:08 PM
Hi 6Fg8 i realy appreciate your work
this tool is the best related to manila.
but i have a bug on HD weather tab
everytime i clic on keyframe i have this error:

http://nsa04.casimages.com/img/2009/01/28/090128080909711572.jpg

is this related to my system or an application bug?
thank's for your help

sorry for my poor english!

6Fg8
28th January 2009, 08:31 PM
Hi 6Fg8 i realy appreciate your work
this tool is the best related to manila.
but i have a bug on HD weather tab
everytime i clic on keyframe i have this error

...

is this related to my system or an application bug?
thank's for your help

sorry for my poor english!
Its an application bug. I've already corrected that and a couple of other bugs in the app. A bunch of new features is also on the way (and i'm afraid new bugs as well :mad:). Will release a new version in the next days. Stay tuned :)

guap
29th January 2009, 12:50 PM
feature request (if possible) :D

1- copy/paste across difference istances of m9editor
or
import/export for blocks.

2- insert new lines after selected lines, not at end of block


(still trying to get sprint clock on my wvga homescreen keeping more than 1 appointment displaying)

6Fg8
29th January 2009, 03:34 PM
feature request (if possible) :D

1- copy/paste across difference istances of m9editor
or
import/export for blocks.

2- insert new lines after selected lines, not at end of block


(still trying to get sprint clock on my wvga homescreen keeping more than 1 appointment displaying)
shouldnt be too big a challenge :p

guap
29th January 2009, 06:11 PM
thank you :)

as I'm "hybridating" 2 different home files these features will help me a lot

Motorious
29th January 2009, 06:53 PM
Guys, I know this has been said so feel free to delete...but you gentlemen are coding machines...keep up the good work!

nixx-X1
29th January 2009, 07:51 PM
Guys, I know this has been said so feel free to delete...but you gentlemen are coding machines...keep up the good work!

And what if they were all girls? ;)

From the handling point of view I have a few more suggestions to share

- single file saving of qtc/png
when saving only one qtc/png file it would be cool if the editor would fill in the file name automatically.. I often tune one icon and when saving have to select the proper name from a big list of impossible names manila files (or retype it completely)

- single file replacing of qtc/png
see above

- in the directory viewer it would be sweet to have a reload button

- No 'file in use' status when in dir viewer
when files are opened in the dir viewer it blocks all files from being overwritten.. so when I make a new version of an icon and want to write it to disk I have to rename it as the older version (with correct name) is locked.

- it would be great if transparency was showed with grey/white blocks as in photoshop, as now it's sometimes not clear whether a file is transparent or just has the same shade of grey as the editor

- a 100% zoom button comes in very handy at times

- it would be great to have all 3 possible windows into one window :)
Cuz:
* When I have the directory viewer and want to open a mode9 file then with RMB click it sometimes goes to the mode9 file window (if already open) and I have to click again on the browser to be able to press the 'open' button that has become visible from the RMB click.
* when I have qtc/png preview in the directory viewer and want to save it another window is opened and the dir viewer is closed. That window is often too small to hit the 2nd save button so you have to resize before one can use it.
* I often have 2+ mode9editors open (to restore original values/compair) the overlapping of windows is kinda messy.

If the dir viewer and mode9editor would be on top of eachother and you can drag the vertical space it would be allot more compact and user friendly.
And if the qtc/png viewer would be in the location of the dir viewer preview it will be complete!

Just to give a simple impression.. see attached :D

6Fg8
29th January 2009, 08:33 PM
Guys, I know this has been said so feel free to delete...but you gentlemen are coding machines...keep up the good work!

And what if they were all girls? ;)
Well, thanks for the compliments.

For the guy/girl question, and as far as i'm concerned: i'm a girl, or according to my age i'd rather say i'm a woman.

Anyway i dont think its of great matter for what happens in this forum. Guess we're all people having fun with our little devices, so lets just enjoy them :)

6Fg8
29th January 2009, 08:58 PM
thank you :)

as I'm "hybridating" 2 different home files these features will help me a lot
Of course, that makes sense. I'd like to see m9editor grow and build more advanced features like that. Great that you supply ideas, and i'd like to encourage everyone to do the same.

6Fg8
29th January 2009, 09:03 PM
And what if they were all girls? ;)

From the handling point of view I have a few more suggestions to share

- single file saving of qtc/png
when saving only one qtc/png file it would be cool if the editor would fill in the file name automatically.. I often tune one icon and when saving have to select the proper name from a big list of impossible names manila files (or retype it completely)

- single file replacing of qtc/png
see above

- in the directory viewer it would be sweet to have a reload button

- No 'file in use' status when in dir viewer
when files are opened in the dir viewer it blocks all files from being overwritten.. so when I make a new version of an icon and want to write it to disk I have to rename it as the older version (with correct name) is locked.

- it would be great if transparency was showed with grey/white blocks as in photoshop, as now it's sometimes not clear whether a file is transparent or just has the same shade of grey as the editor

- a 100% zoom button comes in very handy at times

- it would be great to have all 3 possible windows into one window :)
Cuz:
* When I have the directory viewer and want to open a mode9 file then with RMB click it sometimes goes to the mode9 file window (if already open) and I have to click again on the browser to be able to press the 'open' button that has become visible from the RMB click.
* when I have qtc/png preview in the directory viewer and want to save it another window is opened and the dir viewer is closed. That window is often too small to hit the 2nd save button so you have to resize before one can use it.
* I often have 2+ mode9editors open (to restore original values/compair) the overlapping of windows is kinda messy.

If the dir viewer and mode9editor would be on top of eachother and you can drag the vertical space it would be allot more compact and user friendly.
And if the qtc/png viewer would be in the location of the dir viewer preview it will be complete!

Just to give a simple impression.. see attached :D
Thank you nixx; as always: great ideas. I guess i've to extend the "planned features" list a bit :D I'll implement all of the above, not sure about the order at the moment, but it will come definitely.

nixx-X1
29th January 2009, 10:33 PM
I'm happy to help the helping :)
Looking forward to new updates ;)

nixx-X1
31st January 2009, 08:47 PM
For those that cared about the mp3 rebuild earlier in this thread..

it's done for now (thanks to the amazing mode9editor:cool:)

you can find it here:
http://forum.xda-developers.com/showpost.php?p=3248642&postcount=3

It's tested on the X1 but should work on any wvga device..

enjoy!

showaco
1st February 2009, 07:03 PM
Hey 6Fg8,
I'm using the latest version and for some reason now the calendar tab mode9 file no longer can be edited properly with it. I've tried different mode9 calendar files and get same results with all. All other mode9 files seem to work fine still. The calendar mode9 was created by dmann as an additional tab, so I don't know if it has different structure? Here's the error messages, first is upon trying to save file, second is debug screen, third is trying to re-open the file after the error trying to save.

http://mobile.txcaesar.net/mobile/siteadmins/Showaco/pics/error.jpg

6Fg8
1st February 2009, 07:16 PM
Hey 6Fg8,
I'm using the latest version and for some reason now the calendar tab mode9 file no longer can be edited properly with it. I've tried different mode9 calendar files and get same results with all. All other mode9 files seem to work fine still. The calendar mode9 was created by dmann as an additional tab, so I don't know if it has different structure? Here's the error messages, first is upon trying to save file, second is debug screen, third is trying to re-open the file after the error trying to save.

I know there are some mode9 files around where m9editor runs into that. I'm writing on a fix for that (and other problems), should be ready within the next days. Interestingly the structure of Touch HD mode9's (which i own) are somewhat different from other devices, so i didnt recognize early.

showaco
1st February 2009, 09:02 PM
I know there are some mode9 files around where m9editor runs into that. I'm writing on a fix for that (and other problems), should be ready within the next days. Interestingly the structure of Touch HD mode9's (which i own) are somewhat different from other devices, so i didnt recognize early.
Weird is that this file worked fine on previous versions of m9editor. So wasn't sure if there might have been a change to this one to cause it.

nixx-X1
1st February 2009, 09:11 PM
There is one other 'bug' :)

When I have the mode9editor open and I cannot shutdown windows before closing the mode9editor :D

I get the exclamation sound and then the shut down progress stops :)

but I guess we live with that :P

6Fg8
1st February 2009, 09:32 PM
Weird is that this file worked fine on previous versions of m9editor. So wasn't sure if there might have been a change to this one to cause it.
I corrected a bug in that corner, so it should work with the new version i'm preparing. I'll download the calendar files and see if it works before releasing (i'm nearly finished, doing final tests ATM and if everything runs smoothly i'll publish it tonight).

6Fg8
1st February 2009, 09:44 PM
There is one other 'bug' :)

When I have the mode9editor open and I cannot shutdown windows before closing the mode9editor :D

I get the exclamation sound and then the shut down progress stops :)

but I guess we live with that :P
Thats the world-domination-feature i've built in :D

6Fg8
2nd February 2009, 12:00 AM
new version of m9editor has been released, details as always, here (http://forum.xda-developers.com/showpost.php?p=3095189&postcount=1)

nixx-X1
2nd February 2009, 12:08 AM
Jeez, you've been busy!!

Looks cool! will go and play around.

thanks for the good work

________________________

The refresh and preset batch dirs work great!
And the anti-hex editing is sweet !! :cool:

Just wondering whether I can switch the dir viewer from qtc <> png dir to switch between preview of both type of files?

Well done mylady!

pcarvalho
2nd February 2009, 12:42 AM
very nice ;)

thanks

xboxmod
2nd February 2009, 01:06 AM
thanks a lot
you are my hero :)

showaco
2nd February 2009, 04:33 AM
Wow, thanks for quick update. Looking at your to do list in first post, can't wait til you get the scripts part added in.

nixx-X1
2nd February 2009, 06:33 PM
a suggestion..

before when we changed a hex value and pressed enter if was filled in.
now we have to (mouse)click 'ok' before it will be filled..

can you return this function pls? :)

6Fg8
2nd February 2009, 06:39 PM
a suggestion..

before when we changed a hex value and pressed enter if was filled in.
now we have to (mouse)click 'ok' before it will be filled..

can you return this function pls? :)
no need to use the mouse, just press enter till you reach the "ok" button, one more enter and values are saved.

nixx-X1
2nd February 2009, 06:42 PM
no need to use the mouse, just press enter till you reach the "ok" button, one more enter and values are saved.

jeez.. my enter button will die soon ;)

thanks! :D didn't press often enough I guess...

12aon
2nd February 2009, 08:38 PM
new version of m9editor has been released, details as always, here (http://forum.xda-developers.com/showpost.php?p=3095189&postcount=1)

YES! I was gonna ask about comparing mode9 but the I saw the to do, like I said rockstar:). I have somewhat a nag of creating icons for software where I see fit. Here also:) created some if you like any of them you can use them, 12

6Fg8
2nd February 2009, 09:43 PM
YES! I was gonna ask about comparing mode9 but the I saw the to do, like I said rockstar:). I have somewhat a nag of creating icons for software where I see fit. Here also:) created some if you like any of them you can use them, 12
Hey thanks a lot! Looks great! There might be an update this evening :)

6Fg8
2nd February 2009, 09:44 PM
jeez.. my enter button will die soon ;)

thanks! :D didn't press often enough I guess...
you can use the mouse too :p

nixx-X1
2nd February 2009, 09:55 PM
you can use the mouse too :p

I hate mice ;)

NisseDILLIGAF
2nd February 2009, 10:51 PM
Just wanted to say BIG thanx to 6Fg8!

This makes mode9 editing much easier... :D

I managed to combine the analog and digital(flip) clock with the help of your program...

I've been trying to do this for a long time (hex editing) but with no luck...
But today I did it..! :)

http://forum.xda-developers.com/attachment.php?attachmentid=153065&stc=1&d=1233611349
Both clocks working..
Analog clock is movable...

nixx-X1
2nd February 2009, 10:56 PM
I managed to combine the analog and digital(flip) clock with the help of your program...

I've been trying to do this for a long time (hex editing) but with no luck...
But today I did it..! :)

http://forum.xda-developers.com/attachment.php?attachmentid=153065&stc=1&d=1233611349
Both clocks working..
Analog clock is movable...

that's an interesting goal :D

cool that you succeeded !

NisseDILLIGAF
2nd February 2009, 11:05 PM
that's an interesting goal :D

cool that you succeeded !


Well, there's alot of people that's been asking about the TF2D Home tab...
So my plan is to make a TF3D that looks similar to this :)
http://img127.imageshack.us/img127/3310/screen001lz3.png

nixx-X1
2nd February 2009, 11:25 PM
Well, there's alot of people that's been asking about the TF2D Home tab...
So my plan is to make a TF3D that looks similar to this :)


aahh.. for a moment I actually thought you wanted to have a flip clock AND analog clock to keep visible over eachother :D

guap
2nd February 2009, 11:35 PM
Well, there's alot of people that's been asking about the TF2D Home tab...
So my plan is to make a TF3D that looks similar to this :)


I think you can reach your target using sprint clock without bg... seems pretty easy now that you have this "hybryd" ;)

I'm still trying to port sprint clock to manilaHD (with 3 apponitments on home) but no luck for now... too many differences in lua script :(

thanks again to 6Fg8 for the new release ;)

NisseDILLIGAF
2nd February 2009, 11:43 PM
I think you can reach your target using sprint clock without bg... seems pretty easy now that you have this "hybryd" ;)

I'm still trying to port sprint clock to manilaHD (with 3 apponitments on home) but no luck for now... too many differences in lua script :(

thanks again to 6Fg8 for the new release ;)

Since most people have the 'flip' clock already in their phone, It's much easier combining the 'flip' and the analog...

Sprint clock has much more differences in lua code (as u said)

And I think It will look more cool with a small 'flip' clock and a big analog :p

6Fg8
3rd February 2009, 06:17 AM
Just wanted to say BIG thanx to 6Fg8!

This makes mode9 editing much easier... :D

I managed to combine the analog and digital(flip) clock with the help of your program...

I've been trying to do this for a long time (hex editing) but with no luck...
But today I did it..! :)

http://forum.xda-developers.com/attachment.php?attachmentid=153065&stc=1&d=1233611349
Both clocks working..
Analog clock is movable...

Thats absolutely brilliant news! I always wanted to have that, and now you did it. Awesome. I'm excited to see some of my favorite analog clocks in action on my HD soon.

Thanks a bunch!

NisseDILLIGAF
3rd February 2009, 08:25 AM
Analog and digital 'flip' clock...

Here are 2 of my backups of 1c684cd8_manila...

1st file is when I got both clocks working but not the background...
2nd file is when I got the background working... (I've removed the date here too)

Thought I'd share, if you wanted to play some with the files :D
(remember you need the grafix (qtc) manila files)

1c684cd8_manilaAnalogDigitalClock.zip (http://myqljg.bay.livefilestore.com/y1pzsQBdYnzHRP3Y_ZLIj8izEOtLlBNSHizsk9M9lNAPX4xoh8 gg363FaznPeEMOQ2BKRUxbEVjkQ4/1c684cd8_manilaAnalogDigitalClock.zip?download)

NisseDILLIGAF
3rd February 2009, 03:57 PM
ok.. I'm done :D

TF2D Home Tab in TF3D
http://forum.xda-developers.com/attachment.php?attachmentid=153246&stc=1&d=1233672296

You can download the files from here...
http://forum.xda-developers.com/showthread.php?p=3268074#post3268074

@6Fg8
As I was working on this I thought of one thing that would make m9editor easier to work with...

It's hard to keep track of the lua script when you move them around...
maybe some kind of naming the script ... like a tag?

That whay It's easier to know what/where you moved/deleted/copied that scrtipt... :)

Thanx again for a kick ass app :D

nixx-X1
3rd February 2009, 04:02 PM
Whow, that's :cool:

Now i get it :)

very nicely done!

6Fg8
3rd February 2009, 10:56 PM
ok.. I'm done :D

@6Fg8
As I was working on this I thought of one thing that would make m9editor easier to work with...

It's hard to keep track of the lua script when you move them around...
maybe some kind of naming the script ... like a tag?

That whay It's easier to know what/where you moved/deleted/copied that scrtipt... :)

Thanx again for a kick ass app :D
Nisse you're a genius. Too bad i cant do the mods for HD as my bread job keeps me rotating ATM :mad:

Script handling is far away from where i'd like it to be in the current versions, mostly cause i have no idea how to handle them wisely. I'd like to give them kind of a meaningful identity, but i've no idea where to start. Do you have any thought? There's an annotation feature in the last version, that could be one attempt to name them somehow, although it isnt copied to another instance (could fix that easily though). Best would of course be some "real" function name or the like.

NisseDILLIGAF
3rd February 2009, 11:34 PM
Nisse you're a genius. Too bad i cant do the mods for HD as my bread job keeps me rotating ATM :mad:

Script handling is far away from where i'd like it to be in the current versions, mostly cause i have no idea how to handle them wisely. I'd like to give them kind of a meaningful identity, but i've no idea where to start. Do you have any thought? There's an annotation feature in the last version, that could be one attempt to name them somehow, although it isnt copied to another instance (could fix that easily though). Best would of course be some "real" function name or the like.

Aha... annotation feature!
I totally missed that! :rolleyes:
Would have saved me allot of scribbling on small pieces of paper.. hehehe

I will use that from now on...
And yes, it would be cool if the annotation is saved somehow when u copy from different m9editors and saved with the file??

I don't know so much about lua scripting...
The only thing I know is what happens if I delete that one or move this one over here... experimenting.. :D

6Fg8
3rd February 2009, 11:51 PM
Aha... annotation feature!
I totally missed that! :rolleyes:
Would have saved me allot of scribbling on small pieces of paper.. hehehe

I will use that from now on...
And yes, it would be cool if the annotation is saved somehow when u copy from different m9editors and saved with the file??

I don't know so much about lua scripting...
The only thing I know is what happens if I delete that one or move this one over here... experimenting.. :D
alright, so there's some extra investigation needed :)

annotations are saved in an additional file (extension .ann) and is a simple textfile, references are done by hex offset. If you move files to another path simply move them too and youre ok.

If you copy a node/tree between instances (windows clipboard) annotations are not copied in the current version, but would be an easy fix. Will remind that for the next release.

NisseDILLIGAF
4th February 2009, 12:17 AM
alright, so there's some extra investigation needed :)

annotations are saved in an additional file (extension .ann) and is a simple textfile, references are done by hex offset. If you move files to another path simply move them too and youre ok.

If you copy a node/tree between instances (windows clipboard) annotations are not copied in the current version, but would be an easy fix. Will remind that for the next release.

I found something strange with the annotation...

I make a note about <Object>Type="Behavior"
then i delete it and save...

Then I paste a new <Object>Type="Behavior"...
And I cant use annotation when I right-click...

I have to close m9editor and then open the file again to use annotation on that row...

6Fg8
4th February 2009, 07:50 AM
I found something strange with the annotation...

I make a note about <Object>Type="Behavior"
then i delete it and save...

Then I paste a new <Object>Type="Behavior"...
And I cant use annotation when I right-click...

I have to close m9editor and then open the file again to use annotation on that row...
Annotations currently dont work on new nodes (inserted or copied), thats because they are linked via offset within the mode9 file. The node offset is calculated during load so a new node wont have an offset after insert. Save the file and reopen it will do the trick.

guap
5th February 2009, 01:44 AM
ok.. I'm done :D

TF2D Home Tab in TF3D
http://forum.xda-developers.com/attachment.php?attachmentid=153246&stc=1&d=1233672296


woooooooow it's amazing... I will try to port it to HD's manila home to have all appointments

can you explain me what have you done? just a little idea on how to proceed...

tanks again for new editor version with cut&paste :)

EDIT: uhm... where are all .lua previously created on open by m9editor?? did I miss something? (probably yes... sorry )

guap
6th February 2009, 05:24 PM
Thats absolutely brilliant news! I always wanted to have that, and now you did it. Awesome. I'm excited to see some of my favorite analog clocks in action on my HD soon.

Thanks a bunch!

madame... it's an honor... :D

http://img101.imageshack.us/img101/1557/analogandflipkh4.th.png (http://img101.imageshack.us/my.php?image=analogandflipkh4.png) http://img3.imageshack.us/img3/5521/analogyf7.th.png (http://img3.imageshack.us/my.php?image=analogyf7.png) http://img101.imageshack.us/img101/7923/allappointmentsgt9.th.png (http://img101.imageshack.us/my.php?image=allappointmentsgt9.png)

http://forum.xda-developers.com/showthread.php?p=3285264#post3285264

thank you again for your programming skills, without your editor nothing could be possible

sztupy
6th February 2009, 07:16 PM
I don't know if anyone is working on one, so here is a Lua 5.1 decompiler: http://forum.xda-developers.com/showthread.php?t=479910

guap
6th February 2009, 08:37 PM
I missed it... thanks for indication, seems very useful

pcarvalho
6th February 2009, 10:07 PM
I don't know if anyone is working on one, so here is a Lua 5.1 decompiler: http://forum.xda-developers.com/showthread.php?t=479910

this is nice 2 know...someone working in decompiling lua 5.1 :)

6Fg8
6th February 2009, 11:03 PM
madame... it's an honor... :D

http://forum.xda-developers.com/showthread.php?p=3285264#post3285264

thank you again for your programming skills, without your editor nothing could be possible

Jeeeez, guap, you made my day! thanks soooo much for that! love it! 200% better than a pink handbag :) OMG cant believe it ... have to post a pic ... quick!

I'd like to say thanks to all the other guys (and gals maybe? are there any?) who worked on that too (Nisse *wink*)

Now, look at that, isnt it amazing?

guap
7th February 2009, 12:23 AM
glad to made you happy :D

next step: rearrange lua script (import/export wil be soooooooonice :p) to use sprint clock instead of flip

Also, I realized how REALLY crap are manila files, sprint clock home is a mess, it contains ALL references to flip clock but disabled, plus some others script for the sprint clock itself... it will be an hard work

6Fg8
7th February 2009, 12:45 AM
new version of m9editor has been released, details as always, here (http://forum.xda-developers.com/showpost.php?p=3095189&postcount=1)

6Fg8
7th February 2009, 01:00 AM
glad to made you happy :D
oh yes, you definitely did ... i LOVE the way it looks now

next step: rearrange lua script (import/export wil be soooooooonice :p) to use sprint clock instead of flip
Dont expect too much from that. From my current knowledge, i can export p-code and import compiled lua scripts. Lua compiler creates ascii p-code, which has to be converted to DBCS (its UTF8 IIRC), and vice versa on export. There's an additional hack necessary for number tweaking, at least for the available lua decompilers. Have to investigate on that a bit.

What i can't do ATM is export lua source coude which can be modified, recompiled and reimported (yes, THAT would be a dream).

At least there's hope:
I don't know if anyone is working on one, so here is a Lua 5.1 decompiler: http://forum.xda-developers.com/showthread.php?t=479910
If sztupy (*wink*) is successful, maybe we can share knowledge to make a complete workbench.

6Fg8
7th February 2009, 01:01 AM
I don't know if anyone is working on one, so here is a Lua 5.1 decompiler: http://forum.xda-developers.com/showthread.php?t=479910
great, that would be a missing link. Will try soon :) Keep it up!

nixx-X1
7th February 2009, 01:08 AM
cool! thanks for the quick empty value bug fix :D
now I can play with the munrus files!

NisseDILLIGAF
7th February 2009, 03:29 AM
Nice work guap... and I can agree.. It's a mess in the Sprint m9 file :p

I've been playing around with 5c9aa261_manila (manila.m9)

Instead of all screen being shaded with an icon and text in the middle... I made this...

With Today's date and weekday and a analog clock to show the time :D

All creds to DMAN-666 for date and clock scripts...
It's from his active icons Home(clock) and Calendar...

And I think if u are using the active icons and this ... one of them wont work
Because I think u can only use a lua script once (with the same reference name)
When we can edit the lua scripts, we can run more then one instance of a script/object :)

EDIT
I just saw that the minute hand is of centre...
It will go of outside the clock when it comes to 40-50 minutes
http://myqejg.bay.livefilestore.com/y1p7le-83AIRjefejY1Z4fzbk9H2l4ORYoN-gdpqT6UcJD9favVrvI71Guan7RNqc_jWrllTuThj_XFOC6xq1t 1zQ/MenuPreviewDateClock.gif

I've attached the files...
11ff4459_manila is a xml language file...
You have to change that to your ROM language
And 5c9aa261_manila is from Sprint...

D-MAN666
7th February 2009, 04:20 AM
And I think if u are using the active icons and this ... one of them wont work
Because I think u can only use a lua script once (with the same reference name)
When we can edit the lua scripts, we can run more then one instance of a script/objectNot really. The last version of script allows multiple instances of clock. When you write "I think they won't work", does that mean, you tested and they weren't working? ;)

NisseDILLIGAF
7th February 2009, 11:14 AM
Not really. The last version of script allows multiple instances of clock. When you write "I think they won't work", does that mean, you tested and they weren't working? ;)

aha .. cool.. :)
no I've actually havent tested it.. It was very late and I was tired... :rolleyes:

I just based that on previous experiences with lua scripts...
That u can only run a script once in a mode9 file..?

I tried to run more that one 'ListTimeText' and only one worked...

But u are the real mode9/lua expert here...!! you tell me :)

sztupy
7th February 2009, 11:35 AM
If sztupy (*wink*) is successful, maybe we can share knowledge to make a complete workbench.

I don't think recompiling a decompiled lua is a good idea, but we can share common knowledge on how to add events, how to run applications, get database information, etc. and so adding some user compiled lua applications to the mode9 stack would add new functionality. I already found how to run other applications, now the only thing is missing for me are the event handling, but it doesn't seem to complex at a first glance.

D-MAN666
7th February 2009, 12:31 PM
I just based that on previous experiences with lua scripts...I think i wrote that a couple times before: TF3D (not manila, lucky we :)) is *very* badly coded. At my level of experience, i cannot afford myself to code like that. :D

the only thing is missing for me are the event handlingobject.EventName:connect(functionRef, scopeRef);
object.EventName:disconnect(functionRef, scopeRef); ;)

guap
7th February 2009, 12:49 PM
What i can't do ATM is export lua source coude which can be modified, recompiled and reimported (yes, THAT would be a dream).


that sholuld be "enough" :) for us now


I tried to run more that one 'ListTimeText' and only one worked...

me too... also, opacity is always set to 0 when in standard layout and 100 when slides up

sztupy
7th February 2009, 01:21 PM
I think i wrote that a couple times before: TF3D (not manila, lucky we :)) is *very* badly coded. At my level of experience, i cannot afford myself to code like that. :D

object.EventName:connect(functionRef, scopeRef);
object.EventName:disconnect(functionRef, scopeRef); ;)

Is there a repository about things we know?

D-MAN666
7th February 2009, 02:13 PM
Is there a repository about things we know?
Everything i have is in my head, but you can ask questions :)

domenic79
7th February 2009, 03:40 PM
Just wanted to say BIG thanx to 6Fg8!

This makes mode9 editing much easier... :D

I managed to combine the analog and digital(flip) clock with the help of your program...

I've been trying to do this for a long time (hex editing) but with no luck...
But today I did it..! :)

http://forum.xda-developers.com/attachment.php?attachmentid=153065&stc=1&d=1233611349
Both clocks working..
Analog clock is movable...


but it possible have this whithout digital clock under?

sztupy
7th February 2009, 03:53 PM
Everything i have is in my head, but you can ask questions :)

And what if you lose your head? :)

OTHER: Updated decompiler, now it decompiles even more things fine

guap
7th February 2009, 04:04 PM
but it possible have this whithout digital clock under?

you can delete by yourself 2 "group" under tabs instance and sprite2d under clock3d section in home file. not to be rude but If you don't know how you're in wrong thread, go to diamond forum, clock thread as already said, and wait to someone that accomplish your request:)

D-MAN666
7th February 2009, 04:21 PM
And what if you lose your head?You will be one on one vs decompiler then :)

sztupy
7th February 2009, 08:44 PM
You will be one on one vs decompiler then :)

Oh, then one more quick question ;)

Are numeric constants really stored as IEEE doubles? I see a lot of almost zero values both in the decompiled code, and in chunkspy. Does TF3D really contain lot of values such as 1e-319, or does it use some other numeric encoding? (or maybe endianness errors?)

sztupy
8th February 2009, 01:55 AM
Oh, then one more quick question ;)

Are numeric constants really stored as IEEE doubles? I see a lot of almost zero values both in the decompiled code, and in chunkspy. Does TF3D really contain lot of values such as 1e-319, or does it use some other numeric encoding? (or maybe endianness errors?)

Okay, other question:

seems they are fixed-point numbers with a weird negative encodings... 16bit fractional part + 48bit integer part
if negative the integer part is two complemented. What happens to the fractional part when it's negative (couldn't find any reference to that)?

Am I right about these things?

D-MAN666
8th February 2009, 02:08 AM
Re Number Encoding:
I dunno how to call this encoding properly :), but basically it's a 32-bit signed integer divided by 0x10000.

sztupy
8th February 2009, 02:35 AM
Re Number Encoding:
I dunno how to call this encoding properly :), but basically it's a 32-bit signed integer divided by 0x10000.

and it's stored in a 64-bit format to be more cooler? :)

(It's called Q16.16 encoding if I'm right)

D-MAN666
8th February 2009, 05:27 AM
and it's stored in a 64-bit format to be more cooler?What do you mean by 64-bit? LUA headers clearly say: "SIZE_OF_NUMBER = 4 (bytes)" which is 32bits.

Update: I reckon 6Fg8's LuaConv utility converts lua files into ASCII for 64bit version of LUA. But, originally, they are in "Q16.16" format.

6Fg8
8th February 2009, 04:54 PM
What do you mean by 64-bit? LUA headers clearly say: "SIZE_OF_NUMBER = 4 (bytes)" which is 32bits.

Update: I reckon 6Fg8's LuaConv utility converts lua files into ASCII for 64bit version of LUA. But, originally, they are in "Q16.16" format.
You're absolutely right, will change that. Thanks for the hint.

sztupy
8th February 2009, 04:59 PM
You're absolutely right, will change that. Thanks for the hint.

I think its fine the way it is now. Most of the lua tools have no problem using this file, mostly because they are made for 8byte long doubles. This 4byte Q16.16 + 4 bytes of zeros are fine.

6Fg8
8th February 2009, 05:09 PM
I think its fine the way it is now. Most of the lua tools have no problem using this file, mostly because they are made for 8byte long doubles. This 4byte Q16.16 + 4 bytes of zeros are fine.
Ok, so i leave it for now.

BTW Thanks for Beta2, i'm currently testing the embedded scripts with it. Most of them decompile perfect.

pcarvalho
8th February 2009, 08:55 PM
Ok, so i leave it for now.

BTW Thanks for Beta2, i'm currently testing the embedded scripts with it. Most of them decompile perfect.

yes they do...hummm...next step...

inserting/replacing existing ones with new ones ;)

6Fg8
8th February 2009, 09:15 PM
yes they do...hummm...next step...

inserting/replacing existing ones with new ones ;)
You might be surprised, later this evening :)

6Fg8
9th February 2009, 12:35 AM
new version of m9editor has been released, details as always, here (http://forum.xda-developers.com/showpost.php?p=3095189&postcount=1)

pcarvalho
9th February 2009, 01:26 AM
testing ;)

nixx-X1
9th February 2009, 08:33 PM
The all-in-one window works out very nice! no more cluttering :)

Is it possible to have the % of zoom in front of the slider as well?
as now sometimes the window is too small to see an image 100% and I have no clue on how big it does show :)

I guess this one > " -- DECOMPILER ERROR: Confused about usage of registers, missing locals? Creating them"
is known regarding to creating source codes of lua files ?

it's becoming a full blown program like this !

keep up the good work!

6Fg8
9th February 2009, 09:02 PM
The all-in-one window works out very nice! no more cluttering :)

Is it possible to have the % of zoom in front of the slider as well?
as now sometimes the window is too small to see an image 100% and I have no clue on how big it does show :)

I guess this one > " -- DECOMPILER ERROR: Confused about usage of registers, missing locals? Creating them"
is known regarding to creating source codes of lua files ?

it's becoming a full blown program like this !

keep up the good work!
Yes, sure, displaying zoom% shouldnt be the problem.
If the display window is too small, you could resize it. Did you recognize the splitterbars between the upper and lower panel, and between the 2 panels on the lower half? Move them up resp. left to get more picture real estate. Additionally, the pixelsize is displayed in the "Dim" column of the directory overview.

The decompiler errors are known, not all scripts can be decompiled at the moment. I rely on sztupy's decompiler for that. If he releases a new version, simply copy "luadec.exe" to the m9editor directory.

nixx-X1
9th February 2009, 09:15 PM
Yes, sure, displaying zoom% shouldnt be the problem.
If the display window is too small, you could resize it. Did you recognize the splitterbars between the upper and lower panel, and between the 2 panels on the lower half? Move them up resp. left to get more picture real estate. Additionally, the pixelsize is displayed in the "Dim" column of the directory overview.

The decompiler errors are known, not all scripts can be decompiled at the moment. I rely on sztupy's decompiler for that. If he releases a new version, simply copy "luadec.exe" to the m9editor directory.

I have noticed the horizontal one.. good thing you pointed out the vertical splitbar! (maybe a little distance between the bar and scroll would recognize it more)

i'll keep an eye on sztupy's ! for now.. back to work again..

6Fg8
9th February 2009, 11:24 PM
new version of m9editor has been released, details as always, here (http://forum.xda-developers.com/showpost.php?p=3095189&postcount=1)

pcarvalho
10th February 2009, 01:16 AM
very nice...congrats :D

Isotopes
10th February 2009, 05:49 PM
@6Fg8

Since version 3.0.0.0 there are problems again with the 5c9aa261_manila (see Attached) by mun_rus. In version 2.2.0.2 this bug was corrected. Could you please correct it.

Thx in advance

6Fg8
11th February 2009, 12:30 AM
new version of m9editor has been released, details as always, here (http://forum.xda-developers.com/showpost.php?p=3095189&postcount=1)

6Fg8
11th February 2009, 12:33 AM
@6Fg8

Since version 3.0.0.0 there are problems again with the 5c9aa261_manila (see Attached) by mun_rus. In version 2.2.0.2 this bug was corrected. Could you please correct it.

Thx in advance
Unfortunately, you're right, the new version has a fix for that.
Note2self: dont use different codebases for development :)

Isotopes
11th February 2009, 09:38 AM
new version of m9editor has been released, details as always, here (http://forum.xda-developers.com/showpost.php?p=3095189&postcount=1)

Unfortunately, you're right, the new version has a fix for that.
Note2self: dont use different codebases for development :)

Tested and approved. ;)

Thx

nlhk
11th February 2009, 07:42 PM
The version 3 is Great !!

I know nothing about behavior/LUA script. But I can still use your m9editor to copy the behavior/LUA script from one manila file to another to get the feature that I want !! Thanks !!! :D:D

I have a simple question. In the manila file (1c684cd8_manila), there are several behaviors in a group. Is the order of those behavior important ?? Or I can just copy a behavior to any place within the group ??

MoonNah
12th February 2009, 02:11 AM
How to change and keep changes lua scripts in your program

dingil
12th February 2009, 07:45 AM
netCF3.5 is installed in my pc but I can not run v3.0.2.0. When I try to open a manila file it warns me that "not found".
As if many mode9 editors are open, I have to close the m9editor by windows task manager.
Am I doing something wrong? or Is something absent in my pc?

6Fg8
12th February 2009, 06:33 PM
The version 3 is Great !!

I know nothing about behavior/LUA script. But I can still use your m9editor to copy the behavior/LUA script from one manila file to another to get the feature that I want !! Thanks !!! :D:D
believe it or not: me too :D

I have a simple question. In the manila file (1c684cd8_manila), there are several behaviors in a group. Is the order of those behavior important ?? Or I can just copy a behavior to any place within the group ??
seriously: i know the format of the mode9 files and some more, but didnt go into details about manila programming. If you find out, please let us know :)

6Fg8
12th February 2009, 06:34 PM
How to change and keep changes lua scripts in your program
save the sourcecode to a file, modify, (re)compile, and import where you need it.

6Fg8
12th February 2009, 06:38 PM
netCF3.5 is installed in my pc but I can not run v3.0.2.0. When I try to open a manila file it warns me that "not found".
As if many mode9 editors are open, I have to close the m9editor by windows task manager.
Am I doing something wrong? or Is something absent in my pc?
Cant image what is "not found". Post a screenshot.
How many m9editors do you open simultaneously? I never need more than 2 at a time, never had a problem with that.

smotrs
12th February 2009, 07:20 PM
believe it or not: me too :D


seriously: i know the format of the mode9 files and some more, but didnt go into details about manila programming. If you find out, please let us know :)

Better yet, post it here so I can find out as well. :)

dingil
12th February 2009, 07:43 PM
Cant image what is "not found". Post a screenshot.
How many m9editors do you open simultaneously? I never need more than 2 at a time, never had a problem with that.

I open only one m9editor.
Opening the editor, choosing the manila directory and pressing okay, it says "not found" on a small square m9editor popup with an "okay" button. I press okay button on that square popup, nothing happens. I press the okay button several times, at last the square popup disapears. And then I press "Cancel" button on path selecting window, it does not close. As if many many m9editors are open at the same time. I have to close the editor by task manager. I were not able to open any manila file by this version yet.
I had same response from two seperate computer.
I use a XP PC with Turkish regional and language settings.
Could you post 2.2.0.2 version again please, I deleted it by mistake and I were happy with it.
Thank you.

6Fg8
12th February 2009, 08:22 PM
I open only one m9editor.
Opening the editor, choosing the manila directory and pressing okay, it says "not found" on a small square m9editor popup with an "okay" button. I press okay button on that square popup, nothing happens. I press the okay button several times, at last the square popup disapears. And then I press "Cancel" button on path selecting window, it does not close. As if many many m9editors are open at the same time. I have to close the editor by task manager. I were not able to open any manila file by this version yet.
I had same response from two seperate computer.
I use a XP PC with Turkish regional and language settings.
Could you post 2.2.0.2 version again please, I deleted it by mistake and I were happy with it.
Thank you.
On the first start, you will be asked for four different directories. You have to fill ALL of them, or m9editor will tell you "not found" and wont continue (thats where you killed it with taskmanager). If you choose to have all files in one single directory, specify the same path on each line and you're fine.
I dont keep old versions, sorry cant post it again.

bedoig
12th February 2009, 11:45 PM
I've been playing around with 1c684cd8_manila trying to restore the behavior from early manila versions where the clock would flip from 00:00 to the current time whenever you return to the home screen. I've been comparing the HD manila that I'm running now to an old version that I know has that behavior, but so far no luck. There's a large group (7 to be precise) of behavior scripts that I'm looking at now, but I'm not familiar with any of this so it's mostly random guesswork.

Has anyone else looked into this, or better yet, actually accomplished it already?

6Fg8, is there still a compare option in the works for analyzing differences between two different mode9 files?

smotrs
12th February 2009, 11:48 PM
Version 3.0.2.0 crashes when viewing any LUA file. Can't recall if the version I have at home is 3.0.1.0 or 3.0.0.0 but it works fine when viewing LUA files.

I'll let you know when I get home in a few hours.

6Fg8
12th February 2009, 11:57 PM
6Fg8, is there still a compare option in the works for analyzing differences between two different mode9 files?
definitely yes (cause i need it for myself :)), but that will take its time. Dont expect that within the next weeks.

6Fg8
13th February 2009, 12:00 AM
Version 3.0.2.0 crashes when viewing any LUA file. Can't recall if the version I have at home is 3.0.1.0 or 3.0.0.0 but it works fine when viewing LUA files.

I'll let you know when I get home in a few hours.
please, be more specific. What's your understanding of "crashes"? screenshots? affected files?
The thing is: if i can reproduce it, its likely i can fix it, or at least i can tell you why things work or wont. if i cant, i'm hopeless.

smotrs
13th February 2009, 12:45 AM
please, be more specific. What's your understanding of "crashes"? screenshots? affected files?
The thing is: if i can reproduce it, its likely i can fix it, or at least i can tell you why things work or wont. if i cant, i'm hopeless.

No prob, what I mean by crashes is the App shutdown's immediately and wants to send a notice to Microsoft. So far it's happened on every LUA file I've selected.

Other file types work fine, Mode9, QTC, XML. Files in question have been original, unedited manila files from my Sprint Touch Pro. Pretty much, I can pick any file and it is crashing.

6Fg8
13th February 2009, 07:46 AM
No prob, what I mean by crashes is the App shutdown's immediately and wants to send a notice to Microsoft. So far it's happened on every LUA file I've selected.

Other file types work fine, Mode9, QTC, XML. Files in question have been original, unedited manila files from my Sprint Touch Pro. Pretty much, I can pick any file and it is crashing.
Ok, try the following: open 5e003d37_manila (thats email.mode9), expand the tree and scroll down to a line with a embedded script (red colored). When you click it, does it crash too? If it does, there's a problem with the decompiler. Check if you have visual c++ 2008 redistributables installed.

dingil
13th February 2009, 08:31 AM
On the first start, you will be asked for four different directories. You have to fill ALL of them, or m9editor will tell you "not found" and wont continue (thats where you killed it with taskmanager). If you choose to have all files in one single directory, specify the same path on each line and you're fine.
I dont keep old versions, sorry cant post it again.

Thank you so much.
I am some stupid :D

All mod9 files make the editor crashed or whatever you call.
I am still waiting for someone to attach 2.2.0.2 version. :o

nlhk
13th February 2009, 06:03 PM
Thank you so much.
I am some stupid :D

All mod9 files make the editor crashed or whatever you call.
I am still waiting for someone to attach 2.2.0.2 version. :o

I have the same problem ...... I just click "continue" to ignore it.

6Fg8
13th February 2009, 06:09 PM
I tested functionality with the original files from Touch HD, there might be others wich cause trouble. Could you please upload a file where the problem occurs?

smotrs
13th February 2009, 06:27 PM
Ok, try the following: open 5e003d37_manila (thats email.mode9), expand the tree and scroll down to a line with a embedded script (red colored). When you click it, does it crash too? If it does, there's a problem with the decompiler. Check if you have visual c++ 2008 redistributables installed.

Ok, to start with, I did resolve the problem. I had a version of vcredist_x86.exe (Visual C++ 2008 Redistributable Package (x86)) installed. But I went ahead and re-downloaded off of Microsoft's website (http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en), installed and tried again. Now it works as it's supposed to or the way it does on my home computer.

That said, I'm posting the below error dialog as well as the actual detail of when I selected the mode9 file and clicked on the embedded script within it. Just so if someone else has the same issue they can be redirected to the solution (or a solution).

Also I noticed in the screen shot, it says it's version 3.0.1.0, but I know I downloaded the 3.0.2.0 and even redownloaded it again to be sure.

Here's output of the error,
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ComponentModel.Win32Exception: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem
at System.Diagnostics.Process.StartWithCreateProcess( ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at m9editor.m9efunctions.LuaDecompile(Byte[] luascript)
at m9editor.m9emain.tv_AfterSelect(Object sender, TreeViewEventArgs e)
at System.Windows.Forms.TreeView.OnAfterSelect(TreeVi ewEventArgs e)
at System.Windows.Forms.TreeView.TvnSelected(NMTREEVI EW* nmtv)
at System.Windows.Forms.TreeView.WmNotify(Message& m)
at System.Windows.Forms.TreeView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
m9editor
Assembly Version: 3.0.1.0
Win32 Version: 3.0.2.0
CodeBase: file:///C:/Documents%20and%20Settings/SToms/Desktop/Development/m9editor%203.0.2.0/m9editor.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

6Fg8
13th February 2009, 08:29 PM
Also I noticed in the screen shot, it says it's version 3.0.1.0, but I know I downloaded the 3.0.2.0 and even redownloaded it again to be sure.
Great you worked it out. The version is really 3.0.2.0, but obviously i forgot to increment the assembly version.

MoonNah
14th February 2009, 12:28 AM
save the sourcecode to a file, modify, (re)compile, and import where you need it.

Than recompiled ? I do it LUA514. How to import the recompiled code?

6Fg8
14th February 2009, 12:40 AM
Than recompiled ? I do it LUA514. How to import the recompiled code?
right-click a script property and select "import script"

MoonNah
14th February 2009, 01:42 AM
right-click a script property and select "import script"

At me in the menu 2 points
Convert to ANSI and decompile and save sourcecode
, and are not import script present :confused:

showaco
14th February 2009, 06:38 AM
At me in the menu 2 points
Convert to ANSI and decompile and save sourcecode
, and are not import script present :confused:
You have to right-click script inside mode9 file to get import option. If your replacing a script that is stand-alone(not in mode9) then just rename it to desired name after compiling and changing back to unicode.

12aon
14th February 2009, 04:18 PM
right-click a script property and select "import script"

You have to right-click script inside mode9 file to get import option. If your replacing a script that is stand-alone(not in mode9) then just rename it to desired name after compiling and changing back to unicode.

It says invalid lua signature, probably because it isn't fully decompiled (only two errors though), but when it does import how do I get it to be stand alone again since its then incorporated into the mode9, right? Is there another way to edit this script (i'd really like to use my modified version), 12

@showaco: sorry I did get back at you yet, your PM made me realize where the majority of my probs lay.