Skip to content
View in the app

A better way to browse. Learn more.

HarpGamer

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Problems Opening / Saving Game Files

Featured Replies

Hi.

I tried to post in defect tracking, but apparently I'm not allowed to post there.

I've been playing HCEDemo, and it's awesome, but I can't save... or at least open saves.

 

Here's the name of the app:

HCE - Demo - A Classic Lives - Build 2009.050 - Demo Expires 2012/01/01

 

Open application

Select USNI - US Naval Institute

Click OK

Select 1.0 USNI #1: No Man's Land

Click New Game

Play Which Side: Select Blue

File -> Save As

 

Next You see:

Harpoon: Commander's Edition GE has encountered a problem and needs to close. We are sorry for the inconvenience.

If you were in the middle of something, the information you were working on might be lost.

 

System is an ASUS 1005 HA running XP / 32 bit.

 

Anyone seen this?

  • Replies 30
  • Views 9.5k
  • Created
  • Last Reply

Top Posters In This Topic

Can't say I've heard of that problem.

 

With the game closed please try deleting (or renaming to an extension other than .dll) the file DemoAds.dll in the ExportDLLs directory of the game. On a default setup that would be C:\Matrix Games\HCDemo\ExportDLLs\DemoAds.dll

 

Give it another whirl after that and let us know what you find please.

Thank you for trying that. This may be painful since I can't replicate the issue yet. My attempt at replicating the issue was also with 32-bit XP.

 

What screen resolution are you running? I haven't run the game at a resolution lower than 640x480 but others have successfully used netbooks (though I don't know what resolutions they used either). Looks like yours is natively 1024 x 600.

 

I don't have an Atom-based machine to test with either.

 

Another random question is what security software you are using in the off-chance that it is interfering?

 

You can try a slightly newer Winharp32.exe (Game Engine aka GE) if you want to take a stab in the dark attempt. http://harpgamer.com/harpforum/index.php?s...showtopic=12990

  • Author
Thank you for trying that. This may be painful since I can't replicate the issue yet. My attempt at replicating the issue was also with 32-bit XP.

 

What screen resolution are you running? I haven't run the game at a resolution lower than 640x480 but others have successfully used netbooks (though I don't know what resolutions they used either). Looks like yours is natively 1024 x 600.

 

I don't have an Atom-based machine to test with either.

 

Another random question is what security software you are using in the off-chance that it is interfering?

 

You can try a slightly newer Winharp32.exe (Game Engine aka GE) if you want to take a stab in the dark attempt. http://harpgamer.com/harpforum/index.php?s...showtopic=12990

 

I was running that resolution because I was going to take screen caps.

Resolution doesn't seem to change it, though, 1280 x 1024 on an external monitor gives the same results.

It doesn't matter if I use an external monitor or the machine's own display.

I use Microsoft Security Essentials.

I'll try the newer game engine. Can't hurt, might help.

I'll work up a special GE for you this weekend to narrow down what part of the save process isn't working. Anyone else running a machine with an atom CPU or similar setup to Akron? I do run security essentials on some of my test machines and haven't seen it interfere.

 

That's it for me this afternoon, heading out to run in the sun B)

  • Author

Enjoy your weekend.

I'd appreciate the help... I have fun with the game, but it's hard to get my job done and finish a 6 hour bout with the computer without making the girlfriend jealous.

 

5.0 USNI #3 takes a while to finish, even on highest speed. Those troop ships don't hustle....

Okay, first try at extended logging, http://harpgamer.com/harpforum/index.php?a...ost&id=1267

 

After the crash zip up ge.log and attach it to a reply post here. My related entries look like:

 

100001 Loadsave.c:31 - HandleSavedGameScroll 01 scroll_type=1, is_setup=0

100001 Loadsave.c:33 - HandleSavedGameScroll 02 after InidDisplau

100001 Loadsave.c:35 - HandleSavedGameScroll 03 after InitOpAndTacWindows

100001 Loadsave.c:41 - HandleSavedGameScroll 04 _getcwd=C:\Games\HCDemo

100001 Loadsave.c:110 - HandleSavedGameScroll 05 before GetSaveFileName

100001 Loadsave.c:136 - HandleSavedGameScroll 06 after GetSaveFileName

100001 Loadsave.c:317 - HandleSavedGameScroll 07 SaveGameName=C:\Games\HCDemo\AutoSave.USNI-hp1

100001 Savegame.c:730 - about to save globals, size=305, file offset=76

100001 Savegame.c:736 - after globals save, file offset=381

  • Author

Sure thing.

 

BEGIN

Logging begins. Build Date = May 8 2011, Build Time=13:31:52

0 harpoon.c:732 - done processing arguments. Activating logging for:

0 harpoon.c:236 - validateclock test 1 = 1

0 DLLExport.c:88 - hfind == INVALID_HANDLE

0 Setup.c:1168 - SetUp(0x0) entered

0 Setup.c:1171 - Deleting old memory

0 Setup.c:1179 - init_global_variables

100000 Setup.c:1201 - BattlesetSelector

100000 Setup.c:1228 - load Map

100000 Loadsave.c:31 - HandleSavedGameScroll 01 scroll_type=0, is_setup=1

100000 Loadsave.c:33 - HandleSavedGameScroll 02 after InidDisplau

