[MOD] Tool sets DOS window+buffer+edit settings - Windows 8 Development and Hacking

I wrote and published (github) a tool that sets DOS console or Git Bash window+buffer+edit settings from CLI.
It is for Microsoft Windows, and tested working on Windows 8.
Feedback?
Suggestions?
Thanks!

Why?
Bob Smith42 said:
I wrote and published (github) a tool that sets DOS console or Git Bash window+buffer+edit settings from CLI.
It is for Microsoft Windows, and tested working on Windows 8.
Feedback?
Suggestions?
Thanks!
Click to expand...
Click to collapse
Why did you create this tool? What purpose does it serve? Don't reply with what it does reply with why you would use that.
Thanks,
wcomhelp

I like using consoles: dos and git bash.
Many IDEs have different ways to interact with git.
The console is simple and fast. This program is quick to use, mainly for sizing and enable cut & paste.
Cut and paste (e.g. difftool [cut and paste]) are usually not turned on by default in dos nor git bash.
Could install and use alternatives, but this works fine for me.
Have you tried it?
Its not perfect, there are bugs if you change the font size.

All Windows command-line programs, including CMD and Git Bash, run in a virtual terminal called ConHost.exe (Console Windows Host). ConHost supports changing its default parameters (for example, mine defaults into QuickEdit and Insert modes), which can be set through the ConHost GUI... is this just a different way to change those settings?

GoodDayToDie said:
All Windows command-line programs, including CMD and Git Bash, run in a virtual terminal called ConHost.exe (Console Windows Host). ConHost supports changing its default parameters (for example, mine defaults into QuickEdit and Insert modes), which can be set through the ConHost GUI... is this just a different way to change those settings?
Click to expand...
Click to collapse
My thoughts exactly.

Related

** BETA ** Configuration tool for "Mortscripter" - ver. 0.9.0.0 (UPDATED 2008/06/10)

** BETA ** Configuration tool for "Mortscripter" - ver. 0.9.0.0 (UPDATED 2008/06/10)
Last weekend, I was toying with the idea of creating a tool for you guys to use in your projects and the result was a software that I named Configurator Engine.
This project will have 2 parts: Configurator Engine will run on the device and Configurator Builder will run the the PC. As the name implied, this tool could be used as the configurator for your projects. The Configurator Engine on the device will read the configuration template created by the builder and displays all the options/choices in a user-friendly GUI. Users will then change settings according to their liking and hit DONE to exit. Based on the config template, the new settings will be saved to the registry and just before exiting Configurator Engine will execute predefined application/script (by the developper) to put the new settings in effect. You can also create/modify the config template yourself instead of using the builder.
One config template can one or more pages of settings (shown on the right softkey menu). Each page can contain one or more items. There are two types of supported item: text entry and dropdown choice. Each item type have its own set of validations that could be set by the developer (you). For now: None, Required, NumericOnly are the ones available for text boxes and None,Required are the ones for dropdown boxes. The command-line to launch an external executable/script at the end will be set in the config template.
Just for kick, my test template during the development of this project is the configuration template for CHome Weather, one of the most popular piece of software in this forum (shown in the screen shots).
How does that sound? The device part is already finished, I have a few (thousands just joking) lines of code left in the builder to finish the PC part.
Comments, ideas, opinons,brain storming are welcome.
UPDATED version 0.9.0.0
------------------------------
The phone part is ready to test. Probably I won't have enough time to complete the builder before this weekend. Please read HOW-TO.TXT for directives. The sample config.xml is also provided for your testing.
Running the sample
Unzip ConfigEngine.beta.zip and copy the EXE and .XML files to your phone. Then just run ConfigEngine.exe on the to see what it does. Upon exiting the settings will be saved in HKEY_LOCAL_MACHINE\Software\Test\CHomeWeather and HKEY_LOCAL_MACHINE\Software\Test\CHomeWeather\Advanced as defined in the .config.xml file.
There will be and error saying that Weather.exe not found because it is specified (in the sample template) to run when the engine exits.
Nice Hopefully it's easy to use.. and I'll use it as replacement for the config script in Chome Weather
I would like to try this out, if you need someone to test. Will the builder run on windows xp? Sounds cool and could make things easier.
Give me a shout when you get the pc part ready, I do run Vista, don't know if that will matter.
First post updated
The phone version is up for you to play with. Please test and report.
Hmm, I guess if I wanted to use this for CHome Weather I'd have to completely rewrite the options script, because, so far, it looks like this is a fancy control panel for inputting registry keys Can't actually do any logic, use variables, etc... I wonder what else this could be used for ?
OrganicM said:
Hmm, I guess if I wanted to use this for CHome Weather I'd have to completely rewrite the options script, because, so far, it looks like this is a fancy control panel for inputting registry keys Can't actually do any logic, use variables, etc... I wonder what else this could be used for ?
Click to expand...
Click to collapse
This is meant to be used that way: an user-friendly GUI for setting up your scripting projects. Of course, this is not a full blow scripting engine for mobile device, you have MortScript for that, except Mortscript engine can't offers what this tool offers. You see my point?

