Author Topic: Who wants to play CtC Phantasm?  (Read 11167 times)

Drake

  • *
Who wants to play CtC Phantasm?
« on: December 10, 2009, 12:01:46 AM »


Yeah, I found that one line of code.

In your CtC directory, open up "script\thC\STAGE\Menu.dnh". From the top, scroll past the beginning to get to the confusing stuff. If you keep scrolling you'll find function LoadProgressMenu and then function MainMenuInitialize.

Code: [Select]
function MainMenuInitialize(){
LoadProgressMenu( MENU_RESOURCE_LOAD_GRAPHIC, [], MENU_RESOURCE_LOAD_SOUND );
ForbidShot( true );
SetStage( 0 );
PlayMusicEx( 1 );
SetCommonDataEx( FLAN_CDNS, FLAN_CD_PLAYER_SHOT_ENABLE, false );
///////////////////////////
///////////////////////////
//if( !IsCanTryStageEX2() ){ MENU_LOCK_LEVEL_EX = MENU_LOCK_LEVEL_EX ~ [ 1 ]; }
///////////////////////////
///////////////////////////
if( !IsCanTryStageEX() ){ MENU_LOCK_MAIN = MENU_LOCK_MAIN ~ [ 1 ]; }
let nPlayerID = GetPlayerID();
ascent( let i in 1..6 ){ // ?X?e?[?W1?????????????b?N??????
if( GetTryHistory( [ nPlayerID, PLAYER_OTHER ], [], [ i + 1 ], [], 0 ) == 0 ){ MENU_LOCK_STAGE = MENU_LOCK_STAGE ~ [ i ]; }
}
let anBGMList = GetCommonDataDefaultEx( CL_CDNS_RESULT, CL_CD_HISTORY_BGM, CreateArray( length( bgmList ), 0 ) );
ascent( let i in 2..length( bgmList ) ){ // ?^?C?g??BGM?????????????b?N??????
if( anBGMList[ i ] == 0 ){ MENU_LOCK_MUSIC = MENU_LOCK_MUSIC ~ [ i - 1 ] };
}
}
Comment out that line of code there and you're done. I guess you could unlock Extra too, but 1ccing Normal is piss easy and you shouldn't even be attempting Phantasm if you don't have the ability to unlock Extra of all things :|



As a bonus, here's also the location of the "Expert" line of code.

Open "script\thC\thC.dnh". Scroll down and you'll find task mainTask, then function onInitialize.

Code: [Select]
function onInitialize( let nStage, let nLevel ){
ForbidBomb( true );
ForbidShot( true );
SetRateScoreSystemEnable( false );
SetCommonDataEx( FLAN_CDNS, FLAN_CD_PLAYER_SHOT_ENABLE, false );
SetCommonDataEx( FLAN_CDNS, FLAN_CD_PLAYER_POWER_ENABLE, true );
SetShotAutoDeleteClip( 40, 40, 40, 40 );
FontInitialize( IMAGE_CL_FONT_ASCII, IMAGE_CL_FONT_SJIS16 );
LoadAllCommonData();
m_bResume = GetResume();
SetDefaultStatusVisible( m_bResume );
LoadGraphicList( [ IMAGE_CL_BLACK, IMAGE_THC_BLACK_FRAME, IMAGE_THC_LOADING_BG_FRAME, IMAGE_THC_LOADING_BG_FIELD ] );
if( m_bResume ){
m_bWritableTextureCreate = GetCommonDataDefaultEx( CL_CDNS_CONFIG, CL_CD_CONFIG_FONT_PRERENDER, true );
let nStage = GetCommonDataDefaultEx( CL_CDNS_RESULT, FLAN_CD_STAGE, 0 );
m_bStagePractice = nStage >= 0 && nStage < 10;
m_nScenario = GetCommonDataDefaultEx( CL_CDNS_RESULT, CL_CD_STAGE_SCENARIO, 0 );
m_bStageBGLongClip = GetCommonDataDefaultEx( CL_CDNS_CONFIG, CL_CD_CONFIG_BGG_CLIP, false );
SetClearFrameEffectEnable( nStage != 5 && ( m_bStagePractice || nStage >= 7 ) );
let nLife = GetCommonDataDefaultEx( CL_CDNS_CONFIG, CL_CD_CONFIG_PLAYER, 3 );
if( m_bStagePractice ){ nLife = 8; }
else if( nStage >= 7 ){ nLife = 3; }
ExpertEx(
///////////////////////////////////////////
true,
///////////////////////////////////////////
[ GetCommonDataDefaultEx( CL_CDNS_CONFIG, CL_CD_CONFIG_CONTINUE, 0 ), 1 ][ m_bStagePractice || nStage >= 7 ],
nLife
);
__CreateStageInfomationLoop();
__PopItemQueueLoop();
}
else{
SetStage( -1 );
///////////////////////////////////////////
ExpertEx( true, 0, 1 );
///////////////////////////////////////////
}
PlayMusicLoop();
}
Change those two lines and you can activate debug utils as normal. Although, it auto-counts you as having used a continue, so don't think you can use to to unlock Extra you stupid buggers.

