• Dear Cerberus X User!

    As we prepare to transition the forum ownership from Mike to Phil (TripleHead GmbH), we need your explicit consent to transfer your user data in accordance with our amended Terms and Rules in order to be compliant with data protection laws.

    Important: If you accept the amended Terms and Rules, you agree to the transfer of your user data to the future forum owner!

    Please read the new Terms and Rules below, check the box to agree, and click "Accept" to continue enjoying your Cerberus X Forum experience. The deadline for consent is April 5, 2024.

    Do not accept the amended Terms and Rules if you do not wish your personal data to be transferred to the future forum owner!

    Accepting ensures:

    - Continued access to your account with a short break for the actual transfer.

    - Retention of your data under the same terms.

    Without consent:

    - You don't have further access to your forum user account.

    - Your account and personal data will be deleted after April 5, 2024.

    - Public posts remain, but usernames indicating real identity will be anonymized. If you disagree with a fictitious name you have the option to contact us so we can find a name that is acceptable to you.

    We hope to keep you in our community and see you on the forum soon!

    All the best

    Your Cerberus X Team

HOW TO: Build Windows Phone 8/8.1 target

muruba

New member
CX Code Contributor
3rd Party Module Dev
Tutorial Author
Patreon Silver
Joined
Jul 5, 2017
Messages
230
Unless merged into main Cerberus repo this is based on a fork changes:
https://github.com/IvelleGames/Cerberus/tree/develop


This tutorial is based on Microsoft Visual Studio Community 2015.

Download and install it from Microsoft web site.

In your Cerberus folder, open the file bin/config.winnt.txt and change the following variables:

MSBUILD_PATH="C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe"

Build the project in Ted/Jungle IDE/Mollusk for Win RT Phone target.

1. Open the generates solution in Visual Studio: ./xxx.buildv2017-10-24/winrt_winphone8/CerberusGame.sln

  • Be careful changing game properties! If the game fails to start/compile after the changes, re-build and make changes one by one.

2. Update game properties:

upload_2017-11-6_21-27-57.png


upload_2017-11-6_21-31-37.png


The values of ProductID, Author, Publisher and PublisherID are only relevant for local testing and are overridden when submitting your app to the Windows Phone store...

https://stackoverflow.com/questions/15791591/are-package-product-ids-mandatory-in-wmappmanifest-xml

3. Change XAP file name:

upload_2017-11-6_21-58-10.png


4. Replace icon images:

\winrt_winphone8\Assets\ApplicationIcon.png (100x100)
\winrt_winphone8\Assets\Tiles\FlipCycleTileLarge.png (691x336)
\winrt_winphone8\Assets\Tiles\FlipCycleTileMedium.png (336x336)
\winrt_winphone8\Assets\Tiles\FlipCycleTileSmall.png (159x159)

\winrt_winphone8\Assets\Tiles\IconicTileMediumLarge.png (134x202)
\winrt_winphone8\Assets\Tiles\IconicTileSmall.png (71x110)




Build Release XAP for the ARM architecture (\winrt_winphone8\Bin\ARM\Release) and submit to Windows store or click on "device" button to run on the phone.


upload_2017-11-6_21-19-24.png


To be continued
 
Last edited:
Awesome, thanks for that. This will be in the next release of Cerberus. :)

Out of curiosity, those apps will likely work with Windows 10 mobile as well, right?
 
Interestingly enough Windows Store marks the built package as Windows phone 10 ready as well which is nice. I can't test at the moment, still waiting for my Win 10 phone from remote China lands!

upload_2017-11-6_21-43-28.png
 
I install the Microsoft Visual Studio Community 2015.
and change bin/config.winnt.txt to include proper MSBUILD_PATH

But on compile bouncyaliens example code for testing, I got this error..


"D:/Cerberus_20180302/bin/transcc_winnt" -target=Windows_RT_Game_(Phone) -config=Debug -run "D:/Cerberus_20180302/examples/mojo/mak/bouncyaliens/bouncyaliens.cxs"
TRANS cerberus compiler V2018-03-02
Parsing...
Semanting...
Translating...
Building...
TRANS FAILED: Error updating target project - can't find block begin tag 'CONTENT'. You may need to delete target .build directory.
Done.

Could someone please help. I try to target Window Phone
 
Back
Top Bottom