WIP: Duke Nukem 3D DCWinCE port

Moderators: pcwzrd13, deluxux, VasiliyRS

User avatar
Ryo_Hazuki
killer
Posts: 266
Joined: Sat Sep 28, 2019 5:45 pm

Re: WIP: Duke Nukem 3D DCWinCE port

Post by Ryo_Hazuki »

megavolt85 wrote:
Ryo_Hazuki wrote:One question: Would it be possible to port the game "International Rally Championship 1997" from PC?
do you have the source code for this game?
Unfortunately not!
So I think I already have the answer to my question!

A pity, because it is a great rally game that, I believe, is within the reach of the power of the Dreamcast.
User avatar
Anthony817
Shark Patrol
Posts: 4009
Joined: Tue Jul 28, 2009 12:10 am
Location: Fort Worth, Texas

Re: WIP: Duke Nukem 3D DCWinCE port

Post by Anthony817 »

megavolt85 wrote:
Ryo_Hazuki wrote:One question: Would it be possible to port the game "International Rally Championship 1997" from PC?
do you have the source code for this game?
I only found this...

https://sourceforge.net/p/dxwnd/discuss ... /437d56d0/

So seems like a no boss. :(
Image
User avatar
megavolt85
Developer
Posts: 1866
Joined: Wed Jan 31, 2018 4:14 pm

Re: WIP: Duke Nukem 3D DCWinCE port

Post by megavolt85 »

Anthony817 wrote: I only found this...

Code: Select all

DxWnd Files
Window hooker to run fullscreen programs in window and much more...
User avatar
Anthony817
Shark Patrol
Posts: 4009
Joined: Tue Jul 28, 2009 12:10 am
Location: Fort Worth, Texas

Re: WIP: Duke Nukem 3D DCWinCE port

Post by Anthony817 »

Yep, that is why I said it was a no. Unfortunately seems like nothing can be done with this game.

However, we do have this! Over 60 open source racing games!

https://awesomeopensource.com/projects/racing-game
Image
User avatar
Ivan Guber
letterbomb
Posts: 156
Joined: Sat Sep 09, 2017 7:30 am

Re: WIP: Duke Nukem 3D DCWinCE port

Post by Ivan Guber »

Ian Micheal wrote:

Well indeed but this is SDL basic layer running on wince so not using any of that.. Wince SDL port is very basic no where near the SDL port and update of SDL i have done SDL dreamhal ..

Wince sdl does not have a working sound driver .. framebuffer only

SDL1.2 port for wince is very basic it was never complete

Yeah nice to see Wince being used.. It's very optimized gpu and tnl layer but that's not being used here.. maybe could be with the basic port..
WinCE SDL about you write, this version from the official site libsdl.org?
I ported SDL 1.2.15 win32 to Dreamcast (from WinCE version i used SDL_systimer, and some functions, other it's about 90% win32). I think sound driver must work (now i working to added sound to Duke Nukem).
User avatar
Ian Micheal
Developer
Posts: 6009
Joined: Wed Dec 19, 2018 5:23 am
Location: USA
Contact:

Re: WIP: Duke Nukem 3D DCWinCE port

Post by Ian Micheal »

Ivan Guber wrote:
Ian Micheal wrote:

Well indeed but this is SDL basic layer running on wince so not using any of that.. Wince SDL port is very basic no where near the SDL port and update of SDL i have done SDL dreamhal ..

Wince sdl does not have a working sound driver .. framebuffer only

SDL1.2 port for wince is very basic it was never complete

Yeah nice to see Wince being used.. It's very optimized gpu and tnl layer but that's not being used here.. maybe could be with the basic port..
WinCE SDL about you write, this version from the official site libsdl.org?
I ported SDL 1.2.15 win32 to Dreamcast (from WinCE version i used SDL_systimer, and some functions, other it's about 90% win32). I think sound driver must work (now i working to added sound to Duke Nukem).
I could never get it to work at all.. hope you get it working.. I have fast SDL with GLDC rendering and dreamcast features why did you choose wince and then use sdl ?
User avatar
Ivan Guber
letterbomb
Posts: 156
Joined: Sat Sep 09, 2017 7:30 am

Re: WIP: Duke Nukem 3D DCWinCE port

Post by Ivan Guber »

Ian Micheal wrote: I could never get it to work at all.. hope you get it working.. I have fast SDL with GLDC rendering and dreamcast features why did you choose wince and then use sdl ?
Because on KOS animation in the game did not work correctly, I tried to fix it for a long time, but I not could. It seems to me that the problem was either in the compiler or in KOS. I abandoned the KOS version and switched to DCWinCE, on DCWinCE the game works fine, there are no problems with animation.
User avatar
Ian Micheal
Developer
Posts: 6009
Joined: Wed Dec 19, 2018 5:23 am
Location: USA
Contact:

Re: WIP: Duke Nukem 3D DCWinCE port

Post by Ian Micheal »

Ivan Guber wrote:
Ian Micheal wrote: I could never get it to work at all.. hope you get it working.. I have fast SDL with GLDC rendering and dreamcast features why did you choose wince and then use sdl ?
Because on KOS animation in the game did not work correctly, I tried to fix it for a long time, but I not could. It seems to me that the problem was either in the compiler or in KOS. I abandoned the KOS version and switched to DCWinCE, on DCWinCE the game works fine, there are no problems with animation.
Yes i had the same and gave up on it was something todo with non aligned memory reads.. as far as i got..
MastaG
Quad Damage
Posts: 204
Joined: Mon Nov 25, 2013 11:27 pm

Re: WIP: Duke Nukem 3D DCWinCE port

Post by MastaG »

I mentioned this a couple of times.
But what I think would help, would be working from a public git repository.
Instead of hacking everything together on your local hard drive like many devs do.

I'm a Linux engineer, not a game developer or hardcore c-coder.
But this is the way I always have to do it when working lol.

For example @Ian, you could try and fork https://github.com/KallistiOS/KallistiOS
And commit your optimizations for SDL and GLDC so everyone can easily check it out and build their toolchain/SDK.
Then perhaps you could even create a pull request to have your changes merged back into the official repository.
(A good editor like PyCharm would definitely help out for code corrections and version management)

Just a thought..
User avatar
megavolt85
Developer
Posts: 1866
Joined: Wed Jan 31, 2018 4:14 pm

Re: WIP: Duke Nukem 3D DCWinCE port

Post by megavolt85 »

MastaG wrote:Then perhaps you could even create a pull request to have your changes merged back into the official repository.
thank you so much for the good mood, I laughed for a very long time :lol:
Post Reply