Page 2 of 3
Re: Internal items in Titlepacks
Posted: 03 Sep 2014, 19:23
by spaii
Electron wrote:You can check the changes with GbxDump. Please give feedback if it works.
It works, item not appears in editor with your trick
Now i have to test if this hex modified item work on server too.
Not tested if this works with old objects in Blocks folder, but version is 7 on objects

Re: Internal items in Titlepacks
Posted: 13 Sep 2014, 13:33
by spaii
Electron wrote:There is a "hide in editor" flag for Blocks, Objects and Items (0x00000002).
You can test it by "hexediting" a current version 7 Item.gbx file.
Search for the first occurrence of the string "Items" at the beginning of the file.
Skip the "UNASSIGNED" value FFFFFFFF and change the next byte from 00 to 02:

You can check the changes with GbxDump. Please give feedback if it works.
It works only with .Items.gbx files, not with .ObjectInfo.gbx files

Re: Internal items in Titlepacks
Posted: 14 Sep 2014, 00:14
by xbx
Re: Internal items in Titlepacks
Posted: 14 Sep 2014, 00:24
by Suma
Very nice, it will help a lot to clean up in the editor

Re: Internal items in Titlepacks
Posted: 14 Sep 2014, 17:24
by spaii
Ohhh Yes !!
Thx Xbx, good news
I will try if this works with old objects

Re: Internal items in Titlepacks
Posted: 14 Sep 2014, 18:17
by spaii
Woaw, all work fine, even with old objects in Blocks folder

a lot
Re: Internal items in Titlepacks
Posted: 14 Sep 2014, 23:59
by Tipiizor
Thanks xbx, you rock o/
Re: Internal items in Titlepacks
Posted: 15 Sep 2014, 07:57
by meuh21
Re: Internal items in Titlepacks
Posted: 15 Sep 2014, 11:10
by darkpuddle1
That's cool
Also, is there a way to use this so I can 'hide' the standard objects in the editor and only show custom items?
e.g. users cant place any default blocks, only custom blocks I put in the title.
Re: Internal items in Titlepacks
Posted: 15 Sep 2014, 11:11
by steeffeen
so instead of fixing the "internal" flag in files/folders there is now an additional mechanism?