• Welcome to Smashboards, the world's largest Super Smash Brothers community! Over 250,000 Smash Bros. fans from around the world have come to discuss these great games in over 19 million posts!

    You are currently viewing our boards as a visitor. Click here to sign up right now and start on your path in the Smash community!

The Alternate File Loader (aka "The Clone Engine")

diosensakiara

Smash Apprentice
Joined
Jul 4, 2009
Messages
168
Hey Almas will I be able to do a Shadow vs Sonic fight now due
to the clone engine now?
 

Almas

Smash Lord
Joined
Jul 6, 2008
Messages
1,588
I did in fact read the whole post. I'm aware that you can't have multiple versions of the character in a match. I'm asking if you can STORE multiple characters at once. For example, if I want Elemental Marth to be triggered by L while Roy is triggered by R.

Thank you for your help though.

P.s. How do you multiply in hex?


You can.

Use calculator.

There is only support for GC Controllers.
 

rPSIvysaur

[ɑɹsaɪ]
Joined
Jun 7, 2009
Messages
16,415
Good stuff, I can't test it out right now until I get my GC controller back so I'm stuck with my Classic Controller. It's sad that you're ending you coding time though.
 

Ihatecompvir

Smash Rookie
Joined
Jul 26, 2009
Messages
8
I wish there was an easier way of doing this, such as completely adding new slots to the CSS, allowing Marth vs Roy.
 

diosensakiara

Smash Apprentice
Joined
Jul 4, 2009
Messages
168
hey Almas is it ever gonna be possible for a pac to fight against a different pac in
the future?
 

sffadsad

Smash Apprentice
Joined
Nov 6, 2007
Messages
148
You can.

Use calculator.

There is only support for GC Controllers.
Thanks for the reply Almas. It is pretty disheartening to know that this doesn't work for classic controllers. Is there any possibility of a port?
 

diosensakiara

Smash Apprentice
Joined
Jul 4, 2009
Messages
168
(I really hope Almas isnt retiring we need him :( We just want to be able to make this game have Marth vs Roy again)
 

Almas

Smash Lord
Joined
Jul 6, 2008
Messages
1,588
Because of the way the game reads controller inputs, the code is easy to write working with only the Classic Controller or only the GC Controller, but trying to mix both of them is just hard to operate.

I'm sure that provided PW stays in the scene, you'll be able to have a fancy CSS with every character you ever wanted, complete with models, textures and perhaps even sound clips.

Yes, I got your PM, shadowtroop. It didn't provide any potential solution to the problem presented, just like all the other ideas I see of how the code should have been written.
 

Nerd With An Afro

Smash Journeyman
Joined
Jul 23, 2009
Messages
283
Location
Lancaster PA
FINAL question: lets say i made a codeset where i have a ganondorf moveset being loaded, though i put a different character selection ID (lets say... ROB) would it be possible to load a second ganondorf into the game and replace the one character none of my friends play as?

edited to add the selection in character id
 

Eldiran

Smash Lord
Joined
Jan 8, 2008
Messages
1,707
Location
Pennsylvania
Beautiful! This works amazingly. The custom stages bit is especially brilliant. Thanks for the bit of help as well, Almas.
 

Almas

Smash Lord
Joined
Jul 6, 2008
Messages
1,588
It depends if you can load a ganon pac onto a rob model, Afro. I presume not.
 

Nerd With An Afro

Smash Journeyman
Joined
Jul 23, 2009
Messages
283
Location
Lancaster PA
That wasnt the idea of this though, i meant for it to instead of loading rob at all, it will load ganon (lets say off of pf) of his entirety, which would include his model.

I did something like this using the file replacement codes when i swapped all of marios files to pikachu, only thing was it was still treated as pikachu, i am wondering if this would sorta bypass that.

EDIt: more details

Mario over pikachu didnt have sound effects, generated articles (such as fireballs) did not spawn, and when i crouched, the game froze.
 

MBlaze

Smash Champion
Joined
Jun 11, 2008
Messages
2,236
Location
Copiague, New York
If I had to guess, this is a way to substitute files such as a PSA file on a character triggered by a coded button on the controller? Also a way to switch between Stage textures? I'm just guessing here since I don't really understand it fully.
 

Almas

Smash Lord
Joined
Jul 6, 2008
Messages
1,588
the XX part for bowser only has 7 characters...
Fixed

MBlaze said:
If I had to guess, this is a way to substitute files such as a PSA file on a character triggered by a coded button on the controller? Also a way to switch between Stage textures? I'm just guessing here since I don't really understand it fully.
Correct
 

God of Humility

Smash Journeyman
Joined
Jul 28, 2009
Messages
321
Ok, so I read the whole thread and still, I am not able to make it work. I triple checked every variable in the code and couldn't find the problem. I'm trying to play as Roy whith a button activator of the L button only. My data code looks like this

0657A000 00000010
61727468 1100E27B
01206C6D 00000000

My alternate folder is named lm and is right next to the pf folder. In the lm folder, it has the same strucutre as the pf, which is pf/fighter/marth

Is something wrong with my code or folder structure?

Thanks
 

Almas

Smash Lord
Joined
Jul 6, 2008
Messages
1,588
Try using L+A as the button activator. It is likely that when you are selecting the character, the code reads A as being held in addition to L, and so it doesn't activate.
 

grim mouser

Smash Journeyman
Joined
Jan 15, 2009
Messages
464
Location
Michigan
Would holding, say, R+A while choosing "Random" on the Stage Select screen load the alternate file if the specified stage is chosen?
 

SymphonicSage12

Smash Master
Joined
Feb 6, 2009
Messages
3,299
Okay, just a note. A+ b doesn't work. I should have know that. b is deselect character, a is select character. -_-
 

MaxThunder

PM Support
Joined
May 27, 2008
Messages
1,962
Location
Norway=)...
this sounds totally epic=)... though, due to me having multiple sd cards i dont need this... hope PW's really working on what we think he's working on... if he is... we'll have everything we want soon probably... and good job almas=)
 