A Colorful Calculating Creative and Cuddly Crafty Callipygous Clever Commander
- original art by Aiけん | ウサホリ -

theshirn

  • THE LAWS OF THE FIESTA MEAN NOTHING
  • *
    • Wisdom is Not a Dump Stat
Re: Who wants to play CtC Phantasm?
« Reply #1 on: December 10, 2009, 12:06:04 AM »
Comment out that line of code there and you're done. I guess you could unlock Extra too, but 1ccing Normal doesn't unlock it
Fix'd.

Awesome, Drake.  Thanks for putting this up!

[09:46] <theshim|work> there is nothing like working for a real estate company to make one contemplate arson

Drake

  • *
Re: Who wants to play CtC Phantasm?
« Reply #2 on: December 10, 2009, 12:47:12 AM »
1cc Normal with all four characters. That's the only requirement. Actually, this code says that it can even be Easy mode, really.

function IsCanTryStageEX(){
   let nPlayerID = GetPlayerID();
   let nClear = 0;
   ascent( let i in 0..4 ){
      if( GetClearHistory( [], [ i ], [ 6 ], [], 0, 0, 0 ) != 0 ){ nClear++; }
      else if( i == nPlayerID ){ return false; }
   }
   return nClear >= 2;
}



What the hell danmaq do you want nobody to play Phantasm ever?


function IsCanTryStageEX2(){
   let nPlayerID = GetPlayerID();
   ascent( let i in 0..4 ){ if( GetClearHistory( [ nPlayerID ], [ i ], [ 6 ], [ 0, 1   ], 0, 0, 0 ) == 0 ){ return false; } }

//You have to 1CC Easy and Normal in all four scenarios.

   if( GetClearHistory( [ nPlayerID ], [], [ 10 ], [], 0, 0, 0 ) == 0 ){ return false; }

//You have to have beat Extra with that character.

   if( GetClearHistory( [ nPlayerID ], [], [ 6 ], [ 1, 2, 3 ], 0, -1, 0 ) == 0 ){ return false; }

//From what I understand, you start off with -1 continues and you use one when you die from Reimu's Final Five. In other words, you need to completely finish Normal, Hard and Lunatic, including those cards, for that character.

   if( GetTryHistory( [ nPlayerID ], [], [], [ 3 ], 0 ) == 0 ){ return false; }

//You need to have tried every Lunatic Spell Card for that character.

   if( MENU_SIZE_PRACTICE_SPELL_ALL - length( MENU_LOCK_PRACTICE_SPELL_ALL ) <= 80 ){ return false; }

//You need to have less than 80 spell cards locked, in the whole game. Minus Phantasm and the Last Words, that's 38 cards locked, which is 308 cards unlocked.

   return true;

//If you've done all that, then go right ahead.

}



What a bitch.
« Last Edit: December 10, 2009, 12:58:42 AM by Drake »

A Colorful Calculating Creative and Cuddly Crafty Callipygous Clever Commander
- original art by Aiけん | ウサホリ -

nintendonut888

  • So those that live now, pledge on your fists and souls
  • Leave a sign of your life, no matter how small...
Re: Who wants to play CtC Phantasm?
« Reply #3 on: December 10, 2009, 12:58:15 AM »
What do you mean by "comment out?" And what part of it?

Also ah ha ha I told you the creators were jerks.
nintendonut888: Hey Baity. I beat the high score for Sanae B hard on the score.dat you sent me. X3
Baity: For a moment, I thought you broke 1.1billion. Upon looking at my score.dat, I can assume that you destroyed the score that is my failed (first!) 1cc attempt on my first day of playing. Congratulations.

