Author Topic: Dooom - A Doom port for the Dingoo Native OS  (Read 27211 times)

the_wub (OP)

  • *
  • Posts: 45
Dooom - A Doom port for the Dingoo Native OS
« on: April 11, 2013, 09:30:18 pm »
Hi all,

The 1.0 binary and source code can be found here:

http://code.google.com/p/dooom/downloads/list

This was only possible because of the amazingly good Dingoo SDK by flatmush et al with SDL support by Harteex.  Many thanks to them!

A huge, "THANK YOU!!" goes out to Simon Howard a.k.a Fraggle who created Chocolate Doom and who has patiently read and replied to my rambling emails about texture problems!!

Chocolate Doom is a really nice source port with lots of useful comments and built-in tools for pretty much everything you could want/need.     


Version 1.0 notes
-------------------------

Removed my stupid music volume hack that prevented music from being completely muted.

Fixed enemy AI problems and BFG ammo bug by adding back dehacked support.

Added support for modified wads.  If all you want to do is play the official wads then the app will work exactly as it did before (with all your wads in the Dooom folder).  To run a modified wad or total conversion you will need to create a text file called "comline.wub" that contains the command line options needed.  It is also best to make sure that the Dooom folder only contains the files needed for the wad you want to play.  It *should* be possible to specify these details with the command line options but I haven't been able to do so reliably yet..

For example, Aliens TC needs these files: ALITCSF.WAD, ALITCSND.WAD, ALITCWAD.WAD, ATCUD19.DEH and DOOM.WAD

The command line options to run the wad are:

chocolate-doom -deh atcud19.deh -merge alitcsf.wad -file alitcsnd.wad alitcwad.wad

Copy/paste that line of text into a new notepad document and save it as "comline.wub" in the /GAME/DOOOM/ folder.

When you launch the app you can select an over-clock value as before and then press START to launch the wad.

More information on running some of the popular wads can be found here:
http://www.chocolate-doom.org/wiki/index.php/Category:TCs

The command line can also be used to launch an official wad with extra options like -nomonsters etc...


Installation.
---------------

Copy the Dooom folder to GAME.  It should contain the Music folder, the Dooom.app and your wad file/s.

The app will create savegame folders based on the name of any wad files found in the Dooom directory so you don't have to manage saves for different wads yourself.

The Keys are:

D-PAD   -   movement and control in menus
A      -   Fire and move forward/yes in menus
B      -   open doors and move back/no in menus
Y      -   run
X      -   next weapon
Power   -   Select shotgun (weapon 3)
Start      -   pause/activate menu
Select   -   toggle automap

The left/right shoulder buttons strafe accordingly.


KNOWN ISSUES
----------------------

Still a few vanilla bugs to remove, for example, TNT will crash after playing the last demo game with WGetNumForName not found.

Please let me know if you find anything else going wrong!
« Last Edit: July 30, 2013, 10:04:14 pm by the_wub »

samir

Re: Dooom - A Doom port for the Dingoo Native OS
« Reply #1 on: April 12, 2013, 01:14:45 am »
Doom for native OS! Thanks!

the_wub (OP)

  • *
  • Posts: 45
Re: Dooom - A Doom port for the Dingoo Native OS
« Reply #2 on: April 14, 2013, 07:20:40 pm »
Thanks Samir, glad this is of use to someone!  There's now a new version and the source code is available too, see above!  :)

hastiau

Re: Dooom - A Doom port for the Dingoo Native OS
« Reply #3 on: April 16, 2013, 04:54:21 pm »
Thanks a lot. I tried it today and it works very fine !! keep your good work the_wub

Trevor Belomont

  • Guest
Re: Dooom - A Doom port for the Dingoo Native OS
« Reply #4 on: April 16, 2013, 06:38:42 pm »
Yes sir, thank you for this Native Doom port.
I'm a big Doom fan myself.

We appreciate your time and efforts.

Thank you. :)

samir

Re: Dooom - A Doom port for the Dingoo Native OS
« Reply #5 on: April 16, 2013, 06:53:38 pm »
Thanks Samir, glad this is of use to someone!  There's now a new version and the source code is available too, see above!  :)

Thanks for the v 0.2!!

Reesy

Re: Dooom - A Doom port for the Dingoo Native OS
« Reply #6 on: April 16, 2013, 07:48:15 pm »
Thanks for your efforts the_wub, I've tried v2 but I'm not having much luck.  Doom1 starts but keeps crashing randomly at the menus.  Can anyone recommend a wad which is working okay?

Edit: I found a .wub error file which suggested I needed to patch the wad, so I'll find another wad somewhere.  Doom2 is running perfectly however.....very nice work, thanks.
« Last Edit: April 16, 2013, 07:54:51 pm by Reesy »

