Anyone Know Anything About Compiling UWP?

Charles_n_town

Senior Member
I've been having a very difficult time compiling sonic mania for the series x. I've got it compiled to uwp, and it works fine. however, I'm having a problem converting it to an installable file. I'm debugging it here to see if it runs, which it obviously does. however, whenever I sign the file, it requires a password certificate. the official release does not, and I'm not sure how that's done as visual studio states that all appx/etc. files must be signed, so I guess I'm stuck. any help would be appreciated.



upload_2024-8-6_9-12-59.png
 
I got it to work, but I was unable to do so without verifying my signed ticket. it's a signed ticket I made, so there's nothing scary about it. however, the release version doesn't force you to use a ticket or rather certificate, so it may be some universal certificate that would be on your system?
upload_2024-8-7_18-1-8.png
 
the artwork looked somewhat messed up on the series x. you can use a single image with the package appmanifest, and generate the rest of the artwork (about 60 images). here's what it looks like now. I used www.tinypng.com to compress a few images. only one was still too large, so I increased the canvas size of transparency. it looked a little weird in the gui, but it looks fine on the system.

I also learned how certificates work, from a friend. you don't need to add a password, but the windows pc requires a certificate for uwp. however, the series x doesn't seem to care about "trusting" the certificate, so it will install without having to do so.
 

Attachments

  • PXL_20240809_015934030.jpg
    PXL_20240809_015934030.jpg
    1.7 MB · Views: 611
I got both x64 and x86 compiled in the same package:

upload_2024-8-15_9-55-37.png


I almost got ARM and ARM64, but both error with libtheora 1.2.0 compiling. uwp is missing its static library.
 
this took me a while to figure out (over an hour for sure), but I built sonic 1 and 2 for uwp. they install on windows with a certificate, and the xbox series x without one. the certificates last a year, I think, so not really worth it on windows. the series x doesn't care about certificates. they're old as they needed SDL 2.0.16, which took me a long time to figure out. both work fine on the series x. I can't share them as they have the assets baked in unlike mania.

upload_2024-8-23_16-17-14.png


upload_2024-8-23_16-17-51.png


upload_2024-8-23_16-18-33.png
 
sorry for the double post, but I just built sonic cd for uwp. it took some effort with SDL2 and libtheora, plus it needed four video files out in the open:

edit: and, I fixed everything with mania. no more fast movement with high refresh rate, plus x86/x64 together in one file.
 

Attachments

  • image.png
    image.png
    70.7 KB · Views: 26
What I was asking is if you Berion could make me some assets?
 

Attachments

  • PXL_20240829_151312091.LONG_EXPOSURE-01.COVER.jpg
    PXL_20240829_151312091.LONG_EXPOSURE-01.COVER.jpg
    2 MB · Views: 1,192
Last edited:
I'm not familiar with XS ui at all, you would need to show me first, the same content type, how it looks like on eg. some game and tell me assets dimensions according to official spec.
 
took me a few moments to remember what to install to build uwp, since I had to reinstall the os. anyway, this is probably the worst of them, since it's the same icons as safe exit, which allows you to safely exit out of dev mode on the series x/xbone without all apps being deleted. this is for sonic cd.
 

Attachments

I got plus working just now by using a friend's fork. I installed it to my pc, but I'll probably install it to the series x at some point.

upload_2024-9-6_11-38-58.png
 
I have downloaded zip but what still missing is knowledge where they all are displaying. That's why another example (from some existing game or homebrew), this time not placeholders, would be very handy. ^^
 
I'm not exactly sure where each one is displayed. I asked a friend on discord about this, when mania was missing multiple assets, and he used retroarch as an example. I hope he's okay with me posting his response, but here's what he said:

upload_2024-9-7_12-48-4.png


upload_2024-9-7_12-48-49.png


upload_2024-9-7_12-49-36.png


upload_2024-9-7_12-50-17.png


upload_2024-9-7_12-50-40.png
 

Attachments

  • upload_2024-9-7_12-45-23.png
    upload_2024-9-7_12-45-23.png
    24.8 KB · Views: 21
  • upload_2024-9-7_12-45-58.png
    upload_2024-9-7_12-45-58.png
    22.1 KB · Views: 20
got mania working on the series x. the first one that I showed didn't work due to the game logic file not being present. I think it's because it was a release version instead of debug, which is irrelevant on windows. I'm assuming dev mode requires the debug version, but I'm not sure. anyway, now it works.
 

Attachments

  • PXL_20240906_210117775.MP.jpg
    PXL_20240906_210117775.MP.jpg
    486.9 KB · Views: 19
The guy who made the plus fork was my friend. The name was slightly different, but close enough so I inquired. He told me what he edited to enable plus. I tested it with wam's. It worked perfectly.
 

Similar threads

Back
Top