.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPMBT
Notices


Reply
 
Thread Tools Display Modes
  #11  
Old October 15th, 2024, 03:09 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,487
Thanks: 3,956
Thanked 5,690 Times in 2,810 Posts
DRG will become famous soon enough
Default Re: Next Generation SHP Viewer

How close do you think you are to allowing Icons to be added?
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc

Last edited by DRG; October 15th, 2024 at 03:19 PM..
Reply With Quote
  #12  
Old October 15th, 2024, 06:06 PM
MarkSheppard's Avatar

MarkSheppard MarkSheppard is offline
Lieutenant Colonel
 
Join Date: Jun 2005
Posts: 1,376
Thanks: 101
Thanked 618 Times in 409 Posts
MarkSheppard is on a distinguished road
Default Re: Next Generation SHP Viewer

Probably a week or two. I tried adding SHP recompression capability; but it wasn't quite there; lots of errors and corrupted data; so I shelved that for the time being to work on usability improvements.

Latest usability improvement I whipped up this morning was to add the option for icon slot #s to be drawn onto icons:

Reply With Quote
The Following 2 Users Say Thank You to MarkSheppard For This Useful Post:
  #13  
Old October 15th, 2024, 09:37 PM
MarkSheppard's Avatar

MarkSheppard MarkSheppard is offline
Lieutenant Colonel
 
Join Date: Jun 2005
Posts: 1,376
Thanks: 101
Thanked 618 Times in 409 Posts
MarkSheppard is on a distinguished road
Default Re: Next Generation SHP Viewer

Perhaps longer. I wasted a few hours; and I'm at my wits end here. It's easy to READ something; because you can take hacks and shortcuts; but if you want to write it into a correct compatible format...
Reply With Quote
The Following 2 Users Say Thank You to MarkSheppard For This Useful Post:
  #14  
Old October 16th, 2024, 01:52 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,487
Thanks: 3,956
Thanked 5,690 Times in 2,810 Posts
DRG will become famous soon enough
Default Re: Next Generation SHP Viewer

Take a break. Go do something else for awhile. Trust me it can help
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #15  
Old October 16th, 2024, 01:58 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,487
Thanks: 3,956
Thanked 5,690 Times in 2,810 Posts
DRG will become famous soon enough
Default Re: Next Generation SHP Viewer

This may be what you are trying to do or it might be impossible but for me a great way to add icons into a Shp file would be drag and drop the image into where I want to put it in the SHP file then click on where I want the crosshairs to be to center the two parts ( if there are two parts )
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #16  
Old October 16th, 2024, 02:01 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,487
Thanks: 3,956
Thanked 5,690 Times in 2,810 Posts
DRG will become famous soon enough
Default Re: Next Generation SHP Viewer

...and as you noticed in post #12..... I don't always use the standard 89x89 image size because with SHPEdit I don't have to but most things are just out of old habits
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #17  
Old October 16th, 2024, 02:04 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,487
Thanks: 3,956
Thanked 5,690 Times in 2,810 Posts
DRG will become famous soon enough
Default Re: Next Generation SHP Viewer

......and in case you didn't know.... the game and Fred sometimes built code that counted from zero and sometimes counted from one............ this is why SHPEdit reports the image as 88x88 when it is actually 89x89
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #18  
Old October 17th, 2024, 06:29 PM
MarkSheppard's Avatar

MarkSheppard MarkSheppard is offline
Lieutenant Colonel
 
Join Date: Jun 2005
Posts: 1,376
Thanks: 101
Thanked 618 Times in 409 Posts
MarkSheppard is on a distinguished road
Default Re: Next Generation SHP Viewer

Quote:
Originally Posted by DRG View Post
This may be what you are trying to do or it might be impossible but for me a great way to add icons into a Shp file would be drag and drop the image into where I want to put it
My first try at adding image replacement capability was to simply right click on the icon slot you wanted to use; select REPLACE and then choose replacement image using the system file dialog.

Quote:
in the SHP file then click on where I want the crosshairs to be to center the two parts ( if there are two parts )
That was close to my concept as well; I think I can easily make a SHP Header editor; since you can edit header data without having to touch the compressed SHP files.
Reply With Quote
The Following User Says Thank You to MarkSheppard For This Useful Post:
  #19  
Old October 17th, 2024, 09:45 PM
MarkSheppard's Avatar

MarkSheppard MarkSheppard is offline
Lieutenant Colonel
 
Join Date: Jun 2005
Posts: 1,376
Thanks: 101
Thanked 618 Times in 409 Posts
MarkSheppard is on a distinguished road
Default Re: Next Generation SHP Viewer

I've been working at refactoring the program some more; and I've discovered that it probably does not implement the SHP RLE logic correctly -- it does it well enough to pass with SPCAMO files; but when I throw age of rifles (AOR) or Panzer General (PG) SHPs at it; it starts coughing.

This is probably why when compression is reversed; it's not doing it correctly.
Reply With Quote
The Following User Says Thank You to MarkSheppard For This Useful Post:
  #20  
Old October 18th, 2024, 01:27 AM

lukerduker123 lukerduker123 is offline
Corporal
 
Join Date: Jul 2013
Posts: 113
Thanks: 29
Thanked 34 Times in 27 Posts
lukerduker123 is on a distinguished road
Default Re: Next Generation SHP Viewer

Lol this came out AFTER I finished adding all the icons to my mod. For real though, given this runs in browser I'm incredibly impressed. Here I was thinking my browser was only good for playing youtube and browsing Battletech (And Steel Panthers) forums. Good job, I can't wait to see this thing fully fleshed out!
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 06:24 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.