sffadsad

Smash Apprentice
Joined
Nov 6, 2007
Messages
148
Because of the way the game reads controller inputs, the code is easy to write working with only the Classic Controller or only the GC Controller, but trying to mix both of them is just hard to operate.
I understand that you're retiring from coding, but could you do a quick rewrite to make an alternate version of the code that is classic controller supported?
 

SymphonicSage12

Smash Master
Joined
Feb 6, 2009
Messages
3,299
Alternate File Loader [Almas]
C23FA350 00000020
90C20000 90E20004
91620008 90A2000C
90620010 91220014
91420018 9182001C
3D800004 618C86C0
3D60805A 3CA0452F
60A57066 90AB7C14
816B7C22 3C608057
60639FF0 84A30010
2C050000 4182008C
7C055800 4082FFF0
3CC04545 60C62F53
7C062800 4082001C
3D60804D 616BE4B0
A16B0000 A1430008
7C0A5800 41820050
88A30004 A1430008
39200000 A0C30006
64C68152 7CC66214
3CE0804D 60E7E4A8
39290001 7CCC3050
38E70008 2C090005
4182FF94 89660000
7C0B2800 4082FFE4
A1670000 7C0B5000
4082FFD8 A143000A
3D60805A B14B7C16
80C20000 80E20004
81620008 80A2000C
80620010 81220014
81420018 8182001C
8C040001 00000000
0657A000 00000010
61727468 1100E27B
09806C6D 00000000



should this work? I'm trying to get it so that, if I press y and a when I select Marth, I'll get Roy. It goes through lm instead of pf.

(btw in the 5.0 RC1 codeset, there is a custom CSS, would that mess stuff up?)
 

Almas

Smash Lord
Joined
Jul 6, 2008
Messages
1,588
Would holding, say, R+A while choosing "Random" on the Stage Select screen load the alternate file if the specified stage is chosen?
Yes.

sffadsad said:
I understand that you're retiring from coding, but could you do a quick rewrite to make an alternate version of the code that is classic controller supported?
Code:
Alternate File Loader - Classic Controller Version [Almas]
C23FA350 00000020
90C20000 90E20004
91620008 90A2000C
90620010 91220014
91420018 9182001C
3D800004 618C86C0
3D60805A 3CA0452F
60A57066 90AB7C14
816B7C22 3C608057
60639FF0 84A30010
2C050000 4182008C
7C055800 4082FFF0
3CC04545 60C62F53
7C062800 4082001C
3D60804F 616B78AA
A16B0000 A1430008
7C0A5800 41820050
88A30004 A1430008
39200000 A0C30006
64C68152 7CC66214
3CE0804F 60E76F0A
39290001 7CCC3050
38E709A0 2C090005
4182FF94 89660000
7C0B2800 4082FFE4
A1670000 7C0B5000
4082FFD8 A143000A
3D60805A B14B7C16
80C20000 80E20004
81620008 80A2000C
80620010 81220014
81420018 8182001C
8C040001 00000000
The same link as before has a classic controller joker. I presume you do not have to add 80 to it. I don't know. Can't guarantee the code works.
 

spiderjjr45

Smash Apprentice
Joined
Sep 11, 2009
Messages
142
0657A000 00000020
6573732F 0B00E27B
01407067 00000000


I'm trying to replace Ness in a folder called /pg/ using a combo of R+A.

Will this work? Because I'm having problems.
 

Almas

Smash Lord
Joined
Jul 6, 2008
Messages
1,588
It should be 10, yes. R+A is 100+20, then 80 thrown on top for 1A0. Don't know where you got 140 from.
 

sffadsad

Smash Apprentice
Joined
Nov 6, 2007
Messages
148
Can someone else test the Classic Controller version of the code and tell me if it works for them? I've been trying it, but it doesn't seem to work for me. I'm unsure if it's simply an error on my part of if it actually doesn't work.
 

Doval

Smash Lord
Joined
May 16, 2005
Messages
1,028
Location
Puerto Rico
I'm a bit confused here - is the bytecount the total number of files that will be replaced, or the number of entries in the code? E.g. If I wanted to use Roy instead of Marth, I'd have 3 files - FitMarth.pac, FitMarth00.pac and FitMarth00.pcs. Would that be a bytecount of 30 (3 files) or 10 (1 code block)?

This is amazing by the way. You rock.
 

RandomTBush

Smash Ace
Joined
Aug 10, 2009
Messages
889
Location
Donut Plains
I'm a bit confused here - is the bytecount the total number of files that will be replaced, or the number of entries in the code? E.g. If I wanted to use Roy instead of Marth, I'd have 3 files - FitMarth.pac, FitMarth00.pac and FitMarth00.pcs. Would that be a bytecount of 30 (3 files) or 10 (1 code block)?

This is amazing by the way. You rock.
I believe you only need the one code block. I tested the Clone Engine code out with that "Mewtwo" Lucario moveset, and the Lucario skin I had put in didn't load up (Dhragen's "Mickey Mouse" skin), since FitLucario.pac was the only one in the "clone" folder.

I'm going to test that out by putting that skin into the clone folder as well, and see if it loads up.
 
Top Bottom