Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - PhantomPilot

Pages: [1] 2 3
1
Touhou Puppet Dance Performance / Re: TPDP Randomizer
« on: January 12, 2019, 04:16:36 AM »
So after some more testing i'm pretty certain that randomizing the "NULL" element was the problem.
Seems like puppets with no second type actually have null as a second type. Normally null is completely neutral but it can be randomized just like the other elements.
So in your original example, most likely electric was resisted by null, neutral to electric and poison, and strong against water.

Anyway, to the point: 1.1.0 beta 3 should work correctly since it doesn't touch the null element, though it won't fix a game that's already been randomized.
If nothing else is broken, I'll probably just repackage beta 3 as 1.1.0 proper soon™.

2
Touhou Puppet Dance Performance / Re: TPDP Randomizer
« on: January 11, 2019, 09:24:01 AM »
In my current seed, Electric resists Electric, Poison resists Electric, Poison/Water is weak to Electric, Electric/Water is weak to Electric, and Electric is neutral against Water. The Puppets in question don't have any abilities that would mess with their effectiveness. And I've noticed inconsistencies like this on other seeds as well.
I may not be able to fix that. I can't actually control the effectiveness against type combos, the game figures that out on its own based on the constituent elements.
I've taken a shot in the dark at fixing it though. There's an additional "NULL" element that presumably does nothing but the randomizer was randomizing it anyway. Hopefully removing that behavior solves the problem.
In any case, i can't seem to reproduce this on the current build of the randomizer. You can get it here: https://github.com/php42/tpdp-randomizer/releases/tag/v1.1.0-beta3
I haven't tested exhaustively, but the seeds i tried seem to work as expected.

If you happen to have the "share code" ("randomization code" if you're using the beta) for a seed that has this problem, that would be helpful (I'll also need to know the game version and randomizer version)

I'd also like to request a function to print out the changed type effectiveness so I don't have to spend hours experimenting to fill out the type chart.
Done. See the link above.

3
Touhou Puppet Dance Performance / Re: TPDP Randomizer
« on: January 05, 2018, 04:27:11 AM »
late as always, but 1.0.12 proper is here.

there are now only 2 options for randomizing wild puppets:
full: everything is randomized, including number of puppets and encounter rates.
partial: only existing puppets are randomized, encounter rates are not affected.
this is to simplify the randomization logic, the spaghetti was getting out of hand and most other option combinations didn't make much sense anyway.

And maybe add an option to leave the sign skills untouched rather than adding it directly. There may be some people who like to have this luck thing going on.
Done.
Clicking the skillcard option twice will disable randomization of sign skills. note that this will not fix a game that has already been randomized.

To be honest I sort of like the sign skill cards getting locked out after using one and wish there were some way to similarly limit the remaining skill cards, like only being allowed to use one skill card from an assortment of 15 or so cards. But I somehow doubt that causing skill cards to randomly lock out other skill cards is an easily managed feat.
Unfortunately the sign skill behavior seems to be hard-coded. as far as i know there isn't even a way to identify sign skills from the game data alone. the randomizer uses a pre-built table to look them up.
however, it may be possible to just delete some skill cards from the game (i.e. so that there are only sign skill cards left, they can be randomized to whatever and will lock eachother out).
but i have no idea what unintended side-effects that could have, so i haven't tried it :P

4
Touhou Puppet Dance Performance / Re: TPDP Randomizer
« on: December 18, 2017, 07:48:12 AM »
There's something I noticed while playing the game. I used the randomized skill cards in the randomizer and played the game. Managed to get all skill cards and then the problem hit in. I believe the Sign skills are also randomized as well, but the only one sign skill restriction is still there, even if the skill is randomized. Just a guess but for some reason, when I taught a puppet a skill from the skill cards, some of the other skill cards disappeared from the selection, even if they were there before I taught them that skill. Once I overwrited that learned skill, they all came back at the selection, then disappeared again when I picked a skill from the previously deleted ones.

sign skills are hard-coded by item ID in the game code, there's no way around that besides just not randomizing the sign skill cards.
skill cards are considered items by the game, they have a field which determines what skill it teaches.
since sign skills are determined by the item that teaches it, when you change the skill a sign skill card teaches, that skill becomes a sign skill.
the internals of this game are really wonky.

i'll add that to the known issues list in the OP for now, next version will probably just leave sign skills unrandomized

5
Touhou Puppet Dance Performance / Re: noob need help.
« on: November 05, 2017, 03:35:00 AM »
spar pretty much got it. you will probably have a much easier time if you change your system locale to japanese, at least for the installation process.
the patch probably didn't work because the game didn't extract correctly and the names are all corrupted. run your extraction program with japanese locale. or you could try one that is unicode aware (like 7-zip), though i'm not sure that will help. you may need to run the patcher with japanese locale too (?).
don't worry about the shift-jis thing. i was just saying that if the the install path contained any japanese characters, you would need to save the configuration file with shift-jis encoding.
yours is all english so it's fine (english is compatible with all ANSI encodings).

