News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Screenshots  (Read 1096137 times)

Gemini

  • Hero Member
  • *****
  • Posts: 2026
  • 時を越えよう、そして彼女の元に戻ろう
    • View Profile
    • Apple of Eden
Re: Screenshots
« Reply #180 on: April 21, 2012, 05:04:46 pm »
Given how it has heavy winapi dependencies, I doubt.

EDIT: I was wondering if anyone ever used the bytecode feature in Translhextion? I wasn't even aware it had such a feature, plus it turns out it behaves incorrectly when case sensitivity is not active (it affects binary data instead of just Ascii values). Thanks to this bug I was thinking about removing bytecode entirely, but I read somewhere about regular expressions and how they are not available for case sensitive strings, so I took inspiration from that and decided to add an option in order to enable/disable bytecode at request of the user, making it disabled by default when doing case insensitive searches (and vice versa when enabling byte code).


Does this workaround sound reasonable enough?


EDIT 2: Now it also has a nice toolbar:
« Last Edit: April 24, 2012, 11:37:04 am by Gemini »
I am the lord, you all know my name, now. I got it all: cash, money, and fame.

justin3009

  • Hero Member
  • *****
  • Posts: 1657
  • Welp
    • View Profile
Re: Screenshots
« Reply #181 on: April 24, 2012, 07:34:48 pm »
Oh god Gemini.  You're my hero for doing all of this.  I cannot express my gratitude for fixing up this program!
'We have to find some way to incorporate the general civilians in the plot.'

'We'll kill off children in the Juuban district with an infection where they cough up blood and are found hanging themselves from cherry blossom trees.'

optomon

  • Full Member
  • ***
  • Posts: 245
  • Rite of Spring
    • View Profile
Re: Screenshots
« Reply #182 on: April 25, 2012, 12:33:32 am »
I think the only time used the byte code was to get around the "00" searching error, which I've noticed you taken care of in a previous screenshot. By far the most irritating error in that program. Nice.

Gemini

  • Hero Member
  • *****
  • Posts: 2026
  • 時を越えよう、そして彼女の元に戻ろう
    • View Profile
    • Apple of Eden
Re: Screenshots
« Reply #183 on: April 25, 2012, 01:55:46 pm »
IIRC, the 0x00 hex bug was caused by the data structures for a search being based on std::string and the c_str() method, which returns a NULL terminated string compatible with the C standard. However, when said data is used with anything like strlen() to determine the size of the array, the function will automatically break on the first 0x00 found in the search string, since it's recognized as the EOS token, thus ignoring the rest of the data. This didn't happen on bytecode stuff because it used another method for counting data size.

In the meanwhile, small updates on the GUI side:

Deriving classes for everything is just a dreamboat and allows so much control over everything, including fancy details such as menus with true color icons and other flashy GUI components (winky wink, Toolbars). Not to mention the new way dialogs are managed will allow extra functions in just a matter of defining a click event and associating a class method linked to it. Here's an example of how things are now managed inside the relative scan dialog:
Code: [Select]
CScanRelativeDlg::CScanRelativeDlg(HWND hWnd)
: CDialog(hWnd,IDD)
{
EventClick(IDC_SCAN,CScanRelativeDlg::OnScan);
EventClick(IDC_GTABLE,CScanRelativeDlg::OnGenerateTable);
EventClick(IDC_SAVE,CScanRelativeDlg::OnSave);
}
This should be very similar to how Java button events works, but I'm not sure as I haven't touched Java since high school (about 9 years ago). Many thanks to Klarth for helping me in resolving a compiler error with class method pointers.

Also, table support is working again out of the blue; no idea why it even broke in the first place, but it seems like I fixed it by toying around with the Unicode settings. On a related matter, relative scan is working again as well, but according to what I see in the code, it would only properly behave with ASCII strings, rendering the Unicode support rather useless. Should I just leave it like that and let Monkey Moore do the dirty job?
I am the lord, you all know my name, now. I got it all: cash, money, and fame.

DaMarsMan

  • Hero Member
  • *****
  • Posts: 1288
  • Bring DQV
    • View Profile
    • DQ Translations!
Re: Screenshots
« Reply #184 on: April 25, 2012, 03:22:05 pm »
I think it looks pretty awesome. I mix of translhextion and hex workshop's speed and flexibility would be the best hex editor ever. I know a lot of people use WindHex but it's not the most user friendly in my opinion.

DarknessSavior

  • Hero Member
  • *****
  • Posts: 5031
  • Darkness.
    • View Profile
    • DS: No, not the Nintendo one.
Re: Screenshots
« Reply #185 on: April 25, 2012, 05:23:34 pm »
What's with all of the "&"s in the GUI, and what does the "I think it's the Onion!" option do? XD

~DS
Red Comet: :'( Poor DS. Nobody loves him like RC does. :'(
Sliver-X: LET ME INFRINGE UPON IT WITH MY MOUTH
DSRH - Currently working on: Demon's Blazon, Romancing SaGa, FFIV EasyType.
http://www.youtube.com/user/DarknessSavior

Gemini

  • Hero Member
  • *****
  • Posts: 2026
  • 時を越えよう、そして彼女の元に戻ろう
    • View Profile
    • Apple of Eden
Re: Screenshots
« Reply #186 on: April 25, 2012, 06:05:28 pm »
In Windows menus '&' usually corresponds to "underline the following letter and use it as a shortcut for highlighting the option", while the TAB character '\t' (or 0x09) is used to indicate accelerator text (which is rendered as a separate, right-aligned message). That stuff hasn't been programmed into the new menu rendering code as it's still a WIP, but will be fixed pretty soon.

As for the onion option, it's just a joke I included for a friend of mine who likes this unknown meme. It has been removed already. :P

Speaking of icons, does anybody have a decent set of true color 16x16 pictures for the program? So far I've been ripping them from VS2005, but I'd rather use brand new icons for Translhextion.
I am the lord, you all know my name, now. I got it all: cash, money, and fame.

Rhys

  • Hero Member
  • *****
  • Posts: 708
    • View Profile
    • CN
Re: Screenshots
« Reply #187 on: April 25, 2012, 06:17:23 pm »
Visual Studio has a graphics pack you can install that has standard menu icons

Gemini

  • Hero Member
  • *****
  • Posts: 2026
  • 時を越えよう、そして彼女の元に戻ろう
    • View Profile
    • Apple of Eden
Re: Screenshots
« Reply #188 on: April 25, 2012, 06:21:59 pm »
You mean those crappy 16 color icons? Give me something better, please. :P
I am the lord, you all know my name, now. I got it all: cash, money, and fame.

Rhys

  • Hero Member
  • *****
  • Posts: 708
    • View Profile
    • CN
Re: Screenshots
« Reply #189 on: April 25, 2012, 06:32:46 pm »
There's more than 16 color ones :P there's various formats and color options buried in there, but when I say buried I mean it ;)

[edit]

If you feel like a bit of resource hacking, open up shell32.dll with resource hacker, standard toolbar/menu controls are in the bitmap section.
« Last Edit: April 25, 2012, 06:38:45 pm by Rhys »

Gemini

  • Hero Member
  • *****
  • Posts: 2026
  • 時を越えよう、そして彼女の元に戻ろう
    • View Profile
    • Apple of Eden
Re: Screenshots
« Reply #190 on: April 25, 2012, 06:41:32 pm »
Care to upload them somewhere? All I can find in my VS2005 folder is just a bunch of 16 color icons all using the crappy Windows default palette. <.<
I am the lord, you all know my name, now. I got it all: cash, money, and fame.

Rhys

  • Hero Member
  • *****
  • Posts: 708
    • View Profile
    • CN
Re: Screenshots
« Reply #191 on: April 25, 2012, 06:44:30 pm »
Ah I use 2010, that might be why :/

[edit]

Here's the relevant toolbar strips from shell32:
linky
« Last Edit: April 25, 2012, 06:51:02 pm by Rhys »

Gemini

  • Hero Member
  • *****
  • Posts: 2026
  • 時を越えよう、そして彼女の元に戻ろう
    • View Profile
    • Apple of Eden
Re: Screenshots
« Reply #192 on: April 25, 2012, 06:53:41 pm »
Definitively a nice bunch, thanks!
I am the lord, you all know my name, now. I got it all: cash, money, and fame.

Rhys

  • Hero Member
  • *****
  • Posts: 708
    • View Profile
    • CN
Re: Screenshots
« Reply #193 on: April 25, 2012, 08:33:35 pm »
Sure, no prob :)

Pennywise

  • Hero Member
  • *****
  • Posts: 2361
  • I'm curious
    • View Profile
    • Yojimbo's Translations
Re: Screenshots
« Reply #194 on: April 30, 2012, 01:30:42 am »


Text still doesn't quite match the plot of the movie, so I can probably squeeze decent translation in that space after some editing.

Jedi QuestMaster

  • Hero Member
  • *****
  • Posts: 969
    • View Profile
Re: Screenshots
« Reply #195 on: April 30, 2012, 01:48:02 am »

This game already has an entire cap font set:



I can come up with a minuscule set if you'd like.

Pennywise

  • Hero Member
  • *****
  • Posts: 2361
  • I'm curious
    • View Profile
    • Yojimbo's Translations
Re: Screenshots
« Reply #196 on: April 30, 2012, 04:05:26 pm »


I replaced that font with my standard futuristic font.

DarknessSavior

  • Hero Member
  • *****
  • Posts: 5031
  • Darkness.
    • View Profile
    • DS: No, not the Nintendo one.
Re: Screenshots
« Reply #197 on: April 30, 2012, 04:20:00 pm »
I sorta feel like your edits lose a bit of the meaning behind the original text, but it's a friggin' NES game. Space isn't a luxury. XD

~DS
Red Comet: :'( Poor DS. Nobody loves him like RC does. :'(
Sliver-X: LET ME INFRINGE UPON IT WITH MY MOUTH
DSRH - Currently working on: Demon's Blazon, Romancing SaGa, FFIV EasyType.
http://www.youtube.com/user/DarknessSavior

Cryomancer

  • Full Member
  • ***
  • Posts: 241
    • View Profile
Re: Screenshots
« Reply #198 on: May 04, 2012, 09:52:06 pm »
Clearly you should hack the game so every time someone says the scientist's name it plays a WATTSMAAAAN sound clip from the movie.
weird video game comic translations:
http://opentrain.theyear199x.org/

Garoth Moulinoski

  • Hero Member
  • *****
  • Posts: 6290
  • Disliking that smoke.
    • View Profile
    • My Stuff including Super Smash Karts.
Re: Screenshots
« Reply #199 on: May 05, 2012, 10:56:17 pm »


I replaced that font with my standard futuristic font.

Gah. I'm trying to read the text box, but my eyes are actually getting distracted and I keep jumping. WHAT TRICKERY IS THIS?!
Who will quote me next?
Disclaimer: If it sounds wrong, I may have been posting while asleep.