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

Reply
 
Thread Tools Display Modes
  #1  
Old 08-03-2018, 22:58
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,028 Times in 3,083 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
  #2  
Old 09-03-2018, 00:45
prudislav prudislav is offline
Registered User
 
Join Date: Jan 2009
Location: moon
Posts: 484
Thanks: 267
Thanked 189 Times in 135 Posts
prudislav is on a distinguished road
Additional note , the above goes mainly for unpacked UWP files (also my launchers)

Packed ones (aka *.appx or *.eappx container) brings some issues, especially the encrypted ones (like forced use of C:\Program Files\WindowsApps folder)
When they are packed the install command should link to the the (e)appx instead ... and the AppManifest.xml file is inside that package.
No clue if the AppManifest.xml is reachable in *.eappx (encrypted one)

Also: UWP Redists .. aka Store, Xbox app and stuff (some people have Win10 without Storeapp)
Code:
http://www11.zippyshare.com/v/LjCBTvSq/file.html

Last edited by prudislav; 09-03-2018 at 01:42.
Reply With Quote
The Following 5 Users Say Thank You to prudislav For This Useful Post:
GTX590 (10-03-2018), pakrat2k2 (09-03-2018), Simorq (17-09-2018), Titeuf (18-09-2018), zirkhaki (23-06-2018)
  #3  
Old 10-03-2018, 12:32
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,336
Thanks: 1,076
Thanked 6,927 Times in 2,615 Posts
KaktoR is on a distinguished road
Would like to know if installing using CIU works now or not?

If i understand correctly, UniUWP_Install.exe and UniUWP_Uninstall.exe should be executed from game directory?

UniUWP_Launcher V2.exe is for what exactly?
__________________
Haters gonna hate

Last edited by KaktoR; 10-03-2018 at 12:37.
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
GTX590 (10-03-2018)
  #4  
Old 10-03-2018, 14:16
GTX590's Avatar
GTX590 GTX590 is offline
Registered User
 
Join Date: Mar 2011
Location: Algeria
Posts: 650
Thanks: 1,163
Thanked 2,051 Times in 374 Posts
GTX590 is on a distinguished road
I'm really confused!!
Why not only updating CIU to handle this type of games?
That would be very simple to everybody in FF!!!
Reply With Quote
  #5  
Old 10-03-2018, 15:09
prudislav prudislav is offline
Registered User
 
Join Date: Jan 2009
Location: moon
Posts: 484
Thanks: 267
Thanked 189 Times in 135 Posts
prudislav is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
Would like to know if installing using CIU works now or not?

If i understand correctly, UniUWP_Install.exe and UniUWP_Uninstall.exe should be executed from game directory?

UniUWP_Launcher V2.exe is for what exactly?
as you see in the code attached ... the exes require to be in the same folder as appxmanifest.xml as it reads some info from it

Launcher v1 just executes the command o launch the game , base UWP game unsing register command only automatically creates desktop shotcut in start menu and UWP tiles cant be launched directly from exe
... so i just created exe that an launch it, where you can easily change icon and ;-)

Launcher v2(compared to v1) has some checks in place (aka if game is installed (then autoinstalls it) or if launcher is next to appxmanifrst.xml)


Quote:
Originally Posted by GTX590 View Post
I'm really confused!!
Why not only updating CIU to handle this type of games?
That would be very simple to everybody in FF!!!
yeah but thing is for each game you need to to know the exact commands .. that must be executed for install/uninstall/run
Thats why i created the launchers as the simplify things a lot.

Also there is a problem that you can get three types of UWP apps
- extracted (where you can reach appxmanifest and for which launchers are for)
- appx containers ... basically renamed zips ... requires to modifiy the scrips. Cant be automatized but appxmanifest is reacheable to get needed info, cant be installed outside of the WindowsApps folder
- eappx ... encryped appx , scrables filenames , unreachableappxmanifest ... honestly have no clue how to deal with those
Attached Files
File Type: rar bat-poershell script version.rar (1.2 KB, 52 views)

Last edited by prudislav; 10-03-2018 at 15:20.
Reply With Quote
The Following 3 Users Say Thank You to prudislav For This Useful Post:
GTX590 (10-03-2018), SalFisher47 (09-10-2018), Simorq (17-09-2018)
  #6  
Old 10-03-2018, 16:27
GTX590's Avatar
GTX590 GTX590 is offline
Registered User
 