Java Development on Touch HD

I've been studying Java with the Open University and would like to put into practice some of my newfound knowledge on the mobile side of things.
Can anybody help me get started by telling me which configuration I should be using with regard to CLDC/CDC-MIDP, are there any JDK's for the Touch HD etc?
I have tried searching but to no avail so far so would appreciated your help.
Also, is there a decent Java compiler that operates under WM6. As that would be novel to play around with too! I currently use NetBeans on my pc.
Regards
Gary
Java on a mobile device = J2ME
There are plenty of Java VM for Pocket PC (check this thread). I think JBed (found in most blackstone ROM's including stock ones) is the best. It has severe limits but it is the best you can get on blackstone. For developement you can use your PC with Sun WTK 2.5.2 (it is supported by Netbeans).
There are no decent java compilers that run directly on PocketPC.
As your first app can you create a D-Pad in java to run skymobile????
garyainsworth said:
Can anybody help me get started by telling me which configuration I should be using with regard to CLDC/CDC-MIDP, are there any JDK's for the Touch HD etc?
Click to expand...
Click to collapse
Java ME : JBed or JBlend, choose one of them, both work great.
Java SE (Yes Desktop-class Java): MySaifu - http://www2s.biglobe.ne.jp/~dat/java/project/jvm/index_en.html
As for the JDK part (I mean the javac compiler and other tools), I do not know such a package yet. However, you can make javac work with MySaifu with a tools.jar file copied from standard JDK (1.3 or older probably).
Hope this helps
Java development with JVM for CDC
Thanks for your help guys.
I've managed to ge set up and have managed to create my first Midlet and run it on my Blackstone via JBed. I've used NetBeans 6.7
However, that is CLDC/MIDP, but when I try and install CDC creations JBed will not install it because a Midlet name is missing. Is this because the stock JBed does not support CDC. I have tried to find out but it is not perfectly clear and I will have to pay for a JVM to test my theory out if nobody can advise!
Thanks for help
Gazza
MOD EDIT
Moved to Themes, Applications and Software forum (?) as not related to rom development
I'd seriously look at JavaFX, sun released a beta of it the other day.
I really like it, it works well on the HD from my limited testing
http://javafx.com/downloads/windows.jsp
One slight flaw with the current version is that it wants to get network address even when try to search for local jar/jad on storage.
but setting it as default file association gets around that one..
JavaFX
Downloading as I write....
Thanks for your advice I appreciate it. As you may know, as a newcomer to development of JME it is so complicated to get started due to all the configurations so any pointers at this stage are very much appreciated.
Thanks
Gaz
OK, I have JavaFX installed on my HD and it works and I particularly like the calculator example app included with it. However, I still cannot get my CDC app to install. It says "Cannot install application because critical information is missing from the application file (.jad). I thought CDC used xml files and not JAD for descriptions. Am I wrong or is something to do with my platform/deployment configuration?
I cant see a jad file in the deploy folder either. Is this an error.
Thanks
Gaz
Nope, you still need the JAD descriptor file.
It's plain text file, just find some on the internet, open it with text editor and alter some of the properties in there, it's really easy.
Don't forget to change the path to your JAR archive - the best way is to put there just simple JAR name and copy the JAD to the same directory as JAR.
Thanks Pepcza,
I'll try that, just a thought though, if you still need a descriptor file (in this case .jad) why does'nt the Netbeans deployment process create it along with everything else? It does when creating CLDC platform apps!
Gaz
JavaFX
I think we should concentrate on this one. Youtube videos are working in bolt browser using Javafx. If only it would be a bit faster, It'll throw Jbed out of the window.

PPC2002 Emulator / Image

Hello everybody,
I am working in a german company where we're still using old iPAQs (iPAQ PE2030) with Windows Mobile 2002 because the application doesn't work on Windows Mobile 2003 or higher.
Now I'm looking for an emulator or an emulator-image for WM2002 for the Microsoft Device Emulator. I can't find any Image of PPC2002 on Google and I hope maybe to find the image here.
It would be nice if there's a solution to get it work, because a reprogram of it will cost thousands of euros.
Thanks in advance,
Patrick
Have a look at post #2 in here.
http://forum.xda-developers.com/showthread.php?t=777850
Embedded Visual Tools 3.0 (C++ and VB) came with an emulator of sorts for WM 2002 SE, which installs with the compiler. It is not a true emulator as such, like those run by Device Emulator Manager, but it is as near as you are going to get. The compilers create special x86 emulator executable versions that the emulator can run, and you can debug.
When you are satisfied with it, switch the compile to release, and it will generate an ARM code executable to run on the device.
The emulator images running under Device Emulator Manager can run ARM code executables, but the EVT emulator can't.
The problem is that you will need the source code for the app to compile it.

[Q] Possible to upgrade kaiser wm6.5 to android on NAND without mac system

The guides that I found you need Atools to edit the NHB file.
Atools works only on mac and not on windows.
Is there another way to install android on my kaiser?
atools is multi-platform, it'll work on Linux, Windows, and Mac. You just need Python to be able to use it.
Google "Python", and make sure you download the 2.6 or 2.7 version of Python as 3.0 version is incompatible.
Check this link for further info on getting atools running on your windows machine.
I'm really bored of windows users. before write search!!!!
I create a multiplatform tool only for clever users.
heyyyy!!! i´m mostly a windows user and i searched!!
don´t say that of us windows users!!
btw: i also own a mac... and use linux....
InfectedM said:
heyyyy!!! i´m mostly a windows user and i searched!!
don´t say that of us windows users!!
btw: i also own a mac... and use linux....
Click to expand...
Click to collapse
Get python package from the repository or get its MAC installer.
Then just open Atools and you'll be just just just fine to edit a kernel
There is nothing ambiguous, you just have to install Python on your system whether its Linux/Windows/MAC
Alternatively you can use a HEX Editor to edit the nbh (for keyboard, screen panel, screen size only) once you have a valid KAISIMG
dark_prince said:
Get python package from the repository or get its MAC installer.
Then just open Atools and you'll be just just just fine to edit a kernel
There is nothing ambiguous, you just have to install Python on your system whether its Linux/Windows/MAC
Alternatively you can use a HEX Editor to edit the nbh (for keyboard, screen panel, screen size only) once you have a valid KAISIMG
Click to expand...
Click to collapse
errrr..... i´m not the original poster...
and my post was a little joke...
u dont need a "MAC" installer... atools works "out of the box" in mac as it has python scripts support...
damn nice. I am not a MAC user as well so no idea how yugort is made there

[USERMODE DRIVER] OPL3 FM Softsynth

Hi guys, I just registered here to let everyone know I'm currently working on a forked codebase of an (LGPL) OPL3 MIDI synth running entirely in software (uses the emulator core from DOSBox IIRC) and it turns out with a bit of a fiddle other than the compilation prerequisites, this works on the Surface tablet.
After procuring a Surface RT during the fire sales last month or so, I was curious as to whether or not it was possible to change MIDI devices on this thing. As it turns out, since Windows 8, Microsoft has evidently crippled MIDI playback device selection even more and this is also reflected in Windows RT. (ie: only means is to change the midi string in HKLM\Software\Microsoft\Windows NT\CurrentVersion\Drivers32 to point to the DLL you wish to load)
Anyway, you can find out more about progress and source code here (Note: content aimed at standard desktop):
Original thread (Alexey Khokolov's original code and further discussion)
www DOT vogons DOT org/viewtopic.php?f=9&t=36667
Forked driver source code:
bitbucket DOT org/djtubig-malicex/opl3-synth-driver
WinRT binary here (with default Fat Man / Windows OPL patches):
dl DOT dropboxusercontent DOT com/u/1287967/WinRTexe/opl3emu.dll
Installation instructions:
1. Save the .dll file somewhere, preferably %WINDIR%\system32
2. Open regedit and browse to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Drivers32
3. Rename the existing "midi" key to say midi1 or midi2
4. Create a new key "midi", and have its contents contain the filename "opl3emu.dll" (alternatively the full path, may need quotes)
means of changing MIDI device is identical to windows 8 it seems however I have not tested existing utilities at this time
4a. If you do not wish to set it as a default, simply make a new key eg: "midi1" or "midi2" and have it contain "opl3emu.dll". Apps will still recognize its existence.
If you need a MIDI player, this C# code seems to work.
stackoverflow DOT com/questions/3884251/no-sound-heard-while-playing-a-midi-file-in-c-net
Alternatively, use GSPLAY with the DOSBox WinRT build. You can also explicitly specify MIDI device this way (refer to dosbox documentation).
Anyway, hope everyone enjoys making their Windows RT tablet play CANYON.MID in classic FM on their modern Microsoft tablet. :v

Categories

Resources