[Release] shStudio 0.7.5

01/01/2015 15:32 _Diavolino_#196
Happy New Year 2015 ! and thanks for your support in this community !
And good luck with your advancement in this awesome work ! :)
So yeah i am impatient to use the rest !!! hehe

Kind regards !
01/02/2015 02:23 Ventinal#197
Quote:
The "Ench Item" is the full type (Type * 1000 + TypeID) of the item used to enchant the gear. If this field is not null and if the description of the item doesn't include a "Enchantment", "Enhancement" or "Reinforcement" tag, it is added to the description with the full item's name.
My problem:
I want to keep the "Enhancement" in the item decription, but without the stupid "[]". :mad:
They are put like this: [Enhancement: "Item Name"] automatically after I click "Ok" and reopen the Item.

My question:
Is there a way to remove them permanently?

Best regards
Vent :)
01/02/2015 08:56 castor4878#198
if these braces are the only things that remain stupid in 2015, you can:
- replace "{c5}[Enhancement:" by "{c5}Enhancement:\0" (offset 14E52C)
- replace "]{/c}" by "{/c}\0" (offset 14E524)

Edit: added to (under progress) 0.7.5.6:
[Only registered and activated users can see links. Click Here To Register...]
01/02/2015 14:21 Ventinal#199
Quote:
Originally Posted by castor4878 View Post
- replace "{c5}[Enhancement:" by "{c5}Enhancement:\0" (offset 14E52C)
- replace "]{/c}" by "{/c}\0" (offset 14E524)
I tried it and could remove the second brace: [Only registered and activated users can see links. Click Here To Register...]
But the first one just won't work: [Only registered and activated users can see links. Click Here To Register...]

Did I do anything wrong?
And btw, thanks for your help and yes, this is the only thing that remains stupid. Its an awesome tool. :D

Best regards
Vent :)

Edit:
I just noticed that you can remove the second brace even without \0: [Only registered and activated users can see links. Click Here To Register...]
01/02/2015 16:23 castor4878#200
Quote:
But the first one just won't work: [Only registered and activated users can see links. Click Here To Register...]
it does! you have edited the sentence "{c5}[Enhancement", I wrote "{c5}[Enhancement:".

Quote:
I just noticed that you can remove the second brace even without \0
the character '\0' means a (signed) char whose vaue is 00h.
if you prefer, you must replace:
7B 63 35 7D 5B 45 6E 68 61 6E 63 65 6D 65 6E 74 3A
with
7B 63 35 7D 45 6E 68 61 6E 63 65 6D 65 6E 74 3A 00
at offset 14E52C (not at 14E4FC).
01/02/2015 17:59 Ventinal#201
Never mind, castor. ;)

I'll wait for the 0.7.6 update. This is too complicated (I have no idea where to put that offset)

Thanks anyways for your time :)
01/02/2015 18:26 wallerus#202
Quote:
Originally Posted by Ventinal View Post
Never mind, castor. ;)

I'll wait for the 0.7.6 update. This is too complicated (I have no idea where to put that offset)

Thanks anyways for your time :)
In the mean time, you could use his older tool [Only registered and activated users can see links. Click Here To Register...] the [Enhancement] text is in the description box rather than being hidden in the new tool.
01/02/2015 19:40 castor4878#203
Quote:
Originally Posted by Ventinal View Post
I'll wait for the 0.7.6 update. This is too complicated (I have no idea where to put that offset)
well, if it seems too complicated, it's because I didn't provide the right info, let me retry.

the given offsets are the offset of the strings to be modified in the last release of shStudio (0.7.5.5).
these offsets are displayed by [Only registered and activated users can see links. Click Here To Register...] (which is the simpler tool to change some characters in te data).
you can use these values to jump to the right location (using shortcut Ctrl+G or menu Search / Goto), simply enter the value (hexa, as provided, is the default choice).

I assume your first error was to modify the pattern "{c5}[Enchantment" which is a looked for string and not "{c5}[Enchantment:" which is the inserted string.

