Terraria Custom Content Loader

Discussion in 'Released Mods' started by Eikester, Jul 18, 2011.

  1. Eikester

    Eikester Possessed Armor

    [​IMG]
    Terraria Custom Content Loader
    Current Version 1.2.1 - Terraria 1.2.4.1

    Important: 1.2 has a huge amount of Files and due the way this Wrapper works all Files needs to be loaded, that is different to how Vanilla Terraria works and requires more Ram!

    I've done this program to let you load any Custom Content like Sprites/Fonts/Music/Sounds and to let you use more than one Texturepack at the same time

    Features:

    1. Loads png files (also with XP Transparency Issue Fix!)
    2. Loads fonts (xnb Format)
    3. Loads Custom Music (Wave Banks)
    4. Loads Custom Sounds (from wav)
    5. while ingame using F5 reloads the whole Content, nice to see the changes without restarting the Client
    6. converting xnb to png, simple drag the Content Folder over the exe, you will find the pngs in "Terraria\Content\PngImages"
    7. allows using of more than one Packages
    8. change the loadorder of the Packages
    9. Skip Splashscreen Option
    10. Drag a zip/rar/7z file onto the exe to let the program install the Package
    11. F1 Show/Hide the Package Selection Dialog whenever/wherever you want
    12. F2 switches between Day/Nighttime, only for Singleplayer
    13. F3 Starts Tetrarria if installed

    Screenshot:
    [​IMG]
    Screenshot is done with 1.0.5

    Install:

    Just download (e.g. to your Desktop) and run the Installer
    Start the Program and right after the Splashscreen you should see the Dialog showing all
    the available Packages. "Close" only hides the Dialog, to show the Dialog again use F1

    This is the structure inside the Terraria Dir:
    [​IMG]

    each Package has its own Folder stored in "Custom Content" as you see on the Screenshot.
    the Subfolders of an Package have the same names as the Original Content Folders
    "images" is used for "png" Files
    "sounds" is used for "wav" Files
    "fonts" is used for "xnb"-Font Files
    and "Wave Bank.xwb" placed in Main Package Dir, "Example Package\Wave Bank.xwb"

    IMPORTANT!
    wav files should have the following specs:
    • PCM-Wave-File
    • Only Mono and Stereo
    • 8 or 16 Bit
    • Samplerate between 8.000 Hz and 48.000 Hz
    Download Installer (for Terraria 1.2.4.1)
    Download Installer (for Terraria 1.1.2)


    Do Not Replace the 7z.dll that comes with this Download!

    Show Changelog

    Version 1.2.1
    • Updated for Terraria 1.2.4.1
    • Fixed crash when summoning Frost/Pumpking Moon
    Version 1.2.0.8
    • Updated Installer to let you Install TCCL for Terraria 1.2.3.1
    Version 1.2.0.7
    • Updated for Terraria 1.2.2
    • Added support for new Christmas Textures (Santank etc.)
    Version 1.2.0.6
    • Updated for Terraria 1.2.1.2
    • Added missing Pumpking Textures
    Version 1.2.0.5
    • Updated for Terraria 1.2.1.1
    • Added jackHatTexture
    • Added treeFaceTexture
    Version 1.2.0.4
    • fixed Blue/Purple Screen if Window is resized/minimized/maximized
    Version 1.2.0.3
    • possibly fixed invisible Textures in Fullscreen Mode
    • added "hidden" setting for the Cursor
      • you can now manipulate the Cursor Size by editing the TCCL.settings file
      • Cursors will overlap Mouse text if the Cursor is to large
    • Added 2 additional Buttons, the 3 Buttons are:
      • "Apply": changes only take effect after clicking this Button
      • "Close": simply closes the TCCL Window but keeps the selected Options
        • the changes will only take effect after the next start
      • "Cancel": closes the window and resets the previous settings
        • doesn't reset the Settings after clicking "Apply"
    • disabled Loading Dialog, causes the Window to minimize in Fullscreen
      • instead now shows a hourglass Cursor to indicate that the program is busy
    Version 1.2.0.2
    • Improved Loading Time
    • reduced Ram usage
    • Added more Options to the Terraria's Cursor Menu
      • Cursor Type (4 different Cursors)
      • Cursor Border (On/Off)
      • Cursor Border Color
      • saved in Content\Images\ as Cursor_x.xnb
        • can be changed trough Texture Packs
    • new Config File (TCCL.settings)
    • new Look for the Loading Dialog
    Version 1.2.0.1
    • Updated for Terraria 1.2.0.3.1
    • Added Old Furnace Pack
    • Changed Skin to a more Terraria style one
    • Added option to Install gli3 (Add to Game Launcher List)
    Version 1.2
    • Updated for Terraria 1.2
    Version 1.1.1.1
    • Added some missing Images
    • Added some missing Sounds
    • Updater: Should now run the Downloaded Installer if Download was succesful
    Version 1.1.1.0
    • Added Support for Terraria 1.1.1 Update
    Version 1.1.0.1
    • Installer:
      • Changed Shortcut from Url to Lnk, Music should now work when started trough the Shortcut
    Version 1.1
    • Added Support for Terraria 1.1 Update
    • Added F2 switch Day/Night
    • Added F3 Starts Tetrarria (if available)
    • Saved last scrollbarvalue
    • Added Mousewheel support to Scrollbar
    • Improved Splash/Loading Screen
    • Simpler Install process, just run TCCLInstaller.exe and choose your Terraria Dir, creates a Shortcut on your Desktop
    Version 1.0.6.7
    • Added ability to load outdated Wave Banks, missing Tracks will be replaced by default Terraria Tracks
    Version 1.0.6.6
    • Added Loading/Splashscreen
    • Fixed Music started with small delay
    • Fixed Music sometimes doesn't load
    Version 1.0.6.5
    • removed outdated Packages
    • Added last Version of WarStalkers HD Texturepack
    • Added "white box problem" solution, Thanks to player2k for sharing
    Version 1.0.6.4
    • renamed to TCCL.exe
    • Added: compatibility to Game Launcher by player2k
    • Removed: unused code, resourcefiles and such things
    • Added: Manifest, now requires to run as Administrator
    • some reloading improvements
    Version 1.0.6.3
    • Fixed Sounds
    Version 1.0.6.2
    • Music should now work correctly without restart
    Version 1.0.6.1
    • hopefully Fixed some DirectoryNotFound Exceptions on XP
    Version 1.0.6.0
    • Renamed to TerrariaCustomContentLoader
    • Replaced GUI with Neoforce GUI
    • F1 shows/hides the Package Selection Dialog wherever/whenever you want
    • Added Method to Check if a new Update is available
    • Added Log Function
    Version 1.0.6.0 pre Release
    • complete new GUI
    • "dynamic" Backgroundpreview (experimental)
    • alot of Bugfixes
    • it is now possible to change the Loadorder
    • fixed some problems/Errors when Reading Settings
    • changed back to Original Splash to support Custom Splashes/Logos
    • Added "Smooth Background"
    • Now you can drag a zip/rar/7z File onto the exe and it installs the Package automatically
    Version 1.0.5.2
    • Added GUI
    • Disabled Updatemethod because i have trouble to fix some Errors, maybe added in again in an future Update
    • Mods now Stored in "Terraria/Custom Content", each mod has its own dir (like "Terraria/Custom Content/Example")
    Version 1.0.5.1
    • Added Update method (checks on Programstart if a new version is available)
    • Added option to convert the Images to Pngs, output folder is "Content/PngImages"
    • Added support for custom sounds, atm only soundeffects, sounds have to be in folder "Content/wavs"
    Version 1.0.5.0
    • Added support for Terraria 1.0.5
    Version 1.0.4.3
    • Fixed a possible crash if using F5 in Splashscreen
    • Changed the Splashscreen
    • now F5 affects only pngs/images
    Version 1.0.4.2
    • Fixed wrong assigned Treetops Texture
    • Added Reloadoption
    Version 1.0.4.1
    • Added missing Image (Ninja, dont saw it <.<)
    • Added a second option telling the program the folder from where to load the pngs, simple give the program the same name the folder have, for example "eike.exe" loads from folder "content/eike"
    • again renamed to "TerrariaPngLoader", thats the final name xD
    Version 1.0.4.0
    • Added support for Terraria 1.0.4 Update
    Version 1.0.3.2
    • fixed some paths that causes some errors
    • supports now all images
    • added simple option to allow more than one pngs folder
    Version 1.0.3.1
    • added some missing images
    • removed Console Window
    • removed widescreen function because Terraria now supports multiple Resolutions now
    Version 1.0.3.0
    • Added support for Terraria 1.0.3 Update


    Feel free to Post any Suggestion/Error/criticism or what ever

    Credits
    Codeproject.com for 7zip
    TomShane for NeoForce GUI System
    All Authors of the included Packages

    Feel free to Donate if you like my work!
    [​IMG]
     
    Evilgrapez, BlueBoy, Ignaf and 44 others like this.
  2. MeizterEckhart

    MeizterEckhart Green Slime

    awesome! thanks for sharing! now several packs can be tried at once!
    great job!

    now there is no excuse, everything can and will be tried in this game, and that only means more fun and content!
     
  3. Anti-Positive

    Anti-Positive The Reversed One

    Looks cool :D
     
  4. Atlas™

    Atlas™ Bone Serpent

    Downloadinb4theremoval! Just kidding, hoping this doesn't get removed..
     
  5. DrBob

    DrBob Cave Bat

    Looks like an awesome program!

    Just a problem, though. Every time I try to launch it, it closes. Here's a picture to prove I'm (hopefully....according to the readme) doing it right:

    [​IMG]

    Any suggestions?
     
  6. Eikester

    Eikester Possessed Armor

    This was an "Directory not found" Exception
    Thanks for finding this and its fixed!

    Edit:

    fixed: Background not Drawing after Start
    added: Skip Splashscreen Option
     
  7. ibitepizzaa

    ibitepizzaa Green Slime

    This is great!
     
  8. Limeth

    Limeth Green Slime

    Um, tried it and there's a problem: It doesn't support transparency... So it's useless for me... :'(
     
  9. Eikester

    Eikester Possessed Armor

    then must be something wrong with your png files
     
  10. Glaydur

    Glaydur Lava Slime

    It keeps on saying, "Missing Png files in Content\PngImages. Press okay to start converting." I checked and I have them, I click okay then it tells me, "Images successfully converted. Restart Me?" Then when I restart it shows the same error.
     
  11. Eikester

    Eikester Possessed Armor

    weird, this MessageBox only appears if the number of Files in "Content/Images" and "Content/PngImages" are not the same, do you have other files (or filetypes) in "Content/Images"? atm should be 828 Files.

    Anyways this gives me a good point to rework this Method
     
  12. Glaydur

    Glaydur Lava Slime

    Yes, I have extracted the png format of the images there and placed it in the same folder, I'll take them out now and see if it works.
     
  13. Eikester

    Eikester Possessed Armor

    if not dont worry, one of the reason i've posted this program in this stage is to get such weird errors eliminated before Terraria 1.0.6 is out to release a stable/bugfree version then
     
  14. Glaydur

    Glaydur Lava Slime

    Make sure you add descriptions for each "mod" option aside from the preview. Maybe you can also select the tracks the menu is playing so you can compare modded songs to their original.

    BTW, no errors so far :D
     
  15. Eikester

    Eikester Possessed Armor

    good to know :) but changed a bit the PngImages Checkmethod, now only xnb in "Content/Images" and png in "Content/PngImages" where compared.

    About the Music i had a similar idea, maybe later.
    The Mod description thing is a good point, also planning support for zip Archives
     
  16. Glaydur

    Glaydur Lava Slime

    This is looking really good! I hope you can post links to where we can get full texture pack mods :D (starwars and smooth background)
     
  17. Eikester

    Eikester Possessed Armor

    Updated
    -Fixed some small problems/errors when Reading Settings
    -Changed the Splashscreen back to Original to support custom Splashes/Logos like the one in Choco Textur Pack
    -Added "Smooth Background"
     
  18. klikom

    klikom Green Slime

    Will it be able to load mods?
     
  19. Eikester

    Eikester Possessed Armor

    you mean like Terraria+?
    I've played around with supporting (c#)scripts instead of compiled dlls (like Terraria+) but not integrated yet
     
  20. klikom

    klikom Green Slime

    Terraria+ died a long time ago
     

Share This Page