Released Omnitool, world mapping, creation, backups and more. (tConfig compatible)

Discussion in 'Released Mods' started by Berserker66, Oct 30, 2011.

  1. Berserker66

    Berserker66 Umbrella Slime

    Click here for Terraria 1.2 Omnitool Broken Beta.

    Current version : 16, for Terraria 1.1.1 and 1.1.2, as well as tConfig 0.22.7+.
    This is an independent tool, it does not require Terraria to work.

    I do not have the time anymore to work on updating and maintaining Omnitool, looking for volunteers to keep Omnitool alive!

    -makes world backups on launch
    -maps worlds on launch (vanilla and tConfig)
    -render worlds with 16x16 textures for each block (vanilla and tConfig)
    -contains world generators: Planetoids & Terra, Worldify, Flatworld and PVP Dungeon Arena
    -update notification
    -linking of other tools (tedit, terrafirma)
    -start Terraria from Omnitool instead of Steam or with Steam, works with GameLauncher GUI
    -create a portable Terraria
    -plugin system for extensions


    1.png 2.png 3.png 4.png 5.png
    Click to enlarge

    Just to make sure: It's a tool, not a mod.


    -Download (32Bit) or Download (64Bit)(If unsure, go for 32Bit)
    -Install & Run
    -[optional] drag & drop a tedit exe file onto omnitool.exe, to access tedit from within omnitool
    -[optional] drag & drop a terrafirma exe file onto omnitool.exe, to access terrafirma from within omnitool
    - report errors

    Answers to frequently asked questions:
    • You can render a world similar to how Terraria shows them by clicking on a world's image.
    • Regarding world generators: Worlds are placed into the world folder, remember that Terraria only shows the first 5 worlds.
    • Depending on where your Terraria is saved, Steamfree Terraria launch may require Omnitool to be started in administrator mode. Everything else works without admin.
    • If Omnitool is unable to find your Terraria, take a look here: Link
    • World Generators do not have a progress bar, they will tell you when they are done in the console.
    Available Languages:

    -Portuguese (BR)

    More detailed info in the Language thread: Link

    Guide to correct posting:
    If you want to discuss a specific tool, then please post in the tool's thread:
    Worldify/create world from image
    World mapping
    Planetoids & Terra
    PVP Dungeon Arena Generator
    Multi Language Support
    otherwise, post here.

    You will also find a lot more info on the specific functions in those threads.

    Click here

    More plugins to add features to Omnitool can be found here.
    You can also check out the documentation to make your own.

    Known Bugs:
    -None at this time


    [​IMG] or Steam Wishlist

    The making of Omnitool

    Source Code

    Credits for Omnitool:
    -7UR7L3: testing and ideas
    -Ijwu: translation overseer, testing, ideas & skins (Oasis, Underworld, Overworld)
    -Berserker66(me): programming, testing, bundling, setup, ....
    -translation credits in translation thread: Link

    Language used is Python 3.3
    Makes use of these modules:
    -Phil's Game Utilities
  2. Berserker66

    Berserker66 Umbrella Slime

    Error reporting:
    The omnitool console should always remain open when an error occurs, just copy&paste the error log or take a screenshot.
    If the console closes on crash, then use the startmenu shortcut "Omnitool Errorlog" to force the console to stay open.

    If you have ingame problems with a generated world then say which generator you used with which options.
    Axe Garian and WesleyMan000 like this.
  3. Berserker66

    Berserker66 Umbrella Slime


    +mapping is now incremental
    +Backend systems updated, resulting in performance boost
    +loading world data creates less "garbage", reducing memory access, increasing speed
    +registers as App to GameLauncher 3
    +swapped get_uint with get_int and set_uint with set_int in, they are now proper. This may break plugins.
    +added get_g<C varname> variants of many functions in tlib, they are faster, but only returns 1 instance, use when possible.
    +Injector plugins are now hidden in the plugin gui
    +removed get_word and set_word, use get_ushort and set_ushort instead

    +maps baseversion 201 and up (0.29.0)
    +custom tiles and walls show as their average color, as opposed to pink
    +Backend systems updated, resulting in performance boost
    +When closed via GUI, does not wait for 15 seconds to close
    +New subsystem, click on a world's image to view it rendered at 16x16 pixels per block.

    +Maps baseversion 101 and up
    +source code runs on linux, mac, mobile devices, consoles and probably some fridges
    +incremented version number by one
    +newer versions of some backend modules, possibly improving performance or stability

    +Can now map tConfig worlds. They are mapped as a whole and then pop up in the gui.​
    +Life Crystal chance increased, stackratio decreased to 1 (was 99)​
    +removed mana crystals from chests (except spawn)​
    +added fallen stars to chests (a lot)​
    +removed shadow and gold keys (never served a purpose in planetoids)​
    +tweaked potion chances​
    +increased ammo chances​
    +added meteorite to chests​
    +removed meteorite bars from chests​
    +added wood to chests​
    +added snow planetoid shell​
    +added green candy cane planetoid type​
    +added red candy cane planetoid type​
    +added snowbrick planetoid type​
    +added ocean planetoids to the ends​
    +increased potion chances a lot​
    +decreased max potion stack size​
    +added Mirror Mode​
    +increased metal bar spread​
    +tweaked metal bar rarities​
    +reduced distance from spawn planetoid to next planetoids​
    +changed default name to include Omnitool API Version​
    +added woodring to dirt and cavern planetoids (think of them as roots or something)​
    +decreased hellfire arrows to 1/5​
    +fixed instant death of Terra trees​
    +upgraded all Omnitool world outputs from Terraria 1.1 file format to 1.1.2​
    +flatworld generator is now over 9000 times as fast, or close to that​
    +all plugins save worlds faster and smaller​
    +changed internal header layout to match tConfig's​
    +if a plugin crashes while writing or changing a world's data, no changes will be written​
    +all world generators rewritten as plugins, exposing their source code in the plugins folder​
    +added tiny and square world sizes to flatworld plugin​
    +corrupted cache files will be overwritten​
    +GUI layout can change automatically based on available monitor space​

    +new version of pygame backend, increases speed of world image creation, loading and saving. (only affects 64 bit version)
    +multithreading of most tasks during startup, allowing a much faster start
    +when accessing a non existent world folder it will now be created instead of crashing
    +If Steamfree Terraria launch cannot find Terraria it will now open your web browser on the custom path guide.
    -- Multi Language Support
    +Danish added
    +command line arg "plugin:name" starts the plugin (for developers)
    -- Planetoids & Terra
    +changed most of the grass on spawnplanet to dirt, for faster digging.

    --World Generators
    +improved generation speed
    +Additions to Terraria pathfinding.
    --Worldify/new world from image
    +fixed header - tile data version mismatch.
    --Dungeon Arena Generator
    +Additional checks for invalid selections.

    +ignores worlds with invalid header
    +warns if more than 5 worlds are present that Terraria may fail in displaying them.
    +Now supports generators, modifiers and transplanters
    --Flatworld Generator
    +initial release

    +1.1.1+1.1.2 Compatibility
    +initial plugin support
    --Planetoids & Terra
    +added statues
    +halved buffer zone around Terra

    +Internal World Format expanded by "Wire" boolean.
    +Hardmode flag displayed
    --Steamless Terraria launch
    +should now correctly update with patches/mods automatically
    +GameLauncher GUI integration; you can now start mods from within omnitool. Thanks Eikester!
    ---World Generators
    ++saving speed increased. New conversion algorithm.
    ++removed the 5 world limit for saving worlds.
    --Dungeon Arena
    +1.1 Compatibility
    +Colored Torches added
    --Planetoids & Terra
    +start in Hardmode extra added
    +additional altars added
    +tweaked a few values
    +silt added
    --World Mapping
    +increased world data read speed and reduced ram usage while reading world data
    --Multi Language Support
    +Japanese added
    +Norwegian added
    +hidden feature added to make translating easier

    +fixed a crash that only affected first time users
    --Planetoids & Terra
    +1.1 Compatibility
    --New World from Image
    +1.1 Compatibility
    +now places 1.1 tiles
    --Dungeon Arena
    +currently broken due to colored torches

    +1.1 Compatibility for main features
    +fixed crash when resizing no cheat window
    +removed 1.0.x compatibility in favor of speed

    +bug fix: If a world has less tiles than the thumbnail has pixels, resize may have caused a crash
    +Resizable window
    +setable amount of world columns
    +reduced file size
    +64 Bit version
    +Visit->Omnitool now linking to correct thread.
    --multi language support
    +added spanish
    +added french
    +language selection menu shows proper language name, instead of variable name
    --Planetoids & Terra
    +additional surface terrain features added to Terra
    +added "The End" by Ijwu
    --World Mapping
    +World thumbnails can be disabled (No Cheat)

    +Can make use of up to (amount of worlds+running world gens)-many CPU Cores
    +settings menu always reachable
    +windib (Windows GDI) is now used to render instead of DirectX, for compatibility.
    --World Mapping
    +Backgrounds are rendered
    +Walls are rendered
    --multi language support
    +czech added

    --multi language support
    +german added
    +portuguese added
    -improved updater with changelog
    -cmod R4 support
    -fixed world gen crashes when installed into a protected path

    -initial public release
    Axe Garian and WesleyMan000 like this.
  4. Elder Merch

    Elder Merch Cursed Skull

    Looks cool. Cant wait to try it!
  5. Ijwu

    Ijwu Crimera

    This looks great. I'm downloading now. Hopefully I'll have a few themes ready by next week. I'll just zip them into a pack and you can put them on the main post, if you'd like.

    Edit: The mapping of Cmod worlds is corrupt. I get a banded picture with vertical (map) corruption all over.

  6. MiniManolinho

    MiniManolinho Clinger

    Oh, it's done! Finally! I'll be sure to use it. Good luck with your work, it'll be great, I'm sure.
    WesleyMan000 likes this.
  7. Berserker66

    Berserker66 Umbrella Slime

    I can also just include them into the main thing. If that is fine with you.
    WesleyMan000 likes this.
  8. Ijwu

    Ijwu Crimera

    Of course I'm fine with that. I just fancied the idea of theme dlc packs.

    P.S. Be sure to check out my edit of my previous post.

    Edit: My themes will default to standard size, btw. I might make more biome based themes, which would be more patterned backgrounds, but otherwise I'll make larger picture themes.
  9. Berserker66

    Berserker66 Umbrella Slime

    Can you send me that world file?
    WesleyMan000 likes this.
  10. Ijwu

    Ijwu Crimera

    Sure thing. Here's a zip with the world file and the backup Omnitool made. I included the backup in case you wanted to check if Omnitool was just reading, and thus backing up, the file wrong.

    Attached Files:

  11. MiniManolinho

    MiniManolinho Clinger

    Wait, I tried generating the Arena with the Omnitool, it apparently DID generate, but nothing told me where did it go. Is there any way to know where's the World Files going into?
  12. Berserker66

    Berserker66 Umbrella Slime

    I found out why the world is broken. I accidentally bundled the Cmod R4 database with the R3 worldparser - a unlucky combination.
    I will rectify this to both beeing Cmod R4 once player2k decides to release.
    Until then, cmod compatibility is not working. Sorry for that.

    Into the world folder if less than 5 worlds exist, otherwise into the omnitool folder.
  13. 7UR7L3

    7UR7L3 Undead Viking

    This looks great, I'm glad it's finally finished (or at least in a finished state).
  14. Berserker66

    Berserker66 Umbrella Slime

    A bit on what is coming; multi language support:

    Anyone who could offer translations for other languages? I can cover german, cause I am german, but other than that, I can only handle english.

    Currently the languages are source files, which means they could contain malicious code. Will change that to harmless config files before releasing that of course.

    I don't think my todo list is exhausted any time soon.
  15. Ijwu

    Ijwu Crimera

    Good job on the multi-language support. If I knew any other language, I'd be happy to help.
  16. Muramasa7

    Muramasa7 Penguin

    Looks amazing. I might actually download this one.
  17. Berserker66

    Berserker66 Umbrella Slime

    Huh. German and English only for the start then.
    I also decided to make language files NOT loadable from the outside, so putting in new languages will need to go through me.
    The reasoning behind this is, to not allow language files to be spread all over but have them all in one place to begin with. They are only 1-2 KB anyway, so even bundling hundreds of languages would increase the download size insignificantly.
    I will post a guide on how to get things done of course, as well as example files.
    Also the program runs in utf-8 (unicode).

    Any volunteers now?
  18. Matros Koshkin

    Matros Koshkin Green Slime

    Awesome, Beserker!
  19. Berserker66

    Berserker66 Umbrella Slime

    Just once I want to see my name spelled right ><.

    Is there any interest in a python "terrafirma"?
    Something like this:


    I just made that in an hour, and am well aware that it looks horrible right now. (Backgrounds, walls and blending does not exist)
  20. Matros Koshkin

    Matros Koshkin Green Slime

    Looks Awesome!
    I like!

Share This Page