Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Using An Nfo File In Masm?

Featured Replies

Posted

Hey guys, I've searched through the forum so I don't believe this has been asked yet. I did find an example by UFO-Pu55y in the PNG keygen template he released.

Though I was wondering if someone could provide a "watered down" example of an nfo viewer in masm?

I sort of understand whats going on, but something a bit simpler would be much appreciated.

Maybe I'm just being dumb but I was wondering if this is basicly what needs to be done;

Load nfo from the resource, dump it into a text box and set the text box to be the Terminal font.

Thanks, and sorry if this is a dumb question.

Load nfo from the resource, dump it into a text box and set the text box to be the Terminal font.

Thats it!

  • Author
Load nfo from the resource, dump it into a text box and set the text box to be the Terminal font.

Thats it!

[laugh] I guess thats one of those things I just had to say out loud to figure it out. Thanks mate

  • Author

I've been looking at UFO's code and was trying to do about the same thing to just play around with it however, it doesn't seem to want to change the text of the window - it keeps it as the default.

Any advice? This is the piece of code I'm using, mainly from UFO's

invoke GetDlgItem,hWnd,ID_NFOEDIT

mov hNfoEdit,eax

invoke FindResource, hInstance, ID_NFO_TEXT, RT_RCDATA

invoke LoadResource, hInstance, eax

invoke SetDlgItemText,hWnd,ID_NFOEDIT,eax

invoke SendMessage,hNfoEdit,WM_SETFONT,hNfoFont,1

you will have to create the font you need before installing itthere are many ways to do that so you choose your own after creating the font you'll have it's handle "send it to hNfoFont"

use CreateFontA or any other API to get your own specified font but it won't work on all PC's the same and i dunno if UFO figured any new way to fix that problem but it should work on your system fine but in some rare situations it won't...........

invoke SendMessage,hNfoEdit,WM_SETFONT,hNfoFont,1
Yes, that's the question.. what's in your hNfoFont ??
  • Author
invoke SendMessage,hNfoEdit,WM_SETFONT,hNfoFont,1
Yes, that's the question.. what's in your hNfoFont ??

Ahhh I forgot to set it using CreateFontIndirect, doh!

Thanks guys - sorry about the dumbness

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.