I have little to no experience with Diophantine equations, and I have run across this problem while experimenting with magic squares.
$a^2+b^2=c^2+d^2=2f^2$
a parameterization for $x^2+y^2=z^2+w^2$, can be plugged into a solution for $a^2+b^2=2c^2$ but this equation does not contain all integer values, and after experimenting, it misses most of them.
given $a^2+b^2=c^2+d^2=2f^2$, all integer solutions can be found for $a^2+b^2=2f^2$ by paramteterizing it into the following
$a = m^2+2mn-n^2$
$b = n^2+2mn-m^2$
$c = o^2+2op-p^2$
$d= p^2+2op-o^2$ this leads to the equation $o^2+p^2=m^2+n^2$, which all integer solutions can be found with the following parameterization
$m = ij + uv$
$n = jv - ui$
$o = ij - uv$
$p = jv + iu$
Given $m$, $n$, $i$, $j$, I can construct my original $x$, $y$, $z$, $w$ and a like this
$x = n^2+2mn-m^2,$
$y = m^2+2mn-n^2$
$z = o^2+2op-p^2$,
$w = p^2+2op-o^2$
$a = o^2+p^2$
And this gives me infinite solutions for any integers $i$, $j$, $u$ and $v$, but not every every solution to the equation, for example, it does not find $(127,97,58,74,113)$
I can create the construction of the $a^2+b^2=c^2+d^2$ using a difference of squares to factor it out into $op=uv$ and then create a parameterization for my variables, using a composite number $C$ created from even powers of primes, but that leaves me with $2f^2-a^2-c^2$ or $(f-a)(f+a)+(f-c)(f+c)$ and I'm unsure how to manipulate this.