SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   [REL] Functional Draggable Chronometer (https://www.subsim.com/radioroom/showthread.php?t=238735)

ericlea 12-25-18 04:47 PM

Hi, I try to add functional dragable chrono into


Optimized ARB-Ahnenerbe WideGui 1920x1080 for WAC5
http://www.subsim.com/radioroom/showthread.php?t=239167




But i think it does'nt work because in this widegui (as in all 1920 x 1080 Ahnenerbe WideGui) the dragable chrono is taken in a different file :

Optimized ARB-Ahnenerbe WideGui 1920x1080 for WAC5\data\Menu\Gui\Chronometer.tga


https://i36.servimg.com/u/f36/19/84/56/02/captur15.jpg


not in data\Menu\Gui\Periscope.tga



So the changes to made in menu_1024_768.ini are not the same as you describe.


here you can see that in menu_1024_768.ini, it is different that in your exemple :


https://i36.servimg.com/u/f36/19/84/56/02/captur14.jpg





But I am sure it will be possible to add this great enhencement in 1980x1080 widegui ! Perhaps you can help us :-)





Thank You !



:Kaleun_Salute:

Tycho 12-28-18 06:53 AM

If you want me to write you, what to do? I will just copy/paste my preview descriptions.
Nothing different, the principle is the same, how I already describe it.
You must create one new item to the chrono.
Over the chronometer.tga you measure the resolution and position of this new item, that will define the area, where you will click for the chrono to start/stop/reset.

Or, the easiest way is, just send me your menu_1024_768.ini and this chronometer.tga, and I'll do it.
:Kaleun_Salute:

ericlea 12-28-18 08:10 AM

Thank you !


I had already modified the menu_1024_768.ini and create one new item to the chrono as in your example.
i will going deeper and test it.


If i have problem i will write you.




EDIT : I do not succeed yet, it seems dragable chrono is differently made in widegui1920x1080 mods as in gui 4x3 mods
I send you a PM
sorry for my lack of doing this :-(

Tycho 12-28-18 03:44 PM

Well, I come back home too late this night, don't have time for this.
But now, when I look over your screenshot, maybe I know where is your mistake!

Maybe, you connect the new item to the ParentID=0x3FF00000 (item 343)?
Yes, in my example it is child to the 0x3FF00000, but it is different case.
Now look close to your case. This item, 343 is a type = menu group, and it is stationar, and from my point of view - completely redundant.
Your draggable element is the next item 0x3FF00006, and all other chrono element (Arrow, Glass...) are probably connected to it.
So, what happen maybe is this:
When you drag your chrono in the game, the 0x3FF00006 and all its children are moving.
0x3FF00000 is not child to the draggable item, but opposite, it is a parent to the 0x3FF00006, but this don't make it draggable.
It stay on its position and only define the original position of the chrono, before you start dragging it.
Now if you connect the required new item to the 0x3FF00000, then it also will be stationar and stay on position.

So, try it again, but this time make it next after 344, and make its ParentID=0x3FF00006
If still don't happen, then tomorrow night I will do it!

ericlea 12-28-18 05:31 PM

Hi Tycho !


Your are a master that was the solution !!!


ParentID=0x3FF00006 (not ParentID=0x3FF00000)


https://i36.servimg.com/u/f36/19/84/56/02/captur16.jpg



Now functional dragable chrono works and will work with all 1920x1080 widegui mods !


After your FULL NAV MAP for widegui 1920x1080, now your functional dragable chrono ! 2 very important enhencements in the story of sh3 !


BRAVO TYCHO !!!


:Kaleun_Applaud: :Kaleun_Cheers: :Kaleun_Thumbs_Up: :Kaleun_Salute:




tomorrow I’ll place the on/off area on the stopwatch top button and everything will be perfect !

https://i36.servimg.com/u/f36/19/84/56/02/4c63cb10.png

ericlea 01-09-19 01:05 PM

Because MaGui F is for me the best gui mod in 4x3 (normal resolution) for sh3

http://www.subsim.com/radioroom/showthread.php?t=166320






here is the functional draggable chrono for MaGui F !

https://www.dropbox.com/s/v56a97ck4u...ui%20F.7z?dl=0




INSTALLATION :

1-copy your sh3.exe and
paste it in the mod at same level as "ChronoPatch.bat"

2-launch "ChronoPatch.bat" to patch sh3.exe

3-then activate the mod with jsgme after MaGui F



Thanks to Tycho for this great Sh3 enhencement !
and to Mackman94 for his wonderful MaGui F



ericlea


:Kaleun_Cheers:

shadow_wxh 04-01-20 07:36 AM

Is it possible to add a hot-key in the commands_en.cfg so the stopwatch can respond to keyboard input?

Jeka 37 08-01-20 08:46 AM

Hi, how to get GWX and Widescreen MaGui v3.4-SA working. After the patch exe and menu.ini, the game starts with an error and the chronometer has no arrow.
I added to menu.ini
[G3F I399]
Name=Dial
Type=1031;Stat bmp array
ItemID=0x3FF00000
ParentID=0x3F000000
Pos=-46,148,163,213;-107,920,163,213
Materials=1
Display=0;No stretch
Mat 0=data/menu/gui/Periscope.tga
Crop 0=0.00292969,0.767578,0.15918,0.208008
MatFlags=0x21
TexFmt=0x9
Drag=true
BmpState=1
NeedFocus=true
SelOne=true
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

G3F I400]
Name=Activation
Type=1031;Stat bmp array
ItemID=0x3F310005
ParentID=0x3FF00000
Pos=71,-9,28,28
Materials=1
Display=0;No stretch
MatFlags=0x29
TexFmt=0x9
Drag=false
BmpState=1
NeedFocus=true
SelOne=false
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF

klh 08-01-20 09:24 AM

Just a guess, but did you renumber the menu items correctly?

Jeka 37 08-01-20 10:24 AM

Quote:

Originally Posted by klh (Post 2686508)
Just a guess, but did you renumber the menu items correctly?

Yes, I have corrected the numbering below to [G3F I417].

Jeka 37 08-01-20 11:20 AM

Changed a little, loading without problems the chronometer hand returned but there is no effect. Maybe the position is not set correctly?
[G3F I400]
Name=Activation
Type=1031;Stat bmp array
ItemID=0x3F310005
ParentID=0x3F000000
Pos=71,-9,101,101
Materials=1
Display=0;No stretch
MatFlags=0x21
TexFmt=0x9
Drag=true
BmpState=1
NeedFocus=true
SelOne=true
IdGroup=0

Aktungbby 08-01-20 12:02 PM

Welcome aboard!
 
Jeka37!:Kaleun_Salute:

leinar_06 08-04-20 10:06 PM

can someone help me with this mod

gutto_13 08-23-20 05:22 AM

Cant get the patch to work
 
when i do the patch without running the batch file in administrator i get this

"Patched 67 bytes, new hash: ae864687ce646979d33d67f1b340318a

ChronoPatch has been successfully applied!

Press any key to continue . . ."

then i go in game and it no work

but when i run as administrator i get

"'binpatch' is not recognized as an internal or external command,
operable program or batch file.

There is something wrong with you! ChronoPatch fail to apply!

Press any key to continue . . ."

pls Help

im running all these mods

**Grey Wolves Expansion
*Sh3 Commander
Thomsen's Sound Pack V3.2cg
Rbs1_SH4_Effects_GWX_30_71
Rapt0r's Uniforms V2.0 [Grey]
Rapt0r's Uniforms V2.0 [Grey - All Leather] Patch
Rubini´s Underwater dust&plancton v1
M.E.P v6
Optional - ShipVanishingHull for MEP v6
Optional - FSF for MEP v6
TKSS18 German U-Boats Compilation No Eagle
German U-Boats Compilation 2 (only VIIB & VIIC models by WISE)
U-Boot 7c-II
FixAllSubGWX
ARB WideGui 1920x1080 V3
Adaptation for English & Deutsch
Sh3_volumetric_clouds&fog_V2.2
Ricks_GWX_Rec_Man_Final
M.E.P v6- VisualSensors for GWX3
H.sie Hard-coded fixes.

Aktungbby 08-23-20 12:03 PM

Welcome aboard!
 
gutto_13,:Kaleun_Salute: surfaced after 3 year silent run!:up:


All times are GMT -5. The time now is 08:50 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.