[HELP] Q3 Arena - Windows Phone 7 Software Development

Hi developers,
In Dynamics ROM v1.21 is app call XAP Deployer and this app can launch .EXE file from WIN CE.
I test Quake 3 Arena, but problem is with Memory. Screenshot below.
Source code - https://code.google.com/p/q3ce/source/browse/

I didn't realize this was even possible... can you really run windows CE/Mobile apps in WP7 with XAP deployer?
FYI though - that app required a RIDICULOUS amount of memory on windows mobile. it generally produced sub-par framerates, but with newer graphics acceleration in wp7 devices, it *COULD* actually be viable. I would think 512 mb of ram is enough - but in wp7 I believe there's a hard-cap as to how much ram one app can use at once. (quake 3 would definitely run above that cap)

XAP deployer really run WIN CE/Mobile apps. I tested Opera Mobile by Ultrashot and works.
I think, the problem is in the app. App hasn't access to memory and doesn't know, how much free memory I have. This access can be allowed with Heathcliff74 WP Root Tools. But I don't know, how compile source code with Root Tools.
And this version Quake running on HTC Touch Diamond (528MHz, 192MB RAM) and 1st Gen. WP device have min. (1GHz, 512MB RAM)

I'd love to see this actually running on my phone - does it work with 2nd gen devices? or just 1st gen?
There's a whole bunch of Windows Mobile apps I'd like to put on my Lumia (worms world party!!!!)
If quake could take advantage of the Adreno 200 in your device, you'd have a very smooth frame rate - anyone know if that's possible? Unfortunately, I know nothing about WP Root Tools - hopefully there's a way to lift the RAM limit

If you want Worms World Party, you must wait for Cotulla WML project. It's project about Windows Mobile Launcher on Windows Phone - video preview http://www.youtube.com/watch?v=1FNls9Hi6TQ
And XAP deployer is app for native running app from Win CE/Mobile and yes, works with 2nd gen. devices - http://forum.xda-developers.com/showthread.php?t=1637222 and you need Full Unlocked Device.

ONDR4SH3K said:
And XAP deployer is app for native running app from Win CE/Mobile and yes, works with 2nd gen. devices - http://forum.xda-developers.com/showthread.php?t=1637222 and you need Full Unlocked Device.
Click to expand...
Click to collapse
Have you tried anything else besides Quake? Just wondering if smaller apps/games might work.

...
The application must not exceed 90 MB of RAM usage. However, on devices that have more than 256 MB of memory, an application can exceed 90 MB of RAM usage. The DeviceExtendedProperties class can be used to query the amount of memory on the device and modify the application behavior at runtime to take advantage of additional memory. For more information, see the DeviceExtendedProperties class in MSDN.
...
Re: What's the typical download size and memory usage for casual WP7 games? Answer Reply Quote
The only limits you have to concern yourself with are those prescribed in the Application Certification Requirements:
20MB maximum XAP size if you want the player to be able to download your game from anywhere (called OTA for Over The Air). Any larger than this and the player will have to download the app via Zune on their PC.
90MB peak application memory use for devices with 256MB RAM.
...

XAP deployer doesn't run wince EXEs. It does as the title says, installs xaps to the phone from the phone, taking out the middle man(the computer). The function of running native exes is provisioned by the custom ROM that you have the phone.
Sent from my SGH-i917 using XDA Windows Phone 7 App

ryotgz said:
Have you tried anything else besides Quake? Just wondering if smaller apps/games might work.
Click to expand...
Click to collapse
He did say he tried opera mobile with it - but it looks like it was adapted by ultrashot to run as an XAP?

Related

[APP] EatMemory

In light of recent discoveries about the HD2's hidden 128MB RAM, I've written a small application which uses the native Win32 API to allocate as much memory as it can (up to 2GB), and verifies it.
Notes:
This application is designed to test the limits of your device's memory. In particular, to test if the HD2's additional 128MB is actually usable or not.
This application will attempt to allocate as much memory as it can, OS limits notwithstanding. The application allocates memory in the OS's shared memory space, which means that it isn't privy to the usual 32MB address space limit.
Because the application isn't limited to 32MB memory usage, you don't need to run multiple instances to consume your memory. Just one instance will do.
This application does not use .NET, and instead uses the direct low-level kernel memory management functions (VirtualAlloc and VirtualFree) to reserve, commit, and free virtual pages. This means that the application has much more precise control over memory, and can consume memory until only a couple of megabytes remain.
This application verifies the memory it allocates, by writing a byte pattern to the memory, and reading it out again. This is necessary because the Windows CE kernel does not commit pages to physical memory unless the memory page is read/written from at least once. This also guarantees that the memory is, in fact, usable and valid.
The attached zip file includes an executable file and source code (C++, requires Windows Mobile 6 SDK).
hi! i've tryed it in my rom without the hidden ram enabled and the result is:
Success:could not commit pages
memory eaten:132MB
and after the programs close my free ram is 145, i guess last 10mb are not usable for some reaso? (WM6.6 memory management?)
regards
makeveral said:
hi! i've tryed it in my rom without the hidden ram enabled and the result is:
Success:could not commit pages
memory eaten:132MB
and after the programs close my free ram is 145, i guess last 10mb are not usable for some reaso? (WM6.6 memory management?)
regards
Click to expand...
Click to collapse
also when used with rom with hidden rams avaliable it closes before it the 1mb is filled
hm, got 180 on my rom
Memory eaten : 276 MB
after 290 MB free
Sorry. This is not working for me... It did not constantly allocate any ram on my device...
with a modified version of my "old" program, i was able to eat up 99% of ram... Still, I think in my first attempt i did proof the existance, cuz i definetly used more then 448 MB of RAM....
greez
Soft-resetted my HD2, run the app. and got 204 MB. So does this proove that I don't have any hidden RAM or not?
everyone has 572mb- stop bothering...
We don´t have the 1. of april, but carneval is still going on, so this may be the reason for this joke i think.
I'm interested if this will work for X1?
it is for HD2
but onyone tst this for X1?
sorry for my bad english
Is 25 minutes to long
I have the htc touch pro with mightyrom and i am running this now. it has been about 25 mins. is that to long or can i assume it does not work on my pro.
Do you think this would work on Rhodium too?
Thanks,
Im getting 272-276mb eaten fairly consistently after the os has been up for a few hours.
and 280-284mb after a soft reset on my HD2
bobcsc said:
I have the htc touch pro with mightyrom and i am running this now. it has been about 25 mins. is that to long or can i assume it does not work on my pro.
Click to expand...
Click to collapse
It's odd, it should work on any WM6 (or higher) device.
bobcsc said:
I have the htc touch pro with mightyrom and i am running this now. it has been about 25 mins. is that to long or can i assume it does not work on my pro.
Click to expand...
Click to collapse
the results window may get hidden Ive had that a few times.
use a taskmanager to bring it to the front
Work on Diamond 2 (Topaz) ?
abdess47 said:
Work on Diamond 2 (Topaz) ?
Click to expand...
Click to collapse
i try out but i don't see any change in ram memory... stil 179mB..
Keep in mind that the application frees up all the memory it chews once it's done. So after the application exits, your amount of free RAM will not be changed. The application should report how much memory it managed to allocate once it's done, and if you open up the memory screen in settings (or whatever) you should see the amount of free memory drop as the program runs.
Sounds like some pretty heavy stuff. this is gonna be huge
I think, this program can be used for cleaning ram
thank.

Extracting Native APIs? Possible...maybe.

