Chronocrash Modders Tools

ChronoCrash Modders Tools 0.4.7.5.3

No permission to download
Piccolo updated Chronocrash Modders Tools with a new update entry:

Changelog 0.4.6.7

- Caches (models, sprites, ...) are now project specific so that models and sprites with the same name/path won't interfere when switching between projects
- Switching project ("View" -> "Project Selector") is now even faster if projects was already loaded (as it will reuse all the project cache without reloading anything)
- Also in "View" menu, there are now shortcuts to seamlessly switch from one loaded project to another

Read the rest of this update entry...
 
Yesterday I discovered something fantastic, which I was just going to suggest: you can move the camera (the red square) through the scene by pressing LEFT or RIGHT - and if you hold ALT (personally, I preferred the SHIFT key, as it is in all software image editing), the camera moves every 10px instead of one by one.

1700510092368.png

This is fantastic! I can finally make a correct preview of the scenarios without having to use Photoshop.
(ah I'm using version 0.4.6.7 and in this scenario I can't see the fglayers with negative values. If you want to look at the scenario, it's the shadaloo-st2.txt file from the game that I sent you)
This is how it should look:
pdc - 0072.png

I have 3 questions:

- Is it possible for the tool to respect the tiling of the fglayers/bglayers and show the layers with the repetitions?

- How do you delete an animation from an entity? I only see the add new animation button.

- " you can now set if you want long lines to wrap in current view (default) " How?

Thanks!
 
Last edited:
- " you can now set if you want long lines to wrap in current view (default) " How?

It was written just above :

In Edit -> Settings -> Editor :
- ...
- you can now set if you want long lines to wrap in current view (default) or if your prefer to scroll horizontally without wrapping @O Ilusionista

As for the other points I'll look into it during the week if I have time.

Repetition should be possible because I recently added it for panels.

I don't think there is a GUI button to delete an animation right now, but you can do it manually by switching to "Text" view, selecting the full animation block you want to delete and deleting it by pressing backspace, then, when you revert to "Animation" editor it won't be there. I'll see if I can quickly add a delete button directly from Animation editor.
 
(ah I'm using version 0.4.6.7 and in this scenario I can't see the fglayers with negative values. If you want to look at the scenario, it's the shadaloo-st2.txt file from the game that I sent you)
This is how it should look:
pdc - 0072.png

Actually you can see them (the trees) in CMT, but because they are not repeated you don't haha. They are only behind the opaque part of your panel (the buildings).

When repeat will work you'll see them because they'll also appear on the transparent parts of your panel. It's just because they are not repeated.
 
Piccolo updated Chronocrash Modders Tools with a new update entry:

Changelog 0.4.6.8

LEVEL EDITOR
- Scrolling simulation : can now move the (red) screen frame faster with both SHIFT and ALT keys + arrows (instead of just ALT + arrows as before)
- Added support for bglayer/fglayer xrepeat and xspacing properties
- scroll xratio property was already supported but now it will also factors with bgspeedratio property. Though I don't know if the calculation in CMT is the same as the engine. Basically in CMT I simply compute the actual scroll xratio as xratio * bgspeedratio...

Read the rest of this update entry...
 
The stage preview is awesome - now we can see all the layer with proper Z, tilling and positions.
And we can even navigate using the arrows (on the second part, I was scrolling it while holding shift)


Really thanks for all your hard work, buddy :)
 
@Piccolo ah for sure I would come with something, lol.

I have a very tall stage with a basemap, and I've found two issues:

- I have a fglayer with Z = 0 and it covers the red rectangle of the camera (when I turn it off, this doesn't happens)
- You can't move the camera up and down (instead, the tool scrolls up and down)

 
1700765674295.png
Most annoying award of today, please tell me you can disable this popup ?

Also... i played animation, and was trying to change delay value while it played ... and my 3090 started spinning crazy , there is some loop there that needs a fix i think, program pretty much got stuck and i couldnt do anything.

This is serious IMO, you can lose everything you didnt saved , unless theres some autosave going on....


Ok, its kinda pita to name all the filenames manually and a waste of time so... i came up with this gui,

You can enter one line into its box, and it will generate automatically numerical names for frames , can you add this functionality to Your gui ? The code is not that complex , can you port it so when we will click on a line in your gui then an option will pop up to "generate file paths " so when you click it, you will specify how many you want to generate, and it will do it for you ?
1700773801548.png
This is the gui, save this into bat file :
Code:
0<0# : ^
''' 
@echo off
set script=%~f0
python -x "%script%" %*
exit /b 0
'''
 
import tkinter as tk
from tkinter import ttk
import re

def generate_frames():
    input_text = text_input.get("1.0", "end-1c")
    lines = input_text.split('\n')
    output_text = ""
    for line in lines:
        if line:
            match = re.search(r'(.*?)(\d+)(\..*|$)', line)
            if match:
                prefix, number, extension = match.groups()
                output_text += line + '\n'  # Add the input line to the output
                for i in range(1, int(spin.get())):  # Adjust the range to generate one less line
                    output_text += prefix + str(int(number)+i).zfill(len(number)) + extension + '\n'
            else:
                output_text += line + '\n'
    text_output.delete("1.0", tk.END)
    text_output.insert(tk.END, output_text)


root = tk.Tk()
root.title("Frame Generator")

# Scale the GUI by a factor of 4
root.tk.call('tk', 'scaling', 4.0)

frame = ttk.Frame(root, padding="10")
frame.grid()

text_input = tk.Text(frame, width=50, height=10)
text_input.grid(row=0, column=0, columnspan=2)

spin = tk.Spinbox(frame, from_=1, to=100, value=12)
spin.grid(row=1, column=0)

ttk.Button(frame, text="Generate", command=generate_frames).grid(row=1, column=1)

text_output = tk.Text(frame, width=50, height=10)
text_output.grid(row=2, column=0, columnspan=2)

root.mainloop()

Can someone please change the damn chat appearing at the bottom covering my SAVE and CANCEL buttons like crazy? this is not a good spot for chat popup, i think having it on top or on side would be nicer than blocking me from makign a post , had to rewrite cause i accidentally clicked on chat popup
 
Last edited:
Also... i played animation, and was trying to change delay value while it played ... and my 3090 started spinning crazy , there is some loop there that needs a fix i think, program pretty much got stuck and i couldnt do anything.

This is serious IMO, you can lose everything you didnt saved , unless theres some autosave going on....
I had an issue with this yesterday.
I was working on two projects, copying one stuff from another. Somehow, the tool copied the content from one project to another, while deleting the file of the original one.

Also, there are some times I can't click on the IDLE animation animore, while all other works. I will try to make a video.
 
this is pretty serious, i kinda knew why openborstats removed some lines sometimes, so i worked around it, but here, it would be nice if all of those will be reported and why it happened, also is there an autosave like every 1 minut or so ? I do want it badly, i dont care its just few kilobytes but can save entire day , also, please make autosave create new autosave file each "specified amount of time" so there isnt just one autosave for one file but multipleones across an hour or so , maybe even across days , dont care about wasting space, care about saving time and money.
 
also is there an autosave like every 1 minut or so ? I do want it badly
What I do is working directly on my Dropbox. So I can just revert files if I need.

The log was telling me an issue and by checking Dropbox log, I've discovered the file was deleted
 
Most annoying award of today, please tell me you can disable this popup ?

You can't right now, but I can add an option. Though it will disable all auto-suggestions.

Also... i played animation, and was trying to change delay value while it played ... and my 3090 started spinning crazy , there is some loop there that needs a fix i think, program pretty much got stuck and i couldnt do anything.

This is serious IMO, you can lose everything you didnt saved , unless theres some autosave going on....
I tried but I can't reproduce this and I don't have time right now to find out where a problem is if I can't reproduce it. But in the meantime I can certainly add a complete autosave feature.

For the feature of your script I'll look into it, though I didn't understand what it was doing precisely. Just generate strings sequence (paths) without bothering if those paths correspond to files or not ?
 
I had an issue with this yesterday.
I was working on two projects, copying one stuff from another. Somehow, the tool copied the content from one project to another, while deleting the file of the original one.

Also, there are some times I can't click on the IDLE animation animore, while all other works. I will try to make a video.
Did you have two instances (two windows of CMT) or did you switch project in the same instance/window.

Anyway this kind of problem will probably never happen when working on one project at a time. For multiple projects at the same time, yeah there might be issues as it was not thoroughly tested.
 
this is pretty serious, i kinda knew why openborstats removed some lines sometimes, so i worked around it, but here, it would be nice if all of those will be reported and why it happened, also is there an autosave like every 1 minut or so ? I do want it badly, i dont care its just few kilobytes but can save entire day , also, please make autosave create new autosave file each "specified amount of time" so there isnt just one autosave for one file but multipleones across an hour or so , maybe even across days , dont care about wasting space, care about saving time and money.
As mentioned above these sort of issues can only happen when working on multiple projects at the same time. And it's related to whole files and not lines. CMT should never remove lines like OpenborStats does.

As for the autosave feature, I'll cook a neat one ;)
 
Anyway this kind of problem will probably never happen when working on one project at a time. For multiple projects at the same time, yeah there might be issues as it was not thoroughly tested.
I was using the "Quick Switch" feature.
on this case, both projects uses the same file name under the same path, just the root folder is different.

If the tool can be some issue working with multiple projects, I think its better to remove this feature to jump between projects. I rather prefer to have to open a different project than having risc losing my stuff. In my case it wasn't a line, it was whole file.

I will try to reproduce the error I got yesterday and capture a short video.
 
I was using the "Quick Switch" feature.
on this case, both projects uses the same file name under the same path, just the root folder is different.

If the tool can be some issue working with multiple projects, I think its better to remove this feature to jump between projects. I rather prefer to have to open a different project than having risc losing my stuff. In my case it wasn't a line, it was whole file.

Yeah that's what I thought. It's probably fixable, I just need to reproduce what I think is happening. But if I can't fix it easily I'll probably disable that feature yes. If I can fix it soon then it'll be in the next version.

Also I already started to work on the autosave feature, so the next version will have the first version of this feature.
 
@Piccolo here, I managed to record a video.

Once I open this entity, I can see the IDLE and HEADER options on the menu. Once I click on HEADER, I cannot click again on IDLE.

I've attached the entity
 

Attachments

  • kofx.txt
    3.5 KB · Views: 0
My script is to generate paths without having to do it manually ....
For example if you have 20 images in animation , it can generate all 20 names if you just give it one path, this saves time in the end.

My questions are mostly workflow speed related , i did a lot of guis recently to speedup my workflow, some of the ideas can just make the work less monotone like manual input of the filenames, so the script does that for you, it detects what number is in the name at the end, and generates specified number of names.

This script /gui does not really require paths or anything openbor specific, it just cares about the integers in the input line .

Its one of the more annoyin part of modding - changing names and manual input of the names for like 15 frames... with this script it just one click, so id love that in the tools cause the code is pretty much in there.

Im kinda worried to playback animations now in tools cause the crash happened during animating, so if it happens again ill try to memorize and repeat it.

OK! Found the cause, playback anim, try to change delay but you hover mouse cursor so the side tabs will expand - crash.

Is there a Launch openbor button ?Would be handy to quicklaunch without having to minimize.


Can You display actual text file names and not just entity header names in entity list ?
Also id like to be able to have models.txt somewhere in order, caus enow its kinda all over the place with each entity in their type and all which i dont really want , id like models.txt order of entities so i can find them easily, i have some that are hard to find, different name and different txt filename ....

Its really a pain to find them in this software cause who really remembers what entities had what type ? Nobody does that but you when you are actually making the game and kinda had to memorize it right ? Then guess what - time passess and then you forget, so if you come back to old games, youre pretty lost by navigation, the tool practically cuts you off from accessing what you want by hiding filename or hiding entity name in various sections....

In the end a simple alphabetical list of filenames or entity names both at the same time would be nice... now i go back to struggle and find my mystery entity thats in models but cant find it in this tool which doesnt show actual text filenames next to entity names so you can order by entity name or text filename alphabetically.

Add option to not sort stuff by type but by entity name or filename.... nobody sorts by type, theres just player enemy and everything else ....

its hard to go back to old stuff and trying to remember what was what. and what type it had... so yeah im pretty irritated, spending time on finding entities., it takes 2 seconds in models.txt, here it can take a long time ...

At one time you sort by entity names, and then you click on entity then you sort by filenames, this is all over the place for me, id like to have both and consistent so its the same everywhere and not here different and there different name... very confusing.

1700819483110.png

This should not show any filenames if previous screen used entity names, ideally should show both, and ability to sort by alphabet, so now when my name is "dod" and filename is "player" how come i can connect both If i dont remember how i named each filename and each entity, there is no way im gonna guess on a huge project i barely remember or someone elses game , this screen should show entity name as well, and previous one with sorting by entity types should also show text filenames not just entity names.Both both both.
 
Last edited:
Back
Top Bottom