Kitty Corp Meow Mix Forums

Super Smash Bros. Brawl Hacking => Programming => Topic started by: Dantarion on May 07, 2014, 07:21:32 PM



Title: Dantarion Presents: pyGCTInject 1.0
Post by: Dantarion on May 07, 2014, 07:21:32 PM
https://github.com/dantarion/pyGCTInject

Hit download ZIP to get the latest version.

Please read the readme on github, I want to keep an up to date explanation of everything there.
If you have questions, ask them here, and I will answer them and update the documentation on Github!


Title: Re: Dantarion Presents: pyGCTInject 1.0
Post by: daniel741852 on May 07, 2014, 07:55:23 PM
This seems interesting!


Title: Re: Dantarion Presents: pyGCTInject 1.0
Post by: DarkPikachu on May 07, 2014, 08:27:54 PM
hmm... a bit saddend by the lack of a basic GUI (because it's python),
but still... very interesting indeed :)

don't appologize for me expecting too much...
I'm building a GUI on a modern GL interface (in python 2.7.6), so really, I have no right to complain. :P

EDIT:
if I could recommend an easy and extendable GUI interface,
might I recommend PyQt. :)


Title: Re: Dantarion Presents: pyGCTInject 1.0
Post by: Sammi Husky on May 07, 2014, 08:32:21 PM
Tcll Your python work is very impressive btw, i've been a long time follower on smashboards, just never said anything. Good luck with your endeavors.

This is a nifty little tool here!

In any case, i don't think it's necessary to have an gui for this tool really, it's pretty straight forward :P


Title: Re: Dantarion Presents: pyGCTInject 1.0
Post by: DarkPikachu on May 07, 2014, 08:45:03 PM
Tcll Your python work is very impressive btw, i've been a long time follower on smashboards, just never said anything. Good luck with your endeavors.

many thanks :)

tbh, the code isn't exactly difficult, especially being Python, but my lack of knowledge is the reason for all the wait...
(can't take time off to study due to my brain constantly getting new ideas while forgetting others) lol
^ and the fact that I don't think about things because of this... curse my autism :P

In any case, i don't think it's necessary to have an gui for this tool really, it's pretty straight forward :P
very true, but with a GUI you could manage and track changes as well as modify and revert codes.

/coming from someone who's building an IDE (for his complex program's scripts) completely designed for noobs :P

EDIT:
@Dant: if you consider a GUI, if you'd like any of my experience, feel free to ask :)


Title: Re: Dantarion Presents: pyGCTInject 1.0
Post by: pikazz on May 08, 2014, 01:36:44 AM
wow! dant actually released something! 8D
great work dant!

from what I read from the readme if I understood it correctly, it makes the Dol in the ISO to be with merged with the GCT and allow us to put codes "gameconfig.txt" which makes it faster to test things on Dolphin?


Title: Re: Dantarion Presents: pyGCTInject 1.0
Post by: Dantarion on May 08, 2014, 01:00:26 PM
Tcll this doesn't need a GUI, that would make it worse. All I do is change the hardcoded file paths, then double click it whenever I change the GCT.


Title: Re: Dantarion Presents: pyGCTInject 1.0
Post by: DarkPikachu on May 08, 2014, 02:24:13 PM
make it worse? I really disagree...

but whatever, it's your program, thanks for taking the time. :)


Title: Re: Dantarion Presents: pyGCTInject 1.0
Post by: Segtendo on May 08, 2014, 04:58:11 PM
Yo Dant. You said the program requires a boot.dol. Where would I get that? In the instrutions, it says "This program takes a NTSC... .dol from the the game Super Smash Brothers Brawl" but I can't find one in the ISO.


Title: Re: Dantarion Presents: pyGCTInject 1.0
Post by: DarkPikachu on May 08, 2014, 05:10:36 PM
Yo Dant. You said the program requires a boot.dol. Where would I get that? In the instrutions, it says "This program takes a NTSC... .dol from the the game Super Smash Brothers Brawl" but I can't find one in the ISO.
should be right in the ISO root

