View Full Version : (edit) Duke Nukem WM6.1 + gapi working! Quake on it's way...
mikeeey
2nd November 2008, 08:18 AM
if your looking for a working Duke .cfg check out post #6!
Which file does Gapi use? Is a different file used for landscape gapi?
I was surprised that duke nukem was actually running gapi on hyperdragon III, however it was in portrait. When I edited the .cfg for it to run in landscape, it starts up, but right when the game runs it experiences an error. Again, if I edit the cfg to run in portrait this wont happen, same graphics are being displayed... so what is the problem here?
Gapi is much better than rawframebuffer (or is it direct draw?). Direct draw you can see the frames chaning, it causes a split distortion on the screen everytime the image is refreshed (fps). The framerate is significantly worse using rawframebuffer (or direct draw?), about 19-23fps, while Gapi runs 40-50fps.
I'm gonna mess with the .cfg some more, but I'd really like to find out why gapi crashes in landscape..
mikeeey
2nd November 2008, 08:50 AM
I did it! I got duke nukem working landscape + gapi!
I read an article on microsoft.com that says it isnt possible to run gapi in landscape, that it will try to force portrait.
I started by making the screen size 240 x 240, and from there played with different numbers, I found out the height needs to be 320 and the width needs to be 240... in landscape mode. Normally it should be the other way around (240x320). I launched it and...it crashed again, so I decreased the height by one pixel (240x319) and it worked perfectly! aside from the tiny tiny white line in the bottom right corner which you only see in the menu, everything works great now. The framerate is actually about 30fps but it's smoothe and no sketchy image refreshing.
If anyone is interested I'll upload my cfg file... for you duke fans!
EDIT: I just got quake running, in portrait. I cant seem to get it to work in landscape cause I cant adjust the width and height of landscape (that I'm aware of). It appears to be an option (landscape=1) and it is defaulted 320x240. If I can get a hold of the developer and ask of him to change it to 319x240 or 240x319 it may work...
going to try quake 2 now...
Xam335
2nd November 2008, 10:55 AM
Hi mikeeey,
I am interrested by your cfg. I just played with some key config but never had your curiosity.
About quake, I know the source code is open (sure about the one of q3, less about q2 since I never dl it). But I dont know if the paramater you're looking for is in an enum somewhere in the code, or hidden in a grp file.
volcomnator999
2nd November 2008, 05:46 PM
dude..yes omfg....upload asap
giggsy_lel
2nd November 2008, 07:55 PM
yeahh dude...need it too
mikeeey
2nd November 2008, 10:18 PM
alright guys here you are...
...of course it uses my keyboard config...
I've highlighted the controls that are used in BOLD
Move_Forward = "up" ""
Move_Backward = "down" ""
Turn_Left = "left" ""
Turn_Right = "right" ""
Strafe = "" ""
Fire = "." ""
Open = "enter" ""
Run = "LShift" "RShift"
AutoRun = "z" ""
Jump = "space" "v" (for some reason spacebar wont work, it's registered as a special key, until I can fix this I've assigned the value as V)
Crouch = "c" ""
Look_Up = "" "Kpad9"
Look_Down = "" "Kpad3"
Look_Left = "Insert" "Kpad0"
Look_Right = "Delete" "Kpad."
Strafe_Left = "n" ""
Strafe_Right = "m" ""
Aim_Up = "softkey1" "KPad7" (these are the softkeys, they aim up and down)
Aim_Down = "softkey2" "Kpad1"
Inventory = "y" "KpdEnt"
Inventory_Left = "u" ""
Inventory_Right = "i" ""
Holo_Duke = "" ""
Jetpack = "" ""
NightVision = "" ""
MedKit = "" ""
TurnAround = "l" ""
SendMessage = "T" "" (actually has no use in single player)
Map = "a" ""
Shrink_Screen = "-" "Kpad-"
Enlarge_Screen = "=" "Kpad+"
Center_View = "enter" ""
Holster_Weapon = "" ""
Show_Opponents_Weapon = "" ""
Map_Follow_Mode = "" ""
See_Coop_View = "" ""
Mouse_Aiming = "" ""
Toggle_Crosshair = "x" ""
Steroids = "" ""
Quick_Kick = "b" ""
Next_Weapon = "k" ""
Previous_Weapon = "j" ""
A quick sum up of the controls up above...
n and m - strafe left and right.
D pad - to move
. - fires
center button - action/center screen
...just read up above...
Just copy the .cfg to your duke directory and it will run in landscape. Also, you dont need to worry about launching it already in landscape or launching portrait, it doesn't matter, launch it any way you like and the controls shouldn't get messed up.
Next I'm trying to figure out why the Duke Nukem Atomic edition doesnt work...
daedric
3rd November 2008, 01:00 AM
"Strange... tryin' to install the 0.4g version and it fails miserably...
Will try alternatives" <-- Nevermind those... got it working. Landscape is indeed OK! Perfect to be honest... Space works by the way....
About the Atomic Edition... i THINK it works here... at least it starts... i see the Atomic Edition Green Stamp on startup, and i have the level.. The Birth (Corrected)
Maybe i'm missing something ?
What about those Midi files ?? What about music ??? :D <-- Nevermind that... doesn't matter what you put in the cfg file... timidity must be on /storage card/timidity, makes the game a little slower loading... after that you hardly feel anything.
mikeeey
3rd November 2008, 06:49 PM
Which rom are you using? this could be why my spacebar doesnt work. Are you using an AT&T Tilt or a different branded kaiser? I'm using the hyperdragon III October 31st rom.
btw this messsage my seemed rushed, It's cuz im quickly typing at school lol.
mikeeey
4th November 2008, 12:06 AM
ok, back at home.
So, what happens for me when I launch the atomic edition is it will start up, it shows the beginning splash screens, it even shows duke nukem Atomic Title, but then it says "loading" and right before it shows the game play in the background it crashes.
so spacebar actually worked with the .cfg I provided? Then it must have to do with the rom. Which rom are you using? I wonder if it's some other file in the directory that effects it... what else could be doing it..
kilrah
4th November 2008, 09:28 AM
Yep, spacebar works here too.
rbastedo
4th November 2008, 03:52 PM
Hmmm...
I can't find my old DN files. :(
Any progress getting Quake to work?
I loaded up my old Pocket Quake v 0.62 and got it running in portrait mode only.
The game actually ran great on my old Pocket PC Phone Edition WM2003.
It's nice & speedy in portrait mode on my Tilt but I just don't want to play if its not landscape.
Mikeeey - you're in Everett? I'm in Snoqualmie. Small world eh?
daedric
4th November 2008, 06:46 PM
ok, back at home.
So, what happens for me when I launch the atomic edition is it will start up, it shows the beginning splash screens, it even shows duke nukem Atomic Title, but then it says "loading" and right before it shows the game play in the background it crashes.
so spacebar actually worked with the .cfg I provided? Then it must have to do with the rom. Which rom are you using? I wonder if it's some other file in the directory that effects it... what else could be doing it..
Actually a Hyperdragon itself!!! not the latest one.
I have a unbranded kaises.
What i DIDN'T get was those 40-50 fps... :)
always in the 20-30 (i can live with that... and i have BG music... so..)
Where can i get the quake binaries ? i have the original pak files...
daedric
4th November 2008, 08:15 PM
Ok... got Pocket Quake. Runs more or less well in 120x240.
I can't set it to Landscape... from the internal menus it crashes, and seting vid_mode "?" in autoexec.bat does nothing.
Correction: Autoexec.cfg
My fingers typed autoexec.bat automagically :D
bronx
4th November 2008, 08:53 PM
Correction: Autoexec.cfg
My fingers typed autoexec.bat automagically :D
humm...... happy days those were. :)
rbastedo
5th November 2008, 03:48 PM
Ok... got Pocket Quake. Runs more or less well in 120x240.
I can't set it to Landscape... from the internal menus it crashes, and seting vid_mode "?" in autoexec.bat does nothing.
That's what I get too. There's got to be a way other than flashing back to WM6.0 - what vid_mode is it that changes the orientation?
rbastedo
5th November 2008, 05:52 PM
I emailed John Carmack, I didn't expect he would have time to even answer with all the stuff going on at Armadillo Aerospace these days...
I've conversed with him before, from the earliest days way back when.
He's always been a gracious guy, and he did respond this time (quickly too!).
Here's what he said:
I can't think of anything off the top of my head, but since all the code in Quake is under the GPL, you can really "go to the source" and figure it out. I would expect that one of the open source projects based on the quake code is much more up to date with support for modern operating systems and hardware platforms.
Maybe one of those projects is the place to go for help?
daedric
5th November 2008, 07:12 PM
humm...... happy days those were. :)
You woudln't belive how fast i could type "edit autoexec.bat"
Anyhow...Everything "runs"
DN more or lesse perfectly (we need the touchscreen as a mouse... otherwise... no way)
Quake is kind of slow. and 240x120 so...
Quake 2 is unplayable.... pure and simple.... and also 240x120
Either someone remembers to start using the opengles or d3d libraries and restart porting the source... or no can do.
MikeChannon
5th November 2008, 08:09 PM
@mikeeey
To be honest I don't notice the rawframe buffer problem you mention in my gapiless Duke3d landscape only version here:
http://forum.xda-developers.com/showthread.php?t=393709&page=2
Mike
rbastedo
7th November 2008, 12:11 AM
Mike - that Duke worked for me on my AT&T Tilt.
Thanks!
mmone3
7th November 2008, 08:55 PM
Was wonding if anyone tried my directx quake port that I posted sometime ago modaco?
x_defrag_x
8th November 2008, 11:05 AM
Was wonding if anyone tried my directx quake port that I posted sometime ago modaco?
no i certainly did not... link?
Also. i recently installed the Omnia D3D Drivers for Kaiser... do you think that they will help the fps issues in Quake?
Finally, i've been running Duke3d on my phone, using HDIII Jade+M2D think it was the 3rd of Nov release off the top of my head... and it's been going great. 30 - 40 fps on average. drops a bit when i use the rpg and there's big explosions and stuff. but thats all, havent used gapi at all, or even know what gapi is or does. mine ran great normally, so i didnt even look into it. lol
rbastedo
8th November 2008, 06:47 PM
mmone3, I would be happy to try it - link please?
mmone3
8th November 2008, 08:07 PM
Here is a one of my last versions. It uses directx instead of gagi to fix the white screen problem, remember this is not 3D hardware accelerated, its only using directx for the 2D screen buffering.
violentz313
8th November 2008, 10:23 PM
wow i cant beleive this works on my vogue!
mikeeey
8th November 2008, 10:44 PM
Hmmm...
I can't find my old DN files. :(
Any progress getting Quake to work?
I loaded up my old Pocket Quake v 0.62 and got it running in portrait mode only.
The game actually ran great on my old Pocket PC Phone Edition WM2003.
It's nice & speedy in portrait mode on my Tilt but I just don't want to play if its not landscape.
Mikeeey - you're in Everett? I'm in Snoqualmie. Small world eh?
Quake used to run just fine on WM6.0 and some of dutty's early WM6.1 roms.
Snoqualmie? that's way out there lol. How's the mountian view from there haha.
mikeeey
8th November 2008, 10:48 PM
Here is a one of my last versions. It uses directx instead of gagi to fix the white screen problem, remember this is not 3D hardware accelerated, its only using directx for the 2D screen buffering.
thanks mmone, but this version also doesnt work in landscape, I havn't played with it much yet.
But I've opened it in portrait, it worked fine.
Opened it in landscape, screen turns white, starts to load, exits.
Opened it in Portrait, then while it was running I opened my keyboard, it imedietly exited.
So far it still doesnt seem to work in landscape.
rbastedo
8th November 2008, 10:50 PM
Hi Mikeeey,
Not that far really - just about 30 miles east of Seattle.
The view is fantastic, I live on the river so I have the water & the mountains.
This quake1 is working fine in fullscreen portrait mode, is there some way of getting it to work in landscape mode?
mikeeey
8th November 2008, 11:08 PM
Hi Mikeeey,
Not that far really - just about 30 miles east of Seattle.
The view is fantastic, I live on the river so I have the water & the mountains.
This quake1 is working fine in fullscreen portrait mode, is there some way of getting it to work in landscape mode?
not that i know of.. but I'll keep trying new things.
I really want a new phone now haha, a VGA device with a keyboard, I'm a little behind on the upcoming devices, I just want something that will run FAST, not "fast" like the kaiser lol. Time to check out pdadb and see what's coming soon.
mikeeey
8th November 2008, 11:09 PM
@mikeeey
To be honest I don't notice the rawframe buffer problem you mention in my gapiless Duke3d landscape only version here:
http://forum.xda-developers.com/showthread.php?t=393709&page=2
Mike
hmm...you sure? look closer lol. In every app I've ever used, when you can select rawframebuffer you defiantly notice a difference. for example, in tcpmp, if you are watching a video with GDI, it looks fine, then if you switch it to rawframebuffer (not only might it get slower..) you can notice almost.. cuts? in the frames. Every time the frame switches you can notice distortion, not too noticeable, but not very fun in games, especially knowing it can run better.
about the framerate thing, i guess it just depends what you set the tick rate and platform timer HZ to, right now i have my:
Platform_Timer_HZ = 135
and
TickRate = 135
TicksPerFrame = 26
I get between 20 - 35 fps
an average of 29.
However adjusting these settings I've had my framerate at an average of 80! This does effect how fast you move, or various speed settings in the game.
Another thing I noticed when not using gapi. One of the levels had orange glass, when I launched my rocket at the glass, it broke, making glass fly everywhere, and that really lowered the framerate, when using gapi it still runs smooth.
daedric
17th November 2008, 06:33 PM
Was wonding if anyone tried my directx quake port that I posted sometime ago modaco?
Can we get a link ?
Mathizsias
24th November 2008, 08:25 PM
I was interested in trying Duke/Quake with GAPI, but the library isn't on my phone, nor can I get it anywhere at the moment, anyone who can help me here?
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.