more importantly, it looks like you dumped the base game and the expansion into the same folder? you can't do that, they need to be in separate folders.
i guess i was a little unclear with my instructions, but you should have 2 configuration files with different install paths.
example:

%appdata%\FocasLens\幻想人形演舞\gn_enbu.ini
Code: [Select]
[InstallSettings]
InstallPath=C:\game\FocasLens\tpdp


%appdata%\FocasLens\幻想人形演舞-ユメノカケラ-\install.ini
Code: [Select]
[InstallSettings]
InstallPath=C:\game\FocasLens\ynk


6
Touhou Puppet Dance Performance / Re: noob need help.
« on: November 03, 2017, 12:06:02 AM »
you're doing something strange then.
did you mean 2.5 GB? that's much too big, even for both games combined (perhaps it contains all the incremental patches as well?).
are you extracting the game files directly from an archive? or using an installer?
%appdata% is a shortcut to C:\Users\Your User Name\AppData\Roaming (unless you are on windows XP) there should be a FocasLens folder there if you installed correctly
what does the games title screen look like? if it says "-shard of dreams-" or "-ユメノカケラ-" then you are using the expansion.
if you are using a user account and running the installer as admin, you will have problems.

the "Game Data Invalid" error is most likely from running the installer without japanese locale (or having foreign characters in the install path).
the simple solution is to start over from the beginning and run the game installers with a japanese locale emulator. you do not need to uninstall whatever you did already.
make sure you are installing the game files to a location that has ONLY japanese or english characters in the ENTIRE path (this is for compatibility with shift-jis).
the default install path is fine.

if you are extracting from an archive or other weird stuff, you can fix it manually (last resort). make sure you know how to find %appdata%.

long instructions
install, extract, or move the base game to c:\game\FocasLens\tpdp (this must be the root folder i.e. C:\game\FocasLens\tpdp\gn_enbu.exe must exist)
the folder %appdata%\FocasLens\幻想人形演舞 must exist, create it if you need to.
inside the folder must be a text file called gn_enbu.ini, create it if it does not exist.
the content of gn_enbu.ini must look like this (including the empty line at the end):
Code: [Select]
[InstallSettings]
InstallPath=C:\game\FocasLens\tpdp

you can install somewhere other than C:\game\FocasLens\tpdp but then gn_enbu.ini MUST be saved as shift-jis if the path contains non-english characters
if that doesn't work then you are doing something bizarre and will need to use a proper installer. you can also try setting your system locale to japanese.
if you are using the expansion, do it again but replace "%appdata%\FocasLens\幻想人形演舞" with "%appdata%\FocasLens\幻想人形演舞-ユメノカケラ-" and "gn_enbu.ini" with "install.ini"

7
Touhou Puppet Dance Performance / Re: noob need help.
« on: November 01, 2017, 11:43:12 PM »
are you playing the expansion?

if you need to manually uninstall, just delete the game folder from "C:\game\FocasLens" and the configuration folder from "%appdata%\FocasLens"
(paste %appdata%\FocasLens into the address bar on windows explorer and delete the folder called 幻想人形演舞)

run the base game installer again with a japanese locale emulator so it installs correctly and then the expansion should work.
you can do the same thing for the expansion, but i don't think you need to.
note that you will always need to run the games themselves with a locale emulator as well.

8
Touhou Puppet Dance Performance / Re: TPDP Randomizer
« on: October 10, 2017, 05:45:42 AM »
sorry for the slow replies, just been occupied with other stuff lately.
Oh and another thing I wanted to mention. Is it possible to edit the max PP a puppet can use to increase stats?

this requires editing the save file. there is a hard-coded check to prevent you from increasing EVs above 64 each or 130 total via the in-game UI, but you can edit your save to increase EVs up to +255 each. this can also be done to trainer puppets (infact older versions of the randomizer did it by accident).
i'm not sure if there are any other hard-coded checks that prevent EV editing from actually being effectual in-game though, particularly for EVs over 64 (iirc it does check that sort of thing for netplay).
you can use dabomstews save editor if you just want to edit your own puppets EVs. the randomizer could be made to allow higher EVs for trainer puppets, but it can't raise the cap on player puppets.

Would it be possible to randomize the appearance rates for puppets? Or the number of different species in each area? Like having one area with 10 types of puppets with roughly 10% chance for any of them, but the next area only has 3 and two of them are 5% chance to appear, while the third has a 90% chance. Or is that stuff all hard coded?

all of that is possible, but i've not tested it much. as far as i can tell each puppet has a "weight" which determines its encounter rate relative to the other puppets. i would expect the percentage to be the weight divided by the sum of weights, and while that mostly seems to be the case so far, i can't guarantee there isn't any other weirdness.
i've made a beta build that adds randomization for both encounter rate (separate option) and number of puppets in an area (applied to the normal wild puppet randomization) and an option to either randomize puppet cost or set them all to 120 cost (in the form of a 3-state checkbox, click twice to set the latter option).
the wild puppet checkbox has also been turned into a 3-state, with the 3rd state being style only. additionally, the "catch locations" file will now display expected encounter rates.
the OP will not link to this since it's largely untested. you can get it here if you'd like to try it out.