it may be "main.dol" though

EDIT:
if you're extracting using Dolphin:
R-click the game partition and click "Extract DOL"
it exports "boot.dol"


Title: Re: Dantarion Presents: pyGCTInject 1.0
Post by: Segtendo on May 08, 2014, 05:20:26 PM
Okay. Got the boot.dol. I injected my GCT into the DOL, placed it alongside the folders on the extracted ISO. Dolphin crashed when loading the DOL.


Title: Re: Dantarion Presents: pyGCTInject 1.0
Post by: DarkPikachu on May 08, 2014, 05:58:11 PM
Okay. Got the boot.dol. I injected my GCT into the DOL, placed it alongside the folders on the extracted ISO. Dolphin crashed when loading the DOL.
I'd expect it to only work properly for USB loaders


Title: Re: Dantarion Presents: pyGCTInject 1.0
Post by: Segtendo on May 08, 2014, 06:15:18 PM
I'd expect it to only work properly for USB loaders
Quote from: Readme
Uses
========
Running an extracted ISO of Brawl using Dolphin emulator, with a codeset of your choice. This has been used by Dantarion to test file modifications for Project M for a while, and now it is out in the WILD!


Title: Re: Dantarion Presents: pyGCTInject 1.0
Post by: DarkPikachu on May 08, 2014, 06:28:14 PM
Quote from: Readme
Uses
========
Running an extracted ISO of Brawl using Dolphin emulator, with a codeset of your choice. This has been used by Dantarion to test file modifications for Project M for a while, and now it is out in the WILD!
well...
can't be me w/o facepalms :af:


Title: Re: Dantarion Presents: pyGCTInject 1.0
Post by: Dantarion on May 09, 2014, 04:37:09 PM
Anyone got this working at all?
Segendo, does it work with a dol taken from the ISO unchanged?


Title: Re: Dantarion Presents: pyGCTInject 1.0
Post by: Segtendo on May 09, 2014, 05:22:28 PM
It still didn't work.
Is it supposed to be in the same directory as the folders for the ISO?


Title: Re: Dantarion Presents: pyGCTInject 1.0
Post by: Sammi Husky on May 09, 2014, 05:41:43 PM
"This program requires Python, 2 or 3, to run. 1. Put your NTSC boot.dol in the directory 2. Put your GCT named RSBE01.GCT in the directory 3. Run the script 4. Look at your shiny new boot_injected.dol 5. ?????? 6. Have fun!"

You should only need to put your boot.dol and RSBE01.gct in the same directory as the script if im interpreting this correctly


Title: Re: Dantarion Presents: pyGCTInject 1.0
Post by: Dantarion on May 10, 2014, 01:57:14 AM
Segtendo, you have to set the base folder for the ISO in dolphin settings.


Title: Re: Dantarion Presents: pyGCTInject 1.0
Post by: Segtendo on May 10, 2014, 08:47:09 AM
And how would I do that?


Title: Re: Dantarion Presents: pyGCTInject 1.0
Post by: Dantarion on May 10, 2014, 02:48:46 PM
Its in the options somewhere.


Title: Re: Dantarion Presents: pyGCTInject 1.0
Post by: Sammi Husky on May 10, 2014, 08:27:28 PM
Works for me just fine. Nice tool to have handy. On another note, i don't wanna seem like im buggin but are you still gonna release the module rebuilder..?   :happy:


Title: Re: Dantarion Presents: pyGCTInject 1.0
Post by: Dantarion on May 12, 2014, 11:42:01 AM
Yeah, that one requires a bit more work than this one did to get "release Ready"


Title: Re: Dantarion Presents: pyGCTInject 1.0
Post by: pikazz on May 12, 2014, 11:45:17 AM
Yeah, that one requires a bit more work than this one did to get "release Ready"

Yay! I cant wait for it! ;w;