Lurker News
I ported Quake 1 to the Apple Watch, building on top of existing ports for iOS and Mac.

Some features: * uses Quake SW renderer + blitting to WatchKit surface (~60 fps, 640x480, larger res can run on lower framerate, tested up until 1024x768) * touch + gyro + digital crown controls * new AVFoundation audio backend (quake to Watchkit audio buffer copy logic), as Watchkit does not support CoreAudio * high pass audio filter to remove clicking on Watch speaker for some of the low frequency quake .wav samples * some smaller modifications and code updates to glue Quake 1 c code to Objective C and Watchkit
https://www.youtube.com/watch?v=cPC2o262TfQ

Comments (216) 34 threads

Earlier comments
xyzsparetimexyz#
Next step should be writing a HW renderer for it with Metal.
pgt2 replies#
How about using the digital crown to move forward/backward and then three buttons: [Left] [Fire] [Right] so you can play with three fingers on your Watch?
9887471 reply#
How precise is the gyroscope in Apple watch? Can you turn on constant movement in Quake, and then just use watch movements for turns/aiming, and the side button/screen tap for fire ?
solardev2 replies#
That seems like the worst control scheme ever... no visiq/feedback, just a bunch of screen transitions based on micro gestures? No thanks.

Continue this thread — 2 replies

myownclone#
I have tried digital crown for this, but it was not too good to use. But thanks for suggestion!
TedDoesntTalk1 reply#
Can apps be side-loaded onto the Apple Watch?
kaba01 reply#
I guess with the same limitations as on the iphone - with a developer account for 7 days before you have to relicense it.
myownclone#
Yes, I think you are right.
sordina5 replies#
Is there a technical reason why this couldn't be put on the app store? I've seen reference to Apple not allowing certain OSS code but never seen that confirmed so I'm curious!
carl_dr3 replies#
In this case, the assets are licensed under a non-permissive license, so even if the code was a non-issue, that's the problem.
imhoguy2 replies#
Assets could be possibly downloaded from 3rd party site on user consent.
yreg1 reply#
An app that doesn't work until you use it to pirate something? Yeah that wouldn't fly in App review.

Continue this thread — 1 reply

Cthulhu_#
Yeah but 'user consent' don't make using assets legal.
LexGray1 reply#
This seems like a good use of AI. Get some random good enough textures to bundle. Give me a lake of pixelated radioactive acid.
anthk#
Or just use a free as in freedom Quake data, such as Blasphemer.
cromka1 reply#
> I've seen reference to Apple not allowing certain OSS code b

It's not that Apple doesn't allow anything here, they just impose their own T&C which breaches some, but not all, OSS licenses. And the workaround for the former is usually to have the contributors accept a small affidavit, which effectively puts their software in compliance with App Store.

kmeisthax2 replies#
Apple allows you to ship custom EULA language that supersedes the part of the App Store EULA that would ordinarily conflict with GPLv2. For example, this is what iSH uses to legally ship an entire x86 Linux userland inside of an app.
tzs1 reply#
There is still one issue that I don't see how to resolve, even if you can supersede parts of the App Store EULA.

If you copy and distribute the GPLv2 code or a work based on it in object or executable form, you have to do one of:
a) Accompany it with the complete machine-readable source code; or
b) Accompany it with a written offer valid for at least three years to give any third party a complete machine-readable copy of the source code, for a charge of no more than your cost of physically distributing the source; or
c) Accompany it with the information you received to distribute such code, but only if your distribution is noncommercial and you received it in object or executable code.
See GPLv2 section 3.
A developer uploads a copy of their app to the App Store. Apple then makes copies and distributes it when people buy it (for free or for money) on the App Store.
Since Apple is copying and distributing that GPLv2 code, Apple should have an obligation under GPLv2 section 3 to distribute the source. They would not be able to punt this obligation back on the developer via option c because their distribution is not noncommercial.
This is a crucial difference between app stores (and other digital goods stores) and stores selling physical products that contain GPL code.
Best Buy for example does not run into this problem when they sell you a TV that contains a Linux kernel because although they are in fact distributing a copy of a Linux kernel to you they did not make that copy. They received that copy from the TV manufacturer or a distributor and are just passing it along.
Copyright law in most places contains an exception, often called the "first sale doctrine", which states that once the copyright owner releases a particular copy, those who legally obtain that copy can give it away or sell it or rent it without requiring permission of the copyright owner. That covers Best Buy's case.
Unless there is some way to argue that when I but an app on the Apple App Store it is the developer who uploaded the app that is making the copy I get, I'm having trouble thinking of a way to avoid Apple having to handle GPLv2 source distribution if they let third party GPLv2 code on the store.
First party GPLv2 code would be OK, because then the developer owns the copyright and so can grant Apple the rights to distribute it in binary form without source code. (It has been a long time since I've read Apple's developer agreement, but I think it requires the developer to give Apple such rights).

Continue this thread — 1 reply

cromka#
> Apple allows you to ship custom EULA language that supersedes the part of the App Store EULA that would ordinarily conflict with GPLv2

Is there any write-up on that that explains how exactly they did that?
> For example, this is what iSH uses to legally ship an entire x86 Linux userland inside of an app.
An entire userland?! AFIR it only shipped the gnu toolkit, the rest is downloaded from the repositories?

emsy2 replies#
The problem is that this is not something Apple wants to have on the App Store. They reject apps they deem arbitrarily unsuitable all the time.
4eleven73 replies#
Untrue. As long as it meets the technical requirements (ie, not using private APIs, doesn't excessively drain battery etc), and the licensing issues aren't a problem (some OSS licenses are an issue, as well as using the Quake assets may be an issue), there is no reason why Apple wouldn't approve a game for the Apple Watch on the App Store.
tiborsaas3 replies#
They reject apps for being too simple so meeting technical requirements is clearly not enough.

Continue this thread — 3 replies

saagarjha6 replies#
Apple is more than willing to reject apps that follow all the guidelines.

Continue this thread — 6 replies

FinalBriefing1 reply#
Don't they reject apps that are "out of scope" for the device they run on? The Watch isn't made to run 3D games, even if that is possible. It's a "bad experience", even if it is a cool technical demo.

Continue this thread — 1 reply

yreg1 reply#
What makes you believe Apple would reject this app? (provided it used properly licensed assets)
ramesh31#
Apple has purposely neutered the WatchOS API in all aspects for the sacred cow of battery life. They will never open up the hardware to what it can truly do. So we’re stuck with nothing but stupid fitness apps.
myownclone1 reply#
I did not even think about putting it there, and reason is not Apple (although maybe there would be a problem too), but simply the fact that Quake assets are still copyrighted, as opposed to the code. So I would have to replace the whole game asset package with something with friendly license...which would not be ... the original Quake.
sordina1 reply#
Thanks for responding! So if there was a quality OSS level pack that could be bundled then that would overcome the only obstacle?
myownclone1 reply#
Good question. In theory - yes. The code is GPLv2 based, redistributing binaries (originals from Id) with my own changes while I also release the source code is compatible with the GPLv2 license, so I think license-wise, it could work. The question is what would Apple say in the app submission review...

Continue this thread — 1 reply

Load more comments