Database Viewer

Harpoon 3 Advanced Naval Warfare is the result of decades of development and fan support, resulting in the most comprehensive, realistic, and accurate simulation of modern combined air and naval operations available to the gaming public. New features include, multiplayer support, third party databases, scenario editors, and OVER 300 pre-built scenarios!

Moderator: Harpoon 3

User avatar
RedMike
Posts: 289
Joined: Wed Mar 13, 2002 11:33 pm
Location: Alaska

Database Viewer

Post by RedMike »

I don't like the new Database Viewer. I think you should revert back to the old in-game viewer. The new one is nice and all, but it doesn't integrate well with the game when played fullscreen. It dumps you out to the desktop, doesn't load the picture, have to go back to game screen reselect unit, and then it dumps you out to desktop again with maybe a picture maybe not. Who needs all this malarkey. I want to click Database, unit, picture, and see a picture in-game.

out
Hannibal ad portas
rsharp@advancedgamin
Posts: 430
Joined: Mon Jun 19, 2006 7:39 am
Contact:

RE: Database Viewer

Post by rsharp@advancedgamin »

Sure, I'll look at this tomorrow as it should be optional now.
Russell
Advanced Gaming Systems
Home of Computer Harpoon
rsharp@advancedgamin
Posts: 430
Joined: Mon Jun 19, 2006 7:39 am
Contact:

RE: Database Viewer

Post by rsharp@advancedgamin »

To convert to the old database media viewer you will need to follow these three steps:


1. Use the windows command line to browse to your Harpoon 3 ANW folder. Type the following:

Code: Select all

regsvr32 /u HMW.dll
This disables the media viewer. Repeat this step for each install if you have multiple ANW installs.

2. Grab the old pic files.
computerharpoon.com/public/OldHarpoon3PicResFiles.zip

3. Extract the *pic.res files into your Harpoon 3 ANW/Resource/DBPics/ folder.


To enable the new media viewer again, just type the following at the command prompt in your Harpoon 3 ANW folder:

Code: Select all

regsvr32 HMW.dll

For directions on using a MS command prompt, use Google.

Thanks,
Russell
Advanced Gaming Systems
Home of Computer Harpoon
User avatar
RedMike
Posts: 289
Joined: Wed Mar 13, 2002 11:33 pm
Location: Alaska

RE: Database Viewer

Post by RedMike »

Setting it up now. I'll let you know the results.
Hannibal ad portas
rapope
Posts: 1
Joined: Mon Oct 27, 2008 2:31 am

RE: Database Viewer

Post by rapope »

Hi,

Thanks for the details on how to switch to the old style viewer. It may not display the photos as large, but it certainly works fast, and doesn't disrupt things when playing in full screen mode.


Regards,

Rocky
incredibletwo
Posts: 102
Joined: Sun Feb 08, 2009 1:14 pm

RE: Database Viewer

Post by incredibletwo »

I have a question regarding the database viewer: is it possible to add photos to it?
 
Thanks
"Fortune favours the bold"
rsharp@advancedgamin
Posts: 430
Joined: Mon Jun 19, 2006 7:39 am
Contact:

RE: Database Viewer

Post by rsharp@advancedgamin »

Yes,

Check out the Resource\DBPics directory. I believe the directory structure explains how to add media but if you need more details just ask. You'll need to know the unique ID of the platform and just drop in your the .png format image in there. Same thing with the supported 3d model formats.

Thanks,
Russell
Advanced Gaming Systems
Home of Computer Harpoon
incredibletwo
Posts: 102
Joined: Sun Feb 08, 2009 1:14 pm

RE: Database Viewer

Post by incredibletwo »

How about for platforms that don't yet have a folder in Resource\DBPics directory? If so, how?
Be gentle, I'm new at all this!
"Fortune favours the bold"
rsharp@advancedgamin
Posts: 430
Joined: Mon Jun 19, 2006 7:39 am
Contact:

RE: Database Viewer

Post by rsharp@advancedgamin »

Create the directory. Pad the directory name on the left with 0s to make it 3 characters long. For example, LHD-1 with the ID 7 becomes directory

007

-or-

007 - LHD-1

The viewer will do the rest.
Russell
Advanced Gaming Systems
Home of Computer Harpoon
incredibletwo
Posts: 102
Joined: Sun Feb 08, 2009 1:14 pm

RE: Database Viewer

Post by incredibletwo »

Where do I find the ID number? [&:]
"Fortune favours the bold"
User avatar
hermanhum
Posts: 2209
Joined: Wed Sep 21, 2005 10:48 am
Contact:

