[USERMODE DRIVER] OPL3 FM Softsynth - Windows RT General

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

Related

anyone have eMbedded visual basic software,please

i need the software to run some program if anyone can send that or any links to download thanks
Hi,
The SDK for Pocket PC is actually available for free at Microsoft!
You just have to search a little for it: use "Pocket PC SDK 2002" as keywords at www.microsoft.com, or try this direct link:
http://www.microsoft.com/downloads/...4a-bd94-4167-b817-2b2e548b2e92&DisplayLang=en
The SDK for Pocket PC 2003 only includes VC++ 4.0, but the SDK for Pocket PC 2002 contains both VCC++ 3.0 and Visual Basic CE 3.0.
For VB Apps to run, you need to install the VBRUN-Runtime library on the PDA.
Be aware that embedded VB has some severe drawbacks, compared to VB6:
- you don't have the DoEvent command, so no "multitasking"
- you don't have VAR() and VAL()
- you don't have many of the controls
- it is VERY slow
More info's about it:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbceide/htm/evbstart.asp
Cheers,
vma
VBRuntime.cab
VBRuntime.cab
Note that it is better to write your apps in Visual C++ rather than VB, as VB will not be supported on future devices...
eMbedded Visual Basic can run on WM 2003, just use the following link to download the runtime library from the following link:
http://msdn.microsoft.com/mobility/windowsmobile/downloads/evb_eula.aspx
This will allow any applications written using eVB 3 to run on your device!

I am finding a tools that can edit AC3 font! TKS!

