netbook cuts bottom of NT viewer on FCEU*

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
netbook cuts bottom of NT viewer on FCEU*
by on (#78265)
just checking if anyone has had this problem and come up with an easy solution. My netbook has a display of 1024x600. This serves me perfectly except for when I'm trying to view FCEUXD's nametable viewer. Its window is taller than 600 pixels and even when using the move option+arrows the window won't move above a certain position where its bottom is still cut off. The only solution that's given me limited results was rotating my display via the graphics driver to make the screen 600x1024. This makes it hell to move the cursor without an external mouse.
Now I'm not sure if this is Windows's fault or if FCEU is preventing the nametable window's title bar from moving past the top of the screen. any thoughts from netbook users/FCEU* dev'rs?
Re: netbook cuts bottom of NT viewer on FCEU*
by on (#78266)
Roni wrote:
My netbook has a display of 1024x600. This serves me perfectly except for when I'm trying to view FCEUXD's nametable viewer. Its window is taller than 600 pixels

Do you own a high-definition television? Most nowadays have a VGA port and an HDMI port. Use this guide to identify the connectors on the TV and on the side of your netbook. Then go to Monoprice and pick up a 6 foot cable. Connect them and you'll have a second screen can go to 1360x768 (for basic HDTV) or 1920x1080 (for full HDTV).

by on (#78267)
I have a full-res computer for home use, but I also like to dev/debug on the go.

by on (#78268)
probably a stupid question, but might there be a tool for reprogramming a windows application to have different window arrangements, placing the nametable info to the right of the 512x480 image instead of below it?

by on (#78269)
I'm pretty sure the solution lies in the sourcefile, in \drivers\win\ntview.c but I can't make heads or tails of it.
one free internet to the upstanding samaritan who can reconfig the code to display nt info to the side of the four tables.
if I don't get an answer I guess I'll have to dip into some C code myself...

by on (#78272)
There's a shareware program called "The Customizer" that watches when windows are created, and moves the controls around, it might still be available. Hard to find though, since it's a very non-unique program name.

by on (#78292)
Dwedit wrote:
There's a shareware program called "The Customizer" that watches when windows are created, and moves the controls around, it might still be available. Hard to find though, since it's a very non-unique program name.


That's cool.

You can also edit the dialog resources in the app manually, using this tool:

http://www.resedit.net/

by on (#78293)
Hey, I remember ResEdit when it was on the Mac.

by on (#78294)
tepples wrote:
Hey, I remember ResEdit when it was on the Mac.


So do I. System 6.0.8, ~1993, Mac LC-IIs in high school.

by on (#78306)
Heh heh, turning program icons into penises and turds, etc. :twisted:

Anyway, I have a netbook (Kohjinsha) too, and some programs that hardcode windows larger than 600 pixels do annoy me too sometimes. Doesn't your netbook have a scaled 1024x768 mode? My netbook switches between 640x480, 1024x600, 1024x768 with a press of Fn+F1.

by on (#78325)
hey thanks, resedit is exactly what I needed. I've opened up the res file and made the changes I need, all that I need to do is figure out how to compile the whole thing.

by on (#78326)
I've tried makewin.bat but get a flood of information that I can't interpret:

Code:
C:\Documents and Settings\Administrator\Desktop\fc\sorce>mingw32-make.exe -s -f
Makefile.win
process_begin: CreateProcess((null), gcc -Wall -Winline -mcpu=i686 -O1 -Izlib -D
NOSTDOUT -DC80x86 -DLSB_FIRST -DWINDOWS -DNETWORK -DPSS_STYLE=2 -DZLIB -fomit-fr
ame-pointer -c -o xstring.o xstring.c, ...) failed.
make (e=2): The system cannot find the file specified.
mingw32-make.exe: *** [xstring.o] Error 2

C:\Documents and Settings\Administrator\Desktop\fc\sorce>pause
Press any key to continue . . .


and now I'm just left with more questions...
mainly what it has failed at and what make (e=2) is, what files are missing, etc...

by on (#78328)
Roni wrote:
hey thanks, resedit is exactly what I needed. I've opened up the res file and made the changes I need, all that I need to do is figure out how to compile the whole thing.

You don't need to recompile it to modify the resources. Just open the .exe in ResEdit or Resource Hacker. FCEUX seems to be packed with UPX though, so you need to get UPX to unpack it first (command line: upx -d fceux.exe).

by on (#78340)
my result so far : fceuxdsp 1.07 netbook edition (only the ntviewer has been changed)

by on (#78349)
Looks good. I've always just dealt with it the way it was. Thanks for this!

by on (#78363)
with a nametable viewer and its related info, it's worlds easier to locate the PPU address where you want a tile to go, and where a sprite should be, it also helps find at which scanline an image bankswitches or does a palette change.