View Full Version : [WIP] SH4 [catchy name here for patrol report generator]
SleightOfHand
05-29-09, 09:22 AM
Think along the lines of SH3 Commander, but not nearly as pretty or advanced. Some ground rules to help me prevent burnout and to save you from being flamed by me:
0. To clarify the stuff below: I'm not looking for trouble. I'm just saying up front that I'm not going to stand for all that much of it.
1. This is strictly a free-time project, and I've already got a good number of those plus a full-time job. I am not guaranteeing that I'll actually get anything at all done on this, and if I get more than a few hours a week in you can count it as a small miracle.
2. It's my way or the highway. If you feel like moaning about lack of pace or features, you can go start your own project.
2a. I will not tolerate unfavorable comparisons to other projects with similar purposes. Go post something positive in their thread and stop cluttering up mine.
2b. If I don't have your support, I am not obliged to treat you nicely.
2c. Even if I do I'm not obliged to treat you nicely.
3. Don't expect anything more than a reasonably neat little this-is-what-you-sunk-and-where tool and you won't be disappointed.
On to things I'm aiming for eventually:
1. Sinking times/locations/ship types/(possibly) ship names, per patrol and per career. 2. A map display of the above. Maybe zoomable. Maybe not.
3. Tracking fired torpedoes by hits/duds/misses, and attempting to group them by time into attacks.
4. Possibly a map display of the above.
5. Simple date-based in-port scuttlebutt.
As for when I'll have something out: when it's ready. If you can't handle a wait, then first I question why you're playing subsims and second I'd advise you to leave now. :P
Sailor Steve
05-29-09, 11:33 AM
Good for you!:rock:
As we said back in the '60s, "tell it like it is".
As for a catchy name, if all it's going to do is generate patrol reports how about the one you already used: SH4 PRG (Patrol Report Generator)?
And as for not treating me nicely: Sticks and stones may break my bones, but whips and chains excite me!
ETR3(SS)
05-29-09, 12:19 PM
I think you two definitely have your share of saltiness, I like it! :salute:
FIREWALL
05-29-09, 12:32 PM
I think you'll do just fine SOH. :up:
Rockin Robbins
05-29-09, 01:44 PM
How bout "What I Did on My Pacific Vacation" for the catchy name of the report generator?:D
FIREWALL
05-29-09, 02:00 PM
Please keep the title Simple. :yep:
SH4 PRG. :up:
Easy to type and easy to remember.
eljeffo41
05-29-09, 02:22 PM
So basically you really don't want any help,or did I miss something?:nope:
Rockin Robbins
05-29-09, 02:33 PM
Please keep the title Simple. :yep:
SH4 PRG. :up:
Easy to type and easy to remember.
Yeah, we wouldn't want to risk having the catchy name tell us anything about what the program does. Then someone might want to use it. Kill the unnecessary space too. Wastes a valuable and increasingly rare keystroke. Scratch my suggestion. Another vote for SH4PRG. All upper case. Perfect.:har:
Don't worry SlightOfHand, with this catchy name EVERYBODY will want to use your report generator.:up:
FIREWALL
05-29-09, 02:42 PM
Yeah, we wouldn't want to risk having the catchy name tell us anything about what the program does. Then someone might want to use it. Kill the unnecessary space too. Wastes a valuable and increasingly rare keystroke. Scratch my suggestion. Another vote for SH4PRG. All upper case. Perfect.:har:
Don't worry SlightOfHand, with this catchy name EVERYBODY will want to use your report generator.:up:
Your right. What were GWX, SHC3, JSGME, NYGM, TMO, OLC GUI, and many others Thinking. :haha:
SleightOfHand
05-29-09, 03:01 PM
So basically you really don't want any help,or did I miss something?:nope:On the coding side, not really. I do enough collaborative code at work. :P I'm open to help in other ways, though.
SH4PRG will be just fine for a name, too. The first post is renamed--would a moderator mind renaming the thread?
So when will it be released?? :hmmm:
(J/J couldn't resist :har:)
I like very much how it starts :haha:, and I will support it even if it never comes out, which is the most probable :D, but at least I will NEVER EVER be able to say: What a pity! because you did put it clear and loud from the very beginning. And that's already something worth it :up:
Lt commander lare
05-29-09, 04:11 PM
you tell it like it is and what ever name you come up with is good for me and besides what ever you do would be appreciated, this site has wonderful people and good friends who i enjoy seeing on here so darn the torpedoes and full speed ahead and another thing i havent lost a wargame yet and im not about to start right now (from down periscope)
lt commander lare
SleightOfHand
05-30-09, 07:37 AM
A brief and not especially helpful update: 1-3 and 5 are almost certainly possible. How to do 4 is not immediately obvious to me--does anyone with better knowledge of the save-game data files know if there's a way to relate time/date with the boat's position?
Lagger123987
05-30-09, 11:48 AM
Please keep the title Simple. :yep:
SH4 PRG. :up:
Easy to type and easy to remember.
PRG?! Jeez, I thought it was going to be TRG!
Rockin Robbins
05-30-09, 05:10 PM
We love acronyms here!:woot:
SlightOfHand, it doesn't matter if the program works, you have a cool acronym and that's all it takes. The pressure's off!:D
Your right. What were GWX, SHC3, JSGME, NYGM, TMO, OLC GUI, and many others Thinking. :haha:Well that would explain all of their lack of success... RSRD, S3D, ROW, LBO, FOTRS, GFO, if they had a catchy name would have been able to be at least a little popular. BUT NOOOOOOOOOO!!:lost:
FIREWALL
05-30-09, 06:19 PM
We love acronyms here!:woot:
SlightOfHand, it doesn't matter if the program works, you have a cool acronym and that's all it takes. The pressure's off!:D
Well that would explain all of their lack of success... RSRD, S3D, ROW, LBO, FOTRS, GFO, if they had a catchy name would have been able to be at least a little popular. BUT NOOOOOOOOOO!!:lost:
:har::rotfl::rotfl::har::rotfl::rotfl::har:
tomoose
06-01-09, 03:48 AM
...to you SleightOfHand (or should I say SOH in keeping with the acronym theme going on here, LOL).
I think you'll find any rudimentary PRG would be gladly welcomed by the vast majority of the subsim SHIV community.
My thanks in advance for taking this on.:salute:
Historic
06-02-09, 07:02 AM
We love acronyms here!:woot:
SlightOfHand, it doesn't matter if the program works, you have a cool acronym and that's all it takes. The pressure's off!:D
Well that would explain all of their lack of success... RSRD, S3D, ROW, LBO, FOTRS, GFO, if they had a catchy name would have been able to be at least a little popular. BUT NOOOOOOOOOO!!:lost:
Muhahaha RR you crack me up mate lolz :har:
MY vote is SH4 RPG no fuss easy to remember
SleightOfHand
06-03-09, 03:46 PM
I came across a Hiryu last night and put four torpedoes right... across its bow. Seriously. I missed by about ten feet. Let my experience be a cautionary tale--no matter how good your TDC/PK solution seems to be, you should always update bearings before you shoot.
Inspired by the above, I've decided that this weekend I'm going to hammer out the bit that detects torpedo firings and hits/duds (I'll figure out misses by math). Maybe I'll get to the part that attempts to time-group them into attacks, but I'm not particularly sure I'll do so tonight.
Also, don't expect much in the way of a UI for quite some time to come. For the moment, I'm probably not even going to include one--it'll be a command-line utility until I have more functionality built out (which shouldn't take long, since writing in Groovy is about as simple as programming gets; if you can't stand Java apps--what Groovy compiles to--then you may as well leave now).
I've been thinking that I'll need some help for what to look for for non-US-English users (more importantly, people who play in different languages). I'll let you know about that soon.
AVGWarhawk
06-03-09, 03:57 PM
you should always update bearings before you shoot.
Yes sir, as they say in the movies and RL...'final bearing and shoot' :D Good luck with this project:yeah:
OrangeYoshi
06-03-09, 04:02 PM
My vote is for SH4PRG. Easy to say, easy to type, easy to remember.
This sounds like a really good idea SOH. Good luck.
Rockin Robbins
06-06-09, 06:52 PM
I'm sorry, the name is already taken by Ron Ronoff of SubSoWesPac. SH4 Report gives you a text-based cruise report for any saved cruise and transfers it to the clipboard. Here's the link (http://www.subsim.com/radioroom/downloads.php?do=file&id=1155) to the Subsim download entry. I hope it helps SlightofHand with some file handling wizardry.
You have to keep in mind that what SlightofHand proposes is quite a bit more ambitious than SH4 Report and I hope they're both successful at filling a much-needed gap in our gameplaying.
A sample SH4 Report of one of my mission battles:
011321 JUL 1944
From : Cdr Rockin Robbins
Cycle : 11
To : SubRon 14 & ComSubPac
Report from USS Kraken
Patrol area : Catalina Island
Realism 80%
Mods used 3
FalloftherisingSun_V1.2_SH4V1.5
Pimp My Ride II
Slightly Subnuclear Deck Gun
Special Mission Conducted: Yes see patrol narrative
The following ships/aircraft have been destroyed
Number of Warships sunk : 1
Number of Merchants sunk : 28
Total Warship tonnage : 1650
Total Merchant tonnage : 221776
Total Gross tonnage : 223426
Total JANAC tonnage : 178741
011246 JUL 1944
Ship sunk! Asashio Destroyer, 1650 ton
Long 118° 34' W, Lat 29° 18' N
011248 JUL 1944
Ship sunk! Medium Modern Split Freighter, 3262 ton
Long 118° 36' W, Lat 29° 20' N
011249 JUL 1944
Ship sunk! Large Modern Tanker, 10087 ton
Long 118° 36' W, Lat 29° 20' N
011249 JUL 1944
Ship sunk! Large Modern Composite Freighter, 7178 ton
Long 118° 36' W, Lat 29° 20' N
011249 JUL 1944
Ship sunk! Modern Passenger Liner, 6783 ton
Long 118° 36' W, Lat 29° 21' N
011249 JUL 1944
Ship sunk! Large Modern Tanker, 10058 ton
Long 118° 36' W, Lat 29° 21' N
011250 JUL 1944
Ship sunk! Large Modern Composite Freighter, 7190 ton
Long 118° 36' W, Lat 29° 21' N
011250 JUL 1944
Ship sunk! Large Old Split Freighter, 8208 ton
Long 118° 36' W, Lat 29° 21' N
011250 JUL 1944
Ship sunk! Small Passenger Carrier, 1718 ton
Long 118° 36' W, Lat 29° 20' N
011253 JUL 1944
Ship sunk! Medium Old Tanker, 4804 ton
Long 118° 36' W, Lat 29° 21' N
011254 JUL 1944
Ship sunk! Modern Passenger Liner, 6783 ton
Long 118° 36' W, Lat 29° 21' N
011256 JUL 1944
Ship sunk! Medium Old Tanker, 4804 ton
Long 118° 36' W, Lat 29° 22' N
011256 JUL 1944
Ship sunk! Large Old Split Freighter, 8208 ton
Long 118° 36' W, Lat 29° 22' N
011301 JUL 1944
Ship sunk! Medium Old Composite Freighter, 3997 ton
Long 118° 36' W, Lat 29° 22' N
011302 JUL 1944
Ship sunk! Large Old Split Freighter, 8228 ton
Long 118° 36' W, Lat 29° 22' N
011302 JUL 1944
Ship sunk! Modern Passenger Liner, 6783 ton
Long 118° 36' W, Lat 29° 23' N
011304 JUL 1944
Ship sunk! Modern Passenger Liner, 6783 ton
Long 118° 36' W, Lat 29° 23' N
011304 JUL 1944
Ship sunk! Huge European Liner, 18765 ton
Long 118° 36' W, Lat 29° 23' N
011307 JUL 1944
Ship sunk! Huge European Liner, 18765 ton
Long 118° 36' W, Lat 29° 24' N
011308 JUL 1944
Ship sunk! Large Old Split Freighter, 8228 ton
Long 118° 35' W, Lat 29° 24' N
011309 JUL 1944
Ship sunk! Small Passenger Carrier, 1718 ton
Long 118° 35' W, Lat 29° 24' N
011311 JUL 1944
Ship sunk! Modern Passenger Liner, 6783 ton
Long 118° 35' W, Lat 29° 24' N
011311 JUL 1944
Ship sunk! Huge European Liner, 18765 ton
Long 118° 35' W, Lat 29° 24' N
011312 JUL 1944
Ship sunk! Modern Passenger Liner, 6783 ton
Long 118° 35' W, Lat 29° 23' N
011312 JUL 1944
Ship sunk! Large Modern Tanker, 10087 ton
Long 118° 34' W, Lat 29° 24' N
011312 JUL 1944
Ship sunk! Medium Old Tanker, 4804 ton
Long 118° 35' W, Lat 29° 24' N
011316 JUL 1944
Ship sunk! Large Old Split Freighter, 8208 ton
Long 118° 34' W, Lat 29° 23' N
011319 JUL 1944
Ship sunk! Medium Old Tanker, 4804 ton
Long 118° 34' W, Lat 29° 22' N
011320 JUL 1944
Ship sunk! Large Old Passenger Carrier, 9192 ton
Long 118° 34' W, Lat 29° 21' N
Torpedoes fired : 3
Torpedo impacts : 2
Torpedo misses : 1
Torpedo duds : 0
Torpedo premature explosions : 0
Gun loaded 0 times
Patrol narrative:
Special Mission: Break Fall of the Rising Sun
Torpedo data:
011243 JUL 1944 : Firing tube 1
011245 JUL 1944 : Firing tube 8
011245 JUL 1944 : Firing tube 7
011245 JUL 1944 : Torpedo hit
011246 JUL 1944 : Torpedo hit
011246 JUL 1944 : Torpedo miss
Cdr Rockin Robbins
CO USS Kraken
SleightOfHand
06-07-09, 09:27 PM
Hey, folks. Nothing to show yet, but I should have a little torpedo hits/misses/duds utility for you tomorrow. I expect I won't try to track premature explosions, because I can't do that without introducing some error--they'll just end up counting as misses.
Rockin Robbins, I'd be indebted if you could ask the author of SH4 Report if he knows how the locations in CareerTrack.upc are encoded, and if they're the same way in SaveData.clg.
Anyone who plays a non-US English version of the game, I could use some help with what exactly shows up in SaveData.crp.
Mav87th
06-08-09, 02:50 PM
Catchy name suggestion
SH-4 SOHULS
A program that lists all the lost souls.....:arrgh!:
Highbury
06-08-09, 03:38 PM
If the original project which skwasjer had picked up long ago is dead (and I am pretty sure he is too busy with SH3D etc) see if you can use the name it was going under, SH4 Skipper. I always thought Skipper was a nice USN sounding sequel to Commander :)
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.