- ComputerCraft | Programmable Computers for Minecraft
- → hbomb79's Content
hbomb79's Content
There have been 53 items by hbomb79 (Search limited from 10-February 22)
#271914 OreOS
Posted by
hbomb79
on 17 November 2017 - 08:07 PM
in
Operating Systems
If you need further help don't hesitate to either contact here, in the Titanium thread, or on Gitter.
#271905 OreOS
Posted by
hbomb79
on 17 November 2017 - 12:25 AM
in
Operating Systems
If the user installs Titanium using TPM, it will be available at '/.tpm/packages/Titanium/<VER>'. It might be best if you manually execute a tpm install command (alternatively, package your OS with the Titanium packager so that Titanium dependencies are managed automatically). This would remove the need for a shortcut in '/System/API' and the user doesn't have to install Titanium themselves.
Furthermore, using a minified build of Titanium for production releases is probably a good idea -- the unminified build is huge.
Edit: Also, Titanium is licensed under the MIT license. The license must be in all copies or substantial portions of the software.
#271065 CCDrop 2 - Full Directory and File Transfer [v0.1.0-alpha.1]
Posted by
hbomb79
on 22 October 2017 - 02:57 AM
in
Programs
CCDrop (2)
CCDrop 2, the successor to CCDrop, aims to provide a much more pleasing experience. This is a side-project at most, so it's not flawless (and is not finished); regardless I thought I'd release it to help catch bugs and get some feedback, rather than leaving it to gather dust.
Powered by Titanium, and Plexus (another side-project), CCDrop allows you to pick the files you would like to send to another client (wirelessly; within range of course) relatively painlessly. The other client must accept the connection request, however.
More features are planned, but I'd love to hear your constructive thoughts! Let me know what you'd like to see.
Got a bug or a suggestion/request? I'd rather you post it on GitLab if you can, rather than on this forum post; makes it much easier to track. Be sure to avoid repeat issues if you can, best to search for an issue matching yours before posting.
Screenshots

What happens in this GIF?
- Shows the 'transfer' file on the first PC (sender), and shows missing file on the second PC (receiver)
- Starts CCDrop on both clients
- Starts file transfer on first PC
- Accepts file transfer, and shows that 'transfer' now exists (and content matches).
Install
CCDrop is made easily available via the Titanium Package Manager. Running this command will quickly install CCDrop to 'ccdrop' in your computer.
pastebin run 5B9k1jZg tpm install CCDrop --dest ccdrop
If you get a 'file not found' error, you likely pressed 'n' while installed, meaning you didn't patch your startup file. Either:
- Run /.tpm/bin/tpm patch, reboot and retry the command -- be sure to press 'y' where prompted during patch.
- or, install CCDrop using /.tpm/bin/tpm install CCDrop --dest ccdrop
Then, run 'ccdrop' and wait a little while. The first launch will take much longer than subsequent launches because the dependencies (Titanium and Plexus) will be downloaded.
#270973 Titanium - Graphical User Interface (GUI) Framework [Beta 1] - XML
Posted by
hbomb79
on 16 October 2017 - 12:12 AM
in
APIs and Utilities
Skullcraft, on 13 October 2017 - 03:44 PM, said:
You can use whatever CC colours you want. You can use `color`, `backgroundColour`, `activeBackgroundColour`, etc... (colour can be spelt as 'color' too if you prefer).
Literally every aspect of the pre-built nodes (such as TabbedPageContainer, ScrollContainer) can be customized as they are simply nodes that you can target using Node Queries, or the 'nodes' table. The colours you see are the defaults.
#268941 Little function to make handling bundled cables more convinient
Posted by
hbomb79
on 10 August 2017 - 09:48 PM
in
APIs and Utilities
#268702 Titanium - Graphical User Interface (GUI) Framework [Beta 1] - XML
Posted by
hbomb79
on 31 July 2017 - 10:31 AM
in
APIs and Utilities
v0.1.0-beta.1
Another bug fix update with a couple cool features thrown into the mix.
Essentially, TabbedPageContainers are available for use and the DialogWindow system has been overhauled in an effort to make it much less confusing to work with.

View here for the GitLab tag information, and a commit comparison
#267387 Titanium - Graphical User Interface (GUI) Framework [Beta 1] - XML
Posted by
hbomb79
on 02 June 2017 - 09:09 AM
in
APIs and Utilities
Update your build file by uninstalling and reinstalling your Titanium installation.
tpm uninstall Titanium:v0.1.0-alpha.9 tpm install Titanium:v0.1.0-alpha.9
#267238 Titanium - Graphical User Interface (GUI) Framework [Beta 1] - XML
Posted by
hbomb79
on 26 May 2017 - 11:00 PM
in
APIs and Utilities
Alpha 9 has hit the streets, bringing a few new features (dialog popups, overlay container, and typeOf selection in theme files) and a lot of bug fixes. Take a looksie.
#266803 Titanium - Graphical User Interface (GUI) Framework [Beta 1] - XML
Posted by
hbomb79
on 04 May 2017 - 09:32 PM
in
APIs and Utilities
blunty666, on 16 April 2017 - 08:39 AM, said:
-snip-
Issue resolved
#266788 Titanium - Graphical User Interface (GUI) Framework [Beta 1] - XML
Posted by
hbomb79
on 03 May 2017 - 03:10 AM
in
APIs and Utilities
This update brings welcome changes to the way a developer may go about creating and distributing their software. This update makes the process simpler for new and experienced users alike.
The pastebin for downloading TPM (Titanium Package Manager) has now been expanded to include two other programs (the Titanium packager, and TDT (Titanium Developer Tools)). This pastebin is now the only one you will need to use when developing a Titanium application.
The installer will automatically add the 3 programs to your path (they are stored in '/.tpm/bin/'), and will automatically patch your startup file to add them to your path on boot. This will allow you to use 'package', 'tdt' and 'tpm' without using the absolute paths.
TDT is an interface over the old packager which makes setting up your project much easier. It allows you to create a new project, configure it to your liking and then run your project (automatically builds and runs the build). TDT uses the Titanium Packager, so the functionality of the output build is much the same.
The Titanium installations are still managed using TPM, and TDT acknowledges this and makes use of TPM to make managing your project easier.
Anywho, give it a go with pastebin run 5B9k1jZg. Take a look at `tdt help` and `tpm help` if you are not already familiar with what features are at your disposal. From now on (in general) the Titanium packager should not be used directly anymore, and `tdt` should be used instead. If you do need to use the packager directly, `package -h` may be helpful to you.
#266715 How to make a simple GUI?
Posted by
hbomb79
on 29 April 2017 - 01:12 AM
in
Ask a Pro
AGiLE-EaGLE1994, on 28 April 2017 - 11:15 PM, said:
But what in all is it capable of doing?
Well the forum post I linked lists the key features, and provides a GIF of the example application (basically the application I use for testing new features).
Titanium also comes with monitor support natively, so you can link monitors to certain aspects of the application and 'mirror' them to the monitor (ie: Titanium can show the part on the monitor AND the computer, or just the monitor). I have a small, WIP website that might give you some more information (features, documentation and download instructions). The forum post also provides the link to a Gitter chatroom where you can ask as many questions regarding Titanium as you like (this guide will help you get started with Titanium).
Titanium is certainly up to the task of creating a basic GUI for you, and I am available to help you out. The aim is for the website to teach people how to use Titanium properly via guides and documentation, however as I mentioned earlier, the site is still a WIP.
AGiLE-EaGLE1994, on 23 April 2017 - 05:36 PM, said:
Titanium does support a multi-line text editor (comes default), and because Titanium is object oriented (using a class system) you can create your own nodes, using the base nodes to help you (extension). I am planning on users being able to distribute their own classes using 'class packs', but that is not a reality just yet.
The forum post is packed with information regarding the XML markup, Theme files (think XML versions of CSS files), animations, dynamic values, nodes (elements) and distribution of your programs.
Good luck, and god speed.
#266655 How to make a simple GUI?
Posted by
hbomb79
on 26 April 2017 - 03:05 AM
in
Ask a Pro
AGiLE-EaGLE1994, on 23 April 2017 - 05:36 PM, said:
Maybe a text editor, a calculator or a clock?
Well, Titanium provides monitor support and a wide variety of on screen nodes (Button, text inputs, dropdown, scrolling containers, etc...) -- You can also create your own nodes. You can easily specify your layout for the computer and monitor using an XML syntax.
If you want help using Titanium, you can ask here
#266606 BrineCrypt (File encryption software)
Posted by
hbomb79
on 24 April 2017 - 12:02 AM
in
APIs and Utilities
KidBrine, on 23 April 2017 - 11:16 PM, said:
Not true; you are making something, and you still would be even when using another, more secure algorithm. Many programs can be used to better your own (program integration, frameworks, APIs, etc...)
#266601 BrineCrypt (File encryption software)
Posted by
hbomb79
on 23 April 2017 - 09:20 PM
in
APIs and Utilities
Gumball, on 23 April 2017 - 06:41 PM, said:
Line 8.
That just means it masks the input from the user with the character '4'.
KidBrine, on 23 April 2017 - 03:48 PM, said:
It is easy, and quick to break your current algorithm -- much like the Caesar cipher you were using earlier.
KidBrine, on 23 April 2017 - 03:48 PM, said:
Only because cryptography isn't easy. If you want to make a file encryption software, it should be secure by using an encryption algorithm already available on the forum, it isn't a bad thing to use someone else's library.
KidBrine, on 23 April 2017 - 03:48 PM, said:
Not guaranteed, but Anavrins does know more than you (and me, and a lot of the users on the forum) about cryptography. He is trying to help you, perhaps you should take his advice?
You aren't being attacked, this is constructive criticism, and an opportunity to learn more about cryptography. Up to you.
#266578 How to make a simple GUI?
Posted by
hbomb79
on 23 April 2017 - 07:52 AM
in
Ask a Pro
Link to Surface
Surface is more of a graphics library, whereas Titanium is a GUI framework (ie: Surface is for manual creation of GUIs, and Titanium provides the elements [buttons, inputs, etc..] by default). The easiest path would be Titanium, but if you feel like manually engineering all the base elements Surface is what you want. However, Titanium does still provide the ability to create your own elements via its class system.
There are some other frameworks available (Flare, Sheets, Bedrock, libAAF), but I have little to no experience with them.
AGiLE-EaGLE1994, on 22 April 2017 - 07:56 PM, said:
I made Titanium, so I can try my best to explain the flow of events in a Titanium application (it is pretty similar for all frameworks, but Surface is not at all the same, it doesn't have 'elements' in the same way). Essentially, ComputerCraft emits events depending on user action -- Titanium listens for these (such as mouse clicks, scrolls and button presses). When an event is 'caught', it is given to all the parts of your application and each part can react differently (a button may perform an action, an input box might display some text). Each part of the application is just some function calls -- a button isn't really a 'thing', but the button draws a box and some text on the screen, the application doesn't associate that part of the canvas to an object, but the object just dumps some stuff there. However, Titanium uses classes so that graphical objects actually are objects allowing for much easier interpretation of the application 'flow'.
Let me know if you need help understanding Titanium, or graphical systems in general.
#266577 BrineCrypt (File encryption software)
Posted by
hbomb79
on 23 April 2017 - 07:19 AM
in
APIs and Utilities
KidBrine, on 23 April 2017 - 06:08 AM, said:
You do realize that the members of the forum are here to help you -- they do know more about cryptography than you do, and they would be more than happy to share their wisdom. You don't have to be so hostile towards them when all they want to do is better your understanding.
#266471 Craftamares - Open source software installer for ComputerCraft - Never make a...
Posted by
hbomb79
on 19 April 2017 - 07:16 PM
in
Programs
It provides no advantages to the developer, it would be easier for them to create a proper, customized installer for their project.
If some extra functionality was added, and the registration of programs was easier it might provide some benefits.
#266457 Get variable from Table
Posted by
hbomb79
on 19 April 2017 - 04:44 AM
in
Ask a Pro
This clearly won't work as you are not indexing the table, instead you are printing 'xpos' and 'ypos' in the environment.
print( xpos ) print( ypos )
What happens if you change them to
print( tabl.xpos ) print( tabl.ypos )
If 'attempt to index boolean/nil/?' appears, this indicates that 'tabl' is not a table, so 'textutils.unserialise' is failing.
What does `print( type( tabl ) )` output? If it anything but 'table' then the AppPos.conf is likely invalid so textutils.unserialise cannot make a table out of it.
#266455 DanzOs
Posted by
hbomb79
on 19 April 2017 - 03:16 AM
in
Operating Systems
#266454 Craftamares - Open source software installer for ComputerCraft - Never make a...
Posted by
hbomb79
on 19 April 2017 - 03:10 AM
in
Programs
This isn't really an installer. Any programs that actually need to do something other than simply existing on the computer cannot make much use out of this.
The fake loading screen is also.... fake. Having to wait 12 seconds just to download a bunch of programs I probably don't want (what if I only want luaide, but have to download all of the other ones too) is a pain. It seems like it is less work for the developer to just make an installer with a bunch of `shell.run()` commands themselves. Functionality more than the absolute minimum might make this more of an option.
#266394 Titanium - Graphical User Interface (GUI) Framework [Beta 1] - XML
Posted by
hbomb79
on 17 April 2017 - 03:39 AM
in
APIs and Utilities
#266385 Titanium - Graphical User Interface (GUI) Framework [Beta 1] - XML
Posted by
hbomb79
on 16 April 2017 - 08:46 PM
in
APIs and Utilities
#266344 Titanium - Graphical User Interface (GUI) Framework [Beta 1] - XML
Posted by
hbomb79
on 16 April 2017 - 09:49 AM
in
APIs and Utilities
blunty666, on 16 April 2017 - 08:39 AM, said:
The config checkboxes in the animated pane do not align correctly when they overlap with Animation slider in the main page
That is strange, I cannot reproduce. What build of Titanium are you running (version, minification status, method of installation may be helpful too).
- ComputerCraft | Programmable Computers for Minecraft
- → hbomb79's Content


