Deep in space, war still has a name

what

The...?

Interesting.

/downloads

Version 0.0.0, heh.

Oooh...competition between two open source versions of the same game.

/me gets popcorn. And downloads.

(It even works with my video card!)

(Hey, my account still works, and more impressively, I still remember the password! Hurrah.)

Very cool - i worked up a version from your code that uses GL (glTexSubImage2D and a quad) to blit to screen and the release quality build of that now has a very playable framerate on my imac g5. lots of weird graphical glitches and it just crashed on me but still very exciting! šŸ†’

Very impressive! Hopefully it can be optimized more for modern hardware, though. Also, I found a few problems that aren't listed on the site:

- F1 doesn't do anything.
- Help key doesn't work (it turns the cursor into a question mark).
- Pressing 4, 5, 6, or 8 while holding command causes that key to get stuck on until I press and release it without command.
- Mouse isn't hidden (possibly this isn't a good idea until full screen is implemented).
- It crashed once. I'll include the crash report in case you can use it:

CODE

Process: Antares (1614)
Path: /Users/Ken/Desktop/Antares.app/Contents/MacOS/Antares
Identifier: net.sfiera.Antares
Version: 1.0 (1)
Code Type: X86 (Native)
Parent Process: launchd (92)

Interval Since Last Report: 399228 sec
Crashes Since Last Report: 1
Per-App Interval Since Last Report: 2347 sec
Per-App Crashes Since Last Report: 1

Date/Time: 2009-11-04 16:39:28.044 -0500
OS Version: Mac OS X 10.5.8 (9L31a)
Report Version: 6
Anonymous UUID: 720EB7A9-5DCC-459F-9A87-900FDA555FBB

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 0

Thread 0 Crashed:
0 libSystem.B.dylib 0x91f09e42 __kill + 10
1 libSystem.B.dylib 0x91f7c23a raise + 26
2 libSystem.B.dylib 0x91f88679 abort + 73
3 libstdc++.6.dylib 0x90ad8005 0x90a90000 + 294917
4 libstdc++.6.dylib 0x90ad610c __gxx_personality_v0 + 1108
5 libstdc++.6.dylib 0x90ad614b std::terminate() + 29
6 libstdc++.6.dylib 0x90ad6261 __cxa_throw + 101
7 net.sfiera.Antares 0x00036e90 antares::Resource::Resource(unsigned int, int) + 276
8 net.sfiera.Antares 0x00036f62 antares::Resource::get_data(unsigned int, int) + 36
9 net.sfiera.Antares 0x000185e0 antares::ClipToCurrentLongMessage() + 230
10 net.sfiera.Antares 0x00007e31 antares::GamePlay::fire_timer() + 1595
11 net.sfiera.Antares 0x0000b1e5 antares::CardStack::fire_next_timer() + 47
12 net.sfiera.Antares 0x0000318e -(AntaresView callback:) + 41
13 net.sfiera.Antares 0x00002ed7 (anonymous namespace)::timer_callback(__CFRunLoopTimer*, void*) + 33
14 com.apple.CoreFoundation 0x96ec08f5 CFRunLoopRunSpecific + 4469
15 com.apple.CoreFoundation 0x96ec0aa8 CFRunLoopRunInMode + 88
16 com.apple.HIToolbox 0x95e0d2ac RunCurrentEventLoopInMode + 283
17 com.apple.HIToolbox 0x95e0d0c5 ReceiveNextEventCommon + 374
18 com.apple.HIToolbox 0x95e0cf39 BlockUntilNextEventMatchingListInMode + 106
19 com.apple.AppKit 0x938716d5 _DPSNextEvent + 657
20 com.apple.AppKit 0x93870f88 -(NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:) + 128
21 com.apple.AppKit 0x93869f9f -(NSApplication run) + 795
22 com.apple.AppKit 0x938371d8 NSApplicationMain + 574
23 net.sfiera.Antares 0x00002e3a start + 54

Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x91f88639 ecx: 0xbfffe95c edx: 0x91f09e42
edi: 0xa02405b8 esi: 0x00050df0 ebp: 0xbfffe978 esp: 0xbfffe95c
ss: 0x0000001f efl: 0x00000286 eip: 0x91f09e42 cs: 0x00000007
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0xa00c0108

Binary Images:
0x1000 - 0x5efeb +net.sfiera.Antares 1.0 (1) <6af5ac507bdbb1665635883db1109332> /Users/Ken/Desktop/Antares.app/Contents/MacOS/Antares
0x12fa2000 - 0x131a9fef com.apple.RawCamera.bundle 2.1.0 (474) <48a574d3b3269c8dbdc38d6f67879317> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
0x8fe00000 - 0x8fe2db43 dyld 97.1 (???) <458eed38a009e5658a79579e7bc26603> /usr/lib/dyld
0x90015000 - 0x900f6ff7 libxml2.2.dylib ??? (???) <4d54971007e14f8d80e6889ee1111f21> /usr/lib/libxml2.2.dylib
0x9016a000 - 0x9057afef libBLAS.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x905c2000 - 0x90669fec com.apple.CFNetwork 438.14 (438.14) <5f9ee0430b5f6319f18d9b23e777e0d2> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x9066a000 - 0x9066aff8 com.apple.Cocoa 6.5 (???) <e064f94d969ce25cb7de3cfb980c3249> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x90821000 - 0x90821ffd com.apple.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x90822000 - 0x90822ffd com.apple.Accelerate.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x9083e000 - 0x9085dffa libJPEG.dylib ??? (???) <50b881dd5a5795d38405c9c88c2806fa> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x9085e000 - 0x90865ff7 libCGATS.A.dylib ??? (???) <fb7677501dd491ea5520291045153069> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x90866000 - 0x90884fff libresolv.9.dylib ??? (???) <b5b1527c2d99495ad5d507ab0a4ea872> /usr/lib/libresolv.9.dylib
0x90a90000 - 0x90aedffb libstdc++.6.dylib ??? (???) <04b812dcec670daa8b7d2852ab14be60> /usr/lib/libstdc++.6.dylib
0x90b9c000 - 0x90ba4fff com.apple.DiskArbitration 2.2.1 (2.2.1) <75b0c8d8940a8a27816961dddcac8e0f> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x90ba5000 - 0x90bb3ffd libz.1.dylib ??? (???) <5ddd8539ae2ebfd8e7cc1c57525385c7> /usr/lib/libz.1.dylib
0x90c1e000 - 0x912befef com.apple.CoreGraphics 1.409.4 (???) <b9a8a94c430d3b6f9ed7e2e4f0aad02c> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x912bf000 - 0x9139ffff libobjc.A.dylib ??? (???) <7b92613fdf804fd9a0a3733a0674c30b> /usr/lib/libobjc.A.dylib
0x913a0000 - 0x913defff libGLImage.dylib ??? (???) <a6425aeb77f4da13212ac75df57b056d> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x915c1000 - 0x91688ff2 com.apple.vImage 3.0 (3.0) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x91753000 - 0x9175dfeb com.apple.audio.SoundManager 3.9.2 (3.9.2) <0f2ba6e891d3761212cf5a5e6134d683> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x9175e000 - 0x918a6ff7 com.apple.ImageIO.framework 2.0.6 (2.0.6) <7f73ef328c8e8566f3f204b5a540a7f0> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x918a7000 - 0x918a7ffb com.apple.installserver.framework 1.0 (8) /System/Library/PrivateFrameworks/InstallServer.framework/Versions/A/InstallServer
0x918c0000 - 0x91b3cfe7 com.apple.Foundation 6.5.9 (677.26) <c68b3cff7864959becfc7fd1a384f925> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x91ba1000 - 0x91ba1ff8 com.apple.ApplicationServices 34 (34) <8f910fa65f01d401ad8d04cc933cf887> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x91d06000 - 0x91d83fef libvMisc.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x91d84000 - 0x91d8ffe7 libCSync.A.dylib ??? (???) <94faf3571527a99d0a8809024aa9e1be> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x91db5000 - 0x91decfff com.apple.SystemConfiguration 1.9.2 (1.9.2) <01426a38ba44efa5d448daef8b3e9941> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x91ded000 - 0x91e67ff8 com.apple.print.framework.PrintCore 5.5.4 (245.6) <03d0585059c20cb0bde5e000438c49e1> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x91e9b000 - 0x92002ff3 libSystem.B.dylib ??? (???) <ae47ca9b1686b065f8ac4d2de09cc432> /usr/lib/libSystem.B.dylib
0x92003000 - 0x920aafeb com.apple.QD 3.11.56 (???) <a94d0f5438b730e88e5efdb233295c52> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x920cf000 - 0x92129ff7 com.apple.CoreText 2.0.4 (???) <f0b6c1d4f40bd21505097f0255abfead> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x924bb000 - 0x925a3ff3 com.apple.CoreData 100.2 (186.2) <44df326fea0236718f5ed64084e82270> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x925a9000 - 0x925b5ffe libGL.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x93507000 - 0x93514fe7 com.apple.opengl 1.5.10 (1.5.10) <5a2813f80c9441170cc1ab8a3dac5038> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x935cd000 - 0x9367fffb libcrypto.0.9.7.dylib ??? (???) <9d714c92872a93dd127ea8556b2c8945> /usr/lib/libcrypto.0.9.7.dylib
0x93680000 - 0x93681ffc libffi.dylib ??? (???) <a3b573eb950ca583290f7b2b4c486d09> /usr/lib/libffi.dylib
0x93682000 - 0x936a6fff libxslt.1.dylib ??? (???) <0a9778d6368ae668826f446878deb99b> /usr/lib/libxslt.1.dylib
0x936a7000 - 0x936e8fe7 libRIP.A.dylib ??? (???) <ec9df25a1ca8d668bda92f2baf407958> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x9373b000 - 0x937f5fe3 com.apple.CoreServices.OSServices 228 (228) <bc83e97f6888673c33f86652677c09cb> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x93831000 - 0x9402ffef com.apple.AppKit 6.5.9 (949.54) <4df5d2e2271175452103f789b4f4d8a8> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x9405a000 - 0x94125fef com.apple.ColorSync 4.5.3 (4.5.3) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x94126000 - 0x9416ffef com.apple.Metadata 10.5.8 (398.26) <e4d268ea45379200f03cdc7c8bedae6f> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x94170000 - 0x94180ffc com.apple.LangAnalysis 1.6.5 (1.6.5) <d057feb38163121ffd871c564c692804> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x94181000 - 0x94652fbe libGLProgrammability.dylib ??? (???) <7f18294a7bd0b6afe4319f29187fc70d> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
0x94653000 - 0x946acff7 libGLU.dylib ??? (???) <a3b9be30100a25a6cd3ad109892f52b7> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x94789000 - 0x948c2ff7 libicucore.A.dylib ??? (???) <dd8aa51c356e79ef8cdfa341a0d69f5b> /usr/lib/libicucore.A.dylib
0x948c3000 - 0x94950ff7 com.apple.framework.IOKit 1.5.2 (???) <7a3cc24f78f93931731203854ae0d891> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x94951000 - 0x949dbfe3 com.apple.DesktopServices 1.4.8 (1.4.8) <a6edef2d49ffdee3b01010b7e6edac1f> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x94abf000 - 0x94aeefe3 com.apple.AE 402.3 (402.3) <b13bfda0ad9314922ee37c0d018d7de9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x94aef000 - 0x94af3fff libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
0x94af4000 - 0x94dceff3 com.apple.CoreServices.CarbonCore 786.11 (786.14) <d5cceb2fe9551d345d40dd1ecf409ec2> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x94dcf000 - 0x94e56ff7 libsqlite3.0.dylib ??? (???) <3334ea5af7a911637413334154bb4100> /usr/lib/libsqlite3.0.dylib
0x94e57000 - 0x94e57ffd com.apple.Accelerate 1.4.2 (Accelerate 1.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x94e5c000 - 0x94eefff3 com.apple.ApplicationServices.ATS 3.7 (???) <a535fc4982d3acff6530ec25c402e679> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x94ef0000 - 0x94f2ffef libTIFF.dylib ??? (???) <801873cbd85ba7bdfe7646fe97a54ca3> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x957c2000 - 0x95b5ffef com.apple.QuartzCore 1.5.8 (1.5.8) <a28fa54346a9f9d5b3bef076a1ee0fcf> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x95b60000 - 0x95b62ff5 libRadiance.dylib ??? (???) <aefd52482869bb5010672679d151167e> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x95b63000 - 0x95bb4ff7 com.apple.HIServices 1.7.1 (???) <ba7fd0ede540a0da08db027f87efbd60> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x95c16000 - 0x95c43feb libvDSP.dylib ??? (???) <b232c018ddd040ec4e2c2af632dd497f> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x95c44000 - 0x95d96ff3 com.apple.audio.toolbox.AudioToolbox 1.5.2 (1.5.2) /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x95d97000 - 0x95dbfff7 com.apple.shortcut 1.0.1 (1.0) <131202e7766e327d02d55c0f5fc44ad7> /System/Library/PrivateFrameworks/Shortcut.framework/Versions/A/Shortcut
0x95dc0000 - 0x95ddcff3 libPng.dylib ??? (???) <271373dd41f56369a3dfca0ed2be579a> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x95ddd000 - 0x960e5fe7 com.apple.HIToolbox 1.5.6 (???) <eece3cb8aa0a4e6843fcc1500aca61c5> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x960e6000 - 0x960f2ff9 com.apple.helpdata 1.0.1 (14.2) /System/Library/PrivateFrameworks/HelpData.framework/Versions/A/HelpData
0x960f3000 - 0x9611cfff libcups.2.dylib ??? (???) <764c74a71785aa10f3cac2eae06f372b> /usr/lib/libcups.2.dylib
0x9611d000 - 0x96133fff com.apple.DictionaryServices 1.0.0 (1.0.0) <ad0aa0252e3323d182e17f50defe56fc> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x96152000 - 0x96152ffc com.apple.audio.units.AudioUnit 1.5 (1.5) /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x96153000 - 0x96203fff edu.mit.Kerberos 6.0.13 (6.0.13) <804bd1b3f08fb57396781f012006367c> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x96394000 - 0x96413ff5 com.apple.SearchKit 1.2.2 (1.2.2) <3b5f3ab6a363a4d8a2bbbf74213ab0e5> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x96421000 - 0x96425fff libGIF.dylib ??? (???) <3c7100e80b7f7ca8809cf9512c1a6004> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x96463000 - 0x9647bff7 com.apple.CoreVideo 1.6.0 (20.0) <587c9c8966070a7d50276db35e1c76aa> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x96b39000 - 0x96bc6ff7 com.apple.LaunchServices 292 (292) <a41286c7c1eb20ffd5cc796f791070f0> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x96c5b000 - 0x96c5bffa com.apple.CoreServices 32 (32) <2fcc8f3bd5bbfc000b476cad8e6a3dd2> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x96c5c000 - 0x96c63fe9 libgcc_s.1.dylib ??? (???) <f53c808e87d1184c0f9df63aef53ce0b> /usr/lib/libgcc_s.1.dylib
0x96c64000 - 0x96c9efe7 com.apple.coreui 1.2 (62) /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x96c9f000 - 0x96caffff com.apple.speech.synthesis.framework 3.7.1 (3.7.1) <5171726062da2bd3c6b8b58486c7777a> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x96cb4000 - 0x96d31feb com.apple.audio.CoreAudio 3.1.2 (3.1.2) <782a08c44be4698597f4bbd79cac21c6> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x96d32000 - 0x96d3bfff com.apple.speech.recognition.framework 3.7.24 (3.7.24) <73cf6b3c5ddf94d7ce9ae2c81c1b558c> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x96e45000 - 0x96e4cffe libbsm.dylib ??? (???) <d25c63378a5029648ffd4b4669be31bf> /usr/lib/libbsm.dylib
0x96e4d000 - 0x96f80fe7 com.apple.CoreFoundation 6.5.7 (476.19) <a332c8f45529ee26d2e9c36d0c723bad> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x96f81000 - 0x9733ffea libLAPACK.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x97340000 - 0x9736bfe7 libauto.dylib ??? (???) <42d8422dc23a18071869fdf7b5d8fab5> /usr/lib/libauto.dylib
0x9736c000 - 0x9753dffb com.apple.security 5.0.5 (36371) <1f7f48b36bc90d114220cc81e4e4694f> /System/Library/Frameworks/Security.framework/Versions/A/Security
0xfffe8000 - 0xfffebfff libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib
0xffff0000 - 0xffff1780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib

QUOTE (Patrick @ Nov 4 2009, 02:53 AM) <{POST_SNAPBACK}>

(Hey, my account still works, and more impressively, I still remember the password! Hurrah.)

Very cool - i worked up a version from your code that uses GL (glTexSubImage2D and a quad) to blit to screen and the release quality build of that now has a very playable framerate on my imac g5. lots of weird graphical glitches and it just crashed on me but still very exciting! šŸ†’

Neat! I assume you still have to do the hack of converting every byte in gRealWorld into its RGB equivalent every frame, though, right? I think getting the code to deal with RGB colors directly instead of color indices will be important for performance.

P.S., you said your G5 was running 10.4, right?

QUOTE (NMS @ Nov 4 2009, 06:04 PM) <{POST_SNAPBACK}>

Very impressive! Hopefully it can be optimized more for modern hardware, though. Also, I found a few problems that aren't listed on the site:

- F1 doesn't do anything.
- Mouse isn't hidden (possibly this isn't a good idea until full screen is implemented).

These ones are known too. I've added them to the known bugs list.

QUOTE

- Help key doesn't work (it turns the cursor into a question mark).

What's the help key? I thought that's what F1 was for.

QUOTE

- Pressing 4, 5, 6, or 8 while holding command causes that key to get stuck on until I press and release it without command.

Hmm. The modifier and non-modifier keys have completely different code paths, I guess there's some weird interaction between them. I'll look at this at some point. I'd place a higher priority on getting the Options screen working, though. Then, if you have this problem, you can reassign the fire keys at least as a temporary solution.

QUOTE

- It crashed once. I'll include the crash report in case you can use it:

...

What were the circumstances of the crash? I can see that it occurred while a game was in progress, and is related to trying to load a TEXT resource that it couldn't find. Other than that, though:

  • Which tutorial were you playing? Or which demo, if that's what this came from?
  • I'm guessing you had just selected "next message"; if so, what was the previous message?
  • If you hadn't selected "next message", what had just happened that would merit a message?
  • On occasion, I've seen messages get smeared; was there any of that associated with this crash?

This post has been edited by Pallas Athene : 04 November 2009 - 05:36 PM

help is the default key for zoom to closest hostile, unless you changed it.

Sorry, I don't remember which demo I was on when it crashed. There were no graphics problems at the time, but I did notice that a small square artifact appeared over the computer menu at one point. I was flying around with a dialog box on screen when the spinning beach ball appeared for maybe half a second, then it crashed. It was a bit laggy, so maybe the OS though it had stopped responding?

Also, the scrolling text is either jerky or flickery, but not at the same time.

QUOTE (NMS @ Nov 4 2009, 06:45 PM) <{POST_SNAPBACK}>

help is the default key for zoom to closest hostile, unless you changed it.

I was not even aware that there was a key called "help". A bit of searching reveals that Apple hasn't provided it since their desktop keyboards switched to VAG Rounded a few years back, plus I've been using laptops since long before that.

QUOTE

Sorry, I don't remember which demo I was on when it crashed. There were no graphics problems at the time, but I did notice that a small square artifact appeared over the computer menu at one point. I was flying around with a dialog box on screen when the spinning beach ball appeared for maybe half a second, then it crashed. It was a bit laggy, so maybe the OS though it had stopped responding?

You mean you were playing a tutorial, not watching a demo, then, right?

The OS won't force quit anything without your permission. It's usual for a beach ball to appear for a short time before a crash, though. In this case, I know exactly where the failure happened, too; it's just a question of why.

QUOTE (Pallas Athene @ Nov 4 2009, 11:35 PM) <{POST_SNAPBACK}>

Neat! I assume you still have to do the hack of converting every byte in gRealWorld into its RGB equivalent every frame, though, right? I think getting the code to deal with RGB colors directly instead of color indices will be important for performance.

P.S., you said your G5 was running 10.4, right?

Yep. G5 2ghz with 10.4.

Yeah, I'm still converting all the RGBColors to a 4-byte RGBA table that I can input into GL, so that's a performance hit - but it's much faster than blitting with the NSDrawBitmap routine, at least.

Also, are you observing flicker in the opening credits/splash fadein/out? It flickers like mad for me under GL, with the higher framerate, but I think I'm seeing the same thing - just with a much lower framerate - with your original drawing code (just reverted to check). Maybe it's just me, or something I did, though, figured I'd ask.

This post has been edited by Patrick : 04 November 2009 - 07:27 PM

QUOTE (Pallas Athene @ Nov 4 2009, 06:03 PM) <{POST_SNAPBACK}>

I was not even aware that there was a key called "help". A bit of searching reveals that Apple hasn't provided it since their desktop keyboards switched to VAG Rounded a few years back, plus I've been using laptops since long before that.

You're not missing out on much by not having a help key. Playing Ares on a laptop keyboard is crazy though. I have an older full size keyboard plugged into my MacBook.

QUOTE (Pallas Athene @ Nov 4 2009, 06:03 PM) <{POST_SNAPBACK}>

You mean you were playing a tutorial, not watching a demo, then, right?

Yes, I meant tutorial, not demo.

QUOTE (Pallas Athene @ Nov 4 2009, 06:03 PM) <{POST_SNAPBACK}>

The OS won't force quit anything without your permission. It's usual for a beach ball to appear for a short time before a crash, though. In this case, I know exactly where the failure happened, too; it's just a question of why.

I've noticed that polished, professional apps tend to either hang or crash suddenly if they crash at all. Less polished apps, like development versions of open-source games tend to crash at times when the performance is particularly sluggish. This leads me to suspect that the performance issues and the crashes might be related. But I'm not an expert.

New release 0.0.1!

Direct download here.

  • Incorporates OpenGL code based on Patrick's, thanks!
  • Built against the 10.4 SDK (untested, though)

I can confirm that the 0.0.1 build works on 10.4.11/PowerPC. Played through all of tutorial one and it was just like I remembered. Framerate was great.

Couple of notes:
ā€¢ Esc key doesn't work in tutorial 1 to bring up scenario menu (I guess this is probably known already)
ā€¢ in tutorial one & 2, pressing option and command at the same time (primary and secondary fire) results in beeping when combined with 4 or 6 on the number pad, and then hitting the opposite, eg 6 instead of 4, while the opt+cmd are still pressed.

Also, this is causing some sort of keyboard mapping error. Try holding down 4 or 6 and then hitting opt+cmd - the ship continues to rotate after releasing all keys. Hitting the number pad somewhat randomly seems to eventually restore it to normal.

This post has been edited by Patrick : 06 November 2009 - 05:55 PM

Whoa. Perfect performance. Fast time runs at about 15 times normal speed on my MacBook. Last version it was about 3. Nice work guys.

Edit: For kicks, I tried it on my 1 GHz G4 eMac running Tiger. Works great. Fast time ratio is about 9. About half what it gets playing the original in OS 9, but still good.

This post has been edited by NMS : 06 November 2009 - 07:09 PM

It's alright, but there's no sound. I guess the Antares Team focused on levels and AI while the Xsera Team focused on sound and graphics.

Antares 0.1.0 has been released. It's available at the new Google Code project page.

Bugs fixed since 0.0.1:

  • All levels are now playable.
  • Progress is saved between sessions.
  • Mission briefings show up properly.
  • Title screen colors fixed.
  • "Pause" works correctly in-game.
  • The "escape" key works correctly in-game.

There are still many known issues, listed on the Antares issue tracker.

Found a bug. In the briefing for mission 1, holding down the "1" key to bring up the specs of the cruiser won't do anything. If you have a copy of the screenshots folder in an actual copy of Ares, you can see what I mean in the file "Mission Screenshot.pict". If not, there is a lower quality version of the pichere. Oops, I didn't read the bug list thoroughly. Sorry. My other bug was also known about.

Test platform: 1 GHz Titanium PowerBook G4, 1 GB RAM, Mobility Radeon 9000.

This post has been edited by gavin83209 : 14 November 2009 - 12:29 AM

It's actually playable if I play on a laptop and plug in an external keyboard. I have to use the modifier (weapon) keys on the laptop and the numpad (movement) on the other keyboard though. Otherwise, it just beeps at me when I try to press them at the same time. And sometimes a key gets locked on or off. Command + space works if I turn off the shortcut in system prefs, but command + option + space makes it beep.

Also:

QUOTE (Issue 16: No music)

What steps will reproduce the problem?
1. Start the game.

What is the expected output? What do you see instead?

Doomtroopers should unite. Instead, they don't.

Log in to reply