Author Topic: Dingoo A380 HeXen/Heretic ports and the 400x240 screen  (Read 5847 times)

cypresstwist (OP)

  • *
  • Posts: 39
Dingoo A380 HeXen/Heretic ports and the 400x240 screen
« on: January 25, 2012, 05:22:21 pm »
As you may know, the DIngoo A380 has a slightly bigger screen than the A320 (400x240). Games ported to the A320 work (mostly) but they have been compiled for the A320's default resolution. Heretic and HeXen start with this resolution and the game screen is centered and slightly to the left.
I grabbed the source code, installed the SDK but ran into problems with SDL while compiling. My question is how could I get in touch with the people who ported the aforementioned games to the A320? Or if at least someone with a working development environment would be willing to make some binaries for me.

Thank you.

Dingoo A380, 8GB MicroSD card inside

omgmog

  • * Administrator
  • Doesn't sleep.
  • Posts: 710
    • omgmog.net
Re: Dingoo A380 HeXen/Heretic ports and the 400x240 screen
« Reply #1 on: January 26, 2012, 11:51:14 am »
I think Joyrider is responsible for the Hexen/Heretic ports, so maybe you could PM him, or hope that he sees this thread?

cypresstwist (OP)

  • *
  • Posts: 39
Re: Dingoo A380 HeXen/Heretic ports and the 400x240 screen
« Reply #2 on: January 26, 2012, 06:00:25 pm »
I think Joyrider is responsible for the Hexen/Heretic ports, so maybe you could PM him, or hope that he sees this thread?

I already did. He told me he doesn't develop for the Dingoo anymore.
Dingoo A380, 8GB MicroSD card inside

zear

  • * Moderator
  • Posts: 2378
Re: Dingoo A380 HeXen/Heretic ports and the 400x240 screen
« Reply #3 on: January 26, 2012, 06:37:42 pm »
Johnny on Flame did the newer ports (the ones that are actually playable) and if I remember correctly there's no way to set a custom resolution for hexen/heretic because the games are designed to support only 320x200. The best you could do is render to one surface and then blit that surface on your 400x240 surface at a certain x,y position to center the screen, however that will cost you the performance. You could also use a software scaler, but then again, it will result in a noticable frame drop.

Perhaps you could modify SDL and add a routine to blit the screen surface into another surface (and then center it) whenever the screen surface resolution is smaller than 400x240, that would work for any game and not just Hexen/Heretic.

Either way, I have mixed feelings about helping in A380 developement.
« Last Edit: January 26, 2012, 06:43:01 pm by zear »

cypresstwist (OP)

  • *
  • Posts: 39
Re: Dingoo A380 HeXen/Heretic ports and the 400x240 screen
« Reply #4 on: January 27, 2012, 04:52:09 pm »
Either way, I have mixed feelings about helping in A380 developement.

I woudln't want this done for Dingoo Tech, I'd want this for myself. It bugs me that the screen is so small.
Dingoo A380, 8GB MicroSD card inside

cypresstwist (OP)

  • *
  • Posts: 39
Re: Dingoo A380 HeXen/Heretic ports and the 400x240 screen
« Reply #5 on: May 13, 2015, 03:59:56 pm »
I took a look at the source code and made what I think are the necessary changes for the game to run fullscreen on a Dingoo A380. I don't have the SDK and necessary stuff installed, so if someone would be so kind as to compile this for me...

In /sdl/i_sdl.c i changed
Code: [Select]
sdl_screen16 = SDL_SetVideoMode(320, 240, 16, flags);
to
Code: [Select]
sdl_screen16 = SDL_SetVideoMode(400, 240, 16, flags);
Let's see if this works.
« Last Edit: May 22, 2015, 01:36:45 pm by cypresstwist »
Dingoo A380, 8GB MicroSD card inside

 

Post a new topic
Post a new topic