[19:42] <Sapz> I think that's the only time I've ever seen a suicide bullet shoot its own suicide bullet

Re: Who wants to play CtC Phantasm?
« Reply #4 on: December 10, 2009, 01:08:08 AM »
Now that's what I call "security through obscurity."

Re: Who wants to play CtC Phantasm?
« Reply #5 on: December 10, 2009, 01:08:50 AM »
Now that's what I call "security through obscurity."

I'm just gonna second this.

Drake

  • *
Re: Who wants to play CtC Phantasm?
« Reply #6 on: December 10, 2009, 01:12:08 AM »
What do you mean by "comment out?" And what part of it?

Also ah ha ha I told you the creators were jerks.
Add // to the beginning of the line.

A Colorful Calculating Creative and Cuddly Crafty Callipygous Clever Commander
- original art by Aiけん | ウサホリ -

nintendonut888

  • So those that live now, pledge on your fists and souls
  • Leave a sign of your life, no matter how small...
Re: Who wants to play CtC Phantasm?
« Reply #7 on: December 10, 2009, 01:54:28 AM »
Add // to the beginning of the line.

Clearly I'm not putting it on the right line. >_> I put it before "function" and the game refuses to start, and I put it before loadprogressmenu and the menu disappeared entirely. :V To just save us all a lot of headache, can you copy/paste what the changed line of code should look like? I wanna see if phantasm Reimu is any more entertaining than White Reimu.
nintendonut888: Hey Baity. I beat the high score for Sanae B hard on the score.dat you sent me. X3
Baity: For a moment, I thought you broke 1.1billion. Upon looking at my score.dat, I can assume that you destroyed the score that is my failed (first!) 1cc attempt on my first day of playing. Congratulations.

[19:42] <Sapz> I think that's the only time I've ever seen a suicide bullet shoot its own suicide bullet

Drake

  • *
Re: Who wants to play CtC Phantasm?
« Reply #8 on: December 10, 2009, 01:59:17 AM »
if( !IsCanTryStageEX2() ){ MENU_LOCK_LEVEL_EX = MENU_LOCK_LEVEL_EX ~ [ 1 ]; }

The one line that's highlighted by a bunch of forward slashes surrounding it.

A Colorful Calculating Creative and Cuddly Crafty Callipygous Clever Commander
- original art by Aiけん | ウサホリ -

nintendonut888

  • So those that live now, pledge on your fists and souls
  • Leave a sign of your life, no matter how small...
Re: Who wants to play CtC Phantasm?
« Reply #9 on: December 10, 2009, 02:11:09 AM »
Hmm, that unlocked extra, but not phantasm. :\ I suppose that's something though.
nintendonut888: Hey Baity. I beat the high score for Sanae B hard on the score.dat you sent me. X3
Baity: For a moment, I thought you broke 1.1billion. Upon looking at my score.dat, I can assume that you destroyed the score that is my failed (first!) 1cc attempt on my first day of playing. Congratulations.

[19:42] <Sapz> I think that's the only time I've ever seen a suicide bullet shoot its own suicide bullet

Helepolis

  • Charisma!
  • *
  • O-ojousama!?
Re: Who wants to play CtC Phantasm?
« Reply #10 on: December 10, 2009, 09:26:36 AM »
What the fuck kind of coding is CtC using. I have taken a look few times in most of the files but this is pretty retarted. Was this person drunk or something when programming it.

Blargel

  • RAWR!
  • I'M AN ANGRY LOLI!
Re: Who wants to play CtC Phantasm?
« Reply #11 on: December 10, 2009, 09:30:08 AM »
As far as I can tell, they were actually really really organized when they made it. The main issue is, they probably weren't fluent in English and ended up naming the functions and variables oddly (wtf is FLAN?) so the code no longer makes sense to anyone but them. Doesn't help that most of us can't read Japanese either so we can't figure out what the functions do from reading them.
<WorkingKeine> when i get home i just go to the ps3 and beat people up in blazblue with a loli
<Azure> Keine: Danmakufu helper by day, violent loli by night.

Zengar Zombolt

  • Space-Time Tuning Circle - Wd/Fr
  • Green-Red Divine Clock
Re: Who wants to play CtC Phantasm?
« Reply #12 on: December 10, 2009, 11:48:21 AM »
Pffthahaha what kind of monster requirements are those?
Anyways, Thanks, brah. I guess my CtC version is too old to unlock anything by itself. :S

Jaimers

  • You just did it because you're older than me.
Re: Who wants to play CtC Phantasm?
« Reply #13 on: December 10, 2009, 01:03:44 PM »
Oh hey, it works! Thanks a lot!

Always wanted to give this stage a shot, but I could never unlock it.
I CAN SEE WHY NOW, WHAT THE HELL DANMAQ
« Last Edit: December 10, 2009, 01:05:52 PM by Jaimers »

Re: Who wants to play CtC Phantasm?
« Reply #14 on: December 10, 2009, 09:17:19 PM »
The worst part about the requirements are that you specifically need to 1cc all scenarios on normal as one shot type. Not normal or better, normal. Thanks to that, I had been left on a wild goose chase for a long, long time, having 1cc'd the game on normal and hard as every shot type, beaten extra as every shot type, finishing the endgame on normal mode as every shot type, beating nearly every spell in the game in spell practice mode, and 1ccing all scenarios as MarisaC... on hard. Did you know that you can unlock the Phantasm boss' last word before unlocking Phantasm?


Sufficed to say, once I found out how to actually unlock it from some guy on the wiki, doing so was trivial. The same guy also said that you only need to try hard and lunatic as the shot type you want to go to Phantasm; you could just start a game on those difficulty settings, kill yourself off, and it would work.
The SoEW patch has had its second release, come and get it!

Gc

  • youtu.be/pRZpjlrKM8A
Re: Who wants to play CtC Phantasm?
« Reply #15 on: December 11, 2009, 01:30:04 AM »
cool, this brought me back into pseudo-modding CtC. Now I have debug keys, extra, phantasm, 100 times damage and 100 times bullet penetration (why does this sound so wrong to me?) for all Marisas, no hitbox and 1000 radius grazebox

Re: Who wants to play CtC Phantasm?
« Reply #16 on: December 11, 2009, 04:15:57 AM »
cool, this brought me back into pseudo-modding CtC. Now I have debug keys, extra, phantasm, 100 times damage and 100 times bullet penetration (why does this sound so wrong to me?) for all Marisas, no hitbox and 1000 radius grazebox
Or you could have just replaced them with GODRUMIA

Chronojet ⚙ Dragon

  • The Oddity
  • 今コソ輝ケ、我ガ未来、ソノ可能性!!
Re: Who wants to play CtC Phantasm?
« Reply #17 on: December 12, 2009, 03:27:31 AM »
Or you could have just replaced them with GODRUMIA
Oh, replace that #Player[...] line with #Player[FREE].
P.S. MEIDOSAN NO HIBI

Re: Who wants to play CtC Phantasm?
« Reply #18 on: January 13, 2010, 03:24:20 AM »
an alternative to God Rumia, may be Touhoupachi DFK characters:
http://www.nicovideo.jp/watch/sm8015333
http://www.nicovideo.jp/watch/sm8910122

Muffin would love to play with them :D
(edit: I should've done a better job of expressing my thoughts, so that others beside myself would understand them. Really, a character that can 1lc Shinki, from Phantasm Romance, like this, is something gasptastic.)

anyways, I'll try this, but.. after Phantasm Romance 2.5 Plus 1cc All Another Mode/Normal Mode (and hopefully 1lcs as well). That's gonna take some time.
« Last Edit: January 13, 2010, 03:26:09 AM by shadowbringer »
neku: now for something important.
Translations.
How much time do you guys think it will take for HM to be translated? Besides everyone's story modes and the whole menus, there's also the fact that the way HM's programmed is different from all other games. I bet it'll take two months.

lusvik: I don't mind about playing HM in japanese. The language of punching other people is international.


Chronojet ⚙ Dragon

  • The Oddity
  • 今コソ輝ケ、我ガ未来、ソノ可能性!!
Re: Who wants to play CtC Phantasm?
« Reply #20 on: January 14, 2010, 05:59:23 PM »
Now we need some way to make it so that we can unlock all the spell cards.

Plus, why don't I have all the files for the characters' Last Words!?