View Full Version : uDG 2004: Okugai
PowerMacX
2004.10.11, 06:01 PM
Check out this first preview version of Okugai (http://www.reversecode.com/powermacx/downloads.html)
The description of the game in the site should also say "... if I have the time!" :shock:
Before you actually try this game (please!), a few questions about the website:
When you move the mouse over the download link (or the title), does it show a little menu? (This worked on my mac on every browser, but seems broken on IE Win)
Does Server 1 work? (it's the geocities mirror - by work I just mean if the "Downloading Okugai" page shows up)
Does Server 2 work (it should)
Now, about the game:
Does it run OK from the locked disk image? Does it run OK if you copy its folder to your hard drive?
FPS, resolution, processor, graphic card, OS version (should work on Rage128Pro 16MB and up, OS 10.3, althrough it may work on 10.1 too)
Does it remember the screen options (if you change them, exit the game and then enter again)
Was it fun :) ?
The screen config is saved on Okugai.pref (a txt file) in your user preferences folder - if you make a change and the game stops working, delete it (but please tell me about it ;) ).
Finally, this is just a preview version, I still have to add many things for it to follow the storyline/description from the web page :shock: !
Ignacio
Rigdern
2004.10.11, 06:47 PM
I'm running Mac OS 10.3.5 and using Safari. When I put my mouse over the download link, I didn't see any menu. I was able to download the game by clicking on the download button.
The game ran from my hard drive and from the disk image. It ran from 70 to 110 FPS most of the time. After holding the fire button down for a while and releasing it, the game seemed to slow down. I'm not sure if it was the whole game, but my shooting definitely slowed down so that I could only shoot one bullet every second. I have a Dual 867MHz G4 tower. I ran the game at 1024x768 full screen. I forgot what graphics card I have, but I know it's made by ATI. Is there a way to check?
PowerMacX
2004.10.11, 06:54 PM
The firing speed and the game speed will slow down if you grab "-" and "L" powerups, is that what happened? If so, try grabbing "+" (faster fire speed) and "R" (faster game speed).
Those powerups are just stand-ins for models I still have to build or texture.
As for the graphic card, go to Apple Menu > About ... and in that window select "More info" and go to the Graphic card section.
I'll make the game show the graphic card name on the screen in my next version :blush: .
skyhawk
2004.10.11, 06:56 PM
250 fps on my DP 2GHz G5 radeon 9600
when firing the weapon, the red flash I see immediately sucks ass. So seizurely.
interesting concept, but I would like to see it flesh out more
PowerMacX
2004.10.11, 07:21 PM
I'll fix that, is caused by the "shot" colliding with the gun, wich I specifically check for so... it should be easy.
I have been playing around with Blender & Wings 3D, and have a few "scenery" objects almost ready. I still need to skin them, but expect to see them in the next version.
This release is basically a "bug hunt" release, so I tried to keep it small, filesize-wise. Also the gameplay will basically go like this:
1. You are running around, trying to find a ship to escape from the current "planet"
2. You get killed
3. Your spirit/soul/something leaves your body and posseses one of your enemies' body.
4. They don't shoot you because they can't recognize you.
5. You start looking for a ship again, and when you find it it's protected by a shield/guards, so you start shooting.
6. You succed (go to 7) or you don't (go to 2)
7. You travel to the next planet in the ship.
codemattic
2004.10.12, 12:00 PM
When in the menu and not actively playing the game please dont lock the mouse to the window. Lock and hide the cursor when the game starts - unlock and unhide when it ends or paused, etc...
I wish the menus were a little more spaced out.
What is the deal with the way the shots float up to the heavens after hitting the ground?
Obviously you can run off the 'world' - but Im sure you knew that.
I never feel like its harder for me to go uphill than downhill - is that taken into account?
Runs very smoothly at 30fps on my lowly G4/400/Rage128.
It was fun running around on my little island I hope you continue dev on this.
PowerMacX
2004.10.12, 12:11 PM
When in the menu and not actively playing the game please dont lock the mouse to the window. Lock and hide the cursor when the game starts - unlock and unhide when it ends or paused, etc...
Will do.
I wish the menus were a little more spaced out.
The menu system is not finished yet, but the font I'm using will change too so it should look better in the next version.
What is the deal with the way the shots float up to the heavens after hitting the ground?
The electromagnetic properties of the ground causes the... ok, ok, I didn't finish my collision code yet, so terrain slope is not taken into acount yet :blush:
I never feel like its harder for me to go uphill than downhill - is that taken into account?
See above.
Runs very smoothly at 30fps on my lowly G4/400/Rage128.
My development platform is a G4/466/Rage128Pro/16MB, hopefully it will have decent performance on machines close to those specs :D
It was fun running around on my little island I hope you continue dev on this.
Great :) ! I have an exam this thursday, so you can expect next version to be up the weekend after.
Ignacio
PowerMacX
2004.10.12, 01:53 PM
I just found out that the link in my last blog entry pointed to download.html, when I should have put downloads.html - fixed.
drzeip
2004.10.12, 05:26 PM
I only get around 20 fps on 800x600...GeForce 2 MX
Mind you i was running some other stuff too.....
I like the idea for this game. I'm looking forward to some real levels!
Rigdern
2004.10.12, 08:35 PM
On the downloads page, the menu now pops up. I looked in Apple System Profiler and under PCI/AGP Cards this is all I see about the graphics card:
Type: display
Bus: AGP
Slot: SLOT-1
VRAM (Total): 64 MB
Vendor: ATI (0x1002)
Device ID: 0x4966
Revision ID: 0x0001
ROM Revision: 113-99702-127
Your ideas about game play are pretty interesting.
PowerMacX
2004.10.14, 10:50 AM
I only get around 20 fps on 800x600...GeForce 2 MX
Mind you i was running some other stuff too.....
Processor? I get about 40 FPS on my ATI Rage 128Pro.
I have an exam in less than an hour, after that I'll spend the rest of the day on Okugai.
And about the popup menu: it seems to be working now, but the pages' "automatic download" don't seem to work, no idea why (if you know html, please look at the source - it's just a meta tag and I don't see anything wrong with it :( ). For now, try the "direct link" instead.
EDIT: Strange... the "automatic download" is working now (at least for Server 2). Probably a cache issue?
drzeip
2004.10.14, 02:43 PM
Processor? I get about 40 FPS on my ATI Rage 128Pro.
733 mhz G4....
PowerMacX
2004.10.14, 02:46 PM
Argh!!! The download link in the Entry List section was pointing to the wrong address !!! :mad: Fixed...
PowerMacX
2004.10.14, 03:07 PM
733 mhz G4....
So 20 FPS with stuff running in the background? OpenGL apps? Did you try it windowed or full screen? You should be getting at least 50FPS, even at large resolutions :???:
Are you using OS X 10.3 or an older version? (I haven't tried it on 10.1 or 10.2)
Thanks for any info you can give me!
PowerMacX
2004.11.04, 06:55 AM
The menu system is looking better now, and I made a little class to import a series of OBJ into one (custom format, binary) file, and then I load it & animate with another class.
Should be ready and uploaded tonight... :)
PowerMacX
2004.11.05, 01:37 AM
Minimum update (not worth downloading again if you tried the "Preview Release"):
Shots no longer cause a white flash near the "camera"
A (bit) better menu, but still unfinished...
Music! I spent five hs making 3 songs (2 included)
You now can win or die (sort of, you'll go to the next level anyway)
My very cool, simple and practical class for converting a series of obj in a format similar to md2 turned out to be full of incompatibilities with a G5 machine I tried, so I'm still stuck on that :(
You can now resize the window (if you are in windowed mode)
No longer grabs the mouse when paused or in menus
VBL sync
As you can see, none of those points mention anything about changes in gameplay, but I can't have gameplay until I can load my scenery objects :cry: . If you plan on voting for Okugai, I would really :love: appreciate if you can wait until a few days before the voting ends. I have a lot of stuff to put in the game, but until I find a way to get them to load OK on every machine, the game will just look like a tech demo :(
phydeaux
2004.11.05, 11:07 PM
The link on your web page is still to the old version. I was able to figure out how to find the new version by checking the directory the old verison is in and getting the new .dmg.zip file.
The music is nice, though it's somewhat mellow to be in such a fast-paced FPS game. Sometimes enemies would just dissolve out without having a dying animation, or just die and not fade out, which seemed sort of odd. Also, I managed to get into some sort of bullet-time mode, though I couldn't get out of it, which was somewhat frustrating. More online instructions would help, though I know personally what a pain in the butt that is to make.
Some sort of feedback when a bullet hits you or the enemy would help the gameplay quite a bit, because I couldn't really tell when I was getting hit. Do different enemies have different AI?
I do think the graphics for the game look pretty good, especially the terrain, though the enemies feel a little out-of-place. I will definitely give the game a complete run-through when you're done with it.
PowerMacX
2004.11.06, 06:03 AM
The link on your web page is still to the old version. I was able to figure out how to find the new version by checking the directory the old version is in and getting the new .dmg.zip file.
That's probably a cache issue with Safari, because I can download the new version without problems from here (the old Okugai.zip is still available, but the link in download_okugai.html does say Okugai.dmg.zip, which is the new version)
Just to be sure, here is a direct link: http://www.reversecode.com/powermacx/downloads/Okugai.dmg.zip
Also, I managed to get into some sort of bullet-time mode, though I couldn't get out of it, which was somewhat frustrating.
That happens when you grab a "-" powerup (slower firing rate) or a "L" powerup (slower game speed). The powerups will be gone by the next version, they are just temporary stand-ins. To get out of the "slow motion" mode, either grab "R" powerups or just change the game speed pressing "[" or "]".
About the music, I do have one more track ready, which is a bit more fast paced, but after I later add all the weapons sfx, the slower songs will mostly be heard only when something "stops the action", so its speed will make more sense.
I hope to get everything ready before the end of the week. :)
BTW, I love your game! (it's a bit slow on my little Rage 128 Pro, but it's pretty playable :) )
EDIT: Again, if anybody plans to vote for Okugai, please-please-please wait a few more days so I can upload a more complete version :)
EDIT2: Yes, I'm going for the smilies record... :blush:
Drinniol
2004.11.07, 12:01 AM
I managed to get this to run once, then all of a sudden it aborted the game and sent me to the title screen. Next time I tried it, it froze on a black screen upon startup.
G4/400 upped to 800Mhz
ATi Rage 128 16 Meg
10.3.2
512 megs of RAM
I was very impressed, by the way, from what I did see. A bit more polish and this could be great.
The game has nice graphics and sound, but I dont know why it just quits at some point. No error message is coming up and no crash log is saved.
Keep it up!
PowerMacX
2004.11.08, 10:01 PM
I dont know why it just quits at some point. No error message is coming up and no crash log is saved.
I managed to get this to run once, then all of a sudden it aborted the game and sent me to the title screen.
Sorry about that, it was caused by a new "feature" in that build: you could die ;) !
The problem is that the game didn't give you any feedback when you where being hit so, following phydeaux suggestion, I now added a "pain" sound when you are hit. Also, the life bar (top, right) now changes to a shade of red when you are about to die, and it shows total life/life remaining in numbers.
I'm uploading this version (10% complete, right now... I'm on dial-up) and the file name is Okugai20041108.zip, just in case Safari or a proxy caches an old version of the download page. I removed the download page "auto download", now you have to click the link in it (I don't know if this will solve the cache issues, but at least you will be able to see where the link points to, and refresh the page by hand if you need to)
List of changes:
Improved intro screen & menu
Menu system practically finished (still missing: mouse tracking)
Menu reorganized and simplified
You now can switch resolutions and between fullscreen and windowed mode on the fly (not fully tested)
3 levels (no scenery objects yet)
3 soundtracks
Basic scoring system implemented
Added "pain" sound
Please tell me if this update fixes any bugs you where experiencing or causes new ones.
Tips:
If you get killed too quickly, try to grab at least one "L" power-up to slow down the game, and a few "+" power-ups to increase your firing rate.
If a level looks to dark, decrease the fog pressing "-", or disable it altogether by pressing "n" (you can also disable fog from the menu). The last level is very hard with fog on, but it's meant to be played that way ;)
If you get tired of the music, disable it from the menu or press "m" in-game
To pause, and get a birds-view of the playing field, press "p" (when paused, you can rotate and move the camera using the arrow keys
If you grab six "O" power-ups, you will be taken to the next level. If you die, you'll have to start back from level 1.
The game is uploading right now - it will be available for download in about an hour (I'll post the link then)
PowerMacX
2004.11.08, 10:35 PM
The link [EDIT: According to Carlos' last email, all downloads should go thru uDG, so I decided to remove this link - see next post instead]
All feedback welcome :)
PowerMacX
2004.11.09, 12:43 AM
Okugai is now listed in http://www.udevgames.com/downloads/
The description is what I was aiming for... it will take a few more days to get there tough... or to change the text... depending on how much free time I get!
(4 new screenshots in uDG site)
PowerMacX
2004.11.09, 01:03 AM
Note: I forgot to mention this, but if you tried an earlier version of Okugai it will probably be a good idea to delete it's old preferences file (in your user preferences folder, inside your library, delete the file "Okugai.pref")
Reason: Previously, I had a fixed set of possible resolutions (640x480,800x600,1024x768,1280x1204), and the preferences was just an index. Now, the preference is still an index, but the resolution list is built according to what your Mac can display, so the list will probably vary, and if the game uses the old preference you may end up in a different resolution. If that didn't happen then don't worry about it. ;)
PowerMacX
2004.11.11, 01:14 AM
OK, this are version 20041110 changes:
Menu system finished! You can now use the mouse, and the selected item does a simple "Dock-like" resizing animation.
Window size was being incorrectly read from the preferences, all because of a single line I commented out for debbuging purposes and forgot to uncomment in the release build! Fixed
The window now takes the Dock into acount when resizing (if in windowed mode)
I made the levels a bit easier, and added a screenshots folder so you can see what all the levels look like (in case you always died on the first one). All the levels have music, so if you want to give them another try you'll get a chance to hear all the soundtracks (there are three, on for each level)
Okugai's icon now shows up in the About box
Lots of under the surface changes that nobody would notice :blush:
The next version will be the FINAL: I'll add the "spirit leaving body" thing and, if I have time, the "ship travel" from one "planet" to another. I would like to ask all the other contest entrants to please-please- please :) base your scoring for "Originality & Story" on the FINAL version, since there isn't much story to speak of right now (other than on text).
Note: you can skip the game intro by pressing any key, and each level's intro by pressing esc.
EDIT: Forgot the link - http://www.udevgames.com/downloads/index.php?dlid=34
PowerMacX
2004.11.11, 01:18 AM
Please, the first person who download this version, post here so I know the link is working/the game is working. Thanks!
(Or just an email - powermacx AT-NOSPAM yahoo DOT com)
PowerMacX
2004.11.16, 04:01 AM
If you haven't voted for Okugai yet (at least on the Peer categories), I have a new version almost ready, that basically implements everything I mentioned in the game's description at the download page, plus a few extras. I realize that many of you may already have voted or may not want to wait, but if you haven't voted yet please do so after trying Okugai's Final version, which should be ready for upload in less than 24 Hs.
:) Thanks!
(Also, if you tried the current version [20041110] and found any bug, please post it here or send me an email)
I need some sleep... :zzz: it's 6:05 AM and I stayed up all night!
PowerMacX
2004.11.17, 04:11 AM
Actually, more like 23:59 Hs. Okugai's Final version (20041117) is uploading right now. It will take about one hour, since I'm on dial up...
Anyway, here are this version changes:
New menu option: game difficulty (under options>controls)
Energy shields & generators [BIG change!]
Spaceship! [another BIG change!]
Better enemy AI
Aiming cross-hair
More sounds
Visual feedback when being hit
Improved powerups (slightly)
Visual feedback when you win or die
This is the FINAL release :D , unless I get some bug reports about it.
Stay tuned: I'll post when the upload is finished/the links are updated.
PowerMacX
2004.11.17, 05:48 AM
After 1:35 Hs. of dial-up uploading :mad: , Okugai Final Version [20041117] is now available for download!
A LOT of changes, please try it out!
New version screenshots:
Screenshot 1 (http://www.reversecode.com/powermacx/images/screenshots/okugaifinallevel1.jpg)
Screenshot 2 (http://www.reversecode.com/powermacx/images/screenshots/okugaifinallevel2.jpg)
Screenshot 3 (http://www.reversecode.com/powermacx/images/screenshots/okugaifinallevel3.jpg)
Download from uDG Download Page (http://www.udevgames.com/downloads/index.php?cid=3)
All feedback welcome :D !
NCarter
2004.11.21, 06:17 PM
Okugai crashes for me. :( It switches into fullscreen mode, then crashes and switches straight back again.
The significant part of the log:
Date/Time: 2004-11-21 23:11:27 +0000
OS Version: 10.3.5 (Build 7M34)
Report Version: 2
Command: Okugai
Path: /Volumes/Documents/Downloads/ iDevGames/uDevGames 2004/_FinalVersions/Okugai/Okugai.app/Contents/MacOS/Okugai
Version: 0.95 (0.95)
PID: 882
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000006
Thread 0 Crashed:
0 com.apple.myCocoaApp 0x0000cc6c Game::BuildResolutionListMenu() + 0x88
1 com.apple.myCocoaApp 0x0000c6ec Game::Init() + 0x74
2 com.apple.myCocoaApp 0x0000f0a0 SDL_main + 0x20
3 com.apple.myCocoaApp 0x00017268 -[SDLMain applicationDidFinishLaunching:] + 0x5c
4 com.apple.Foundation 0x909f7184 _nsnote_callback + 0xb0
5 com.apple.CoreFoundation 0x901aa650 __CFXNotificationPost + 0x1b4
6 com.apple.CoreFoundation 0x901af060 _CFXNotificationPostNotification + 0x340
7 com.apple.Foundation 0x909f4fd0 -[NSNotificationCenter postNotificationName:object:userInfo:] + 0x74
8 com.apple.AppKit 0x92ee30c4 -[NSApplication _postDidFinishNotification] + 0x70
9 com.apple.AppKit 0x92ee2fb0 -[NSApplication _sendFinishLaunchingNotification] + 0x5c
10 com.apple.AppKit 0x92ee31e0 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 0x78
11 com.apple.Foundation 0x90a4a544 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 0x164
12 com.apple.Foundation 0x90a50c6c _NSAppleEventManagerGenericHandler + 0x78
13 com.apple.AE 0x91674a10 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 0xd0
14 com.apple.AE 0x91677858 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 0x2c
15 com.apple.AE 0x91674c50 aeProcessAppleEvent + 0x11c
16 com.apple.HIToolbox 0x928c4360 AEProcessAppleEvent + 0x3c
17 com.apple.AppKit 0x92dd2454 _DPSNextEvent + 0x358
18 com.apple.AppKit 0x92de8c24 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 0x74
19 com.apple.AppKit 0x92dfcf8c -[NSApplication run] + 0x21c
20 com.apple.myCocoaApp 0x000171e0 CustomApplicationMain + 0x220
21 com.apple.myCocoaApp 0x000173fc main + 0x7c
22 com.apple.myCocoaApp 0x0000a284 _start + 0x188 (crt.c:267)
23 dyld 0x8fe1a558 _dyld_start + 0x64
This is on a Dual 2GHz G5 with a Radeon 9600 XT and 1GB of memory.
I wish I had been able to report this earlier... I was looking forward to trying your finished game. :(
EDIT: From the console log:
Checking visible screen area...
1920 1345
archivo /Users/ncarter/Library/Preferences/Okugai3.pref vacio
new key:resolution value:1
new key:display value:1
new key:sky value:0
new key:terraindetail value:0
new key:fog value:0
new key:fpsdisplay value:0
new key:music value:0
new key:soundfx value:0
new key:invertaxis value:0
new key:difficulty value:0
new key:currentscore value:0
new key:topscore value:0
new key:keys value:0
modified key:currentscore value:0
Available Modes
2048 x 1536
1920 x 1440
1856 x 1392
1792 x 1344
1920 x 1200
1600 x 1200
1600 x 1024
1344 x 1008
1280 x 1024
1280 x 960
1152 x 870
1152 x 864
1024 x 768
832 x 624
800 x 600
640 x 480
data/jig/okugai.jig
data/jig/shield.jig
Fatal signal: Bus Error (SDL Parachute Deployed)
PowerMacX
2004.11.22, 02:51 PM
:( ... OK, could you try opening the file Okugai3.pref (in your user Preferences folder) and changing:
display = 1
to:
display = 0
so that it doesn't switch to full screen? Does the crash still happen? How about changing "resolution = 1" to 2 or 3? (different window sizes)
I'll post a link to a debug version (basically, the same version with all logs enabled - without the game assets to make it small), since I can't reproduce this crash. :(
Thanks for pointing this out!
NCarter
2004.11.22, 04:31 PM
:( ... OK, could you try opening the file Okugai3.pref (in your user Preferences folder) and changing [it] so that it doesn't switch to full screen? Does the crash still happen? How about changing "resolution = 1" to 2 or 3? (different window sizes)
That fixed it, thanks. Incidentally, it didn't get as far as creating a preference file before it crashed, so I made one out of the old prefs for an earlier version. I can now vote on your game!
I'll post a link to a debug version (basically, the same version with all logs enabled - without the game assets to make it small), since I can't reproduce this crash.
Sure, pass me the debug version and I'll give it a go. :)
PowerMacX
2004.11.22, 09:36 PM
That fixed it, thanks. Incidentally, it didn't get as far as creating a preference file before it crashed, so I made one out of the old prefs for an earlier version. I can now vote on your game!
Great! The preferences file is not saved until the game exits, to guarantee that it won't save any preference which could make it crash. I suspect the crash had to do with the large number of available resolutions in your config.
Sure, pass me the debug version and I'll give it a go. :)
Here is the link to the debug version (http://www.reversecode.com/powermacx/downloads/OkugaiDebug095.zip) (309 KB)
Have fun ;) !
Edit: Carlos, did you get my email with the source code (http://www.reversecode.com/powermacx/downloads/okugai095-source.zip) ?
NCarter
2004.11.24, 06:02 PM
Great! The preferences file is not saved until the game exits, to guarantee that it won't save any preference which could make it crash. I suspect the crash had to do with the large number of available resolutions in your config.
Here is the link to the debug version (http://www.reversecode.com/powermacx/downloads/OkugaiDebug095.zip) (309 KB)
Have fun ;) !
Here's the console dump from the debug version:
Checking visible screen area...
1920 1345
archivo /Users/ncarter/Library/Preferences/Okugai3.pref vacio
new key:resolution value:1
new key:display value:1
new key:sky value:0
new key:terraindetail value:0
new key:fog value:0
new key:fpsdisplay value:0
new key:music value:0
new key:soundfx value:0
new key:invertaxis value:0
new key:difficulty value:0
new key:currentscore value:0
new key:topscore value:0
new key:keys value:0
modified key:currentscore value:0
Available Modes
2048 x 1536
1920 x 1440
1856 x 1392
1792 x 1344
1920 x 1200
1600 x 1200
1600 x 1024
1344 x 1008
1280 x 1024
1280 x 960
1152 x 870
1152 x 864
1024 x 768
832 x 624
800 x 600
640 x 480
data/jig/okugai.jig
data/jig/shield.jig
BuildResolutionListMenu() ok...
_screen=0x339e60
_screen->GetNumVideoModes()=16
_screen->GetWidthForVideoMode(0)=1152 _screen->GetHeightForVideoMode(0)=864
_screen->GetWidthForVideoMode(1)=1024 _screen->GetHeightForVideoMode(1)=768
strlen(resolutionsList)=25
resolutionsList="1152 x 864","1024 x 768"
_screen->GetWidthForVideoMode(2)=0 _screen->GetHeightForVideoMode(2)=1
strlen(resolutionsList)=33
resolutionsList="1152 x 864","1024 x 768","0 x 1"
Fatal signal: Bus Error (SDL Parachute Deployed)
I removed the preferences file before running the game to get it to try to start up in fullscreen mode again.
While I'm here, I also had this crash on quitting with the debug version (after running in window mode):
Host Name: 82-43-214-234.cable.ubr10.newm.blueyonder.co.uk
Date/Time: 2004-11-24 22:56:07 +0000
OS Version: 10.3.5 (Build 7M34)
Report Version: 2
Command: Okugai
Path: /Volumes/Documents/Downloads/ iDevGames/uDevGames 2004/_FinalVersions/Okugai/OkugaiDebug095/Okugai.app/Contents/MacOS/Okugai
Version: 0.95 (0.95)
PID: 536
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000fff
Thread 0 Crashed:
0 com.apple.myCocoaApp 0x00017dfc Terrain::Render() + 0x1b0
1 com.apple.myCocoaApp 0x00017c30 Terrain::MakeList() + 0x4c
2 com.apple.myCocoaApp 0x0000ffa8 GameLevel::Load(char const*, Screen*, GameLevel::GameOptions*) + 0x210
3 com.apple.myCocoaApp 0x0000c74c Game::Init() + 0xd4
4 com.apple.myCocoaApp 0x0000f184 SDL_main + 0x20
5 com.apple.myCocoaApp 0x00017358 -[SDLMain applicationDidFinishLaunching:] + 0x5c
6 com.apple.Foundation 0x909f7184 _nsnote_callback + 0xb0
7 com.apple.CoreFoundation 0x901aa650 __CFXNotificationPost + 0x1b4
8 com.apple.CoreFoundation 0x901af060 _CFXNotificationPostNotification + 0x340
9 com.apple.Foundation 0x909f4fd0 -[NSNotificationCenter postNotificationName:object:userInfo:] + 0x74
10 com.apple.AppKit 0x92ee30c4 -[NSApplication _postDidFinishNotification] + 0x70
11 com.apple.AppKit 0x92ee2fb0 -[NSApplication _sendFinishLaunchingNotification] + 0x5c
12 com.apple.AppKit 0x92ee31e0 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 0x78
13 com.apple.Foundation 0x90a4a544 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 0x164
14 com.apple.Foundation 0x90a50c6c _NSAppleEventManagerGenericHandler + 0x78
15 com.apple.AE 0x91674a10 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 0xd0
16 com.apple.AE 0x91677858 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 0x2c
17 com.apple.AE 0x91674c50 aeProcessAppleEvent + 0x11c
18 com.apple.HIToolbox 0x928c4360 AEProcessAppleEvent + 0x3c
19 com.apple.AppKit 0x92dd2454 _DPSNextEvent + 0x358
20 com.apple.AppKit 0x92de8c24 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 0x74
21 com.apple.AppKit 0x92dfcf8c -[NSApplication run] + 0x21c
22 com.apple.myCocoaApp 0x000172d0 CustomApplicationMain + 0x220
23 com.apple.myCocoaApp 0x000174ec main + 0x7c
24 com.apple.myCocoaApp 0x0000a284 _start + 0x188 (crt.c:267)
25 dyld 0x8fe1a558 _dyld_start + 0x64
The game had just ended due to running out of energy and was (presumably) about to go back to the menu.
Hope that helps!
PowerMacX
2004.11.25, 03:26 PM
OK...
_screen->GetWidthForVideoMode(0)=1152 _screen->GetHeightForVideoMode(0)=864
_screen->GetWidthForVideoMode(1)=1024 _screen->GetHeightForVideoMode(1)=768
strlen(resolutionsList)=25
resolutionsList="1152 x 864","1024 x 768"
_screen->GetWidthForVideoMode(2)=0 _screen->GetHeightForVideoMode(2)=1
... this is officialy weird! Mode 0 should be, according to the previouly logged list, 640x480. And of course, mode 2 shouldn't be 0x1 :blink: !
Probably some earlier code is trashing the resolution list somehow, the bad thing is that I can't reproduce this. Going back to the debugger... :mad:
NCarter
2004.11.25, 03:53 PM
Probably some earlier code is trashing the resolution list somehow, the bad thing is that I can't reproduce this. Going back to the debugger... :mad:
If you put your source code somewhere I can download it, I can try running it in the debugger myself. That said, this is one of the most annoying kinds of bug; one which only occurs in fullscreen mode, so you can't see the debugger unless you have multiple monitors or computers. Could be tricky....
EDIT: Never mind, I seem to have already got your source code from somewhere! :???: I'll take a look at it when I get a moment. Do you have any suggestions as to where I should start looking?
PowerMacX
2004.11.25, 08:07 PM
EDIT: Never mind, I seem to have already got your source code from somewhere! :???:
My previous post (#33, Edit)
I'll take a look at it when I get a moment. Do you have any suggestions as to where I should start looking?
Well, the list you see in the log is written at the same time it is being stored in the list (in Screen.cpp), the bug occurs when the game calls _screen->GetWidthForVideoMode(xxx), so at this point the list seems to be corrupt already (this is in Game.cpp -> Game::BuildResolutionListMenu(). The first thing would be to check that the list is built OK from the start (Screen.cpp).
BTW, I tried this on the University's G5, which has a GeForce FX 5200 Ultra, but since it only has a "temporary" 15" monitor, it only shows 5 available screen resolutions, and I can't seem to make Okugai crash on it.
I won't be reachable until Saturday, if I have a fix (or if you find it) I'll upload a new debug version and if everything works fine I'll update my "final :rolleyes: " release.
Thanks for your time!
PowerMacX
2004.11.27, 08:57 AM
OK, I might have found the bug, please try this new build (310 KB) (http://www28.brinkster.com/ignacio3d/download_okugai_debug.html)
(Remember to erase the preferences file Okugai3.pref, so it will start up in full screen)
NCarter
2004.11.27, 06:39 PM
OK, I might have found the bug, please try this new build (310 KB) (http://www28.brinkster.com/ignacio3d/download_okugai_debug.html)
That's fixed it, thanks! Well done!
Carlos Camacho
2004.12.21, 01:52 AM
PowerMacX, please submit your postmortem to me.
PowerMacX
2004.12.27, 07:03 AM
PowerMacX, please submit your postmortem to me.
Carlos, in case you didn't receive my mails:
I sent you the postmortem a few days ago, and a revised & proofread version (v2) a few minutes ago. I also added four images, let me know if you need them in a different resolution.
Also, if you didn't get any of my emails, please contact me!
Ignacio
EDIT: Never mind, just received your confirmation email :)
totoetlititi
2005.04.06, 10:15 AM
PoweMacX, is your site down ?
I can't download okugai.... :cry:
PowerMacX
2005.04.06, 07:55 PM
Yes, sorry :blush: .
I'll upload it to my new site & post the new link tonight.
PowerMacX
2005.04.06, 10:50 PM
New site/link: http://www.wirelesshamster.com/download_okugai.html
totoetlititi
2005.04.07, 04:25 AM
Great job !
Thanks!
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.