yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] nixx-X1:
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!
[Windows Mobile Software Development] 6Fg8:
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.
[Windows Mobile Software Development] nixx-X1:
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..
[Windows Mobile Software Development] pcarvalho:
very nice...congrats :D
[Windows Mobile Software Development] Isotopes:
@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
[Windows Mobile Software Development] 6Fg8:
Unfortunately, you're right, the new version has a fix for that.

Note2self: dont use different codebases for development :)
[Windows Mobile Software Development] Isotopes:
Tested and approved. ;)

Thx
[Windows Mobile Software Development] nlhk:
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 ??
[Windows Mobile Software Development] MoonNah:
How to change and keep changes lua scripts in your program
[Windows Mobile Software Development] dingil:
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?
[Windows Mobile Software Development] 6Fg8:
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 :)
[Windows Mobile Software Development] 6Fg8:
save the sourcecode to a file, modify, (re)compile, and import where you need it.
[Windows Mobile Software Development] 6Fg8:
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.
[Windows Mobile Software Development] smotrs:
Better yet, post it here so I can find out as well. :)
[Windows Mobile Software Development] dingil:
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.
[Windows Mobile Software Development] 6Fg8:
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.
[Windows Mobile Software Development] bedoig:
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?
[Windows Mobile Software Development] smotrs:
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.
[Windows Mobile Software Development] 6Fg8:
definitely yes (cause i need it for myself :)), but that will take its time. Dont expect that within the next weeks.
[Windows Mobile Software Development] 6Fg8:
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.
[Windows Mobile Software Development] smotrs:
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.
[Windows Mobile Software Development] 6Fg8:
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.
[Windows Mobile Software Development] dingil:
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
[Windows Mobile Software Development] nlhk:
I have the same problem ...... I just click "continue" to ignore it.
[Windows Mobile Software Development] 6Fg8:
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?
[Windows Mobile Software Development] 6Fg8:
Great you worked it out. The version is really 3.0.2.0, but obviously i forgot to increment the assembly version.
[Windows Mobile Software Development] MoonNah:
Than recompiled ? I do it LUA514. How to import the recompiled code?
[Windows Mobile Software Development] 6Fg8:
right-click a script property and select "import script"
[Windows Mobile Software Development] MoonNah:
At me in the menu 2 points

Convert to ANSI and decompile and save sourcecode

, and are not import script present :confused:
[Windows Mobile Software Development] showaco:
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.
[Windows Mobile Software Development] 12aon:
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.
[Windows Mobile Software Development] 6Fg8:
Compiled Lua scripts start with 1B-4C-75-61-51 (ANSI) or 1B-00-4C-00-75-00-61-00-51-00 (Unicode). If this signature is not found at the beginning of the file, it says "invalid lua signature". If a ANSI signature is found, it will be converted to Unicode by m9editor. Unicode compiled scripts are imported without conversion.
[Windows Mobile Software Development] 12aon:
So does this mean I did something wrong or that it didn't decompile fully/correctly? Should I be able to see the ansi signature in my source file? 12
[Windows Mobile Software Development] 6Fg8:
the signature is not in your source file, but in the compiled script (compiler output)
[Windows Mobile Software Development] nlhk:
Thanks it works.
[Windows Mobile Software Development] smotrs:
When I first opened the program, I wasn't sure what all the paths were asking. So I just assigned the same path to all 4 entries. I suspect now that Graphics directory is where you want to export and import the PNG's to and the Scripts directory is where you want to export the SRC for a Lua file. I'm guessing, so if you could clarify the paths that would be helpful.

In any case, the reason why I ask/mention this is because, like I said, I set all the paths to the same location for the group of files I wanted to look at. I then turned around and exported all the QTC's to PNG's. A little later as I was scrolling, I selected one of the PNG's and the program closed/crashed abruptly. Obviously I didn't expect the program to support the PNG format, but I was thinking it would just ignore the file type rather then try to read it.

Just thought I would mention it. I'll try to stay clear of the PNG graphic files. :)
[Windows Mobile Software Development] 6Fg8:
manila files directory: the main path where m9editor looks for files to view and load, showed in the directory overview (lower left)

graphic files directory: this is where the png files go when you save a QTC1 as png. Vice versa, if you import a png to a QTC1 its taken from there.

script files directory: this is used by all script import/export/decompile functions

manila search path: additional path where m9editor searches for files. Imagine you separated scripts and graphics (*_manila) in different dirs. Your manila files directory will thus be the path to the scripts+mode9's. Now you open a mode9 file and encouter a link to a graphic, which should be displayed in the lower right corner. m9editor searches for that graphic in the manila files directory, if its not found it searches the manila search path. If still not found it simply will not show.

m9editor supports various graphic formats including png, so it should be displayed in the lower right pane. Unfortunately there seems to be a bug with that. Will correct that.
[Windows Mobile Software Development] 6Fg8:
please post one of your files where it crashes.
[Windows Mobile Software Development] dingil:
Actually all the mode9 files hat I tried to open crashed.
[Windows Mobile Software Development] 6Fg8:
hm, opens fine here. Must be somewhere with your local installation. Just to make sure, please check:

- dotnet framework 3.5 SP1 installed

- all files from the download package in same directory
[Windows Mobile Software Development] dingil:
They are okay...
[Windows Mobile Software Development] 6Fg8:
Your crash is at a very unusual place within the code, dont have an explanation for that. I would uninstall dotnet 3.5, download a fresh copy and reinstall it. Sometimes MS makes silent updates to components, this could cause the trouble here. Try it on another PC if possible. A VM will do fine too. BTW what OS are you running?
[Windows Mobile Software Development] dingil:
I am running XP pro SP3 on both home and work pc.

I have same matter on both PCs.

I had already done your suggestion (uninstalling dotnet 3.5 and reinstalling a fresh copy).

May be something is wrong with me :D

Previous 2.xx versions used to work with small limping.
[Windows Mobile Software Development] 12aon:
Ow I can't wait for the compare function (I know,I know not within the next few weeks) just know that this function is heavily anticipated:D. What would make sense to me would be a search function in the scripts window. Half of the time I'm searching for certain words in the scrips and it would be nice to have a firefox like search function in which the text you are searching would stay the same when opening a new script. This would make searching for "weather"scrips a lot easier, but hey maybe its asking for to much function in an already incredible editor, 12
[Windows Mobile Software Development] 6Fg8:
I've a XP32pro/SP3 in a VM here, runs fine too. Sorry, that leaves me clueless :mad:
[Windows Mobile Software Development] 6Fg8:
agreed :) need that too.
[Windows Mobile Software Development] vHaB:
This things rocks my socks - Thanks for all the hard work.

I have one small suggestion that would make wading through an obnoxiously long m9 file (as well as posting tutorials) much easier:

Could you implement line numbers on the treeview? It's been so long since I've used a treeview and can't recall if it's something as simple as "ShowLineNumbers = true; or something like that, but yeah - that would make things awesome and cut down on the number of "zomg can you change this to green and purple and orange for me????" posts, since you could just say "change line 351, 468 and 501"

Just a thought. Thanks again for the tool - it's awesome.

Aside: I just now grabbed the latest version. Did you change the format of/do away with annotation files? I was going to post mine in a tutorial I'm considering, but they aren't loading into the newest version. Just curious.
[Windows Mobile Software Development] 6Fg8:
Glad you like it :)

Linenumbers in a treeview are fine as long as you dont change the structure - but thats what this editor is for, so i'm afraid it wont make much sense.

The solution to that should be annotations, in an effort to be independent of linenumbers (which wouldnt help e.g. in a hexeditor :)). I did a billion changes in v3 so there might be a bug, but i'm currently reworking that part anyway. Annotations will work for new tags as well in the next version.
[Windows Mobile Software Development] 12aon:
OOWWWW yeah! You milady, are a coding machine:), this is service!:D

Edit: Can't get past the settings page, something wrong there? It says: "Some of your settings are wrong. Please correct them in the following settings page". I'm Using the same settings though :confused:
[Windows Mobile Software Development] MoonNah:
Once again I apologise, you could not on a file example 77faa36d_manila explain step by step as it is possible to change in a script colour of a font with black on white and to collect lua script back. At me it has turned out nothing. Thankful in advance.

