Hello
There is an easy part and a difficult part about changing the resolution:
1.) The resolution is defined in /root/ETC_Mother/etc_system.py in line 19:
RES = (1280,720)
That far for the easy part
2.) Now for the difficulties.
Many many following settings rely on the dimensions. And you have to change all this stuff.
I don’t want to look at other system settings for now, but for example assumingly each and every mode relies on these sizes. Just a search for the number 1280 in the standard modes brings this up:
$find . -type f -exec grep -H 1280 {} \;
./0 - Sound & MIDI Evaluation/main.py: pygame.draw.rect(screen, (255,255,255), ((0,0),(1280,720)), 0)
./0 - Sound & MIDI Evaluation/main.py: pygame.draw.line(screen, (255,0,0), (0,239), (1280,239), 1)
./0 - Sound & MIDI Evaluation/main.py: pygame.draw.line(screen, (255,0,0), (0,481), (1280,481), 1)
./S - Aquarium/main.py: modSpeed = countList[i]%(1280+width*2)
./S - Bits Horizontal/main.py:xpos = [random.randrange(-200, 1280) for i in range(0, lineAmt+2)]
./S - Bits Horizontal/main.py: xpos = [random.randrange(-200, 1280) for i in range(0, lineAmt+2)]
./S - Bits Vertical/main.py:width = 1280
./S - Circle Row/main.py: space = (1280/circles)
./S - Classic Vertical/main.py: position = int(etc.knob1*1280)
./S - Concentric/main.py: x = int(etc.knob1*1280)
./S - Cone Scope/main.py: x0 = (int(etc.knob1*1280))
./S - Cone Scope/main.py: #pygame.draw.line(screen, color, [x0 + (640 - (int(etc.knob1*1280))), y + i], [x1 + (640 - (int(etc.knob2 *1280))), y+10], 10)
./S - Connected Scope/main.py: pygame.draw.rect(screen, etc.color_picker(), [random.randrange(0,1280),random.randrange(0,720),5,5], 0)
./S - Connected Scope/main.py: xoffset = (1280 - (99*10)) // 2
./S - Connected Scope/main.py: xoffset = (1280 - (99*10)) // 2
./S - Feynman/main.py: pygame.gfxdraw.filled_polygon(screen, [(640-offset3,0),(offset1,offset1),(1280-offset1,offset1),(640+offset3,0)], (etc.bg_color[0]*.8,etc.bg_color[1]*.8,etc.bg_color[2]*.8))
./S - Feynman/main.py: pygame.gfxdraw.filled_polygon(screen, [(1280,0+offset2),(1280-offset1,360),(1280,720-offset2)], (etc.bg_color[0]*.7,etc.bg_color[1]*.7,etc.bg_color[2]*.7))
./S - Feynman/main.py: pygame.gfxdraw.filled_polygon(screen, [(640+offset3,720),(1280-offset1,720-offset1),(offset1,720-offset1),(640-offset3,720)], (etc.bg_color[0]*.6,etc.bg_color[1]*.6,etc.bg_color[2]*.6))
./S - Feynman/main.py: x = 1280
./S - Football Scope/main.py: x1 = (int(etc.knob1 * 1280) ) + (etc.audio_in[i] / 64)#random.randrange(0,1920)
./S - Grid Circles/main.py: xoffset = int(etc.knob1*(1280/8))
./S - Grid Circles/main.py: x = (j*(1280/8))-(1280/8)
./S - Grid Circles/main.py: x = j*(1280/8)-(1280/8)+xoffset
./S - Grid Circles - Filled/main.py: xoffset = int(etc.knob1*(1280/8))
./S - Grid Circles - Filled/main.py: x = (j*(1280/8))-(1280/8)
./S - Grid Circles - Filled/main.py: x = j*(1280/8)-(1280/8)+xoffset
./S - Grid Circles - Filled/main.py: #else : x = j*(1280/8)
./S - Grid Polygons Zoom/main.py: xoffset = int(etc.knob1*(1280/8))
./S - Grid Polygons Zoom/main.py: x = (j*(1280/8))-(1280/8)
./S - Grid Polygons Zoom/main.py: x = j*(1280/8)-(1280/8)+xoffset
./S - Grid Random Polygons/main.py: xoffset = int(etc.knob1*(1280/8))
./S - Grid Random Polygons/main.py: x = (j*(1280/8))-(1280/8)
./S - Grid Random Polygons/main.py: x = j*(1280/8)-(1280/8)+xoffset
./S - Grid Random Polygons - Filled/main.py: xoffset = int(etc.knob1*(1280/8))
./S - Grid Random Polygons - Filled/main.py: x = (j*(1280/8))-(1280/8)
./S - Grid Random Polygons - Filled/main.py: x = j*(1280/8)-(1280/8)+xoffset
./S - Grid Squares/main.py: xoffset = int(etc.knob1*(1280/8))
./S - Grid Squares/main.py: x = (j*(1280/8))-(1280/8)
./S - Grid Squares/main.py: x = j*(1280/8)-(1280/8)+xoffset
./S - Grid Squares - Filled/main.py: xoffset = int(etc.knob1*(1280/8))
./S - Grid Squares - Filled/main.py: x = (j*(1280/8))-(1280/8)
./S - Grid Squares - Filled/main.py: x = j*(1280/8)-(1280/8)+xoffset
./S - Grid Triangles/main.py: xoffset = int(etc.knob1*(1280/8))
./S - Grid Triangles/main.py: x = (j*(1280/8))-(1280/8)
./S - Grid Triangles/main.py: x = j*(1280/8)-(1280/8)+xoffset
./S - Grid Triangles - Filled/main.py: xoffset = int(etc.knob1*(1280/8))
./S - Grid Triangles - Filled/main.py: x = (j*(1280/8))-(1280/8)
./S - Grid Triangles - Filled/main.py: x = j*(1280/8)-(1280/8)+xoffset
./S - Interfering Lines/main.py: #x = int(etc.knob1*1280)
./S - Interfering Lines/main.py: pygame.draw.aalines(screen, color, True, [[0, R-i*point], [640, L-i*fan], [1280, T-i*point], [960, E-i*fan], [340, F-i]], 1)
./S - Interfering Lines/main.py: pygame.draw.aalines(screen, color, True, [[0, R+i*point], [640, L+i*fan], [1280, T+i*point], [960, E+i*fan], [340, F+i]], 1)
./S - Mirror Grid/main.py: #space = int(1280/lines)
./S - Mirror Grid/main.py: #space = int(1280/lines)
./S - Mirror Grid/main.py: pygame.draw.line(screen, color, (0,space), (1280,space), linewidth)
./S - Mirror Grid Inverse/main.py: pygame.draw.line(screen, color, (-1,j*spacevert), (1280,j*spacevert), linewidth)
./S - Perspective Lines/main.py: last_point = [(int(etc.knob1*1280)), (int(etc.knob2*720))]
./S - Sound Jaws/main.py: teethwidth = int(1280-128*teeth)
./S - Sound Jaws/main.py: if teethwidth == 0 : teethwidth = 128#1280-(teeth*51)
./S - Square Shadows/main.py: x = int(etc.knob2*1280) + (etc.audio_in[i * 4] / 35)
./S - Tall Towers/main.py: #pygame.draw.rect(screen, colorr, [random.randrange(0,1280),random.randrange(0,720),5,5], 0)
./S - Triangle Row/main.py: space = (1280/triangles)
./S - Two Scopes/main.py: x0 = int(etc.knob1*1280)
./S - Two Scopes/main.py: x0 = int(etc.knob2*1280)
./S - Zoom Scope/main.py: offy = int(etc.knob3 * 1280)
./T - Ball of Mirrors/main.py:last_screen = pygame.Surface((1280,720))
./T - Ball of Mirrors/main.py: x = random.randrange(0,1280)
./T - Ball of Mirrors/main.py: thing = pygame.transform.scale(image, (int(etc.knob3 * 1280), int(etc.knob4 * 720) ) )
./T - Ball of Mirrors/main.py: screen.blit(thing, (int(etc.knob1 * 1280), int(etc.knob2 * 720)))
./T - Bits H/main.py:width = 1280
./T - Bits H/main.py:xpos = [random.randrange(-200,1280) for i in range(0, lineAmt + 2)]
./T - Bits H/main.py: xpos = [random.randrange(-200,1280) for i in range(0, lineAmt + 2)]
./T - Draws Hashmarks/main.py: pygame.draw.line(screen, color, (0,(j*linespace)+linespace/2), (1280,(j*linespace)+linespace/2), linewidth)
./T - Fonts Grid/main.py:vwidth = 1280 / vlines
./T - Fonts Grid/main.py: pygame.draw.line(screen,gridColor, [hlength, (i * hwidth) -1], [1280 - hlength, (i * hwidth) - 1 ], linewidth)
./T - Fonts Grid/main.py: pygame.draw.line(screen, gridColor, [0,720],[1280,720], linewidth)
./T - Fonts Grid/main.py: pygame.draw.line(screen, gridColor, [1280,0],[1280,720], linewidth)
./T - Holzer Scroll/main.py:scrollX = 1280
./T - Holzer Scroll/main.py: scrollX = 1280 + text.get_width()
./T - Line Rotate/main.py: L = etc.knob2*1280 + linewidth*1.78
./T - Line Rotate/main.py: if L > 1280 : L = 1280
./T - Origami Triangles/main.py: posx = int(etc.knob1*1280)
./T - Reckie/main.py: if myRect.center[0] >= 1280 : myRect.center = (640,360)
./T - Rotation Grids/main.py:vwidth = 1280/lines
This is only the list, where the screen width is mentioned in clear number. There are also things like the width of 320 of some object which appears four times side by side.
I think you get an idea, what a change of resolution would mean
Florian