100000 Loadsave.c:35 - HandleSavedGameScroll 03 after InitOpAndTacWindows

100000 Loadsave.c:41 - HandleSavedGameScroll 04 _getcwd=C:\Matrix Games\HCEDemo

END

 

ZIP attached, per request.

ge.zip

It looks like your log isn't for the procedure indicated in your first post. Your log appears to be for opening a saved game, not doing a File\Save As. Please clarify or post a log of the actions in your first post.

  • Author
It looks like your log isn't for the procedure indicated in your first post. Your log appears to be for opening a saved game, not doing a File\Save As. Please clarify or post a log of the actions in your first post.

 

Oh, my bad.

I must have been sleepy.

It's the same error any time I try to get to 'File Selection' applet in Windows from HCE.

Lemme do that again, this time demonstrating File\Save As.

 

BEGIN

Logging begins. Build Date = May 8 2011, Build Time=13:31:52

0 harpoon.c:732 - done processing arguments. Activating logging for:

0 harpoon.c:236 - validateclock test 1 = 1

0 DLLExport.c:88 - hfind == INVALID_HANDLE

0 Setup.c:1168 - SetUp(0x0) entered

0 Setup.c:1171 - Deleting old memory

0 Setup.c:1179 - init_global_variables

100000 Setup.c:1201 - BattlesetSelector

100000 Setup.c:1228 - load Map

100000 Initannx.c:612 - this scenario is from battlesetnumber 121, using annex version 1

100000 Initannx.c:657 - reading scenario file version 2

100000 Initannx.c:658 - Database Versions:

Res: HC2002 Gold Official DB,1077938577

Rsr: HC Gold Edition Official DB 1077938577

100000 Setup.c:1303 - OpenBattlsetResFile

100000 Setup.c:1338 - not_saved_game

100000 Setup.c:1431 - InitDisplayOp

100001 Loadsave.c:31 - HandleSavedGameScroll 01 scroll_type=1, is_setup=0

100001 Loadsave.c:33 - HandleSavedGameScroll 02 after InidDisplau

100001 Loadsave.c:35 - HandleSavedGameScroll 03 after InitOpAndTacWindows

100001 Loadsave.c:41 - HandleSavedGameScroll 04 _getcwd=C:\Matrix Games\HCEDemo

100001 Loadsave.c:110 - HandleSavedGameScroll 05 before GetSaveFileName

END

Next attempt, 2009.56

http://harpgamer.com/harpforum/index.php?a...ost&id=1271

 

 

100002 Loadsave.c:111 - HandleSavedGameScroll 05 ofn.lStructSize=88

100002 Loadsave.c:112 - HandleSavedGameScroll 05 ofn.hwndOwner=665036

100002 Loadsave.c:113 - HandleSavedGameScroll 05 ofn.nFilterIndex=1

100002 Loadsave.c:114 - HandleSavedGameScroll 05 ofn.lpstrFile=AutoSave.USNI-hp1

100002 Loadsave.c:115 - HandleSavedGameScroll 05 ofn.nMaxFile=260

100002 Loadsave.c:116 - HandleSavedGameScroll 05 ofn.lpstrInitialDir=C:\Games\HCDemo

100002 Loadsave.c:117 - HandleSavedGameScroll 05 ofn.lpstrFilter=Harpoon Games (*.USNI-hp1)

100002 Loadsave.c:118 - HandleSavedGameScroll 05 ofn.lpstrDefExt=USNI-hp1

100002 Loadsave.c:144 - HandleSavedGameScroll 06 after GetSaveFileName

100002 Loadsave.c:325 - HandleSavedGameScroll 07 SaveGameName=C:\Games\HCDemo\AutoSave.USNI-hp1

 

The really strange thing is that it is crashing for you in the GetSaveFileName function and that is a straight Windows API call (hence my extended logging in this build of the parameters sent to the function). Possible causes of such a crash would be Windows Explorer replacement, theming, left-over damage from Malware infections,...

 

Anyway, please post up the log you get from the linked GE.

  • Author

Here we go:

 

Logging begins. Build Date = May 9 2011, Build Time=18:11:48

0 harpoon.c:732 - done processing arguments. Activating logging for:

0 harpoon.c:236 - validateclock test 1 = 1

0 DLLExport.c:88 - hfind == INVALID_HANDLE

0 Setup.c:1168 - SetUp(0x0) entered

0 Setup.c:1171 - Deleting old memory

0 Setup.c:1179 - init_global_variables

100000 Setup.c:1201 - BattlesetSelector

100000 Setup.c:1228 - load Map

100000 Loadsave.c:31 - HandleSavedGameScroll 01 scroll_type=0, is_setup=1

100000 Loadsave.c:33 - HandleSavedGameScroll 02 after InidDisplau

100000 Loadsave.c:35 - HandleSavedGameScroll 03 after InitOpAndTacWindows

100000 Loadsave.c:41 - HandleSavedGameScroll 04 _getcwd=C:\Matrix Games\HCEDemo

Curious! That one didn't hit step 5. At least it is a clue. Can you try again using a command line option with 2009.056?

 

You renamed the GE I think so...

 

WinharpWhateverName.exe -f "C:\Matrix Games\HCEDemo\ge2.log"

 

give the save as a try and post up the ge2.log please. We'll look at how the ofn structure is initialized next if this verifies that you don't get to the ofn.* entries.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.