ec- / Quake3e

Improved Quake III Arena engine
GNU General Public License v2.0
1.22k stars 153 forks source link

[Feature Request] Revive/rewrite QVM PowerPC #232

Open runlevel5 opened 1 year ago

runlevel5 commented 1 year ago

Firstly, I have to say that I love quake3e source port. To me it is one of the BEST Q3 source port. I've been playing ioq3 with friends within the PowerPC community for quite awhile (all thanks to the great support for PPC in the original source code of ioq3). Is there any chance that quake3e could restore the support ppc64/ppc64le? (specifically restoring the qcommon/vm_powerpc_* files)? Many thanks

ec- commented 1 year ago

I rewrote QVM several times so 'restore' is incorrect term there - thus, PPC QVM it must be re-written too. It is a time-consuming task so no guarantees from my side

ghost commented 1 year ago

@ec- Just asking out of curiosity, doesn't it work to include the files and compile them? I own no PPC, and I know this isn't the right place to ask, but maybe adding the files from ioq3 will help others (with a PPC and some coding skills) to do the time-consuming job for you. Just some thoughts.

runlevel5 commented 1 year ago

@ec I rewrote QVM several times so 'restore' is incorrect term there - thus, PPC QVM it must be re-written too. It is a time-consuming task so no guarantees from my side

Yes I am aware of this. I am more than happy to offer you access to hardware to work on if you have capacity.

@KuehnhammerTobias ..but maybe adding the files from ioq3 will help others (with a PPC and some coding skills) to do the time-consuming job for you.

That's what I thought too but initial attempt did not compile, some functions are reported missing, for example currentVM. In theory we could restore this legacy QVM PPC but I need to dig in the git history to work out what's changed

ghost commented 1 year ago

@runlevel5

That's what I thought too but initial attempt did not compile, some functions are reported missing, for example currentVM. In theory we could restore this legacy QVM PPC but I need to dig in the git history to work out what's changed

This is unfortune. As far as the git history is concerned, ppc_vm files were dropped on Apr 21, 2017 but I think you found this out already by yourself. Well, assuming the PPC vm work until that point, it would be the starting point for you to check the code changes. I'm not sure if that will help you, sorry!

runlevel5 commented 1 year ago

@ec- So if I could backport the vm_powerpc.c from the original ioq3, would you accept such patches given into consideration it is not yet rewritten?

ec- commented 1 year ago

@runlevel5 sure it is ok if you can adopt it to new QVM structure and run some mod without errors