wc3edit.net

United Warcraft 3 map hacking!
It is currently May 27th, 2020, 12:05 am

All times are UTC


Forum rules


While crediting should be allowed, please keep down the advertising. If you know who it's from, and they have a website, please link to it as a basic courtesy.



Post new topic Reply to topic  [ 25 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: JAST 1.0
PostPosted: April 21st, 2020, 10:49 pm 
Offline
Super Moderator

Joined: February 3rd, 2009, 11:28 pm
Posts: 2331
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image



Download:

Attachment:
ReleasePackage1.0.4.zip

Spoiler for "Old releases":
Attachment:
ReleasePackage1.0.3.zip

Attachment:
ReleasePackage1.0.2.zip

Attachment:
ReleasePackage1.0.1.zip

Attachment:
ReleasePackage1.0.0.zip

Attachment:
JAST 0.1.2.zip

Attachment:
JAST0.1.1.zip

Attachment:
JAST Release 0.1.0.zip


Github source


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
 Post subject: Re: JAST Initial Release
PostPosted: April 22nd, 2020, 12:30 am 
Offline
Also Not an Admin, but closer than devoltz
User avatar

Joined: February 14th, 2018, 5:35 am
Posts: 1380
Title: Just Another S.Mod
Wow. Nice tool, owner! Thanks for sharing with us.

Something which would be really useful would be to extract rawcodes from maps without needing to select war3's version (RMPQEx doesn't do that). Another useful thing would be to let us to change/update cheatpack's jass file since I update my cheatpack from time to time.


Top
 Profile  
 
 Post subject: Re: JAST Initial Release
PostPosted: April 22nd, 2020, 1:13 am 
Offline
Shopping Maul USA Creator
User avatar

Joined: January 18th, 2007, 11:07 am
Posts: 1552
Location: Calgary Canada
Title: No Comment
But will it Deprotect Dota and restore the triggers?


Very nice indeed! So what is the wtg writer?


Top
 Profile  
 
 Post subject: Re: JAST Initial Release
PostPosted: April 22nd, 2020, 1:40 am 
Offline
Super Moderator

Joined: February 3rd, 2009, 11:28 pm
Posts: 2331
Interesting. I haven't looked into the specs for war3map.w3u/t/a files yet. I might try that out, it sounds like an interesting project. Maybe I'll work on this tomorrow if I get some time. I'll obviously make it clean the rawcodes too. The existing "spec" is bad so I'll just redo it from scratch.

Yeah I think I will separate out the cheatpacks into a folder so that they can be updated/modified as needed. Should have done so from the start.

The war3map.wtg is the file which stores visual triggers. It's a world-editor only file so it gets deleted by optimizers which is why maps have an empty trigger editor when they get deprotected. The spec of war3map.wtg is known and so it's possible to write code to read/write wtg triggers. Therefore in theory there's nothing stopping us from writing a tool to bring back GUI triggers from JASS, or bringing back JASS triggers from a protected map.

Besides the fact that it is hard, of course.
I can likely do it but it's a significant amount of work.

Quote:
But will it Deprotect Dota and restore the triggers?

:lol: :lol:


Top
 Profile  
 
 Post subject: Re: JAST Initial Release
PostPosted: April 22nd, 2020, 11:41 pm 
Offline
Super Moderator

Joined: February 3rd, 2009, 11:28 pm
Posts: 2331
Updated. Now creates clean rawcode files from war3map.w3u/a/t/etc. No WC3 installation needed. No other app needed to clean them.
Uploaded version on first post.

Usage:
"rc in/war3map.w3t out/myRawcodes.txt"

If the generated rawcode names have "TRIGSTR_000" and such on them, then extract the war3map.wts file and do:
"rc in/war3map.w3t out/myRawcodes.txt in/war3map.wts"

It will merge the wts file automatically and correct the names.


Top
 Profile  
 
 Post subject: Re: JAST Initial Release
PostPosted: April 23rd, 2020, 1:40 am 
Offline
Also Not an Admin, but closer than devoltz
User avatar

Joined: February 14th, 2018, 5:35 am
Posts: 1380
Title: Just Another S.Mod
Nice! I was about to tell you to add a clean rawcode feature. Thanks. Next release should come with separated cheatpacks.


Top
 Profile  
 
 Post subject: Re: JAST Initial Release
PostPosted: April 28th, 2020, 1:00 am 
Offline
Super Moderator

Joined: February 3rd, 2009, 11:28 pm
Posts: 2331
0.1.2 release notes:
- Supports exporting MPQ files. Command: "export <myMap.w3x> <outputDirectory>".
- This command exports war3map.j, war3map.wts, war3map.w3u, war3map.w3a, and war3map.w3t files if they exist in the archive.
- Support for external cheatpacks added. To leverage this, put your cheatpacks in a folder called "cheatpacks" at the root of the program.
- If not provided as external cheatpacks, the system will use JJCP or NZCP as internal cheatpacks. However external ones are prioritized. Folder is included in the release. Don't change the activator if you want the program's custom activator stuff to work (it expects the default).
- MPQ inserting is not yet supported. The software used to modify MPQs (JMPQ3) is sort of broken. I will be looking into this in the future but it's low priority since there are so many MPQ editors out there.

I will now begin the long and annoying process of making this a graphical application rather than a command-line application.
I'm aware that people don't like command line applications and therefore won't even try this program because of it.
I just wanted to get a release out fast with usable functionality. Especially since it contains some unique stuff like gui optimization and string hash breaking that is not available/easily findable otherwise. Efforts will now be placed on making it more user-friendly.
Any new feature requests or bugs reported will also be added ASAP.

Also there's a restriction that I didn't mention before but is worth mentioning now that it can export files: the program DOES NOT handle spaces in commands well. If you extract files from a map, make sure the map name has no spaces in it. I know it sucks, but the command line interface is temporary as said above. I won't spend too much time making the command line user friendly when I could be working on a user interface for it that provides much more value.

Added apache 2.0 license to the repo and release. It basically officially says that you can do whatever you want with the program and source (use it, modify it, try to make money with it, I don't care), and it's provided as is.


Top
 Profile  
 
 Post subject: Re: JAST Initial Release
PostPosted: April 28th, 2020, 7:50 pm 
Offline
Member

Joined: June 27th, 2007, 12:16 am
Posts: 90
great tool but i get java.io.FileNotFoundExeption ....
let me try making a empty j....


Last edited by saio on April 28th, 2020, 11:41 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: JAST Initial Release
PostPosted: April 28th, 2020, 9:37 pm 
Offline
Super Moderator

Joined: February 3rd, 2009, 11:28 pm
Posts: 2331
Do you have Java installed?
https://www.java.com/en/

It also needs to be in your PATH environment variable, though I'd hope the Java installer does that automatically.
What error do you get?

Attachment:
PATH.PNG


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
 Post subject: Re: JAST Initial Release
PostPosted: April 28th, 2020, 11:42 pm 
Offline
Member

Joined: June 27th, 2007, 12:16 am
Posts: 90
i had to copy the run.ch and make it a bat to run it from there....

feeling stupid <war3map.j> Widowt "<>"
.....

it adds empty space between :
Code:
else

endif

it can be :
Code:
else
endif


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 25 posts ]  Go to page 1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)