Wow!

Has already understood. Thanks for your work. :) :)
[Windows Mobile Software Development] showaco:
Same here on latest version, can't get past setup page.:(
[Windows Mobile Software Development] 6Fg8:
ooops ... oversaw a really stupid bug in the 3.0.3.0 :rolleyes:. A single line can ruin your whole app ... I'm sorry. Its corrected now.
[Windows Mobile Software Development] 12aon:
It does work again but the lua viewer doesn't show anymore:o
[Windows Mobile Software Development] dingil:
HELPPPP.

I have uninstalled netframe 3.5SP1 and then reinstalled with last update (kb958484x86) many times, still can not run m9editor.
[Windows Mobile Software Development] MoonNah:
Open a window of options and chekked "decompile script"
[Windows Mobile Software Development] 12aon:
Ah muchos gracias, thought it meant if I wanted to decompile my scripts right now. Thanks

I do however have another absurd feature request:o. Since the lua viewer, I've been thinking how nice and easy it would be to also be able to see the XML's (just view:)). I don't think it will be to hard to implement but I don't know if you want to. But when I'm searching through theme's I usually have no idea what file are imported to the part i like, since the lua viewer I have a much better idea and although checking the XMLs isn't that hard it's a annoying opening them on after another. I really hope you have this issue too:D, 12
[Windows Mobile Software Development] nixx-X1:
If I may add to this.. it would be even cooler if you're able to click the files that are referenced in a mode9/xml/lua script and open it in another window :D

this of course only works when the file is present in the directories that are assigned.

Keep up the good work!

I am having trouble keeping up with you now my time is limited..
[Windows Mobile Software Development] 6Fg8:
Hey, you're keeping me busy :p

Yes i know, there could be a thousand cool features, I already thought of that and a dozen others. Not hard to implement, but i'm currently short of time. Will put it on the planned features list for now.
[Windows Mobile Software Development] dingil:
I wonder if I install visual net to make the m9editor working :confused:
[Windows Mobile Software Development] 6Fg8:
Would be worth trying
[Windows Mobile Software Development] sztupy:
I made a way that will allow one to extend M3D's lua to allow running of user made C functions, which would make M3D even more customizable. Please read, install and try!
[Windows Mobile Software Development] 12aon:
I'm solly:D, I don't expect anything you have done so much already, just hoping...:)
[Windows Mobile Software Development] 6Fg8:
:D Ok my friend, it's there, now go and get it :p

Version 3.0.4 available, as always, here
[Windows Mobile Software Development] 12aon:
Whoowhee, with search function:cool:. I won't ask for anymore features for the next couple of days:D, now lets give this baby a thorough test drive and see what I can find. If you need any help graphically at a certain point, I'll try to help you as much as I can, 12
[Windows Mobile Software Development] D-MAN666:
Oh dear, i like the way it sounds :D S/b very useful for my iDiamond project, just need to team up with some good WinMo coder :)
[Windows Mobile Software Development] MoonNah:
Prompt please at me at recompilation all scripts swear on a design "do break end" and give out the message "no loop to break near ' end '" in LUA 5.1. What to do?
[Windows Mobile Software Development] dingil:
6Fg8,

Please have a look at this article related with my problem.

http://msdn.microsoft.com/en-us/library/h3xt2was(VS.80).aspx
[Windows Mobile Software Development] xboxmod:
Hi 6Fg8

I'm a regular user of your tool and

I think a fonction to delete files or move it can be very usefull to remove unused files for exemple.

somethink like this: ;)

thanks a lot for your hard work bye
[Windows Mobile Software Development] sztupy:
I'm working on a gmplib lua implementation and on some GPS functions (I miss a compass/speed tab :D), but I can add stuff to the wishlist :)
[Windows Mobile Software Development] D-MAN666:
GPS support will be nice lil thing to have :)

Among features i would like to have are:

- Callback when device is put to/returns from sleep mode