note that a number of areas have multiple sub-areas that share the same name (e.g. youkai mountain). these are now numbered in brackets "Youkai Mountain [2]" to avoid confusion.

9
Touhou Puppet Dance Performance / Re: TPDP Randomizer
« on: September 24, 2017, 05:31:57 PM »
equalizing all the puppet costs is trivial enough, but picking puppets for specific areas basically would require a full-fledged editor.
that's what i meant by "moving into the realm of rom hacking". cramming something like that into a randomizer seems weird.
you could make a fixed on/off switch that would leave the first couple areas unrandomized (or populate them with predefined puppets), but that still seems awkward to me. i dunno.

10
Touhou Puppet Dance Performance / Re: TPDP Randomizer
« on: September 17, 2017, 05:36:11 AM »
sure, you can assign arbitrary values to anything that the randomizer has access to.
but that's moving into the realm of rom hacking/modding. if that's what you're hinting at, then yes it's possible.
if you actually mean 'unrandomizing' as in reversing the randomization, you still need a copy of the original or at least a record of the changes. that's why it's easier to just keep a backup.

11
Touhou Puppet Dance Performance / Re: TPDP Randomizer
« on: September 11, 2017, 01:46:56 AM »
Out of curiosity is it possible to give wild puppets held items?

nope. the actual generation of wild puppets is done according to some hard-coded logic. all that is accessible through data files is the type and average level of puppets in an area.

Now the problem is that another 2hu game came out with new characters, so I don't know how the original creators will implement that. :wub:

somehow i doubt they'll patch in new characters. lolk characters didn't get added to the base game, though that may have just been because they were planning the expansion. maybe they'll patch cirno's alt-color costume to tan cirno :P

12
Touhou Puppet Dance Performance / Re: TPDP Randomizer
« on: September 02, 2017, 04:43:36 AM »
super late, but:
BTW, a suggestion. Maybe add an option to the randomized stats that actually gives out a proper distribution to the stats based on their original stats or maybe increase the stats off all puppets by percentage.

i've added an adjustable "proportional stats" option which allows stats to be randomized to within +/- the specified percentage of the original stat. that should allow puppets to retain some semblance of their original stat distribution.

also, more stuff that should have been implemented ages ago:
  • option to make trainer puppets conform to skill level requirements (does not affect skillcard moves)
  • option to adjust chance for trainer puppets to have skillcard moves (per move slot; leave blank for shuffle)
  • option to adjust chance for trainer puppets to have a held item

13
Touhou Puppet Dance Performance / Re: TPDP Randomizer
« on: July 12, 2017, 01:42:13 AM »
yeah this is a known problem with the base game. i should probably update the OP.
it doesn't happen in YnK, so i'm pretty confident it's not a bug on my end.
i suspect that boss battles are hard-coded to expect a certain number of puppets, and only load sprites for that many puppets (this could explain incorrect sprites as well as it may be reusing pointers/ids/etc from previous battles).
the puppets for bosses are loaded from the same files as the puppets for rando trainers, which work fine.
YnK uses the same file format and it's fine, so why it fails in the way it does is a mystery to me.
if it was scripted to only use 2 puppets, why does it load all 6? if it knows there are 6 puppets in the party, why does it load only 2 sprites?
who knows.

14
Touhou Puppet Dance Performance / Re: TPDP Randomizer
« on: May 27, 2017, 05:00:24 AM »
yeah i over corrected a bit
my concern was for early game where you don't have access to decent skills of your own and trainers are just hitting you with 100 power skill cards which can make early game a struggle when all you have is yin/yang energy vs full trainer parties.
but that doesn't last very long and trying to make it conform 100% to the normal rules doesn't seem to work too well, so i'm just going to revert everything except the sign skill restriction

i was unable to reproduce the level 29 bug and the level calculations seem to be spot on, so it's probably some kind of weird edge case
i've set the style change level back to 30, a couple stray style changed level 29s isn't game breaking or anything

15
Touhou Puppet Dance Performance / Re: TPDP Randomizer
« on: May 22, 2017, 05:40:02 AM »
fixed.

trainer puppets can now have only one sign skill
i've also drastically reduced the chance of getting skill card moves in general (15% chance)
most puppets have more skill cards they can learn than level up moves, but they were all tossed into the same pool for randomization purposes so the chance of getting skill card moves was insanely high
this didn't really bother me but i can see why it would bother sane people

i'm not really sure where to strike the balance there, but at least 15% should prevent them from being loaded up with skill cards all the time

i've also enforced level requirements on levelup moves so trainer puppets should no longer get moves they are too low level for

level 29 style change shouldn't be a thing? at least not for trainer puppets
the randomizer explicitly sets trainer puppets to normal if they're under level 30, so i have no idea what could cause that
only thing i can think of is that there's some extra exp calculation nonsense with trainer puppets i'm not aware of, wouldn't put it past this game
if anyone has any insight, let me know

i've increased the minimum level for style change to 32 so hopefully that won't happen anymore

appreciate the feedback though, i've become desensitized to the madness after all the testing early on :P

Pages: [1] 2 3