UCC Batch Export

Discussions about Coding and Scripting
Post Reply
User avatar
CriticalError
Novice
Posts: 5
Joined: Mon Nov 15, 2010 7:18 am
Personal rank: L2J Client Developer

UCC Batch Export

Post by CriticalError »

Hello all, well my question is simple, I working with lineag2 game, ok what I wanna do is export all .u files to .uc to compile my new scripts in game, like effects,etc but the problem is all packages of lineage2 are protected with xor as far remember, this ones can be decrypted and not problem, but every time decrypt one file, ask me for other, and this successively, so what I do is decrypt all files of client, animations, systextures, staticmeshes, textures,etc but after run uccbatchexport I got LineageEffectTextures for example no found in package,etc and the package is stored there, but anyway no work, so somebody can give me a hand? maybe is possible make a tool when uccbatch export begin, it begin decrypt l2 files too? ok many thanks for all and any question would be answered without problems, ok thanks for support and have a nice day.
Image
User avatar
Dr.Flay
Godlike
Posts: 3347
Joined: Thu Aug 04, 2011 9:26 pm
Personal rank: Chaos Evangelist
Location: Kernow, UK
Contact:

Re: UCC Batch Export

Post by Dr.Flay »

eGo may be the person to talk to, as he is working on a UCC tool
http://www.ut99.org/viewtopic.php?f=3&t=5782
For later engines MonkeyBuild may also be of use
http://wiki.beyondunreal.com/MonkeyBuild

This is a UT99 specific site, but we tolerate posts regarding content that can be used in UT.
I apologise but this post will be moved or shelved if you can't give a good reason for it to stay.
JackGriffin
Godlike
Posts: 3774
Joined: Fri Jan 14, 2011 1:53 pm
Personal rank: -Retired-

Re: UCC Batch Export

Post by JackGriffin »

Have you tried wotGREAL or UTPT? It won't give a perfect decompile but good enough to work with.
So long, and thanks for all the fish
User avatar
CriticalError
Novice
Posts: 5
Joined: Mon Nov 15, 2010 7:18 am
Personal rank: L2J Client Developer

Re: UCC Batch Export

Post by CriticalError »

yeah I use all this tools, but how say before it only export default script, no fully script with all properties to recompile, but anyway I found way out, somebody write me a tool to it so thanks anyway for support me.
Image
User avatar
'Zac
Experienced
Posts: 111
Joined: Tue Jul 29, 2014 9:35 pm
Personal rank: Who knows.
Location: NC

Re: UCC Batch Export

Post by 'Zac »

You can easily make a batch exporter with a text file and making it a batch file...

This makes everything into a .u file using an ini file.
Just change the XXXXX's with the respective folder names and file names

cd ../System
del XXXXXXXXXXX.u
UCC Make ini=../XXXXXXXXX/XXXXXXXXXXXX.ini
pause


The ini file, just change the XXXX's to the name of the mod or file.

; Generated by UMake


[Engine.Engine]
EditorEngine=Editor.EditorEngine


[Editor.EditorEngine]
CacheSizeMegs=32
EditPackages=Core
EditPackages=Engine
EditPackages=Editor
EditPackages=UWindow
EditPackages=Fire
EditPackages=UBrowser
EditPackages=UnrealShare
EditPackages=UnrealI
EditPackages=UMenu
EditPackages=Botpack
EditPackages=UTMenu
EditPackages=UTBrowser
EditPackages=XXXXXXXXXXXXXXXXXX


[Core.System]
Paths=*.u
Paths=../Maps/*.unr
Paths=../Textures/*.utx
Paths=../Sounds/*.uax
Paths=../Music/*.umx


I don't have a batch file for exporting .u's to the source files because i use the WOTGREAL thingy.
Prophunt for UT99!!!
Image
Github
User avatar
CriticalError
Novice
Posts: 5
Joined: Mon Nov 15, 2010 7:18 am
Personal rank: L2J Client Developer

Re: UCC Batch Export

Post by CriticalError »

well many thanks for try and continue topic, but the problem I have before is package are encrypted, so UCC only work with decrypted packages, if the packages are encrypted and no found the typc of encryptation to make a bypass, this figure out a message can't found xxx package, but anyway thanks for try Zac, really grateful for try help.
Image
JackGriffin
Godlike
Posts: 3774
Joined: Fri Jan 14, 2011 1:53 pm
Personal rank: -Retired-

Re: UCC Batch Export

Post by JackGriffin »

Email me one of the files, I want to see the encryption. It can be a very small one, it doesn't matter.
So long, and thanks for all the fish
User avatar
CriticalError
Novice
Posts: 5
Joined: Mon Nov 15, 2010 7:18 am
Personal rank: L2J Client Developer

Re: UCC Batch Export

Post by CriticalError »

ohhh ok many thanks for try @JackGriffin, I send you it, many thanks for try study it.
Image
Post Reply