Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

desktop will not keep correct resolution on exit #104

Closed
Exarkuniv opened this issue Sep 27, 2023 · 4 comments
Closed

desktop will not keep correct resolution on exit #104

Exarkuniv opened this issue Sep 27, 2023 · 4 comments

Comments

@Exarkuniv
Copy link

when i exit the game the desktop is a 640x480 resolution.

im on a jetson nano running ubuntu 22.04.2 LTS

i can run fallout 2 with out issue,
and fallout 1 starts and plays fine, but when it exits. its like the screen is zoomed it.
but the funny thing is when i go in the the resolution settings on my desktop. the setting are correct. 1920x1080, but the screen looks like its 640x480.
so i have to change the resolution to a different one to unstick the screen, and then everything is back to normal

now i have the game data in a different location then the executable and i have the .cfg file pointing to the location.
i did try messing with the f1-res.ini and it didnt seem like it did anything.

im useing the gog version with the HD patch enabled before i copied the files over

when the game starts it says its verion 1.1 if that matters

here is my ini file

[MAIN]
GRAPHICS_MODE=2
SCALE_2X=1
SCR_WIDTH=1920
SCR_HEIGHT=1080
COLOUR_BITS=32
REFRESH_RATE=60
WINDOWED=1
WINDOWED_FULLSCREEN=1
WIN_DATA=0
[INPUT]
ALT_MOUSE_INPUT=0
EXTRA_WIN_MSG_CHECKS=1
SCROLLWHEEL_FOCUS_PRIMARY_MENU=1
[EFFECTS]
IS_GRAY_SCALE=0
[HI_RES_PANEL]
DISPLAY_LIST_DESCENDING=1
[MOVIES]
MOVIE_SIZE=1
[MAPS]
EDGE_CLIPPING_ON=1
IGNORE_MAP_EDGES=0
IGNORE_PLAYER_SCROLL_LIMITS=1
SCROLL_DIST_X=HALF_SCRN ; ORIGINAL 480
SCROLL_DIST_Y=HALF_SCRN ; ORIGINAL 400
NumPathNodes=1
FOG_OF_WAR=0
FOG_LIGHT_LEVEL=4
ZOOM_LEVEL=1
IS_ZOOM_BOUND_BY_EDGES=0
[IFACE]
IFACE_BAR_MODE=0
IFACE_BAR_SIDE_ART=1
IFACE_BAR_SIDES_ORI=0
IFACE_BAR_WIDTH=800
ALTERNATE_AMMO_METRE=0
ALTERNATE_AMMO_LIGHT=196
ALTERNATE_AMMO_DARK=75
[MAINMENU]
MAIN_MENU_SIZE=1
USE_HIRES_IMAGES=1
SCALE_BUTTONS_AND_TEXT_MENU=0
MENU_BG_OFFSET_X=-24
MENU_BG_OFFSET_Y=-24
[STATIC_SCREENS]
DEATH_SCRN_SIZE=1
END_SLIDE_SIZE=1
HELP_SCRN_SIZE=1
SPLASH_SCRN_SIZE=1
[OTHER_SETTINGS]
DIALOG_SCRN_BACKGROUND=0
DIALOG_SCRN_ART_FIX=1
SPLASH_SCRN_TIME=0
DOUBLE_CLICK_RUNNING=1
INV_ADD_ITEMS_AT_TOP=0
CPU_USAGE_FIX=1
BARTER_PC_INV_DROP_FIX=1
FADE_TIME_MODIFIER=60
FADE_TIME_RECALCULATE_ON_FADE=0

is that the right format?

and any help would be great

@alexbatalov
Copy link
Owner

Hey there, can you please check if #109 fixes this problem.

@Exarkuniv
Copy link
Author

yes that fixes my issue

thanks

@Exarkuniv
Copy link
Author

when will you be rolling that fix in to the main branch.
i have a install script and i just would like to know what branch to call.

@alexbatalov
Copy link
Owner

Merged into main, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants