Dreamwolf[3D]640x400 Hardware scaling Update

Moderators: VasiliyRS, deluxux

User avatar
DarkVampire295
lithium
Posts: 46

Re: Dreamwolf[3D]640x400 Hardware scaling Update

Post#11 » Wed Feb 10, 2021 3:01 pm

Sounds great Ian, Looking forward to it :)

User avatar
Ian Micheal
Developer
Posts: 3353
Contact:

Re: Dreamwolf[3D]640x400 Hardware scaling Update

Post#12 » Wed Feb 10, 2021 4:17 pm

Dreamwolf 3D Spear of Destiny

I show you how to get the best framerate for both games.. enff to make it as good as many consoles ports but with the highres..
Course you want low res it's 100% speed main point of the update is 640x400 hardware scale driver.. Makes it just play-able




Link to SB CDI
https://mega.nz/file/vIhWBaRB#-ksZ3imtX ... 8Bz--R5pmI

User avatar
Anthony817
Shark Patrol
Posts: 3618

Re: Dreamwolf[3D]640x400 Hardware scaling Update

Post#13 » Wed Feb 10, 2021 5:25 pm

Incredible work mate! Love seeing these older PC games ported over with hardware rendering!
Image

User avatar
Ian Micheal
Developer
Posts: 3353
Contact:

Re: Dreamwolf[3D]640x400 Hardware scaling Update

Post#14 » Wed Feb 10, 2021 5:37 pm

Anthony817 wrote:Incredible work mate! Love seeing these older PC games ported over with hardware rendering!


Still software rending engine but the output is hardware scaled using chui driver ..
/* HARDWARE SCALED: ONLY FOR TEXTURED DRIVER !
NO FULLSCREEN
IF FULLSCREEN + TEXTURED_DRIVER = DMA_DRIVER */
void hardware_scaled_test()
{
screen=SDL_SetVideoMode(TXR_X,TXR_Y,16,SDL_HWSURFACE);
SDL_DC_SetWindow(SCR_X,SCR_Y);
testme("SDL_HWSURFACE");
}


I had to back port the controls to his custom version so this port could work and then use his hardware scaled driver in sdl..

So not hardware rendering just hardware scaled :) but is is using the dma driver

- SDL_DC_TEXTURED_VIDEO
Use Textured video driver. If you want to use a virtual resolution (no 640x480, 320x240, ... ), you can use this driver for scaling using hardware texture. PVR textures is always 2^n (128x128, 256x128, 512x256, ... ) and these resolutions are real SDL_Surface resolutions.
Using SDL_FULLSCREEN flag only 2^n resolution are allowed, but if you do not use this flag it will be automatically fit to SDL_SetVideoMode resolution. See SDL_DC_SetWindow for manual fit.


Normal sdl which this ported used can not do any of this.. :)

User avatar
Ian Micheal
Developer
Posts: 3353
Contact:

Re: Dreamwolf[3D]640x400 Hardware scaling Update

Post#15 » Thu Feb 11, 2021 1:26 am

You can still use this port for new res like 320x240 if you wish using the params.txt

Code: Select all

--res 320 240


Standard port is set at 320x200

User avatar
Ian Micheal
Developer
Posts: 3353
Contact:

Re: Dreamwolf[3D]640x400 Hardware scaling Update

Post#16 » Thu Feb 11, 2021 3:07 am

Spear of destiny build with feature flags enabled and floor texture replacement enabled..

plain files
Dreamwolf3d[SOD[TX][full].rar
(4.31 MiB) Downloaded 40 times


The mod has to support replacing them the standard game will show no change..

User avatar
FlorreW
brutal
Posts: 249

Re: Dreamwolf[3D]640x400 Hardware scaling Update

Post#17 » Thu Feb 11, 2021 5:33 am

Ian Micheal wrote:Spear of destiny build with feature flags enabled and floor texture replacement enabled..

plain files
Dreamwolf3d[SOD[TX][full].rar

The mod has to support replacing them the standard game will show no change..


How did you manage to enable that ?
I think there is a possibility to also enable rain/snow someway :)

User avatar
Ian Micheal
Developer
Posts: 3353
Contact:

Re: Dreamwolf[3D]640x400 Hardware scaling Update

Post#18 » Thu Feb 11, 2021 5:36 am

FlorreW wrote:
Ian Micheal wrote:Spear of destiny build with feature flags enabled and floor texture replacement enabled..

plain files
Dreamwolf3d[SOD[TX][full].rar

The mod has to support replacing them the standard game will show no change..


How did you manage to enable that ?
I think there is a possibility to also enable rain/snow someway :)

I can do that if you want rain or snow as well..

I'm working on a double buffer mode it would be about 5 to 10% faster at 640x400 as it flips the ram to video ram using dma

User avatar
Ian Micheal
Developer
Posts: 3353
Contact:

Re: Dreamwolf[3D]640x400 Hardware scaling Update

Post#19 » Thu Feb 11, 2021 6:39 am

DMA transfer direct was not faster after testing I'm going to try store ques later today..

User avatar
Ian Micheal
Developer
Posts: 3353
Contact:

Re: Dreamwolf[3D]640x400 Hardware scaling Update

Post#20 » Thu Feb 11, 2021 2:38 pm

Dev demo of 320x240 SDL DMA double buffer turbo speed 60fps


Controls need to be fixed for this to be play-able

  • Similar Topics
    Replies
    Views
    Last post

Return to “New Games”

Who is online

Users browsing this forum: No registered users