Home Gallery Resources The Team Rules chat Login Register
Poll
Question: Lucario Won. Who should be the new Plug and Play?
Yoshi
Captain Falcon
Ganondorf
ROB
Fox
Falco
Luigi

Pages:  1 ... 23 24 25 [26] 27 28 29 ... 60
Author Topic: Perfect .Rel porting Progress -Lucario is first Pack. Ganon is new .rel-  (Read 342100 times)
0 Members and 1 Guest are viewing this topic.
Segtendo
Local Marie Fanboy
Special Access
*****
Offline Offline

Posts: 13362


Cold queen

  • Awards Starstormer PC Core Gamer 128-bit Core Gamer Super Saiyan Topic

  • View Profile WWW Awards
    « Reply #375 on: April 09, 2013, 03:37:38 PM »


    Keep them modules comin', PW. Awesome Face
    Logged

    : SW-2632-7270-6724


    K+ ~ Tanuki God
    Extreme Kitten
    *******
    Offline Offline

    Posts: 436


    Back with a Boyfriend~


    View Profile Awards
    « Reply #376 on: April 09, 2013, 03:55:20 PM »


    You don't need any codes for entries as those are also covered by the modules.

    I've tested Lucario over Yoshi and it works with no problems. I haven't tested Mewtwo yet though. I suggest that you first get Lucario working over Yoshi, and then replace Lucario's files with Mewtwo's like usual.
    Ok.  Is there any way you can send me the rel that you used?  I think it may have become corrupted.  (My bandwidth sucks)
    Logged



    Currently Waiting For:
    Super Smash Bros. 4
    A Link Between Worlds
    Super Mario 3D World
    Mario Kart 8
    Zelda U

    Eternal Yoshi
    Heroic Kitten
    **
    Offline Offline

    Posts: 2425


    Boss? Is that you?

  • Awards KCMM Old Timer Super Saiyan Topic Active Contributor Former PMDT

  • View Profile Awards
    « Reply #377 on: April 09, 2013, 04:22:13 PM »


    Hey PW, can you please give more insight on Section[8] and what goes in constructing it and what sections of sora_melee I should look in to help with that? Snake's got lots of articles.
    Logged


    Chaos_Knight
    Boss Kitten
    ****
    Offline Offline

    Posts: 4798


    I squid you not.

  • Awards Fiery Topic Heart Container Starstormer Famous Hacker

  • View Profile Awards
    « Reply #378 on: April 09, 2013, 04:34:26 PM »


    These modules have some sort of "Character X has Character Y's Soundbank" code built into them, right? Would it be possible to disable them? Because it is possible to give ported characters their own sfx and not character Y's.
    Logged

    NNID: Cha0sKnight     3DS FC: 4768-7680-2509

    Dantarion
    Mega Kitten
    *****
    Offline Offline

    Posts: 172

  • Awards Favorite'd Former PMDT Staff Helper

  • View Profile Awards
    « Reply #379 on: April 09, 2013, 05:08:14 PM »


    Its possible, you just need to look at the files themselves
    Logged

    PhantomWings
    Mega Kitten
    *****
    Offline Offline

    Posts: 167

  • Awards Super Saiyan Topic Featured

  • View Profile Awards
    « Reply #380 on: April 09, 2013, 08:10:41 PM »


    Section[8] is pretty simple. The primary components are the character Id, copy info and copy data.

    It goes without saying that the character Id is stored in the first word of the section.

    Starting at 0x20, the copy info is stored as entries in sequence. Each entry is 0x10 in size:

    Copy Entry:
    0x00 (ptr) destination
    0x04 (ptr) source
    0x08 (half) id_step
    0x0A (half) data_size
    0x0C (word) data_tag

    Most of the fields are pretty self explanatory except id_step which simply offsets the destination address by character_id * id_step. The data_tag is 0xD8A for all entries except for the last one.

    The last entry has a data_tag of 0x1D8A. This entry patches the character_id into the addresses stored at the source ptr. Writes are done in halfwords, so all addresses need to be shifted by 2 if you are writing to assembly addresses.

    The first 9 copy entries are usually dedicated for patching known character parameters in sora_melee. The one's that will probably be the most useful are entries 7 and 8 which patch the character's soundbank and constants. Following the first 9 entries are the entries used for patching sora_melee functions.



    Finding the functions in sora_melee is no easy feat. The main places where cloned characters will encounter errors in sora_melee are the places where the game reuses code for other characters. This is primarily to do with places involving Kirby's copy abilities, but there are other places like in the case of Link's Final Smash which has code shared with ToonLink's Final Smash.

    For Snake, there shouldn't be too many problems because the grenades are of type wnSimple (I think...) which means that there shouldn't be any special code sharing to allow Kirby to use them.

    As for the remaining articles, as long as you patch all the constant character Id values in ft_snake.rel, they shouldn't exhibit any problems.
    Logged

    DSX8
    Stage/Character Importer
    Never Gonna Give You Up
    *
    Offline Offline

    Posts: 9288


    meow~

  • Awards Good Citizen >9000 King for a Day Heart Container

  • View Profile Awards
    « Reply #381 on: April 09, 2013, 08:39:51 PM »


    well first time using the module editor.. was able to get lucario working over mario easily.. then added the mewtwo psa into his folder, worked like a charm. no use of codes at all ^_^
    Logged

    Follow me on facebook and Twitter!!!
    https://www.facebook.com/DMNSLYRX8              https://twitter.com/Demonslayerx8

    3DS Friend Code: 0705-6436-8834              NNID: Demonslayerx8              PSN: Demonslayerx8



    billyskater555
    Mega Kitten
    *****
    Offline Offline

    Posts: 106


    "It's quality not quantity my friend"

  • Awards Shadow the Pinhog

  • View Profile WWW Awards
    « Reply #382 on: April 10, 2013, 02:12:19 AM »


    besides the fact that we can now port link, my favorite part is that this makes the AI act like the character you're porting, instead of the character you're over, so computer cloud over olimar fights like ike, not olimar
    Logged


    K+ ~ Tanuki God
    Extreme Kitten
    *******
    Offline Offline

    Posts: 436


    Back with a Boyfriend~


    View Profile Awards
    « Reply #383 on: April 10, 2013, 09:03:05 AM »


    besides the fact that we can now port link, my favorite part is that this makes the AI act like the character you're porting, instead of the character you're over, so computer cloud over olimar fights like ike, not olimar
    OMG yes!  I hated porting others to Olimar because they would be stupid...now they work right!
    Logged



    Currently Waiting For:
    Super Smash Bros. 4
    A Link Between Worlds
    Super Mario 3D World
    Mario Kart 8
    Zelda U

    jrush64
    Lol Kitten
    *********
    Offline Offline

    Posts: 925


  • Awards Featured Starstormer Renowned Hacker Pin Collector

  • View Profile Awards
    « Reply #384 on: April 10, 2013, 09:18:17 AM »


    This is really really amazing. Thanx for this.
    Logged

    nanobuds
    Overlord Kitten
    ******
    Offline Offline

    Posts: 6753


  • Awards Former PMDT Sniper Diamond in the Rough >9000

  • View Profile WWW Awards
    « Reply #385 on: April 10, 2013, 09:21:15 AM »


    Can characters get their own CSS slots yet?
    Logged

    pikazz
    Heroic Kitten
    **
    Offline Offline

    Posts: 2286


    Machinimator!

  • Awards Renowned Hacker Pin Collector Good Citizen Helping Hand

  • View Profile Awards
    « Reply #386 on: April 10, 2013, 09:47:16 AM »


    I am currently porting Lucario Plug&Play to PAL to those who are using PAL.

    however, it's only 98% done! there is something that I can't port yet D:
    Logged

    Stupid Tinypic :C

    SonicBrawler
    Magical Girl
    Overlord Kitten
    ******
    Offline Offline

    Posts: 6977


    Bae

  • Awards Star Hacker Active Contributor Renowned Hacker Heart Container

  • View Profile WWW Awards
    « Reply #387 on: April 10, 2013, 11:57:27 AM »


    Can characters get their own CSS slots yet?
    the clone engine? You are in the P:M team so you should know Tongue
    Logged

    Quotes:
    Not all people have the luxury of being able to buy things whenever they want.

    Some people are barely scraping by in the economy.
    Modding has made you guys so spoiled.

    Shun_One
    Lol Kitten
    *********
    Offline Offline

    Posts: 888


  • Awards >9000 Star Hacker Smash 3 Team Pin Collector

  • View Profile WWW Awards
    « Reply #388 on: April 10, 2013, 02:04:41 PM »


    Can characters get their own CSS slots yet?
    I would assume that if someone knew how to code in a separate CSS isntance slot and all the various things tied to a new character slot, that yes, at this point it'd be possible.

    So, basically: If we can do the stuff that we can't do yet(?) we can do it.
    Logged

    I'm no longer around. If you really need to get my attention, send a PM

    PhantomWings
    Mega Kitten
    *****
    Offline Offline

    Posts: 167

  • Awards Super Saiyan Topic Featured

  • View Profile Awards
    « Reply #389 on: April 11, 2013, 02:11:47 PM »


    Well it looks like porting Snake was a lot harder than I thought it would be. In the end, I updated the Plug&Play model to v1.2 to cover a certain oddity in sora_melee that made it difficult to patch entry data. There's not too many changes except for a new _prolog function that gets called before the v1.1 function. If anyone's had any problems porting characters over Fox, Falco, Peach, Wario, Metaknight or Snake, then this would be the cause for it.

    The 3 new modules are Mario, Sonic and Snake

    Plug&Play Modules v1.2:
    ft_mario.rel
    ft_link.rel
    ft_marth.rel
    ft_pit.rel
    ft_lucario.rel
    ft_ike.rel
    ft_snake.rel
    ft_sonic.rel


    While cloning characters to completely new slots is technically possible using the Plug&Play modules, you still need to have interface elements, CSPs, and CSS icons for the new character slot. You also need to add a new .rel and .pac file paths to sora_melee so they get loaded according to the new character Id. Because the .rel can't actually patch it's own file string, you'll have to use codes. Perhaps a creative individual could come up with a patch function that executes on sora_menu_selchar_access.rel or some other modules which makes the appropriate changes when it is loaded.


    One other thing to note, while CPUs no longer exhibit behavior dictated by the A.I. controller functions (such as Olimar's constant Neutral B usage) they do still seem to exhibit some behavior of the original characters such as when they use their FS. The only A.I. related data I know of are the A.I. controllers and the A.I. files inside the MotionEtc files so I'm not sure what needs to be patched to fixed this.



    I think I'm going to take a break from hacking after this. I've done a pretty hefty hacking marathon this week and have neglected a lot of important things thanks to that. But we have made a lot of progress here.
    « Last Edit: April 11, 2013, 02:26:11 PM by PhantomWings » Logged

    Pages:  1 ... 23 24 25 [26] 27 28 29 ... 60
    Print
    Jump to: