Byno Posted March 21, 2020 Share Posted March 21, 2020 (edited) As I have titled this, it's probably not possible, but just in case it is, here goes nothing: when I soft reset the game, the game always automatically goes to the middle of the screen, despite me having placed it in a different location before. I'm talking about the location of the app itself once you open it, and not the location of the file. Sorry if I've wasted your time with this Edit: Just realised I don't show what I want, so here goes. I want to know if it's possible to have the game stay in the same location when I open it, and when I SR it too. As in, not having it go back to the middle of the screen again Edited March 21, 2020 by Byno Didn't mention main topic at hand Quote Link to comment Share on other sites More sharing options...
Waynolt Posted March 21, 2020 Share Posted March 21, 2020 You spent more time saying it's a stupid question than you spent actually asking it Anyway, here's the stupid answer to your stupid question: it is possible to do it by editing the stupid file Scripts.rxdata, stupid script Win32API_, stupid function Win32API.restoreScreen stupid lines about the two stupid variables x and y: Spoiler def Win32API.restoreScreen setWindowLong = Win32API.new('user32', 'SetWindowLong', 'LLL', 'L') setWindowPos = Win32API.new('user32', 'SetWindowPos', 'LLIIIII', 'I') metrics = Win32API.new('user32', 'GetSystemMetrics', 'I', 'I') hWnd = pbFindRgssWindow width = DEFAULTSCREENWIDTH*$ResizeFactor height = DEFAULTSCREENHEIGHT*$ResizeFactor if $PokemonSystem && $PokemonSystem.border==1 width += BORDERWIDTH*2*$ResizeFactor height += BORDERHEIGHT*2*$ResizeFactor end #####MODDED aRect = self.GetWindowRect x = aRect.x y = aRect.y #####/MODDED #####MODDED, was x = [(metrics.call(0)-width)/2,0].max #####MODDED, was y = [(metrics.call(1)-height)/2,0].max setWindowLong.call(hWnd, -16, 0x14CA0000) setWindowPos.call(hWnd, 0, x, y, width+6, height+29, 0) Win32API.focusWindow return [width,height] end Stupid answer put in the stupid file for the stupid Reborn Episode 18.2.stupid:Scripts.rxdata Make a stupid backup of your stupid Scripts.rxdata and of your stupid savegames before stupidly trying it! 1 Quote Link to comment Share on other sites More sharing options...
AzureSamurai Posted March 25, 2020 Share Posted March 25, 2020 On 3/21/2020 at 9:24 AM, Waynolt said: You spent more time saying it's a stupid question than you spent actually asking it Anyway, here's the stupid answer to your stupid question: it is possible to do it by editing the stupid file Scripts.rxdata, stupid script Win32API_, stupid function Win32API.restoreScreen stupid lines about the two stupid variables x and y: Reveal hidden contents def Win32API.restoreScreen setWindowLong = Win32API.new('user32', 'SetWindowLong', 'LLL', 'L') setWindowPos = Win32API.new('user32', 'SetWindowPos', 'LLIIIII', 'I') metrics = Win32API.new('user32', 'GetSystemMetrics', 'I', 'I') hWnd = pbFindRgssWindow width = DEFAULTSCREENWIDTH*$ResizeFactor height = DEFAULTSCREENHEIGHT*$ResizeFactor if $PokemonSystem && $PokemonSystem.border==1 width += BORDERWIDTH*2*$ResizeFactor height += BORDERHEIGHT*2*$ResizeFactor end #####MODDED aRect = self.GetWindowRect x = aRect.x y = aRect.y #####/MODDED #####MODDED, was x = [(metrics.call(0)-width)/2,0].max #####MODDED, was y = [(metrics.call(1)-height)/2,0].max setWindowLong.call(hWnd, -16, 0x14CA0000) setWindowPos.call(hWnd, 0, x, y, width+6, height+29, 0) Win32API.focusWindow return [width,height] end Stupid answer put in the stupid file for the stupid Reborn Episode 18.2.stupid:Scripts.rxdata Make a stupid backup of your stupid Scripts.rxdata and of your stupid savegames before stupidly trying it! Hi Waynolt, How can I edit rxdata file like scripts? What software i need to do it? Quote Link to comment Share on other sites More sharing options...
Michael_ Posted March 25, 2020 Share Posted March 25, 2020 19 minutes ago, AzureSamurai said: Hi Waynolt, How can I edit rxdata file like scripts? What software i need to do it? You'd need a copy of rpg maker XP and to insert a game.rxproj file into the root folder of Reborn Quote Link to comment Share on other sites More sharing options...
AzureSamurai Posted March 25, 2020 Share Posted March 25, 2020 1 minute ago, Michael_ said: You'd need a copy of rpg maker XP and to insert a game.rxproj file into the root folder of Reborn And where i get a game.rxproj? Quote Link to comment Share on other sites More sharing options...
Michael_ Posted March 25, 2020 Share Posted March 25, 2020 2 minutes ago, AzureSamurai said: And where i get a game.rxproj? If you create a new project in RPG Maker, it'll create one automatically. From there, it's just an easy copy-paste Quote Link to comment Share on other sites More sharing options...
AzureSamurai Posted March 25, 2020 Share Posted March 25, 2020 39 minutes ago, Michael_ said: If you create a new project in RPG Maker, it'll create one automatically. From there, it's just an easy copy-paste Thanks, One last question, How can i enable party debug(pokemon editor) on scripts? Thanks in advance Quote Link to comment Share on other sites More sharing options...
Michael_ Posted March 25, 2020 Share Posted March 25, 2020 Just now, AzureSamurai said: Thanks, One last question, How can i enable party debug(pokemon editor) on scripts? Thanks in advance If you open the game in the editor, you'll see a green play button at the top. You'll need to first grab Reborn's PBS files which is available on their FAQ and throw that file into the root folder of the game. Then, you just need to click that play button. Alternatively, you could just use this: Quote Link to comment Share on other sites More sharing options...
Edo Posted March 26, 2020 Share Posted March 26, 2020 On 3/21/2020 at 1:24 PM, Waynolt said: You spent more time saying it's a stupid question than you spent actually asking it Anyway, here's the stupid answer to your stupid question: it is possible to do it by editing the stupid file Scripts.rxdata, stupid script Win32API_, stupid function Win32API.restoreScreen stupid lines about the two stupid variables x and y: Hide contents def Win32API.restoreScreen setWindowLong = Win32API.new('user32', 'SetWindowLong', 'LLL', 'L') setWindowPos = Win32API.new('user32', 'SetWindowPos', 'LLIIIII', 'I') metrics = Win32API.new('user32', 'GetSystemMetrics', 'I', 'I') hWnd = pbFindRgssWindow width = DEFAULTSCREENWIDTH*$ResizeFactor height = DEFAULTSCREENHEIGHT*$ResizeFactor if $PokemonSystem && $PokemonSystem.border==1 width += BORDERWIDTH*2*$ResizeFactor height += BORDERHEIGHT*2*$ResizeFactor end #####MODDED aRect = self.GetWindowRect x = aRect.x y = aRect.y #####/MODDED #####MODDED, was x = [(metrics.call(0)-width)/2,0].max #####MODDED, was y = [(metrics.call(1)-height)/2,0].max setWindowLong.call(hWnd, -16, 0x14CA0000) setWindowPos.call(hWnd, 0, x, y, width+6, height+29, 0) Win32API.focusWindow return [width,height] end Stupid answer put in the stupid file for the stupid Reborn Episode 18.2.stupid:Scripts.rxdata Make a stupid backup of your stupid Scripts.rxdata and of your stupid savegames before stupidly trying it! If it's not asking too much of you, could you please do this and upload the scripts.rxdata for Rejuvenation as well? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.