The first is present before the second; it is used to check if the enhancement item name is already present in the description or not (to not insert it twice); because OS use several strings, the patterns "{c5}[Enchantment", "{c5}[Enhancement" and "{c5}[Reinforcement" are looked for (we will find these 3 strings one after the other); then the code contains the ending pattern "]{/c}" and the begining pattern "{c5}[Enhancement:", you can change them to whatever you want but you must start the strings at the exact same location than the current ones and you must end your new string with a '00' value which marks the end of string (of course you can not extend string to overwrite the next one, nor the "Can be equipped by" msg stored after).

Quote:
[with] older tool ShStudio 0.7.1 the [Enhancement] text is in the description box rather than being hidden in the new tool.
both release behaves similary; once inserted, the text is not hidden, it is present in the description string and displayed with in.
both release also check for a "[xyz" pattern (the 3 listed above) and thus they always use the '[' delimiters (since it is part of the hard-coded searched pattern).
being able to customize the pattern with the settings dialog, make (obviously) sense since it was not possible to localise (translate) it (in all versions of shStudio).
01/03/2015 02:04 Ventinal#204
Thank you very much for your pretty long explination and for the time you invested.
I tried changing the code at these offsets:

14E524
and
14E52C

It worked fine, but I am still restricted in customizing the description.

I am sorry for asking so late, but wouldn't it be easier if I just remove the auto-fill function string? So I can fully customize my item description.


Best regards
Vent :)

Edit:
Sorry, I should have tried it before asking, I just replaced everything with 00 and its gone now ;D
If there would be a better way to remove it. Please tell me ;)
01/03/2015 04:14 _Diavolino_#205
One question, i was searching in every files but i dont find where the sky is manage.

exemple :
Arena as Dungeon got one Kinda Pink Orange sky, if you change the ID map the sky is black...
I explained this to arrive at Canyon of Greed as Dungeon it has the sky Black is so sad...
There is one way to add one texture... via Shstudio ? or other ?

Thank You ! :)
01/03/2015 11:44 castor4878#206
Quote:
Originally Posted by _Diavolino_ View Post
One question, i was searching in every files but i dont find where the sky is manage.
for field-maps (not dungeon), a weather record exists at end of the .wld file (very last data are 44 bytes (11 floats), and before it you'll find 3 x String256 that define the texture for "global" sky (the sky is drawn as a half-sphere over the map) and 2 textures for clouds.

for dungeon-maps, the weather record is not present, and since most of dungeons are caverns or rooms it makes sense, however a few of them are "outside place" (such as Canyon of Greed), the dungeon structure (.dg files) does not have a specific weather-like field, so the best assumption is that a vertex is used to draw the sky, but with which texture?

on one hand, the data\sky folder only contains .bmp & .tga file, there is no index file that lists all available files assigning them an unique index, so these files can not be referenced by indexes (but only by names as a field-map does).

on other hand, the 3D rendering of the R3_Dun1.dg file does not display any sky.
the texture files (from data\Entiy\Texture) listed in each module of each segment of the whole structure don't include something looking like a sky.
the dungeon specific textures (file in data\world\dungeon\R3_Dun1 for the map 81) are (quite) hard to explore to know if one looks like a sky or not (I assume these files are used as masks, if someone has info about them, thank to let us know).
in short, no way to find something that may describe a sky ...
01/03/2015 12:31 _Diavolino_#207
effectively, i was see that state and this possibility to add the sky but for dungeon its delicate...for that i ask you help xD
should to explore a little more that 2 ID such of 39 and 40 secret arena light and dark, because as i told and rest coherent, when you are moving those map under an other ID the sky disapear and rest on 39 40 id ... Thank You for explanation very details

Kind Regards
01/03/2015 15:01 Призрак урана#208
sky in dungeon included in game.exe for example maps 39, 40 and 61(football field)
01/03/2015 18:33 _Diavolino_#209
ah so it rest independant of any modification in sdata :)

will check more :)
01/03/2015 20:31 Ventinal#210
After trying some stuff in the item.SData (item description) I found these values:

{c1}text{/c) = light blue text
{c2}text{/c) = green text
{c3}text{/c) = yellow text
{c4}text{/c) = red text
{c5}text{/c) = grey text

Now I am wondering if there are more colors, cause I couldn't find more.