Register
Site Login
Site Search
Forums
Advertisement
Welcome to PocketMatrix. PocketMatrix is dedicated to providing the best online community for mobile device developers and enthusiests. What's new?

Pocket Hexen II


Pocket Hexen II

Postby Hopper » May 3, 2007 @ 5:01am

hi guys

A while ago, I thought I'd have a shot at making a PocketHexen2 exe based on the awesome work you've done on PocketQuake.
I know my way around PC programming, but this is my first CE attempt. I've got the code compiling, and it starts to run, but crashes before it hits the menu screen (so really early on).
I'm debugging now, but it's a slow and frutrating process 'cause I'm guessing or googling quite a bit of the time. :?

Does someone who actually knows what they're doing want to help a newbie out and let me know what I've stuffed up?

The code is on http://members.iinet.net.au/~JBeckingha ... exenII.zip
Hopper
pm Member
 
Posts: 12
Joined: May 3, 2007 @ 4:04am
Location: Australia


Postby Hopper » May 22, 2007 @ 11:33pm

Ok, so I've made a bit of progress (slowly), but now I'm stuck again.

I can get the Hexen II main menu to come up, you can select New Mission, select a character, then select a difficulty level.
Once you select a difficulty level, I then get an "Access Violation" error, but it doesn't specify a line of code.

I've set the stack size to 0x3d090. Do I need to increase that again?
Hopper
pm Member
 
Posts: 12
Joined: May 3, 2007 @ 4:04am
Location: Australia


Postby Hopper » May 27, 2007 @ 9:53am

HI all,

I've hit an access violation error in mathlib.c on line:
forward[0] = cp*cy;

The valiables are set to the following:
angle 0.000000
cp 1.00000
cr 1.00000
cy 1.00000
- forward 0x00000100
CXX0030: Error: expression cannot be evaluated

Can anyone point me in the right direction to track this down?
Hopper
pm Member
 
Posts: 12
Joined: May 3, 2007 @ 4:04am
Location: Australia


Postby Hopper » May 27, 2007 @ 10:02am

Oops, should also mention that the Mathlib.c I'm using is the same as the pocketquake version.

I've also updated the code at the link in my first post.
:D
Hopper
pm Member
 
Posts: 12
Joined: May 3, 2007 @ 4:04am
Location: Australia


Postby Dan East » May 27, 2007 @ 1:08pm

What is "forward" and where is it allocated? I would suspect a problem with that variable.

[edit]It's clear from your debug dump that forward's address is 0x100, which is not a valid memory address for a variable.[/edit]

Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby Hopper » May 28, 2007 @ 12:02am

Yup, you're right.
Found it.
:)

Thanks for the help!
Hopper
pm Member
 
Posts: 12
Joined: May 3, 2007 @ 4:04am
Location: Australia


Postby Hopper » May 29, 2007 @ 3:46am

Hi guys,

I'm getting an error in CL_Parse.c in the CL_ParseServerMessage function.

I get the "CL_ParseServerMessage: Bad server message" error.

The debug goes quite a way through the while loop until it runs the "svc_clientdata" case (it runs CL_ParseClientdata successfully) then the next "SHOWNET(svc_strings[cmd])" line brings up an svc_bad command.

Can anyone let me know where I might track down why this is happening?
Hopper
pm Member
 
Posts: 12
Joined: May 3, 2007 @ 4:04am
Location: Australia


Postby Hopper » Jun 14, 2007 @ 12:01am

Success!!

I have Hexen II running on my Pocket PC!!
Of course there are still a few small bugs (like not being able to save or load a game), but hey, it's a start!
:D
Hopper
pm Member
 
Posts: 12
Joined: May 3, 2007 @ 4:04am
Location: Australia


Postby Hopper » Jul 22, 2007 @ 11:56pm

Pocket Hexen II 1.00 is ready!

http://members.iinet.net.au/~JBeckingham/PHexenII.htm

It still has a few quirks that I need to iron out (like the character selection on the menu) but the gameplay's fine.
:D

I still need to add sound and music, plus I need to add the white screen fix, so I have some work ahead of me before it's 100%
Hopper
pm Member
 
Posts: 12
Joined: May 3, 2007 @ 4:04am
Location: Australia


Postby satani » Aug 3, 2007 @ 3:24pm

i'm having the whitescreen, how to fix it. (on dell axim x50v (VGA).
satani
pm Member
 
Posts: 6
Joined: Sep 20, 2006 @ 2:51pm


Postby Kenny806 » Dec 17, 2007 @ 5:56pm

Yeah, I would appreciate a whitescreen fix too. But no hurry :D
Kenny806
pm Member
 
Posts: 5
Joined: Dec 13, 2007 @ 5:56pm


Postby Hopper » May 20, 2008 @ 4:23am

OK, so I've finally gotten around to releasing an update. There are speed improvements (all reports I've had have told me it's much faster) and there's also sound now. No music though, sorry.

Available for download at www.jamesbeckingham.com.au (just follow the link to Pocket Hexen II)

Also, you can check out my Pocket Eye of the Beholder page while you're there. The demo should be a matter of weeks away.
:D
Hopper
pm Member
 
Posts: 12
Joined: May 3, 2007 @ 4:04am
Location: Australia


Return to Pocket Quake 1 and 2


Sort


Forum Description

Discuss Pocket Quake 1 and 2 by Dan East

Moderators:

Dan East, sponge, James S

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron