Skip to content
forked from 8212369/WPR

[W]in[P]hone 7-8 Apps [R]unner. Win11 Desktop/Android only (Avalonia-based experimental/research project)

License

Notifications You must be signed in to change notification settings

mediaexplorer74/WPR

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WPR 0.0.12-alpha :: dev branch

WPR is a WP7-8 XNA app runner. This is only some clone of WPR, not the original.

CAUTION: this dev branch is for internal dev use. Experienced devs only.

Status

  • I started experimenting with .NET 8 & Avalonia 11.1.0... So, I did some steps to support real multiplatform solution (see list of projects in UI folder).
  • With help of Trial mode of WindSurf (and ChatGPT 4 AI) I repaired Android-related parts of WPR code... (but still work-in-progress!).
  • Some experimental "UI improvements applied ("Two small Run and Uninstall" icons added to main/larg icon in app/game list). Run & App also added to popup/context menu.
  • All AI-generated things not tested yet (no Android device, and Android emulator errors because of my veeeey poor hardware; also, I never haved any iOS device ... so, help needed)
  • For Android target, I set Min. Supported Android Api version to 21, and Main Android Api version - 34.

Tech. details

  • Newest VS 2022 Preview used to "assemble" (build) this "dev branch"
  • I think that WPR "dev edition" incompatible with Win10 because of .NET 8... So, fresh Windows11-based OS needed to run WPR (Official Win 11 Pro recommended.. however, some reduced Windows 11 Tiny is good choice too, for example my 15-year-old retro-notebook Sony Vaio)))

Bugs

  • After Avalonia 11.0.999-beta upgrade I damaged Windows target:
System.TypeInitializationException: 'The type initializer for 'DialogHost.DialogHost' threw an exception.'

MissingMethodException: Method not found: 'Avalonia.StyledProperty`1<!!1> Avalonia.AvaloniaProperty.Register(System.String, !!1, Boolean, Avalonia.Data.BindingMode, System.Func`2<!!1,Boolean>, System.Func`3<Avalonia.IAvaloniaObject,!!1,!!1>, System.Action`2<Avalonia.IAvaloniaObject,Boolean>)'.
  • Android target damaged too... idk how to fix it.

Mini-FAQs

  • Some games will requre touch screen. In WPR, touch taps emulation (via mouse) is not full (or not present, idk). Example: Skulls of the Shogun.
  • Some games have not full screen (or only part of Windowed zone). Example: Zuma Revenge!
  • Some games can't install because of no WMAppManifest.xml inside xap file. Ho to fix: rename .xap to .zip, and fix WMAppManifest.xml data. For example, I used WMAppManifest.xml (from EarthWormJim.xap) to patch attributes in ZumaRevenge.xap:
<?xml version="1.0" encoding="utf-16"?>
<Deployment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" AppPlatformVersion="7.0" xmlns="http://schemas.microsoft.com/windowsphone/2009/deployment">
  <App Author="Electronic Arts" Description="" Genre="apps.games" ProductID="{128459e9-47a9-df11-a844-00237de2db9e}" Publisher="ElectronicArts" RuntimeType="XNA" Title="Zuna Revenge!" Version="1.0.1.0" xmlns="">
    <IconPath IsRelative="true" IsResource="false">PhoneGameThumb.png</IconPath>
    <Capabilities>
      <Capability Name="ID_CAP_NETWORKING" />
      <Capability Name="ID_CAP_SENSORS" />
      <Capability Name="ID_CAP_MEDIALIB" />
      <Capability Name="ID_CAP_GAMERSERVICES" />
      <Capability Name="ID_CAP_IDENTITY_DEVICE" />
    </Capabilities>
    <Tasks>
      <DefaultTask Name="_default" />
    </Tasks>
    <Tokens>
      <PrimaryToken TokenID="ZumasRevenge.GameMain" TaskName="_default">
        <TemplateType5>
          <BackgroundImageURI IsRelative="true" IsResource="false">Background.png</BackgroundImageURI>
          <Count>0</Count>
          <Title>Zuma Revenge!</Title>
        </TemplateType5>
      </PrimaryToken>
    </Tokens>
  </App>
</Deployment>

ToDo

  • Actualize Wiki section
  • Transtale Readme to RU and CN
  • Fix resolution scaling...
  • Port this "app creature" into Xamarin Forms or Uno "multi-platform engine" :)

Credits

Another cool forks I noticed over 3 years

:: ::

AS IS. No support. Developers / Geeks only. "DIY mode"

::

[m][e] June, 20 2025

[ https://www.youtube.com/watch?v=X-G8oXebid0 ]

About

[W]in[P]hone 7-8 Apps [R]unner. Win11 Desktop/Android only (Avalonia-based experimental/research project)

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • C# 95.9%
  • HTML 3.7%
  • Other 0.4%