Hello,
I need a tool to decompresses a Chinese AC3 font(font file with extension .ac3, such as sunfon.ac3 ) to ttf(ttc) font, so i can use ttf(ttc) font tool to edit it!Thanks!
I am finding a tools that can compress TTF/TTC font to AC3! TKS!
And I need a tool to compresses a Japanese TTF/TTC font(font file with extension .ttf or .ttc, such as YOzR04S_.TTF or msgothic.ttc ) to AC3 font, so i can convert latest version of MS Gothic/MS PGothic/MS UI Gothic TTC from Windows Vista to AC3 so I can put it into my own WM6 ROM kitchen!Thanks!
(Sorry for plagiarizing your initial words.)
I tried to contact Monotype (the creator of the AC3 font compression technology) to see if they had a TTF/TTC to AC3 compressor for sale; no response. I posted my request/inquiry on the MSDN Forum (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3143857&SiteID=1), and instead I got a stupid response from the moderator stating that the inquiry was off-topic and that I had to post it on the Windows Mobile Forum. I did so (https://forums.microsoft.com/WindowsMobile/ShowPost.aspx?PostID=3774818&SiteID=65), and the only response I got was that I would get a quicker response if I posted it on MSDN Forum (but if I do so again, it'll be again marked off-topic and would issue a potential user-banning flag to the moderator there). So, both Microsoft forums are right now useless to discuss TTF/TTC to AC3 conversion.
joef said:
Hello,
I need a tool to decompresses a Chinese AC3 font(font file with extension .ac3, such as sunfon.ac3 ) to ttf(ttc) font, so i can use ttf(ttc) font tool to edit it!Thanks!
Click to expand...
Click to collapse
Hey, I couldn't find any tool for decompressing an AC3 font to TTC/TTF, but I just downloaded the evaluation version of Windows CE 5.0 Platform Builder and found that it includes already-decompressed TTC and TTF fonts, including SC_Song (sunfon.ttf, the uncompressed version of sunfon.ac3). So, there are no AC3-to-TTF(C) decompressors available (as far as I know; Google returns nothing except Dolby AC3 codecs which are a completely different topic), but if you just need a decompressed font to edit it, then you'll want to check WinCE 5.0 Platform Builder below; the TTC and TTF files you want are already included in the Platform Builder.
You can download Windows CE 5.0 Platform Builder Evaluation Version (120-day trial) online-setup bootstrapper at http://www.microsoft.com/DownLoads/...50-D311-4F67-9FB3-23E8B8944F3E&displaylang=en
Note that you will need Microsoft .NET Framework 1.1 installed before running setup, and if you have Windows Vista, you'll have to do this to install .NET Framework 1.1: http://kbase.gfi.com/showarticle.asp?id=KBID003100
The WinCE 5.0 setup.exe you download from the Microsoft link above will ask you what components you want to install (i.e., choose only ARM architecture, MIPS, x86, ARM+x86, or all architectures) and it will download you only those components you chose (there is no downloadable/redistributable full installer, although you can order a DVD which has the full installer but that would be both a waste of money and a waste of resources because you will only need ARM architecture files since almost all WinMo PPCs are ARM-based). Once all your chosen components have been downloaded to some folder in your C:\ drive, you'll find the fonts inside a "Public" subfolder; you can use Windows Search to find *.ttc or *.ac3 inside that subfolder.

** 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?

[SOLVED] Disassembling DLLs in WP7 firmware?

Hi there, first post but I could use some assistance.
I took the stock emulator image that's included with the dev tools and ran (I believe, this was a bit ago) viewbin.exe, cvrtbin.exe, and dumprom.exe on the image (basically the same technique that's used to dump the Zune firmware), resulting in all the files.
In particular, I'm looking to reverse engineer the MTPZ protocol, so I looked at MtpHandshakePlugin.dll which seems to be just what I need based on the strings contained within. When I load it into IDA Disassembler, IDA correctly finds strings and the exports and imports and what not. The problem is, it can't seem to find any function declarations or code. The only code it auto-analyzed was the start function, which was two instructions, the second instruction being a jump into a memory location it couldn't find. Prior to analysis IDA informed me that MIPS (the architecture of the image) supported memory mapping and that I could manually map addresses.
So, I assume that this jump address is memory mapped and I have to figure out where to map that to, after which IDA should be able to find all the code. The problem is, how do I know where to map the address to?
Long-ish post, I know, but any help would be much appreciated!
Hi,
Your problem is that IDA is using the wrong machine type. The DLL's are X86 from the emulator not ARM. You need to switch the machine type in the PE header to X86.
I typically just do this by hex editing the byte sequence C0 01 to 4C 01 but you can use any PE editor for this.
Ah, you are absolutely right. The thought crossed my mind earlier but I quickly dismissed it. Everything seems to be analyzed perfectly.
Thanks a ton!

[App-DEV]Windows Mobile - Thunderbird Sync (0.2a)

Windows Mobile Thunderbird Sync (WMTS)
Current status: development ended
Last update: December 4th , 2015
Code:
*** Disclaimer
[COLOR="Red"]This software comes with no warranty.
I won't be responsible for any damage you do to your phone or your data[/COLOR]
[B]Do not publish this software in any other way than linking to this XDA-Thread! [/B]
Introduction
Hi Folks,
I was annoyed by the not-free sync software for Thunderbird out there, so I decided to create my own (free). I hope you will find it useful.​
Summary
Would you like to sync your WM 6.x device calendar with your Thunderbird/Lightning calendar ?
WMTS is going to do that (in the future ) !
It is a dektop application, that lets you decide in which way you want to sync: device -> desktop, desktop -> device, manual comparison, etc.
All you need is ActiveSync / WMDC.​
Pictures
yet to come ...​
Features
(* planned ; ~ currently under development)
export mobile calendar / sync with Thunderbird/Lightning
import calendar entries from TB-Lightning onto your mobile device
sync your phone contacts with your TB contacts
Installation Instruction
* Download the zip-archive
* unpack into seperate folder (for example: "\Desktop\WMTS"
* connect your Windows Mobile phone via ActiveSync
* run the application​
Change log
0.2a
should work on x86 !
extended exception catcher.
benchmark function finalized (but not ready to use in alpha)
completed mobile output file
several stuff
NOTE: collecting appointments can take several seconds, depending on amount.
NOTE: Program freezes during colletion. ( background worker not yet implemented)
0.1
Initial release
Downloads
(please look at Post #2)
WMTS_0.2a.zip
WMTS_0.1a.zip​
FAQ
nothing yet​
Credits
MSDN
OpenNETCF
-------------------------------
Download section
Versions
0.2 a (2013-03-15) : For alpha testing
0.1 a (2012-09-27) : Pre release
Things that should work
Run desktop app
deploy device side app onto device, if not existing
establish connection to device side app
receive a file that contains (not quite perfect) image of mobile calendar
Alpha-testers guideline
Alpha-Testers needed
I would like to have someone to look at the current version, to get to know any issues that might occur on other machines than mine.
For example x64 / x86 related problems, .NET-Problems , and so on.
Help
If you think you can help me in any way, for example handling the POOM, reading calendar data properly or accessing the SQLite database of Lightning and such, feel free to post here​
Instructions
load the latest file
clear previous folder on your phone
WMTS-folder (desktop application) can be stored anywhere, for example Desktop
Be sure to have .NET Framework
Be sure to have ActiveSync/WMDC installed
read Instructions-file
please report errors and bug in this forum !
errors are stored in a log file
​
Version
0.2a
...
0.1a
Information
At this early stage of development, WMTS is only capable of reading data, so there is nearly no chance that you overwrite your calendar data.
wmts-mobile.exe will be stored in \WMTS\
Use:
connect phone via ActiveSync
Button "Present" : veriefies existence of mobile device and mobile side application
Button "Receive" : after it's done, look into WMTS-Folder, if a xml file has been created
list of bugs
program freeze during collection
after a failed export, wmts-mobile is blocked on the phone, which means it can't be overwritten or deleted or started
wmts-mobile exception cause crash, so no log is available
Details (Development)
How it works
Device side application
desktop side application
desktop app calls mobile side app via RAPI
mobile side app gathers required information and ouptuts it to file
dektop app copies file to PC
desktop app reads out data from Thunderbird
desktop app executes procedures, chosen by user
Data format
XML
maybe switch to JSON ...
To Do
[done]improve device side output file
implement SQLite handling to access Lightning
create compare mechanism
implement import function on device side
Hi
test positive.
Program connected, transfered data from device into file data_mobile.xml
XML contains only tasks.
Tested with HTC HD2 WM6.5 29022
thanks.
next test release will be up in about two weeks, including a first attempt on Thunderbird/Lightning database access and fixed appointment output file and a benchmark function to measure transfer speed.
fradd said:
[...]
Thanks for the effort, this could be very useful but not working so far.
desktop - win8 x64
m device - ipaq hx4700, wm 2003se, .net3.5
"exe present on device" passes smoothly, but "retrieve data" crashes mobile's exe. Cant find any logs on either device.
ipaq's report:
File or assembly name 'Microsoft.WindowsMobile.PocketOutlook, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35', or one of its dependencies, was not found.
Details:
wmts-mobile.exe
TypeLoadException
File or assembly name 'Microsoft.WindowsMobile.PocketOutlook, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35', or one of its dependencies, was not found.
at WMTS.Program.Main(String[] args)
desktop's report:
Exception raised:
OpennetCF.desktop.commuicaton.RAPIException: Could not open remote file
at OpennetCF.desktop.commuicaton.RAPI.copyfilefromdevice(stringLocalFileName, String RemoteFileName, Boolean Overwrite)
at WMTS.Form1.button1_click(Object sender, eventArgs e)
Click to expand...
Click to collapse
0.2a is available now (see second post). have a closer look at the logfile.
Hi, what's the difference between your product and iCal parse?
newhtchd2 said:
Hi, what's the difference between your product and iCal parse?
Click to expand...
Click to collapse
as far as i understand, "ical parse" is only able to handle ical-files, no connection with thunderbird (you may have to import the files by yourself)

Categories

Resources