loblao / libpandadna

A parser for Disney's DNA files. It focus primarily on Toontown's DNA.
Other
38 stars 17 forks source link

Add decompiler utility. #60

Open Maxwell175 opened 5 years ago

Maxwell175 commented 5 years ago

If there is a compiler, there should be a matching decompiler utility?

ghost commented 5 years ago

Why? Why do you want to decompile a pdna file? There is no reason this needs to be a feature. I have a funny feeling you want this feature to decompile other people's pdna files, to steal and use in other projects.

In that case, then no. I (and most likely others) are not comfortable about making a decompiler for pdna files to steal for profit.

Can somebody close this, and mark this as invalid?

Maxwell175 commented 5 years ago

I am disgusted that you would think that. How about you not go around and call random people you never met crooks. A previous developer on a project I am working on made edits to dna files but sent only pdna files and disappeared before giving the source files.

Why is there a bam2egg decompiler? Is it made to steal others' work? No.

ghost commented 5 years ago

@MDTech-us-MAN

How about you not go around and call random people you never met crooks.

What I was trying to saying was that there was a potential of someone trying to steal work, if a decompile tool comes out. I know that I should have worded that differently, and I apologize.

However, I still don't feel 100% conformable about a decompiler, that has the potential of being abused. Maybe, you can PM me on Discord (ComradeNapCal#0001) with your files and I can see about "recovering" them privately.

I will leave it to @mfwass and @loblao to continue this issue here.

loblao commented 5 years ago

If you want to convert your pdna to a dna file, you can load it and then use writeDna. Make sure that you're using the feature/cxx-parser branch. A decompiler utility would be cool so I'll leave this open if anyone wants to implement it.