the_wub (OP)

  • *
  • Posts: 45
Re: Dooom - A Doom port for the Dingoo Native OS
« Reply #7 on: April 16, 2013, 08:53:15 pm »
Thanks guys, the feedback is really appreciated! :)

@Reesy  I had a lot of fun with DrMD on the GP32 back in the day so it's great to hear from you here!

This is my first go at a port and it's only down to the great work by Flatmush and Harteex that it was possible at all!

As for the bugs and problems, I have made some progress...

The game hanging is being caused by the sound code, if I compile with sound disabled it runs forever with only the known vanilla doom bugs causing a hang.  I will remove all the vanilla limits later on, after I have it stable with sound.

I still have no idea why doom1.wad is not working, I can't even get to the title screen (I'd be interested in knowing which version of the wad Reesy was using to get this far) which seems crazy because TNT and Plutonia are huge wads with much more data to handle and they work fine..

I have investigated a little and the texture it is having a problem with is called AASHITTY which is the first texture lump.  It's just a dummy lump that shouldn't be causing any problems at all.  Clearly I've dropped a clanger somewhere! :)

As for the missing/badly rendered textures,  I have used the built-in W_Profile function to spit out a text file of all the lumps read in and everything looks perfect.  I have emailed Fraggle, the author of Chocolate Doom, and he's having a look at some screenshots taken in-game.  I'm just waiting to see what he thinks.

I might release an update later tonight because I have fixed a couple of small things..

Thanks again all! :)

Losk

  • *
  • Posts: 92
Re: Dooom - A Doom port for the Dingoo Native OS
« Reply #8 on: April 18, 2013, 09:15:11 am »
Great - thanks a lot for this port.  :) Will check it out soon!

care16la20

Re: Dooom - A Doom port for the Dingoo Native OS
« Reply #9 on: April 19, 2013, 01:32:40 pm »

Great !!! thanks for the port ..

Btw, if its not asking too much, is there any possibility of doing the same with DukeNukem 3D ? this one would be amazing

the_wub (OP)

  • *
  • Posts: 45
Re: Dooom - A Doom port for the Dingoo Native OS
« Reply #10 on: April 19, 2013, 06:54:45 pm »
If I can get this working properly then I'm certainly open to suggestions for other ports.

If there's a good SDL port of Duke available then it's definitely not out of the question..  although I'd like to look at SimCoupe next as I spend most of my coding time on the Sam these days.  I'd also like to look at Heretic, Dungeon Master/Chaos Strikes Back and maybe a bit of Quake too!  So many things.. so little time.. :)

Back to reality, I have made a front end for Dooom and have already got some good advice from Fraggle (the author of Chocolate Doom) about what may be going wrong with the texture creation here.  Fingers crossed there will be a near enough final release coming up very soon!

the_wub (OP)

  • *
  • Posts: 45
Re: Dooom - A Doom port for the Dingoo Native OS
« Reply #11 on: April 25, 2013, 02:39:59 pm »
Hi all!

Version 0.3 is now available with lots of fixes including Ultimate Doom (retail) now working and textures being drawn correctly.  Everything looks pretty sweet! :)

Still a few bugs to crush, I'll edit my original post to include the latest readme with all the details on this.

Enjoy!! :D

wingnux

Re: Dooom - A Doom port for the Dingoo Native OS
« Reply #12 on: April 25, 2013, 11:24:52 pm »
It doesn't work for me. Installed as instructed by the readme file and added doom 1.9 wad (doom.wad) but when I run the app it only gives me a black screen.

the_wub (OP)

  • *
  • Posts: 45
Re: Dooom - A Doom port for the Dingoo Native OS
« Reply #13 on: April 25, 2013, 11:41:29 pm »
I'm sorry to hear that wingnux :(

I've downloaded the file from the google code page and installed on my spare Dingoo to make sure that the upload was ok and it works for me...  You shouldn't be seeing a blank screen regardless of which wad you use so the only thing I can think of is that you have not put the Dooom (with three o's) folder in the root directory...  unless there's an issue with different LCD types that I haven't taken into account.. 

If you can double check your install directory while we wait to see if anyone else has a problem... I'll just be very puzzled in the meantime...

wingnux

Re: Dooom - A Doom port for the Dingoo Native OS
« Reply #14 on: April 26, 2013, 05:25:26 am »
ROFL! That was the problem, the third "o"! Now the folder is correctly named and it works like a charm, thank you very much for the help and for this amazing port!

I'm really looking forward to the MIDI implementation.
« Last Edit: April 26, 2013, 05:27:44 am by wingnux »

 

Post a new topic