diff --git a/IntelOrca.Biohazard.BioRand/RE2/Re2Randomiser.cs b/IntelOrca.Biohazard.BioRand/RE2/Re2Randomiser.cs index e2aac861..71898942 100644 --- a/IntelOrca.Biohazard.BioRand/RE2/Re2Randomiser.cs +++ b/IntelOrca.Biohazard.BioRand/RE2/Re2Randomiser.cs @@ -955,6 +955,36 @@ private void AddCreditsRoom(FileRepository fileRepository, Rng rng) }); var rdtBuilder = ((Rdt2)Rdt.FromFile(BiohazardVersion, Path.Combine(srcPath, "room2170.rdt"))).ToBuilder(); + + var credits = File.ReadAllLines(Path.Combine(srcPath, "credits.txt")) + .Where(x => !string.IsNullOrEmpty(x)) + .ToArray(); + if (credits.Length != 0) + { + var msgBuilderEn = rdtBuilder.MSGEN.ToBuilder(); + var msgBuilderJa = rdtBuilder.MSGJA.ToBuilder(); + for (var i = 0; i < credits.Length; i++) + { + var targetIndex = 11 + i; + var msgText = credits[i].Replace("\\n", "\n"); + msgBuilderEn.Messages[targetIndex] = msgText.ToMsg(MsgLanguage.English, BioVersion.Biohazard2, false); + msgBuilderJa.Messages[targetIndex] = msgText.ToMsg(MsgLanguage.Japanese, BioVersion.Biohazard2, false); + + var dd = msgBuilderEn.Messages[targetIndex].Data.ToList(); + dd[1] = 0; + // dd[dd.Count - 1] = 0xA0; + dd.RemoveAt(dd.Count - 1); + dd.RemoveAt(dd.Count - 1); + dd.Add(0xFA); + dd.Add(0x01); + dd.Add(0xFE); + dd.Add(0xA0); + msgBuilderEn.Messages[targetIndex] = new Msg(BioVersion.Biohazard2, MsgLanguage.English, dd.ToArray()); + } + rdtBuilder.MSGEN = msgBuilderEn.ToMsgList(); + rdtBuilder.MSGJA = msgBuilderJa.ToMsgList(); + } + var dialogue = File.ReadAllLines(Path.Combine(srcPath, "dialogue.txt")) .Select(x => x.Trim()) .Where(x => !string.IsNullOrEmpty(x)) @@ -964,7 +994,6 @@ private void AddCreditsRoom(FileRepository fileRepository, Rng rng) var msgBag = new EndlessBag(rng, dialogue); var msgBuilderEn = rdtBuilder.MSGEN.ToBuilder(); var msgBuilderJa = rdtBuilder.MSGJA.ToBuilder(); - var text = new List(); for (var i = 39; i < msgBuilderEn.Messages.Count; i++) { var msgText = msgBag.Next(); diff --git a/IntelOrca.Biohazard.BioRand/data/re2/credits/credits.txt b/IntelOrca.Biohazard.BioRand/data/re2/credits/credits.txt new file mode 100644 index 00000000..7b41c4ad --- /dev/null +++ b/IntelOrca.Biohazard.BioRand/data/re2/credits/credits.txt @@ -0,0 +1,28 @@ +}------------------}\n {[}MAIN STAFF{]} + {IntelOrca}\n Programming + {CaptainKashup}\n Audio and textures + {Snipz}\n Models and audio + {Zkys3dge}\n Models and textures +}------------------}\n {[}CONTRIBUTORS{]} + {Resevilnemesis30}\n Randy Rando + {SikShadow}\n Randy Rando Songs + {HazNut}, {PMCDC}\n Programming +}------------------}\n {[}MODELING{]} + {ALSOP}, {Andrew Coyte},\n {DarkSpyda04}, {Komizo} + {El Rincon del Lobezno},\n {Leigi}, {ncf}, {Rusty}, + {StarringRole}, {TheMitu97},\n {UniComics}, {Us3rCroft} +}------------------}\n {[}TESTING{]} +{baesik}, {otamega72}, {Shannon}\n {Death2024}, {gonta2319} + \n +}------------------}\n {[}SPECIAL THANKS{]} + {Gemini}\n for Classic REbirth + {TeamX}\n for the HD mod + {SHDP Team}\n for the Seamless HD mod + {re duke}\nfor inspiration, information + {kapdap}\nfor RE:CV tools, information + {3lric}\n for all his advice + {Leo2236}\n for his modding tools + {Megan Grass}\n for her modding tools + {CAPCOM}\n for the RE franchise + And all of you,\n playing or watching! +\n Thank you all! diff --git a/IntelOrca.Biohazard.BioRand/data/re2/credits/dialogue.txt b/IntelOrca.Biohazard.BioRand/data/re2/credits/dialogue.txt index 873c132a..96777070 100644 --- a/IntelOrca.Biohazard.BioRand/data/re2/credits/dialogue.txt +++ b/IntelOrca.Biohazard.BioRand/data/re2/credits/dialogue.txt @@ -1,3 +1,48 @@ -Did you see the 2024 BioRand finals?#What a race! +Did you see the 2024 BioRand finals? #WhatARace! Have you seen an orca around here? Can't wait for the Code Veronica randomizer! +We're watching you. And we know who you are, behind that screen. +Hopefully someone will find that missing chicken. I mean, missing hen.. What even is the difference? Tsk. +My uncle who works at Umbrella told me that they used to have cyborgs in Raccoon City. +Wh-Why are you talking to me? Shouldn't you be calling the police? +Bro, you have to try the new "Cherry Berry" drink! You'll feel like a goddamn wrestling superstar after that! +I have to say, I really miss President Kendo. May he rest in peace. +Don't listen to all these Kendo GunShop fanatics, John's GunShop is where its at. +I'm telling you, the Great Kendo War happened! It's not a hoax! Why doesn't anyone listen to me? +I do wonder what happened to that Elza girl. +Yesterday, right when I was about to sleep, I heard a whisper in my ear. It said "I'm the Bitman"... Scariest shit I've ever seen. Well, heard. +Oh, looking for the Captain? He's probably in that penthouse of his, along with his eight wives and husbands. Success really went to his head, I guess. Shame. +I guess in the end, we really are the Evil Residents. Ponder on that for a second.. +Grant Bitman.. Why does this name feel so familiar.. Like a distant memory.. +There was a weird dude and his sister that came by earlier today. Martinez and Tracey, I think. Looked like they were on the run. +You know what this party is missing? My wife... Oh Janet, come home... +Apparently, there's gonna be a hurricane soon. I'll be staying here though, because this is the place to be Before, During and After The Storm. +Oh, you dig my clothes? Thank you! It's the latest Zky collection. +Did you hear? Snipz forgot the club key's on the door last week. People got inside and everything. +Have you seen a girl with half-tinted hair? Rune-something, I think. I want to ask her number but apparently, she prefers people with sunglasses. Or grey hair. +Duuude, that new mix tape from Sikshadow? It's so sick... shadow. Get it? Urh, never mind. +This place is weird. I feel like I met two dozen guys named Chris or Leon but they never look the same. +Some weirdo came by a few days ago, screaming about some lineage stuff. The owners kicked him out as soon as possible. +Do you believe that the gods will, one day, burn this place to the ground? I hope they don't. That would be a Katastrophe. +I missed him! The BioRand Race champ was here earlier, SnookyShogun in the flesh! What I would give for an autograph. +Did you see the biorand tournament final? What a race between EvilCherryBerry and SnookyShogun! So close! +Will you be participating in the next biorand tournament? +If you ever see Death2024, please tell him to stop breaking the randomizer. +Hey, it's me, CaptainKashup. I'm the voice in your head and I want to tell YOU that you DO matter. Never forget that, alright? +I talked to the owners and they told me that a single man built this place. Resevil-something. Isn't that wild? +Snipz is a good bartender. Well, when he's here and not on that dang console of his. If it were for me, we would banned all these stinky video-games. +Some kid told me there's a railway station up ahead from here. Might go and check it out. +Have you the seen the trailer for "Agent Gelzer: Last Stand of Humanity"? That's a day one for me. +Another INSANE rando done and dusted, eh? +Got some rare things on sale stranger. +Would you like to play RE 6 with me? +My chest! It's burning! +Sorry but I think you're mistaking for someone else. I'm just a normal Stoneville citizen. +It's weird, every time people get a bit drunk around here, they start talking like we're in a simulation or something. +Oh, you're from Raccoon? I knew a guy from there, Wolf Tennessee. He really, really liked pain for some reason. Freaked me out, if I'm being honest. +I wish they would paint the cups in yellow, how am I supposed to see what I'm trying to grab without it? +... Do you always run-up to random people you don't know in a club? Fuckin' weirdo. +It's pretty cold outside at this time of the year, don't forget your protective coat. +Oh thank god, please. I don't know why I'm here, I'm stuck, can't move my legs! It's been months, just kill me, please! +I am looking for a Dino Crisis randomizer, know of any? +These Jill Sandwiches they sell at the bar and really tasty.