- Locking unlocking top/bottom bars (start / soft buttons) - for slide-to-unlock

- Some DB integration - to keep application settings. ****ting 100s of keys to the registry is just not good :)

- Ability to create/delete directories (for auto-install)

- Long number (real number) math classes (for calculator). They may take an array of numbers, for example. Like a: LongMath.add([1, ".", "5"], [0, ".", 6]); Just a thought

- Some way to enable keyboad input.

- Better accurrancy clock access (now: seconds max, wanted: seconds / milliseconds - for stopwatch).

That's all for now, but prolly i will need something else in the future ;)

Anyways, you all doing a good work. Thanks
[Windows Mobile Software Development] smotrs:
Is there anyway to extract the contents of a Mode9 file? I want to compare the contents of two files, but they aren't structured the same and it's a real bear bouncing back and forth between two windows and searching between the two.

I'm hoping if I can extract it to a text file I can restructure it the same and do a comparison between the two to see what's different/identical. Might make it easier to spot the differences, at least that's what I'm hoping.
[Windows Mobile Software Development] 6Fg8:
Agreed :), here it is.

Version 3.0.5 available, as always, here
[Windows Mobile Software Development] 6Fg8:
I know what that message means, but as it seems to occur nowhere else I cant investigate it.
[Windows Mobile Software Development] sztupy:
Didn't I already say I'm doing a gmplib implementation for lua? :) For the other ones I consider them. You have some insight about what can be done in lua now and what not, I don't (yet :) )
[Windows Mobile Software Development] 6Fg8:
For the time being you can write a debug file. I'm working on a comparison tool, but dont expect that within the next weeks.
[Windows Mobile Software Development] 12aon:
You are so agreeable:D I would like to request a feature where the mode9 editor would read my mind and then telepathically inserted all the desired features instantly. I think I read an article about that somewhere, would that be hard to implement in version 3.0.6? Could at least add it to the to be implemented in the near future list right?
[Windows Mobile Software Development] D-MAN666:
Ouch, i was not sleeping like 30 hours when i wrote that msg. :) You made my day again then. ;)
[Windows Mobile Software Development] xboxmod:
only 24h after request:)

Thanks a lot
[Windows Mobile Software Development] smotrs:
Not sure if you want to address this yet. But on a higher resolution screen displays (Widescreen 1920x1200) the initial path screen is a bit jumbled.

Also, anyway for it to remember the window position so I don't have to keep re-positioning it each time. No biggie, just a thought.
[Windows Mobile Software Development] xboxmod:
HI

i don't have this pb on samsung 1920x1080

i think this is related to your windows skins .
[Windows Mobile Software Development] pcarvalho:
very small bug...when i minimize the bottom part (files browser, picture and scrypt viewer) maximizes...no biggy :)

nice work ;)
[Windows Mobile Software Development] smotrs:
Which happens on the default Windows Skin (theme) as well. I was thinking it was more related to the widescreen resolution. As you can see, I reverted back to the default Windows Skin in this screen shot.
[Windows Mobile Software Development] bedoig:
I've noticed that too. At first I didn't realize what was happening :confused:

It seems to only do it if you have made that section (files browser, picture and scrypt viewer) smaller though.

This works normally:

but this:

causes this when you reopen/un-minimize:

Like pcarvalho said, no biggy. Just something that popped up. Awesome work 6Fg8!
[Windows Mobile Software Development] dingil:
Thank you for your patience

I am so sad, I can not run m9editor on my computer(s) and others here whatever I do.

I am not a programmer but I think my problem results from regional or language settings of OS. OR this program only works on computers of real developers.

I quit...
[Windows Mobile Software Development] 6Fg8:
thats what i'd suspect too. Maybe you have the chance to setup a VM with an english OS?
[Windows Mobile Software Development] 6Fg8:
if i could do that, i wouldnt own a touch HD, but send sms by brainforce and call other people's phone via telepathy :D
[Windows Mobile Software Development] 6Fg8:
Interesting ... the label font is Microsoft Sans Serif (default for labels in the forms designer). How does the main screen look like? Is the "find" label overlapping the searchbox?