Harpoon

Post by hermanhum »

Every platform entry (Plane, ship, sub) has a datafield for Picture ID number.  You can see it when you use the In-Game database editor.
incredibletwo
Posts: 102
Joined: Sun Feb 08, 2009 1:14 pm

RE: Harpoon

Post by incredibletwo »

Thanks Herman and Russell. Time to add some pics [:)]
"Fortune favours the bold"
incredibletwo
Posts: 102
Joined: Sun Feb 08, 2009 1:14 pm

RE: Harpoon

Post by incredibletwo »

Hello...again....[:'(]
OK, so I got into the In-Game Editor, found the ID number and added a photo. The problem I found was there are many platforms using the same number. I started with planes, the first entry being the 1124N Sea Scan (in the PlayersDB). I then went to the next entry, Bison, and saw it had the same number. I went through a few more entries and saw they had the same number as well. I didn't want to go changing anything because then I would have had signature issues. Is there some to to change that ID number without causing any other issues?
Also, how do I frame and resize the images so they look the same as the ones already in the game?
 
Thanks
"Fortune favours the bold"
User avatar
hermanhum
Posts: 2209
Joined: Wed Sep 21, 2005 10:48 am
Contact:

Harpoon

Post by hermanhum »

ORIGINAL: incredibletwo

OK, so I got into the In-Game Editor, found the ID number and added a photo. The problem I found was there are many platforms using the same number. I started with planes, the first entry being the 1124N Sea Scan (in the PlayersDB). I then went to the next entry, Bison, and saw it had the same number. I went through a few more entries and saw they had the same number as well. I didn't want to go changing anything because then I would have had signature issues. Is there some to to change that ID number without causing any other issues?
The planes have the same number for PicID because those planes have no attached image. #94 is a generic "No photo available".

PicID #130 for ships and PicID #54 for subs serve the same default message.

There is no way to change something in the Database without messing up synchronization with the accompanying Signature.bin file. I *think* that the Signature file is created as an amalgam of data from reading the 17 *.dat files. Therefore, if you change something in the *.dat files, the Signature file that was previously generated will not match the current files. That's my hypothesis, anyway. [:)]
incredibletwo
Posts: 102
Joined: Sun Feb 08, 2009 1:14 pm

RE: Harpoon

Post by incredibletwo »

Thanks for that. I guess I'll wait until this signature thing is sorted out i.e. removed. [:)]
I've already started hunting down images for platforms that currently don't have one.
"Fortune favours the bold"
incredibletwo
Posts: 102
Joined: Sun Feb 08, 2009 1:14 pm

RE: Harpoon

Post by incredibletwo »

Hi again,
Any word on the database, or the ability to edit entries without synchronisation issues, for 3.10? I'm a detail junkie and itching to get to it... [:)]
"Fortune favours the bold"
User avatar
TonyE
Posts: 1583
Joined: Mon May 22, 2006 9:50 pm
Location: MN, USA
Contact:

RE: Harpoon

Post by TonyE »

ORIGINAL: incredibletwo

Thanks for that. I guess I'll wait until this signature thing is sorted out i.e. removed. [:)]
I've already started hunting down images for platforms that currently don't have one.

How about feeding images to Herman for the real PDB releases instead of making your own offshoot? Then all the signature issues are taken care of in the normal PDB releases.
Sincerely,
Tony Eischens
Harpoon (HC, HCE, HUCE, Classic) programmer
HarpGamer.com Co-Owner
incredibletwo
Posts: 102
Joined: Sun Feb 08, 2009 1:14 pm

RE: Harpoon

Post by incredibletwo »

Hi Tony,
Good idea, but "maybe" some of the images are copyrighted. Personal use is ok. Is it OK to give them to Herman?
 
"Fortune favours the bold"
User avatar
TonyE
Posts: 1583
Joined: Mon May 22, 2006 9:50 pm
Location: MN, USA
Contact:

RE: Harpoon

Post by TonyE »

imho distribution of PDB outstrips personal distribution but you can probably go a long ways using copyright free or credited images. just my 2 cents, I'm no copyright lawyer but I tend towards the conservative side, towards not taking chances with copyright.
Sincerely,
Tony Eischens
Harpoon (HC, HCE, HUCE, Classic) programmer
HarpGamer.com Co-Owner
incredibletwo
Posts: 102
Joined: Sun Feb 08, 2009 1:14 pm

RE: Harpoon

Post by incredibletwo »

Would you class the PDB as commercial?
"Fortune favours the bold"
Post Reply

Return to “Harpoon 3 - Advanced Naval Warfare”