Join Date: Mar 2011
Location: Algeria
Posts: 650
Thanks: 1,163
Thanked 2,051 Times in 374 Posts
GTX590 is on a distinguished road
eappx files can be extracted (decrypted) using a command in PowerShell.
Here is an example:
add-appxpackage "F:\Microsoft.SpartaUWP_9.1.0.2_x64__8wekyb3d8bbwe. eappx"
In red is the exact path where the file to be decrypted or extracted is!!
Reply With Quote
  #7  
Old 11-03-2018, 03:50
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,336
Thanks: 1,076
Thanked 6,927 Times in 2,615 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by prudislav View Post
as you see in the code attached ... the exes require to be in the same folder as appxmanifest.xml as it reads some info from it
This appxmanifest.xml is always on root folder? I ask because i don't have any UWP game (i'm just the script editor )
__________________
Haters gonna hate
Reply With Quote
  #8  
Old 11-03-2018, 11:06
prudislav prudislav is offline
Registered User
 
Join Date: Jan 2009
Location: moon
Posts: 484
Thanks: 267
Thanked 189 Times in 135 Posts
prudislav is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
This appxmanifest.xml is always on root folder? I ask because i don't have any UWP game (i'm just the script editor )
when extracted and decrypted , yes
Reply With Quote
  #9  
Old 13-03-2018, 08:47
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,336
Thanks: 1,076
Thanked 6,927 Times in 2,615 Posts
KaktoR is on a distinguished road
Ok.

One last question: Can a game run from desktop shortcut? When target is Launcher V1 or Launcher V2?
__________________
Haters gonna hate
Reply With Quote
  #10  
Old 13-03-2018, 10:04
prudislav prudislav is offline
Registered User
 
Join Date: Jan 2009
Location: moon
Posts: 484
Thanks: 267
Thanked 189 Times in 135 Posts
prudislav is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
One last question: Can a game run from desktop shortcut? When target is Launcher V1 or Launcher V2?
yep (as long as its unpacked uwp app and that xml is in the folder)
.. difference between launcher V1 and V2 is just that V2 checks for installation and for the xml
Reply With Quote
The Following User Says Thank You to prudislav For This Useful Post:
KaktoR (14-03-2018)
  #11  
Old 14-06-2018, 10:05
prudislav prudislav is offline
Registered User
 
Join Date: Jan 2009
Location: moon
Posts: 484
Thanks: 267
Thanked 189 Times in 135 Posts
prudislav is on a distinguished road
BTW: you can check redists by
Code:
get-appxpackage  -Package "PackageFullName" |% {$_.Dependencies}
PackageFullName ... same thing as in OP
Reply With Quote
The Following User Says Thank You to prudislav For This Useful Post:
fatalerror1 (15-06-2018)
  #12  
Old 09-09-2018, 11:44
mausschieber's Avatar
mausschieber mausschieber is offline
Conversion Designer
 
Join Date: Jan 2011
Location: germany
Posts: 3,562
Thanks: 5,578
Thanked 9,982 Times in 2,626 Posts
mausschieber is on a distinguished road
Question

1.
is the UWP_Tool only for windows 10
or also for other games that will install in windows 10
__________________
It would be nice if you appreciate my work with the thanks Button
Reply With Quote
  #13  
Old 09-09-2018, 11:46
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,028 Times in 3,083 Posts
pakrat2k2 is on a distinguished road
UWP is only for windows 10 games.
Reply With Quote
The Following User Says Thank You to pakrat2k2 For This Useful Post:
mausschieber (09-09-2018)
  #14  
Old 16-09-2018, 16:33
prudislav prudislav is offline
Registered User
 
Join Date: Jan 2009
Location: moon
Posts: 484
Thanks: 267
Thanked 189 Times in 135 Posts
prudislav is on a distinguished road
i would say its only for game released in Windows10 store in UWP format
Reply With Quote
The Following 2 Users Say Thank You to prudislav For This Useful Post:
mausschieber (17-09-2018), pakrat2k2 (16-09-2018)
Reply

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 09:27
Ankh Trilogy - AIO Conversion - 1xDVD5 [CIUv2.0.5.1g] vollachr PC Games - CD/DVD Conversions 2 27-04-2018 08:27
Source Code: Conversion Converter Razor12911 Conversion Tutorials 66 31-03-2018 18:53
NASCAR The Game 2013 (inno setup script) sentinelks PC Games - CD/DVD Conversions 28 08-09-2013 20:30



All times are GMT -7. The time now is 02:20.


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