Gilan Posted August 19, 2021 Author Share Posted August 19, 2021 (edited) I need assistance from the multi-lingual community again. I've had a eureka moment that will significantly improve the performance of my tool. What I need: For Chinese (simplified & traditional), Japanese, Korean, German, and French, the "A wild {pokemon} appeared!" text. This is pulled directly from the Black ROM, and since I don't have the corresponding ROMs (I only have my English version), I need assistance to translate... I believe I have discovered the correct text for German ROMs: "Ein wildes {pokemon} erscheint!" but please confirm. It's funny, but the text for a wild horde is actually contained in the client strings, so I can easily get that, but it can be different than the single encounter text. The reason this is important, is because I want to change my battle detection from searching for Lv.'s to looking for that "A wild {pokemon} appeared!" text, and then after that look for the Lv.'s (as the Lv.'s are the anchors for finding the pokemon names). This is more consistent in letting me know a new wild battle happened, and completely handles detecting if something was an NPC/PvP battle or not, without having to search for pokemon icons (which was cpu intensive). I had originally considered this idea, but had concerns over missing the timeframe where it's visible on screen, but it actually lasts quite a while, so I'm not as concerned anymore. The only downside that I can think of is that if you start the tool and you are already in battle, it will not count that battle. But, the benefits far outweigh this cost. Please, if you can provide me with that string translation, I would be very very appreciative. Edited August 21, 2021 by Gilan TipsyTurvy, kuplion, Riesz and 1 other 4 Link to comment
CaptnBaklava Posted August 19, 2021 Share Posted August 19, 2021 German version is right Gilan 1 Link to comment
Riesz Posted August 20, 2021 Share Posted August 20, 2021 Simplified: "啊!野生的{pokemon}跳出来了!" Traditional: "啊!野生的{pokemon}跳出來了!" Gilan 1 Link to comment
wAVE Posted August 21, 2021 Share Posted August 21, 2021 French version : Un {pokemon} sauvage apparaît ! Gilan 1 Link to comment
AnonymousPoke Posted August 24, 2021 Share Posted August 24, 2021 I know you have created a theme based on the Redesign Concept Theme, but would you expand this to all of the other colors beyond just the blue color? I think it would be extremely neat and fitting to all of the users within the community to have that option. I have given examples below (Even though I know this could easily be done by you). TipsyTurvy and Gilan 2 Link to comment
TipsyTurvy Posted August 25, 2021 Share Posted August 25, 2021 I'm so hyped about this. Link to comment
Gilan Posted August 25, 2021 Author Share Posted August 25, 2021 (edited) 4 hours ago, TipsyTurvy said: I'm so hyped about this. SoonTM Edited August 25, 2021 by Gilan Pecaeme, Servor5555, TipsyTurvy and 2 others 5 Link to comment
Sinisterserpant Posted August 25, 2021 Share Posted August 25, 2021 Very excited for the final product!!! ❤️ Would this also be including egg encounters? Link to comment
Gilan Posted August 25, 2021 Author Share Posted August 25, 2021 (edited) 17 minutes ago, Sinisterserpant said: Very excited for the final product!!! ❤️ Would this also be including egg encounters? For this first "beta" release, it will not include automatic egg hatching counting. You can manually keep track of it by creating a specific hunt/profile for it and then manually editing the number. I will be adding automatic egg hatching counting in a later release. But, in an effort to avoid feature creep and never getting out a working version, I must keep the initial scope limited. Also, this first release will be a Beta version. This means that I expect bugs, crashes, weird behaviors, etc. to be encountered while using my tool. Some people may not even be able to run it at all. The point of this version is to gather that data and fix those fatal issues so that I can provide a stable release. Once I have a stable release, additional features will be developed. Edited August 25, 2021 by Gilan Pecaeme, AnonymousPoke, TipsyTurvy and 1 other 4 Link to comment
Gilan Posted August 25, 2021 Author Share Posted August 25, 2021 (edited) @Darkshade clean out your inbox. I'm trying to submit my code application to you. nvm, messaged you on a previous private message string. Edited August 25, 2021 by Gilan Link to comment
pkqxiaozhi Posted August 26, 2021 Share Posted August 26, 2021 where can i download it? Link to comment
Gilan Posted August 26, 2021 Author Share Posted August 26, 2021 1 hour ago, pkqxiaozhi said: where can i download it? it has to be reviewed by pokemmo staff before I can distribute it. So there is no publicly available download link until I get approval from them. Link to comment
gooddayA Posted August 26, 2021 Share Posted August 26, 2021 Can I use it within this month? Link to comment
dantayyyy Posted August 28, 2021 Share Posted August 28, 2021 (edited) [deleted] Edited August 5, 2022 by dantayyyy Link to comment
Gilan Posted August 29, 2021 Author Share Posted August 29, 2021 So while I'm waiting for @Darkshade to come back from vacation, or wherever he is :^), I've been doing some bug fixing and testing on my own. GUI scaling is somewhat supported. 1x and 2x scales are perfectly fine with no issue. 1.25x, 1.5x, and 1.75x are kinda hit or miss depending on the theme. The issue is that the scale affects the font in a seemingly non-determinate way, and might even be hardware-dependent. So my solution is just to render out the possible outcomes, which isn't *too* bad. But, I haven't quite figured out all the possible outcomes (there are cases where a letter will get slightly squished, which I haven't figured out yet). So if you play on 1.25 - 1.75x scaling, the tool may not work for you currently. Link to comment
Riesz Posted August 30, 2021 Share Posted August 30, 2021 Hey @Gilan , some people in CN community edited text for Shiny Pokemon, would this affects the detection? The are some with super-long name (couldn't find screenshot), imagine the square box x 20 instead of the one posted kuplion 1 Link to comment
Gilan Posted August 30, 2021 Author Share Posted August 30, 2021 2 minutes ago, Riesz said: Hey @Gilan , some people in CN community edited text for Shiny Pokemon, would this affects the detection? The are some with super-long name (couldn't find screenshot), imagine the square box x 20 instead of the one posted Yes, it will affect the app, but only in the sense that it will fail to count the shiny (and if the edited text overlaps the other pokemons’ text). It won’t affect regular encounters. If the edited string is instead ‘[][][][][][]Shiny Pokemon’ (aka all the boxes are before the normal string) then it will work as normal. Basically, to optimize performance, I detect battle start using “A wild X has appeared!” text. Then I look for all the Lv.’s in the client screenshot (your own pokemon comes out late so won’t get counted). Then I look to the left of Lv. for either the pokemon name or ‘shiny’ (depends on the language), and then look to the left of that for either ‘shiny’ or the pokemon name. But, I only look so far left (basically I look left as far as each pokemon’s name is), so if you pad in a bunch of []’s I won’t look far enough. To be able to work around the example you posted in your screenshot would be difficult, and not worthwhile for a 1/30k occurrence. If I do code around it, it won’t be until further down the line. The reason it would be difficult, is because I don’t dynamically pull the strings from the associated strings files in the pokemmo folder. The strings are all pre-defined in my java code. So I would have to build code to parse the edited string files, and then send these strings to the java program which will then have to dynamically handle new strings. It’s certainly possible, but is harder than it seems. Riesz 1 Link to comment
PrincessLolita Posted August 30, 2021 Share Posted August 30, 2021 the tool we all have been needing, game should of had a counter built in >.> awkways, TipsyTurvy and CrzPapel 3 Link to comment
Gilan Posted August 30, 2021 Author Share Posted August 30, 2021 The Beta release is now available for download. Please see original Post for download link. PrincessLolita, awkways, Pecaeme and 1 other 1 3 Link to comment
Riesz Posted August 30, 2021 Share Posted August 30, 2021 Good to know, because I think when your tool reaches the community, people may not want to change back to original text Link to comment
Gilan Posted August 30, 2021 Author Share Posted August 30, 2021 Also, I'm keeping a bug log at the bottom of the first post. I've already had people discover some pretty fatal bugs. Link to comment
AnonymousPoke Posted August 30, 2021 Share Posted August 30, 2021 15 minutes ago, Gilan said: Also, I'm keeping a bug log at the bottom of the first post. I've already had people discover some pretty fatal bugs. Good to know! I will keep you posted on any errors I receive as well. Btw, pretty awesome seeing that Redesign Concept theme being daily driven ? lol. Unless you made changes to theme yourself, it looks like you have not downloaded the latest version. Anyways... I have a suggestion to make things user friendly. Why not put a shortcut into the root level of the directory instead of the users having to go find the .exe to run? (That is if they did not watch your beta video ?) My screenshot example with the shortcut: I also have a few ideas about making the encounter counter utility more integrated feeling with the Redesign Concept Theme, but that is not a major priority at this point to be honest. Gilan 1 Link to comment
Gilan Posted August 30, 2021 Author Share Posted August 30, 2021 4 minutes ago, AnonymousPoke said: Good to know! I will keep you posted on any errors I receive as well. Btw, pretty awesome seeing that Redesign Concept theme being daily driven ? lol. Unless you made changes to theme yourself, it looks like you have not downloaded the latest version. Anyways... I have a suggestion to make things user friendly. Why not put a shortcut into the root level of the directory instead of the users having to go find the .exe to run? (That is if they did not watch your beta video ?) My screenshot example with the shortcut: I also have a few ideas about making the encounter counter utility more integrated feeling with the Redesign Concept Theme, but that is not a major priority at this point to be honest. I can’t create the shortcut on my machine and distribute, it’ll have the wrong path for others. And yeah I haven’t downloaded the newer redesign theme yet as I needed to keep things rather constant while testing my app to narrow down root causes of issues. Will be updating to the new theme soon. Link to comment
AnonymousPoke Posted August 30, 2021 Share Posted August 30, 2021 5 minutes ago, Gilan said: I can’t create the shortcut on my machine and distribute, it’ll have the wrong path for others. And yeah I haven’t downloaded the newer redesign theme yet as I needed to keep things rather constant while testing my app to narrow down root causes of issues. Will be updating to the new theme soon. Are you sure about that? I distribute software quite a lot at the company I work for and machine paths are and can be a nightmare because its different on each machine of course. But, I thought Windows handles this quite nicely. For example, I have my original path that is sitting in the PokeMMO Mod folder and it works with the shortcut path at the root level as originally described. All good. I then move the folder to my documents instead of under my C Drive where the PokeMMO directory sits and I click on the shortcut and it just works. Once I close the utility, I take a look at the path in the properties and it has automatically changed the paths for me. I think this only works because the shortcut is sitting above the entire other directory paths and it knows where to look even though the location as been moved and the shortcut technically should be invalid - but it is not. Honestly, the best way to test this is to put your encounter counter into an odd location and make the shortcut at the root level and then send just the shortcut over to me via mediafire. I will then thrown it into my directory and see what the outcome is. This will for sure let us know. Gilan 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now