Okay, so since the unlocked emulator has a file manager and task manager, does that mean it would be possible to extract them and run them on an actual WP7S device? And if that was possible, would it also be possible to extract the Native APIs from these apps? I'm fairly certain that they use Native APIs because ordinary apps can only access their own directory. I'm not very smart with these things, so sorry if it's obviously impossible or something.
It's wince - the native API is always there, where do you want to extract it from? Also some people figured out most WP7 apps from the emulator ROM are written in native as well. it's always here.
But you can't just put file manager on a WP7 device because there's no access for you to put anything on it, except apps from Marketplace you got the picture? even if we could cook our custom ROMs in the future the only thing we could do is throw in our own DLLs, services or background tools on it and customize it a little. I still doubt you'd be able to develop real WP7 style apps like a file manager or registry editor because the GUI is supposed to be written in Silverlight/XNA. And from those frameworks you can't access the native API unless Microsoft would add support for it.
101% dumb phone. If you think about it then WP7 is even WORSE then iphone.
But what if you could use Visual Studio to load it onto the device? If you look around in it, there is an option for that.
Actual devices will have to be unlocked for developement purposes to allow sideloading through Visual Studio and even then I doubt the system would be able to deploy native code. Developer phone means a yearly fee for membership in the MS developer programm.
I don't think that using native APIs from managed code would be impossible in the SDK - carriers, e.g. will be allowed to use it, but for normal applications the Security Context in .Net would prevent the programm from calling them (Code Security Managers are configurably available in Java and .Net from the beginning, so i believe that would be what MS uses to block access).
And of course programs using those wouldn't get on the marketplace.
Oh, too bad then, but thanks for your response anyway!
Fdo35 said:
Okay, so since the unlocked emulator has a file manager and task manager, does that mean it would be possible to extract them and run them on an actual WP7S device? And if that was possible, would it also be possible to extract the Native APIs from these apps? I'm fairly certain that they use Native APIs because ordinary apps can only access their own directory. I'm not very smart with these things, so sorry if it's obviously impossible or something.
Click to expand...
Click to collapse
Okay, the issue here is the lack of a few key DLLs: Windows 7 Series will not offer GDI most likely (I'm downloading the emulator set now, and will confirm this soon) and will lack comctl32.dll and the like, removing these functions. As it's been stated before, like Windows 7 uses the 6.1 NT Kernel, Windows Phone 7 series uses the 6.5 Windows CE kernel, at least, last that I've heard. It would then be both possible to bring Windows Mobile 6.5 DLLs over, but anything that calls GDI will not work. Solution? Make a mock GDI that uses the new render.
This isn't new either, Windows 7 uses WPF more than ever (Which composes most of the games as well as Windows Media Center), which is a 3D accelerated and fancier way to draw to the screen, and Windows 7's GDI subset has been updated to allow hardware acceleration granted the graphics card allows it (It's actually something the video card driver must tell Windows, as MSDN states)
Deploy native code, no. Run it, of course
I'll be investigating the possibility of native code here shortly. Chances are, you will need to set the target to ARMV6, and set the compile type to Native, not Windows. Most developers, if not all, probably have overlooked this.
I would expect that it'll require privileged access to run native code, so you'll need to solve the code signing problem.
ThymeCypher said:
Okay, the issue here is the lack of a few key DLLs: Windows 7 Series will not offer GDI most likely (I'm downloading the emulator set now, and will confirm this soon) and will lack comctl32.dll and the like, removing these functions. As it's been stated before, like Windows 7 uses the 6.1 NT Kernel, Windows Phone 7 series uses the 6.5 Windows CE kernel, at least, last that I've heard. It would then be both possible to bring Windows Mobile 6.5 DLLs over, but anything that calls GDI will not work. Solution? Make a mock GDI that uses the new render.
Click to expand...
Click to collapse
Well, I doubt things like comctl.dll and some other things like GWES will be that big of an issue once Platform Builder 7 is released and we can just generate these components ourselves. Hell, adding back GDI support (if those rumors aren't just lies) may be as easy as replacing the GWES with a less crippled one generated by Platform Builder. Maybe GDI support is still compiled in but just doesn't output directly to the screen using the default graphics driver implementation. That's how the Dreamcast implementation of Windows CE was. To even see apps like IE on the screen, you need to copy the contents of the standard WinCE GDI output to a DirectDraw surface.
What I'm more worried about is the hackability of the hardware/software. I'm really hoping it's not as insanely locked down to the point to being unhackable like every Zune.
do you think Platform builder is still available for WP7? Since MS won't allow the OEMs to modify the OS I doubt that. Do you have a source? You've seen an announcement from MS or something?
RAMMANN said:
do you think Platform builder is still available for WP7? Since MS won't allow the OEMs to modify the OS I doubt that. Do you have a source? You've seen an announcement from MS or something?
Click to expand...
Click to collapse
Platformbuilder is for the OS, which is Windows CE. There is still some debate as to what version the emulator is running, leaving alone the possibility that the actual version of the OS may be different at release.
If the CE6R3 camp is right, you can get platform builder for that right now, though you wont have telshell.exe (WP7 replacement for explorer.exe), and the WP7 specific apps. It would be an interesting exercise to see if they could be run on CE6R3. If no one beats me to the punch, I plan on trying this for myself when I am less swamped at work.
If the CE7 camp is right, you will have to wait till MS releases that version to the public. And they WILL release it because there are far too many embedded systems outside of phones that run on CE for them to neglect it.
No, I was talking about the generic Windows CE 7.0 Platform Builder and not the OEM specific OAK for WP7S. Unless MS plans to completely drop their generic Embedded Windows CE offerings, I see no reason why PB 7.0 will not be released and help with hacking WP7S (if it is even based on 7.0). You always needed to be a large ODM and sing an NDA to use a Platform Builder addon/OAK for the MS platforms like Pocket PC. Those almost never leak and I can't imagine this would be much different.
RAMMANN said:
do you think Platform builder is still available for WP7? Since MS won't allow the OEMs to modify the OS I doubt that. Do you have a source? You've seen an announcement from MS or something?
Click to expand...
Click to collapse
Yes, platform builder was used to build leaked wp7 arm image.
d:\wm700_6176\platform\common\src
\soc\qcom_v1\oal\power\sleep.c
It is from from nk.exe
use dumpbin.exe to get all methods in dll/exe

WP7 Apps Windows 7 Desktop

Could wp7 apps be unlocked to run on windows. They all run in silverlight right. Should it not be like a java app and run anywhere?
Interesting question. I think the developer would have little problem trying to recompile an app for Windows use (given Silverlight is already installed on the target PC), but XAPs are specifically compiled and signed for use on WP7 devices, and thus we can, at best, run them on a PC by deploying an extracted XAP on the Emulator.
kapanak said:
Interesting question. I think the developer would have little problem trying to recompile an app for Windows use (given Silverlight is already installed on the target PC), but XAPs are specifically compiled and signed for use on WP7 devices, and thus we can, at best, run them on a PC by deploying an extracted XAP on the Emulator.
Click to expand...
Click to collapse
If GAC constains required assemblies then it's possible. But it's useless (more than me )...
From what I seem to remember, when you compile for WP7 it compiles into Common Language Runtime. Its much like Java's bytecode but slightly different.
Assuming it does compile to CLR, apps should be able to run, so long as the needed frameworks exist.
windows 8 will do that
I suspect that Windows 8 will do just that. As Microsoft is planning to bring windows 8 to tablets with the Metro UI, i think wp7 apps will be really easy to run on windows 8, so they match the touch UI of the platform...
If you look at Game Chest: Logic Games, it contains a multiplayer game of Chess. If you challenge someone else to a game and they're not using a WP7 device, the notifications of game moves come through to them on xbox.com. When they click the notification, it actually fires up a version of Chess that is IDENTICAL to the one on my phone, in the browser. So it looks to me like they have done exactly what the OP is asking about, i.e. they have recompiled the game to run in silverlight under IE8.
It works brilliantly.

Convert 6.5 apps to WP7

Is this even possable with all of MS's tools to take a cab file from a 6.5 program and convert it to a WP7 app ?
No you can't, WP7 is a completely different beast than WM.
If you have the source code for your WM6.5 app and it uses the .NET Framework, you should be able to copy bits and pieces of code because Windows Phone apps are written in C# or VB.NET.
Dam, all I want is Remote desktop and UNO 1.63 (programers site is down, I would of asked for the source code) I hate the UNO in the marketplace.
Edit: found the programmer who made UNO 1.63, not supported any more, dropped him a line to see if he would release the source code for it.
no the real question is would it be possible to make an emulator, we're not talking about running games or playing video here so the overhead shouldnt matter too much
This app works great for Remote Desktop.
http://www.appsfuze.com/applications/windowsphone.tools/remote-desktop,14118
It's expensive, but the trial works fine. The limitation is that you can only be connected for 5 minutes at a time, then you have to wait 60 seconds before connecting again.
SimzzDev said:
This app works great for Remote Desktop.
http://www.appsfuze.com/applications/windowsphone.tools/remote-desktop,14118
It's expensive, but the trial works fine. The limitation is that you can only be connected for 5 minutes at a time, then you have to wait 60 seconds before connecting again.
Click to expand...
Click to collapse
There is an issue with that app, you can't make secure connections with it. As I have understand with this, MS is the only one who could create a perfect app for this.
Even the 6.5 version supported it....
I love WP7, but, just hate some of the limits, this is one of them...

[Q] Increase video memory Acer Aspire E1-571

I Have an Acer Aspire E1-571 running windows 8, 8gb of ram, intel i7 and Intel HD 4000 Graphics with "up to 1.7GB" Memory. The problem is that Photoshop requires at least 512mb as Minimum graphics but its set to 128mb and the optoin in BIOS to change it is grayed out (i thingk ther is som sort of barrier put ther by Acer). I wonder how to change it. This is a laptop so I cant by a new graphicscard
Any Idée?
Please help and excuse mt bad english.
isse26 said:
I Have an Acer Aspire E1-571 running windows 8, 8gb of ram, intel i7 and Intel HD 4000 Graphics with "up to 1.7GB" Memory. The problem is that Photoshop requires at least 512mb as Minimum graphics but its set to 128mb and the optoin in BIOS to change it is grayed out (i thingk ther is som sort of barrier put ther by Acer). I wonder how to change it. This is a laptop so I cant by a new graphicscard
Any Idée?
Please help and excuse mt bad english.
Click to expand...
Click to collapse
The HD4000 doesnt have upto 1.7gb at all. It does only have 128mb which is not changeable. The "upto 1.7gb" part comes from the fact that it uses your system memory. It actually uses 128mb of your main system RAM full time and may expand upto 1.7gb. Photoshop will run fine on an HD4000 anyway.
There is no problem here.
SixSixSevenSeven said:
The HD4000 doesnt have upto 1.7gb at all. It does only have 128mb which is not changeable. The "upto 1.7gb" part comes from the fact that it uses your system memory. It actually uses 128mb of your main system RAM full time and may expand upto 1.7gb. Photoshop will run fine on an HD4000 anyway.
There is no problem here.
Click to expand...
Click to collapse
Yes, but I need to set the minimum memory to 512mb or Photoshop won't let me work, altho I have dynamic memory.
Is ther any way I can "reserv" more memory for the graphics or trick photoshop to thingk that?
PhotoShop shouldn't be attempting to block you from working on 128mb. And no, you cannot force the card to allocate more or trick PhotoShop to my knowledge. PhotoShop should launch fine. Perhaps update your video drivers directly from Intel not from windows update or Acer.
SixSixSevenSeven said:
PhotoShop shouldn't be attempting to block you from working on 128mb. And no, you cannot force the card to allocate more or trick PhotoShop to my knowledge. PhotoShop should launch fine. Perhaps update your video drivers directly from Intel not from windows update or Acer.
Click to expand...
Click to collapse
Photoshop Is working fine on All aspects but 3D. The 3D workspace and funktions demands that I have 512mb of "minnimum Vide RAM" altho I have dynamic memmory.
@isse26
I have the same problem!
I am using an Acer E1-571 (i5-3230M 4GB Intel HD4000) with a "limited" BIOS and Ubuntu 12.04 LTS.
Acer-Support (Germany) will not give an "open" BIOS !!!
So I can't enable 3D-Desktop in Ubuntu
Found this on Intel.com:
https://communities.intel.com/thread/33279
Click to expand...
Click to collapse
So we need a "open BIOS" ...
[duno] said:
@isse26
So I can't enable 3D-Desktop in Ubuntu
Click to expand...
Click to collapse
Fixed my problem, new kernel (3.9.5) and new mesa.
3D desktop is working now with the Intel HD4000

Categories

Resources