Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xbox One/Series support #3946

Merged
merged 12 commits into from
Jan 17, 2022
Merged

Xbox One/Series support #3946

merged 12 commits into from
Jan 17, 2022

Conversation

fwannmacher
Copy link
Contributor

@fwannmacher fwannmacher commented Jan 14, 2022

Added support for Xbox One/Series.

Copy link
Member

@AJenbo AJenbo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good at this point :) But I wish we didn't have to include all the images. Doesn't the Xbox have a GPU capable of resizing textures?

@fwannmacher fwannmacher changed the title (WiP) Xbox One/Series support Xbox One/Series support Jan 16, 2022
@fwannmacher
Copy link
Contributor Author

Looks pretty good at this point :) But I wish we didn't have to include all the images. Doesn't the Xbox have a GPU capable of resizing textures?

They are used for the OS and store not for the game itself so i guess we can remove a good amount of them.

@fwannmacher
Copy link
Contributor Author

i removed all images but the recommended scale which is 200.

@glebm
Copy link
Collaborator

glebm commented Jan 16, 2022

It's not perfect but it's a good start, and we can improve the CMake stuff after the merge. LGTM on the CMake stuff.

Please run optipng -o9 on all the images.

@AJenbo
Copy link
Member

AJenbo commented Jan 16, 2022

Do you think its possible to run the build on appveyor?

@fwannmacher
Copy link
Contributor Author

Do you think its possible to run the build on appveyor?

i do think so https://www.appveyor.com/docs/windows-images-software/#visual-studio-2022

@AJenbo
Copy link
Member

AJenbo commented Jan 16, 2022

If you can figure that out it would be much appreciated :) You can see our existing script here: https://github.com/diasurgical/devilutionX/blob/master/appveyor.yml

@fwannmacher
Copy link
Contributor Author

If you can figure that out it would be much appreciated :) You can see our existing script here: https://github.com/diasurgical/devilutionX/blob/master/appveyor.yml

i do think this is it 681ce04

Comment on lines +7 to +8
3. In the first popup - called `Deploy or Install Application` choose `devilutionX..appx` and then click `Next`
4. In the second popup - called `Choose any necessary dependencies` choose `Microsoft.VCLibs..appx` and then click `Start`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, slipped up with my suggestion here :)

Suggested change
3. In the first popup - called `Deploy or Install Application` choose `devilutionX..appx` and then click `Next`
4. In the second popup - called `Choose any necessary dependencies` choose `Microsoft.VCLibs..appx` and then click `Start`
3. In the first popup - called `Deploy or Install Application` choose `devilutionX.appx` and then click `Next`
4. In the second popup - called `Choose any necessary dependencies` choose `Microsoft.VCLibs.appx` and then click `Start`

@AJenbo
Copy link
Member

AJenbo commented Jan 16, 2022

i do think this is it 681ce04

Hm looks like I have to setup a second project for the same repo, or the script has to be woven in to the other one using a build matrix configuration. I have setup a secound project on appveyor for now, lets see if it triggers on the next update.

Comment on lines +125 to +128
<None Include="..\build\assets\*\*.*">
<DeploymentContent>true</DeploymentContent>
<Link>Assets\%(RecursiveDir)%(Filename)%(Extension)</Link>
</None>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this does the trick of adding the assets

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TBH i don't think that there is a need for generating this file with cmake as it is pretty generic already.

@AJenbo
Copy link
Member

AJenbo commented Jan 16, 2022

@glebm I think this is ready for merging, do you still have unresolved parts or can the conversations be closed?

@AJenbo AJenbo merged commit 8efbcf2 into diasurgical:master Jan 17, 2022
@AJenbo
Copy link
Member

AJenbo commented Jan 17, 2022

@fwannmacher thanks for the work with getting this up to speed 👍

I noticed that the appveyor job didn't trigger, could you try and implement it as a build matrix of the regular job as a follow up PR?

@fwannmacher
Copy link
Contributor Author

@fwannmacher thanks for the work with getting this up to speed +1

I noticed that the appveyor job didn't trigger, could you try and implement it as a build matrix of the regular job as a follow up PR?

TBH i'm not used with appveyor so if you know someone more used to it i think that would be better.

@AJenbo
Copy link
Member

AJenbo commented Jan 17, 2022

Unfortunately not, this is the only time I have used it since I don't have windows I don't often get involved with development on the platform.

@fwannmacher
Copy link
Contributor Author

Unfortunately not, this is the only time I have used it since I don't have windows I don't often get involved with development on the platform.

Ok... I'll try to find it out

@fwannmacher
Copy link
Contributor Author

#3959

kphoenix137 pushed a commit to kphoenix137/devilutionX that referenced this pull request Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants