Allegro.cc - Online Community

Allegro.cc Forums » The Depot » sharpmines 0.0.2 released

This thread is locked; no one can reply to it. rss feed Print
sharpmines 0.0.2 released
umperio
Member #3,474
April 2003
avatar

Since the first release seemed a bit too quick & dirty, I saved some time to make sharpmines a bit more complete. sharpmines is a minesweeper clone based on sharpallegro (an allegro C# wrapper)

{"name":"sharpmines-screenshot-300x209.png","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/c\/f\/cf30f9ce9e1b13d5d441193d8fed0e3a.png","w":300,"h":209,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/c\/f\/cf30f9ce9e1b13d5d441193d8fed0e3a"}sharpmines-screenshot-300x209.png

Here follows the list of major changes, for a complete list take a look at the CHANGES file inside the release package.

  • Replaced background with random star field

  • Implemented middle mouse button to uncover surrounding area

  • Added startup version control check

  • Code cleanup

  • Implemented difficulty level selection and moved rendering away from WinForms

  • Updated sharpallegro to latest version


Download sharpmines 0.0.2

Happy playing!

GullRaDriel
Member #3,861
September 2003
avatar

Can't run it there. No debug available.

"Code is like shit - it only smells if it is not yours"
Allegro Wiki, full of examples and articles !!

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

umperio
Member #3,474
April 2003
avatar

There's a problem with 64bit machines. I hope that's your issue.

Internet connectivity is required to check updates feature.

Regards

GullRaDriel
Member #3,861
September 2003
avatar

Windows 7 64 there

"Code is like shit - it only smells if it is not yours"
Allegro Wiki, full of examples and articles !!

MiquelFire
Member #3,110
January 2003
avatar

Well, I can't play.

---
Febreze (and other air fresheners actually) is just below perfumes/colognes, and that's just below dead skunks in terms of smells that offend my nose.
MiquelFire.red
If anyone is of the opinion that there is no systemic racism in America, they're either blind, stupid, or racist too. ~Edgar Reynaldo

umperio
Member #3,474
April 2003
avatar

Neil Walker
Member #210
April 2000
avatar

Just been to your (well presented) wordpress site and noticed you started to write a RPG game generation system and library (http://elvenprogrammer.themanaworld.org/projects-list/games/final-rpg/), but it sounds like you didn't finish it.

Is this because you switched to (or realised it was already done by) KLAXXZ Game Maker? I'm not certain but I think it's got a #define RPG_GAME.

Neil.
MAME Cabinet Blog / AXL LIBRARY (a games framework) / AXL Documentation and Tutorial

wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

I'm using Vista 32 bit, and your second download crashes too.

Here's what gdb had to say :

c:\downloads\depot_games\SharpMines_umperio\sharpmines>gdb sharpmines.exe
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from c:\downloads\depot_games\SharpMines_umperio\sharpmines/sharpmines.exe...(no debugging symbols found)...done.
(gdb) run
Starting program: c:\downloads\depot_games\SharpMines_umperio\sharpmines/sharpmines.exe
[New Thread 6124.0x13d8]
[New Thread 6124.0x1074]
[New Thread 6124.0xf08]
Error while mapping shared library sections:
`C:\Windows\assembly\NativeImages_v2.0.50727_32\mscorlib\c068708e16abf0be77a21b9f29817d83\mscorlib.ni.dll': not in executable format: File format not recognized
Error while mapping shared library sections:
`C:\Windows\assembly\NativeImages_v2.0.50727_32\System\57ac9ba5419d6bf4b79f2979b0755428\System.ni.dll': not in executable format: File format not recognized
Error while mapping shared library sections:
`C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Xml\38b9d09539b67b08ee996db6c71f8a9b\System.Xml.ni.dll': not in executable format: File format not recognized
Error while mapping shared library sections:
`C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Drawing\19d027c3381110e60c003f2c8bd307ee\System.Drawing.ni.dll': not in executable format: File format not recognized
Error while mapping shared library sections:
`C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Windows.Forms\6d75eb3ca10a514754f5e87cc2134f07\System.Windows.Forms.ni.dll': not in executable format: File format not recognized
Error while mapping shared library sections:
`C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Configuration\982c005f97eacba888acdda322c49362\System.Configuration.ni.dll': not in executable format: File format not recognized
[New Thread 6124.0x13b4]
gdb: unknown target exception 0xe0434f4d at 0x7786b09e

Program received signal ?, Unknown signal.
0x7786b09e in RaiseException () from C:\Windows\system32\kernel32.dll
(gdb) bt
#0  0x7786b09e in RaiseException () from C:\Windows\system32\kernel32.dll
#1  0x7003a99c in mscorwks_ntdef!IEE () from C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
#2  0xe0434f4d in ?? ()
#3  0x00000001 in ?? ()
#4  0x00000001 in ?? ()
#5  0x001aef70 in ?? ()
#6  0x701148f8 in mscorwks_ntdef!StrongNameGetPublicKey () from C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
#7  0x014994cc in ?? ()
#8  0x6c5eb9ad in ?? ()
#9  0x6c5eba42 in ?? ()
#10 0x6c7961e9 in ?? ()
#11 0x6c3c94b8 in ?? ()
#12 0x6c3d3551 in ?? ()
#13 0x6c3d348d in ?? ()
#14 0x6c6147fa in ?? ()
#15 0x00d009ab in ?? ()
#16 0x00d00796 in ?? ()
#17 0x00d006de in ?? ()
#18 0x00d004df in ?? ()
#19 0x00d0015f in ?? ()
#20 0x6ffd1b4c in ?? () from C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
#21 0x6ffe21f9 in mscorwks_ntdef!ParseManifest () from C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
#22 0x001af4c0 in ?? ()
#23 0x6fff6571 in mscorwks_ntdef!CreateCMSFromXmlInternal () from C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
#24 0x001af4c0 in ?? ()
#25 0x6fff65a4 in mscorwks_ntdef!CreateCMSFromXmlInternal () from C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
#26 0x001de140 in ?? ()
#27 0x6fff65c2 in mscorwks_ntdef!CreateCMSFromXmlInternal () from C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
#28 0x001de140 in ?? ()
#29 0x7004fac5 in mscorwks_ntdef!LegacyNGenCompile () from C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
#30 0x001af648 in ?? ()
#31 0x7004f9e5 in mscorwks_ntdef!LegacyNGenCompile () from C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
#32 0x001d9330 in ?? ()
#33 0x7004ff35 in mscorwks_ntdef!LegacyNGenCompile () from C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
#34 0x00000000 in ?? ()
(gdb)

If you post a debugging version for me to try, I'll run it through gdb again.

umperio
Member #3,474
April 2003
avatar

@Neil Walker: actually that's just one of many unfinished projects. It has been one of my very first attempts to create something complex, but it was years ago and I can't remember if I abandoned because of technical difficulties or because my interest has been caught by something else. I never thought about resuming it after I switched to create The Mana World project which is still in active development.

@Edgar Reynaldo: actually I never thought about debugging a .NET application with gdb. Still I guess it debugs the alleg44.dll only. Unfortunately I don't have a debug enabled dll at handy, but I included .NET debugging symbols, hoping to get a more descriptive message.

Here's a new package

I tested the executable on every machine I have access to, without problems.
It would be great if someone of you could find the time to open a Visual C# Express Edition and debug the application.

Best regards

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

I still have the exact same problem. gdb said the same thing it did last time.

This time I also ran it through dependency walker, and it had this to say after some bits about loading dlls :

STATUS_STACK_BUFFER_OVERRUN encountered
Entrypoint reached. All implicit modules have been loaded.
Exited "SHARPMINES.EXE" (process 0x1688) with code -1073740791 (0xC0000409).

Google came up with these :
Process suddenly terminating with 0xc0000409
runtime errors?

Matthew suggested it could be incompatible C runtimes causing problems. If you static link the c runtime, would that help?

I really don't know what the problem is, and I don't have the bandwidth to download MSVC#.

AMCerasoli
Member #11,955
May 2010
avatar

I played the first version and it runs fine.

van_houtte
Member #11,605
January 2010
avatar

Thread needs more screenshots and less crappy music from AMCerasoli

-----
For assistance, please register and click on this link to PM a moderator

Sometimes you may have to send 3-4 messages

AMCerasoli
Member #11,955
May 2010
avatar

:'( :'( Music has been with me first than game programming... My music is crappy?... :'(:'( Mom! look what van_houtte is saying!! I hate you, I hate you!!.

I need money man, I'm working, my games is... is... abandoned... but just for a few months I swear it!... I was doing the Options panel when I went to the Supermarket and realized that I'm broke!... so I need to work. ;D

This where I leave it... At the end I didn't start from scratch again.

{"name":"604470","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/0\/1\/01ebf3f79c930c8b169458f76dfa9bfd.jpg","w":346,"h":462,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/0\/1\/01ebf3f79c930c8b169458f76dfa9bfd"}604470

Besides you're the expert programmer where are allllll your games?

van_houtte
Member #11,605
January 2010
avatar

^well played 8-)

-----
For assistance, please register and click on this link to PM a moderator

Sometimes you may have to send 3-4 messages

Go to: