I want everything to be zoomed in, so everything looks bigger. There are scripts that do this but the only one I found had a black bar around the unused parts of the screen. Is this possible without the black bar?
Resolution Script
Script RequestsFirst off, is this XP or VX? Second, do you want everything to be bigger? (As in, one pixel is actually a 2x2 square of pixels, so you can effectively make it like a blown up Pokemon game?) Or do you just want a bigger screen resolution? (As in, something like 800x600 instead of 640x480)
So sorry i meant for it to be on XP and yes, thats what I want
Proto wrote:
So sorry i meant for it to be on XP and yes, thats what I want
Wait, you want both of the things I suggested, and not just one of them? That's much, much more difficult. Also, which scripts did you try?
Oh I thought they were the same thing. I just want the screen resolution, but without the black space around the unused parts of the screen.
Proto wrote:
Oh I thought they were the same thing. I just want the screen resolution, but without the black space around the unused parts of the screen.
So you want one that makes the screen something like 800x600, instead of one that takes all the images on the screen and blows them up to double size? And by blows them up to double size, I mean like what happens if you hover over the sprite below and select 2x. (only without the shitty blurring firefox typically does)
Yes the 800x600 one lol
Did you try this one?
I get an error when i playtest it
Proto wrote:
I get an error when i playtest it
What's the error? And did you make sure to try the non-SDK version, as well as to add the required scripts he mentions?
Is SDK compatible with XAS ABS???
And it gave me the same error as the regular version.
it said

And it gave me the same error as the regular version.
it said

Proto wrote:
Is SDK compatible with XAS ABS???
Seeing as I've never used the XAS ABS, I can't say for sure, but no is a pretty good guess. As I said, I recommend using the Non-SDK version. (Just download the non-SDK demo, and copy the scripts into your project. Just don't forget the .dll file that is required by AInput)
Edit: Sorry didn't see the pic. Took forever for it to load on this network. Lemme check out the kit to see why it does that.
I tried both lol are there any other scripts? can i try the other suggestion u gave?
Proto wrote:
I tried both lol are there any other scripts? can i try the other suggestion u gave?
Oh, lol. I just remembered what that error is. Unplug any game controllers you have in your computer. Pretty much anything but a mouse or keyboard causes AInput to crash. Gimme a sec and I'll tell you what lines to delete.
I only have a mouse and a keyboard but ok
Actually, that's the wrong line. Hmm, try going to lines 144-147 of the AInput script and changing them to Ainput.dll. The thing is working for me, but it could be an issue with how your OS is interpreting the call to the .dll file, since it's trying to load it and failing.
same error after i changed the lines. just change the part tat says AInput to AInput.dll?
Proto wrote:
same error after i changed the lines. just change the part tat says AInput to AInput.dll?
I'm trying to figure out why the project can't find AInput.dll. Try copying the following bit of code before line 144, and tell me if it says true or false.
- p FileTest.exist?('AInput.dll')
Expand to see the code.
wow, still the same thing
Proto wrote:
wow, still the same thing
But does it show a message before that one? It should be either true or false. (This is if you did what I said and copied it before line 144)
No, thats only when I play it from the Game.exe file
Proto wrote:
No, thats only when I play it from the Game.exe file
Just to be clear, I want you to open the script editor and open the script called AInput, and scroll down to line 144, then insert that line so that it looks like this:
- #---------------------------------------------------------------------------
- # * DLL functions
- #---------------------------------------------------------------------------
- p FileTest.exist?('.\AInput.dll')
- InputInitialize = Win32API.new('AInput', 'InputInitialize', 'LLLLL', '')
- InputRepeatConfig = Win32API.new('AInput', 'InputRepeatConfig', 'LL', '')
Expand to see the code.
Then, I want you to save it and tell me whether it says true or false before it crashes.
Yea i got true. I thought the p u put at the begining was an accident
Proto wrote:
Yea i got true. I thought the p u put at the begining was an accident
Ah, no. The p command actually makes it put out one of those message windows. Anyway, that's incredibly odd. Did you use the version that has .\ before AInput.dll, or the version without it? If you used the version that had the .\, try changing the lines below what I told you to add so that they look like this:
- InputInitialize = Win32API.new('.\AInput', 'InputInitialize', 'LLLLL', '')
- InputRepeatConfig = Win32API.new('.\AInput', 'InputRepeatConfig', 'LL', '')
- InputDirConfig = Win32API.new('.\AInput', 'InputDirConfig', 'LLL', '')
- InputUpdate = Win32API.new('.\AInput', 'InputUpdate', '', '')
Expand to see the code.
And tell me if that works.
I had one without it and I still get the same error. change the name of the dll in my game folder too?
Proto wrote:
I had one without it and I still get the same error. change the name of the dll in my game folder too?
No, the .\ is something from Windows that tells it to look in the current folder. I'm just trying to figure out why it can't access the files.
Any other scripts that i can use???
Proto wrote:
Any other scripts that i can use???
Well, the reason I'm asking about this one is because it's the most effective one for what you're trying to do. That being said, I believe the creator of the script was saying something about planning to switch it to my input scripts, so I'll just jump the gun and switch it for him. Gimme a few hours, and I should have it for you.
Okay thx man :D
Here, try this version.
Original thread: https://www.hbgames.org/forums/viewtopic.php?t=74064
