Coder Social home page Coder Social logo

clashmusicgui's Introduction

Corporate Clash Resource Pack Editor

Tool to assist resource pack creators with Music.json

The source code is publicly available for contributions, but if you do not intend on contributing, I recommend you download the pre-built installers

Notices

  • Currently there is no way to select vanilla base game files using this tool, it is currently required that all music files you want to use are located inside of your pack root directory. This will likely change in the future
  • The folder or filename of the ogg file you select does not matter, as long as it is located inside the root folder.
    • i.e., you can set donalds_dreamland_sz as ddlplayground.ogg located in playgrounds/dreamland/, it does not need to be phase_8/audio/bgm/DL_nbrhood.ogg

How-To Guide

How to edit the music using this application

  1. Open the application
  2. Set the root folder. This will be the folder where the audio and the phase folders are contained. step2
  3. For any song you want to change the file path of, look for it and press Browse. In this example, I will be changing the Sellbot HQ Courtyard theme to the Toontown Infinite Donald's Dreamland Playground theme, which in my pack, is located at phase_8/audio/bgm/DL_nbrhood.ogg step3
  4. Locate and select the file you want. If you intend to have the game randomly select between different files, you can select multiple in this screen. step4
  5. You will now see the new path in place of the old one. All modified paths will be displayed in italics to help you distinguish which ones you have changed and have not. step5
  6. To add a holiday override, navigate to the tab of the holiday you want to modify, in this example I will be modifying what song plays on the main menu during halloween. step6
  7. Press Add Override step7
  8. Find the music you want to replace. You can also select more than one in this list by clicking on multiple. (Note that clicking on one will NOT deselect one you previously clicked on, so you have to click the one you want to deselect.) Then press OK. step8
  9. Press Browse on the music to select a file. step9
  10. Select the file you want. In this example, I will be using the Toontown Infinite Halloween Theme, which in my pack, is located at phase_3/audio/bgm/tti_theme_halloween.ogg step10
  11. You will now see the new path. If you want to remove the override at any point, you can press the Remove button. step11
  12. After you make any changes, you should always save using the Save button at the bottom. Currently, closing the application will NOT notify you if you have not saved, so be sure to save frequently!
  13. To compile the pack for use in game, press the Compile Resource Pack button. step13
    • If you haven't set a Panda3D path, go to the Options tab, and browse for one. You must have a semi recent version of the Panda3D SDK, but the specific version doesn't matter. step13b
  14. Enter a pack file name. This should only include letters, numbers, spaces, dashes, or underscores.
  15. Press OK, the pack will compile.
  16. Press OPEN to browse to the outputted file.

step16

  1. Copy the file to Corporate Clash's contentpacks folder, located at %localappdata%/Corporate Clash/resources/contentpacks step17

clashmusicgui's People

Contributors

drewc5131 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

clashmusicgui's Issues

Update DOPR files to default to new music

Currently, the default files for dopr_cutscene and dopr_victory do not use the new files (The_Imprisoned.ogg and The_Evil_is_No_More.ogg, respectively), and instead default to the old encntr_head_suit_theme and encntr_hall_of_fame files.

Update for 1.2.5 Music

Will there be an update to this project to support changing the files of new music tracks? Notably, the new table games that were just added don't seem to be changeable via this application

Program crashes upon open due to key error

I attempted to use this program to config my music.json file in order to create a simple resource pack, and was met with the error depicted:
image

Error loading music.json

'carol_hanukkah'

Traceback:
Traceback (most recent call last):
File "ClashMusicGui.py", line 218, in browseForRoot
File "ClashMusicGui.py", line 239, in updateLabel
KeyError: 'carol_hanukkah'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.