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

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

  1. 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!

    Features:
    -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

    Screenshots:

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


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

    Usage:

    -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)
    -English
    -German
    -Czech
    -French
    -Spanish
    -Norwegian
    -Japanese
    -Danish

    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.

    Changelog:
    Click here

    Plugins
    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

    Other:

    [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

    Technical:
    Language used is Python 3.3
    Makes use of these modules:
    -Phil's Game Utilities
    -Pygame
    -Pillow
  2. 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 Umbrella Slime

    Changelog:

    V16
    --tConfig
    +mapping is now incremental
    --General
    +Backend systems updated, resulting in performance boost
    +loading world data creates less "garbage", reducing memory access, increasing speed
    +registers as App to GameLauncher 3
    --Plugins
    +swapped get_uint with get_int and set_uint with set_int in tlib.py, 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

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

    V14
    --tConfig
    +Maps baseversion 101 and up
    --General
    +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

    V13:
    --tConfig
    +Can now map tConfig worlds. They are mapped as a whole and then pop up in the gui.
    --Planetoids
    +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
    --General
    +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

    V12:
    --General
    +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
    --Plugins
    +command line arg "plugin:name" starts the plugin name.py (for developers)
    -- Planetoids & Terra
    +changed most of the grass on spawnplanet to dirt, for faster digging.

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

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

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

    V8:
    --General
    +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

    V7:
    --General
    +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

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

    V5:
    --General
    +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
    --Skins
    +added "The End" by Ijwu
    --World Mapping
    +World thumbnails can be disabled (No Cheat)

    V4:
    --General
    +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

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

    V2:
    -initial public release
    Axe Garian and WesleyMan000 like this.
  4. Elder Merch Blazing Wheel

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

    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.

    [IMG]
  6. MiniManolinho Bone Serpent

    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 Umbrella Slime

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

    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 Umbrella Slime

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

    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 Bone Serpent

    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 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 Undead Viking

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

    A bit on what is coming; multi language support:
    ot.png

    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 Floaty Gross

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

    Looks amazing. I might actually download this one.
  17. 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 Green Slime

    Awesome, Beserker!
  19. Berserker66 Umbrella Slime

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




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

    ot.png

    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 Green Slime

    Looks Awesome!
    I like!

Share This Page