Rockbox Technical Forums

Rockbox Development => Feature Ideas => Topic started by: codyteam on April 25, 2017, 03:13:31 PM

Title: Wolfenstein 3-D
Post by: codyteam on April 25, 2017, 03:13:31 PM
Would it be possible if we could all work together to make a Wolfenstein 3D port?Wolfenstein should be easier to make and better visibility on a Clip+ than doom.Is it possible?

Thanks,
-----------------------
Cody
Title: Re: Wolfenstein 3D Port
Post by: wodz on April 25, 2017, 03:37:01 PM
Quoting RELEASE.TXT "Convert to a 32 bit compiler.  This would be a fair amount
of work, but I would hate to even mess with crusty old 16
bit code."

So basically good luck...
Title: Re: Wolfenstein 3D Port
Post by: codyteam on April 25, 2017, 03:39:11 PM
Well is there any engines to make it run?
Title: Re: Wolfenstein 3D Port
Post by: wodz on April 25, 2017, 03:53:11 PM
This should be possible to port (with restriction to little endian archs only) https://github.com/mozzwald/wolf4sdl using http://gerrit.rockbox.org/r/#/c/1521/. Have a fun.
Title: Re: Wolfenstein 3D Port
Post by: __builtin on April 25, 2017, 04:23:18 PM
I haven't looked in detail, but porting wolf4sdl should be feasible with some work. One issue I see is that fact that the code is in C++, but I bet that it'll be rather easy to convert, as it was originally in C.

Furthermore, the SDL port isn't integrated into the pluginlib as I'd like it to be. Right now it just builds a huge monolithic binary with everything in it.

EDIT: there might be a problem with the number of available buttons, but that's the fun of a port!
Title: Wolfenstein 3-D
Post by: __builtin on September 04, 2017, 04:10:05 PM
Here it is! It currently only runs on ipod6g, but it shouldn't be too hard to port to other targets (I haven't tried).

Code is on gerrit if you want to give it a spin: http://gerrit.rockbox.org/r/1653/ (http://gerrit.rockbox.org/r/1653/). Extract the original data files to /.rockbox/wolf3d/ and start the Demos > sdl.rock plugin.
Title: Re: Wolfenstein 3-D
Post by: codyteam on September 26, 2017, 08:03:10 PM
How would i test it?
Title: Re: Wolfenstein 3-D
Post by: __builtin on September 27, 2017, 05:39:45 PM
You'll need to either build it yourself, or I can provide you with a build, in which case I'd need to know which target you have.
Title: Re: Wolfenstein 3-D
Post by: codyteam on September 28, 2017, 11:46:38 AM
Can you make a build for Sansa Clip+?
Title: Re: Wolfenstein 3-D
Post by: __builtin on September 28, 2017, 06:00:18 PM
Unfortunately no. It only runs on devices with color screens. Unless, that is, you implement greylib support in the SDL port yourself.
Title: Re: Wolfenstein 3-D
Post by: codyteam on September 28, 2017, 06:43:28 PM
Now how would i do that?
Title: Re: Wolfenstein 3-D
Post by: saratoga on September 28, 2017, 07:37:52 PM
First step would be figuring out how to compile builds.
Title: Re: Wolfenstein 3-D
Post by: codyteam on September 29, 2017, 12:55:47 PM
But remember,I have a chromebook and i do not own it so how can i do it?
Title: Re: Wolfenstein 3-D
Post by: __builtin on September 29, 2017, 01:31:22 PM
Step 0 is to find a computer you can use.

EDIT: seriously though, you'll need to edit apps/plugins/sdl/src/video/SDL_rockboxvideo.c in my SDL port to support the grey interface.