dpjudas / SurrealEngine

Unreal Tournament Engine Reimplementation
Other
811 stars 22 forks source link

Headless mode for testing #10

Closed neuromancer closed 1 year ago

neuromancer commented 3 years ago

It will be nice to allow UTEngine to have a headless mode that just parses media files and scripts from a Unreal/UT installation. This will allow to run different versions of demos in the CI to ensure everything works as expected.

dpjudas commented 3 years ago

I agree that I should really improve the startup part of the project. Especially now that others seem to be trying it out. Adding a headless mode for that shouldn't be much of a problem.

I'm not sure if we can run the demo versions in the CI that easily. They are copyrighted so we at least need to make sure we can host those legally.

neuromancer commented 3 years ago

I'm not sure if we can run the demo versions in the CI that easily. They are copyrighted so we at least need to make sure we can host those legally.

I'm not a lawyer but I think that downloading demos at each CI run from a public source (e.g. archive.org) is fine. In particular, since you are using them to ensure compatibility, not to modify or distribute them. Of course, it's up to you to decide. In the worse case, manually adding some basic Unrealscript files to parse should be enough if you don't want use complete demos.

dpjudas commented 3 years ago

Yes that would probably work. I'm not sure what archive.org thinks about us constantly downloading from them though. Maybe we could create a repository for the files that CI then grabs or something along those lines.