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

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

  1. 7UR7L3 Undead Viking

    Yeah, that would probably be good (I might not actually use it though). Then people wouldn't manuelly have to link terrafirma to the omnitool, and it wouldn't be made from someone else.
  2. TheEimas Gastropod

    I really like this. I always used your tools. And now it became easier to do that.
  3. MiniManolinho Clinger

    Sorry for the delay on the translation volunteering. I only read it now. The Alert system, for some reason, insists in NOT giving me alerts, it simply "unwatch" the threads randomly. In any way, if you can make it more simple, I can translate the Omnitool to Brazilian Portuguese. There's not much difference from the Portugal's Portuguese, but still, there are differences. If you will, I can help you. Just make it simpler. D:
  4. Berserker66 Umbrella Slime

    What do you mean simpler?

    its just a list;
    in the english file:

    exit = "Exit"

    in the german file:
    exit = "Verlassen"

    All there is to do is to translate the words in ""
  5. MiniManolinho Clinger

    Oh, I didn't know it was already that simple. I probably either mis-read something. In any case, I do not know where to start the translation. I would need to know which files to translate, and, where to find them. Everything. I feel even dumber, being lost like this. D:
  6. Berserker66 Umbrella Slime

    I did say I "will post a guide", that is future.
    I was just asking for people who would help with it when everything is set.
    Right now not all text is translatable, so I'll have to sort that out now.
  7. MiniManolinho Clinger

    Oh, well, I knew I read something wrong. In any case, I'll be waiting. You can count on me once we're capable of translating the stuff. Let's make the Omnitool more popular! 8D
  8. Berserker66 Umbrella Slime

    Not sure if just the text is enough, but here goes:
    Code:
    langversion = 1
    langname = "English"
    
    ##updater
    #text construct: "Version "+version+available+changelog
    #example: Version 3 available, click here to download, or for changelog click here
    available = " available, click here to download"
    changelog = ", or for changelog click here"
    
    ##world gen
    worldify = "world from image"
    planetoids = "Planetoids & Terra"
    arena = "Dungeon Arena"
    flat = "Flatworld"
    new = "New world:"
     
    ##mainmenu
    
    #omnitool
    settings = "Settings"
    exit = "Exit"
    
    #start
    start = "Start"
    terraria = "Terraria"
    steamfree = "Terraria Steamfree"
    
    #open
    open = "Open"
    imagefolder = "World Images"
    backupfolder = "World Backups"
    themes = "Omnitool themes"
    
    #visit
    visit = "Visit"
    donate = "Donate"
    homepage = "Omnitool"
    TO = "Terraria Online"
    wiki = "Terraria Wiki"
     
    ##world thumbnail
    label = "World: "
     
    ##settings menu
    warning = "All changes require a restart to take effect"
    
    tiny = "Tiny" #unused
    small = "Small"
    medium = "Medium"
    large = "Large"
    very_large = "XXL"
    
    theme_select = "Theme select:"
    thumbsize = "World Thumbnail size:"
    mk_backups = "Make Backups"
      
    ##planetoids & terra
    pt_start = 'Start generation!'
    pt_name = "Name: "
    pt_mode = "Mode: "
    
    pt_small = "small Planetoids"
    pt_medium = "medium Planetoids"
    pt_large = "large Planetoids"
    pt_square = "square Planetoids"
    pt_both = "large Planetoids & Terra"
    pt_square_terra = "square Terra"
    
    pt_start_sel = "Start: "
    pt_morning = "Morning"
    pt_day = "Day"
    pt_night = "Night"
    pt_bloodmoon = "Bloodmoon"
    
    pt_extras = "Extras: "
    pt_sun = "Sun: "
    pt_atlantis = "Atlantis: "
    pt_merchant = "Merchant: "
    pt_lloot = "Less Loot: "
    
    ##worldify
    w_start = "Start worldification!"
    w_cont = "Continue"
    w_name = "Name: "
    w_rgb = "RGB"
    w_hsv = "weighted HSV"
    w_method = "Method: "
    
    w_priority = "Priority selection"
    w_hue = "Hue: "
    w_saturation = "Saturation: "
    w_brightness = "Brightness: "
     
    ##arena
    a_start = "Start generation!"
    a_name = "Name: "
    a_rooms = "Rooms: "
    a_sidelen = "Room sidelength: "
    a_corlen = "Corridor length: "
    a_chest = "Chest: "
    a_itemchest = "Items per chest: "
    a_light = "Lighting: "
    a_chances = "Room chances: "
    a_standard = "Standard: "
    a_cross = "Cross Corridor: "
    
    
    everything with a # in front is just a comment.
    things in front of = are variable names and are not to be touched, only the stuff in between " is what should be changed.

    If you need to test it in the program just let me know.

    The program can handle unicode, so you can use non ascii characters. (like ÜÖÄß and stuff)
  9. Ijwu Crimera

    The Python Terrafirma is definitely a great idea. That would allow for closer looks of the worlds inside of Omnitool. I imagine that you could have it map the worlds as it usually does, then add a button that, when clicked, displays a list of the mapped worlds. The user can then select a world, and your version of Terrafirma will appear and map the world and allow for closer looks.
  10. Berserker66 Umbrella Slime

    Or you just click on the world image. All ui elements can be assigned a function on click.

    Also, I did improve the render a bit and I am surprised:
    The whole thing runs on a cpu core, it does not even touch the graphics card (so you can run it on a server), however at 1920x1200 I get a solid 200-300 fps. Which is much more than terraria gets, even with using a graphics card.
    If I were to make a game on top of it, most of the game's logic could run on a seperate cpu core, so the framerate would hardly drop.

    Also, python is interpreted and is by definition supposed to be slower.

    I have to wonder what Redigit did to have Terraria perform so badly, in comparison.
  11. MiniManolinho Clinger

    So, I copied all that "Code" thing and translated everything between " the best way I could. Some things may be inconsistent, but I guess it'll be fine.
    Translation (open)


    pt_small = "Planetoid Pequeno"
    pt_medium = "Planetoids Médio"
    pt_large = "Planetoids Grande"
    pt_square = "Planetoids Quadrado"
    pt_both = "Planetoids & Terra Grande"
    pt_square_terra = "Terra Quadrado"

    pt_start_sel = "Começar: "
    pt_morning = "Manhã"
    pt_day = "Dia"
    pt_night = "Noite"
    pt_bloodmoon = "Bloodmoon"

    pt_extras = "Extras: "
    pt_sun = "Sol: "
    pt_atlantis = "Atlantis: "
    pt_merchant = "Merchant: "
    pt_lloot = "Menos Loot: "

    ##worldify
    w_start = "Começar Mundificação!"
    w_cont = "Continuar"
    w_name = "Nome: "
    w_rgb = "RGB"
    w_hsv = "HSV Pesado"
    w_method = "Método: "

    w_priority = "Seleção de Prioridade"
    w_hue = "Matiz: "
    w_saturation = "Saturação: "
    w_brightness = "Brilho: "

    ##arena
    a_start = "Iniciar Geração!"
    a_name = "Nome: "
    a_rooms = "Salas: "
    a_sidelen = "Cumprimento de sala: "
    a_corlen = "Cumprimento do Corredor: "
    a_chest = "Baú: "
    a_itemchest = "Itens por baú: "
    a_light = "Iluminação: "
    a_chances = "Chances de sala: "
    a_standard = "Padrão: "
    a_cross = "Corredor Cruzado: "

    I hope it helped, let me know if I did anything wrong.
  12. Berserker66 Umbrella Slime

    It looks you did only the lower half of the file?
    Apart from that it looks good, technically. Can't judge how well you translated ;)
  13. MiniManolinho Clinger

    Oh, sorry. For some random accident I only copied half of it. And damn, I didn't save the translated file, I'll have to re-translate the "upper" part. Damn, I'm feeling like the dumbest person ever to appear on these forums.
  14. Ijwu Crimera

    Don't be too hard on yourself. You did well, as far as I can tell.

    I didn't know you could assign on click functions. That's good to know. Also, that's great that you're actually able to increase performance so much. I think Re-digit should definitely have a talk with you. You seem like you could really lower the performance cost of the game.
  15. Berserker66 Umbrella Slime

    Well I can't say what it is that causes the difference, so in this case I don't think I can be of much help to them. But I can tell them on how to reduce world file size and ram usage.

    As for on click functions - buttons are just images which have two on click functions: one that changes the button image and one that is executed.
    This is true for most of the ui elements, so everything is clickable, even text. You will find some clickable text when the auto updater finds a new update ;)

    Actually no. I really appreciate anyone who really wants to help.
  16. MiniManolinho Clinger

    I translated the top of the file, and re-copied the bottom to give a complete version of itself. I didn't change the "very_large = "XXL" " part because I don't know what "XXL" is suppose to mean, therefore, I left it by default. I didn't change "langversion = 1 " either because I do not know if that's suppose to be changed, I guess not. I hope it's good. If possible, I would also like to be able to test the translation in the program, to see if any translated words have a different meaning than they are suppose. You know what I mean, since your vocabulary isn't limited to English. Anyways, here it is, the complete translation!

    Complete Translation (open)

    langversion = 1
    langname = "Portuguese(BR)"
    ##updater
    #text construct: "Versão "+version+available+changelog
    #example: Version 3 available, click here to download, or for changelog click here
    available = " disponível, clique aqui para baixar"
    changelog = ", ou para ou changelog, clique aqui."

    ##world gen
    worldify = "Mundo por imagem"
    planetoids = "Planetoids & Terra"
    arena = "Arena Dungeon"
    flat = "Mundo Reto"
    new = "Novo Mundo:"

    ##mainmenu

    #omnitool
    settings = "Configurações"
    exit = "Sair"

    #start
    start = "Iniciar"
    terraria = "Terraria"
    steamfree = "Terraria sem Steam"

    #open
    open = "Abrir"
    imagefolder = "Imagens de Mundo"
    backupfolder = "Backups de Mundo"
    themes = " Temas para Omnitool"

    #visit
    visit = "Visitar"
    donate = "Donate"
    homepage = "Omnitool"
    TO = "Terraria Online"
    wiki = "Terraria Wiki"

    ##world thumbnail
    label = "Mundo: "

    ##settings menu
    tiny = "Minúsculo" #unused
    small = "Pequeno"
    medium = "Médio"
    large = "Grande"
    very_large = "XXL"

    theme_select = "Selecionar Tema:"
    thumbsize = "Tamanho da miniatura do Mundo:"
    mk_backups = "Fazer Backups"

    ##planetoids & terra
    pt_start = 'Começar geração!'
    pt_name = "Nome: "
    pt_mode = "Modo: "
    pt_small = "Planetoid Pequeno"
    pt_medium = "Planetoids Médio"
    pt_large = "Planetoids Grande"
    pt_square = "Planetoids Quadrado"
    pt_both = "Planetoids & Terra Grande"
    pt_square_terra = "Terra Quadrado"

    pt_start_sel = "Começar: "
    pt_morning = "Manhã"
    pt_day = "Dia"
    pt_night = "Noite"
    pt_bloodmoon = "Bloodmoon"

    pt_extras = "Extras: "
    pt_sun = "Sol: "
    pt_atlantis = "Atlantis: "
    pt_merchant = "Merchant: "
    pt_lloot = "Menos Loot: "

    ##worldify
    w_start = "Começar Mundificação!"
    w_cont = "Continuar"
    w_name = "Nome: "
    w_rgb = "RGB"
    w_hsv = "HSV Pesado"
    w_method = "Método: "

    w_priority = "Seleção de Prioridade"
    w_hue = "Matiz: "
    w_saturation = "Saturação: "
    w_brightness = "Brilho: "

    ##arena
    a_start = "Iniciar Geração!"
    a_name = "Nome: "
    a_rooms = "Salas: "
    a_sidelen = "Cumprimento de sala: "
    a_corlen = "Cumprimento do Corredor: "
    a_chest = "Baú: "
    a_itemchest = "Itens por baú: "
    a_light = "Iluminação: "
    a_chances = "Chances de sala: "
    a_standard = "Padrão: "
    a_cross = "Corredor Cruzado: "
  17. Britefire Green Slime

    Is anyone else's antivirus trying to block this, or is my Norton just trying to block another virus-free file? (Wouldn't be the first time by ay stretch.)
  18. Berserker66 Umbrella Slime

    Looks good, Ill send you a test version once I implement a language selection menu.

    version should indeed not be changed and XXL is the setting for thumnail size. basically its just "very large".

    Well, I would be interested on why it claims to be a virus.
    My guess is that it simply finds everything that is python scary, cause it is an interpreted language and therefore completely unpredictable. I think someone else also had a problem with norton.
  19. Britefire Green Slime

    Probably, it might be because it has very little information on the file, I checked and the reason it was blocked is that it had a "high risk factor", so it just has never heard of the file, and that somehow means it is evil, or something like that, Norton isn't the best antivirus.
  20. Berserker66 Umbrella Slime

    *facepalm* Just realised why the Terraria framerate is so much lower: Lighting. Why did I not think of that?

    Yeah that sounds like a completely wild accusation. Avira AntiVir and Avast both don't compain about it, those are the two I tested. I also promise to not do any harm on purpose ;)

Share This Page