Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-03-2018, 23:58
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,032 Times in 3,084 Posts
pakrat2k2 is on a distinguished road
Question UWP Info Conversion Designers

Thanks goes to prudislav for information & files posted here. Thought be better place then in requests topic.

Quote:
Originally Posted by prudislav
Quote:
Originally Posted by pakrat2k2
hey do you still have the info for shortcuts for the UWP
games ?

you posted in requests but it got cleaned out, & i didnt have chance to C/P it in notepad for later conversion...

I did read that you can also drag the start menu item for game to desktop & create a shortcut to it on desktop & it will play that way ??

Gonna be a real pain in the ass to figure out how to NOT create desktop shortcut & only start menu item, unless I can implement the info for desktop shortcut for those 3 UWP games.

thanks
hi
drag and dropping from startmenu works but its not really something that can be automated and put to desktop
... so it has to be done the otherway aka using batchscript with launch command conveted to exe ;-)
so parameters i know so far are
Zoo Tycoon: explorer.exe shell:AppsFolder\Microsoft.ZooTycoon.136d332137_8w ekyb3d8bbwe!MSTycoon.app
AoE:DEs: explorer.exe shell:AppsFolder\Microsoft.MSDallas.136d332137_8we kyb3d8bbwe!App
ForzaHorizon3 explorer.exe shell:AppsFolder\Microsoft.OpusPG_8wekyb3d8bbwe!Op usReleaseFinal
ForzaMotorsport7 explorer.exe shell:AppsFolder\Microsoft.ApolloBaseGame_8wekyb3d 8bbwe!forzamotorsport7

in general its explorer.exe shell:AppsFolder\APP_FAMILY_NAME!AppId
- AppId is taken from <Application Id> tag from AppxManifest.xml
- APP_FAMILY_NAME is taken rom "PackageFamilyName" you get from Get-AppxPackage powershell comand when the game is installed

As for actuall UWP un/instalaltions ..... you need two powershell commands where the parameter is PackageFullName from Get-AppxPackage
for example
install: Add-AppxPackage -Package "Microsoft.ZooTycoon.136d332137_1.1711.52116.2_x64 __8wekyb3d8bbwe"
uninstall: Remove-AppxPackage -Package "Microsoft.ZooTycoon.136d332137_1.1711.52116.2_x64 __8wekyb3d8bbwe"


BTW: Currently i am tryin to code some kind of UWP launcher that just reads the needed info automatically and launches the game based on appmanifest file in the folder, but might take a while
Quote:
Originally Posted by prudislav View Post
ok fixed commands:

Batch Install: (must be run from root)
Code:
powershell -Command "Add-AppxPackage  -Register "AppxManifest.xml""

Uninstall:
Code:
powershell -Command "get-appxpackage NAME | remove-appxpackage"
NAME = Package.Identity.Name from AppxManifest.xml

Run
Code:
explorer.exe shell:AppsFolder\PackageFamilyName!AppId
AppId = Package.Applications.Application.ID from AppxManifest.xml
PackageFamilyName = powershell -Command "get-appxpackage NAME" and its the PackageFamilyName result
(game must be istalled for this command to work)
(NAME is same as above)

In the attachment I created basic universal scripts thar should work for all unpacked UWP apps (Run one needs to be improved ... for example catches if the game is installed or if appmanifest.xml exists or other checks)
So batch should be run from game root folder (where AppxManifest.xml is located)?

Quote:
Originally Posted by KaktoR View Post
So batch should be run from game root folder (where AppxManifest.xml is located)?
if you use the Batch commands specified to selected title like in case of ZooTycoon
Code:
powershell -Command "Add-AppxPackage  -Register "AppxManifest.xml""            (install)
powershell -Command "get-appxpackage Microsoft.ZooTycoon | remove-appxpackage"      (uninstall)
explorer.exe shell:AppsFolder\Microsoft.ZooTycoon_8w ekyb3d8bbwe!MSTycoon.app   (run)
only install one needs to be in root as it reads AppInfo from AppManifest.xml
From what i read i even should work like that even if in that root is game packed in *.appx (but havent properly tested that)

Personally for desktop shortcut, i will probably just convert the RUN command to exe , add icon to it, put it to root and link deskop shortcut do this new exe

BTW: If you use my universal script , they all read from the file (you can check the code).
Also in attachment i improved the universal RUN script that now checks for appmanifest and if app is installed (with alternative one that autoinstalls when finds that app is not installed)

EDIT 2: added exe forms of the universal scripts (launcher v2 has the autoinstall included)
Attached Files
File Type: zip Universal UWP run 2.0b.zip (1.4 KB, 132 views)
File Type: zip UniUWP_exet.zip (262.8 KB, 131 views)
Reply With Quote
The Following 8 Users Say Thank You to pakrat2k2 For This Useful Post:
EzzEldin16 (26-03-2018), fatalerror1 (12-03-2018), GTX590 (15-03-2018), kenzo34 (10-09-2018), SalFisher47 (09-10-2018), Simorq (17-09-2018), Titeuf (18-09-2018), zirkhaki (07-04-2018)
Sponsored Links
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ultimate Conversion Compressor (UCC) vollachr Conversion Tutorials 55 26-04-2021 10:27
Ankh Trilogy - AIO Conversion - 1xDVD5 [CIUv2.0.5.1g] vollachr PC Games - CD/DVD Conversions 2 27-04-2018 09:27
Source Code: Conversion Converter Razor12911 Conversion Tutorials 66 31-03-2018 19:53
NASCAR The Game 2013 (inno setup script) sentinelks PC Games - CD/DVD Conversions 28 08-09-2013 21:30



All times are GMT -7. The time now is 08:56.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright 2000-2020, FileForums @ https://fileforums.com