Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorEathanu
    • CommentTimeMay 19th 2010
     
    An idea came to me, but I have no idea how likely it is. Anyone who's looked at their PsuIlluminus.ini file knows that their resolution is contained as a single number corresponding to the resolution they've chosen. Since we're taking the hedge clippers to the client, server and "protection" program, is it possible to alter the way PSU looks for the resolution? My laptop has its own stupid native resolution that seems to be compatible with newer games, but not completely supported by anything more than four years old: 1366x768. I'm sure there's other higher resolutions people would like to see PSU handle as well.

    So, thoughts?
    •  
      CommentAuthorQwerty
    • CommentTimeMay 19th 2010
     
    essen has no interest in altering the client, but feel free to do so on your own time.
    • CommentAuthorEathanu
    • CommentTimeMay 19th 2010
     
    Yeah, I know absolutely nothing about editing already compiled programs, and just enough coding to print "Hello, world," so that ain't happening.
    •  
      CommentAuthorQwerty
    • CommentTimeMay 19th 2010
     
    Oh, well, I'm sure someone will eventually make a modified client, and this will likely be one of the features.
    •  
      CommentAuthorNoda
    • CommentTimeMay 19th 2010
     
    What I do on my desktop monitor (1920 x 1080) is start it up in a 1280 x 720 window, then stretch it to fill a more suitable area. It's not perfect, but it's better than nothing. I too am waiting for higher resolutions, but it could prove tricky.
    • CommentAuthorRahmier
    • CommentTimeMay 20th 2010
     
    Thing is, Sonic team couldn't be arsed to code PSU's basic functions right and I bet everything else that is done is going to be so backwards. In options there is a hidden/disabled AA (2x and 4x option) that is meant to go above MIPS. I haven't tackled the resolution, because I don't want to at the moment. I won't have much time until next week to do something about it.
    •  
      CommentAuthorRygdea
    • CommentTimeMay 20th 2010
     
    Noda:What I do on my desktop monitor (1920 x 1080) is start it up in a 1280 x 720 window, then stretch it to fill a more suitable area. It's not perfect, but it's better than nothing. I too am waiting for higher resolutions, but it could prove tricky.


    I use 1600 x 900 and I also start it up in 1280 x 720, but it looks horrible when you stretch it as your just stretching the view and not gaining a higher resolution...
    • CommentAuthorBenoitRen
    • CommentTimeMay 21st 2010
     
    Why, back in my day, we selected the highest resolution that our monitor and video card could support, and we liked it!

    Damn whipper-snappers with their fancy LCD monitors.
    •  
      CommentAuthorNoda
    • CommentTimeMay 21st 2010 edited
     
    I'm aware that it doesn't give you more resolution, or more accurately more visual information to fill that resolution, but that's what works best for me. Full screen 1280 x 720 looks even worse for whatever reason.

    BenoitRen: I suppose you never played 320 x 200 or 320 x 240 games on your 720 x 400 and 640 x 480 capable monitor. :D
    • CommentAuthorBenoitRen
    • CommentTimeMay 21st 2010 edited
     
    Noda: Actually, I have, and I still do that sometimes. Native resolution for the win! Down with pixel art-destroying filters!
    •  
      CommentAuthoryasha88
    • CommentTimeMay 25th 2010 edited
     
    BenoitRen:Why, back in my day, we selected the highest resolution that our monitor and video card could support, and we liked it!

    Damn whipper-snappers with their fancy LCD monitors.

    Win.

    (I feel hypocritical for saying that with an LCD monitor myself, but I always set it to 1024x768 anyway simply because I have bad eyes and cannot afford glasses atm.)
    •  
      CommentAuthorMacman
    • CommentTimeJul 1st 2010
     
    I always see people making widescreen screenshots of the game. Are they merely stretching the window or is there some trick to getting PSU to play in widescreen? I can't seem to find it in either version's options.
    • CommentAuthorCuber
    • CommentTimeJul 1st 2010
     
    I find i have to make the resolution a custom resolution in the Nvidia control panel thing before it shows up. (1280 x 720)
    •  
      CommentAuthorVolt
    • CommentTimeJul 1st 2010 edited
     
    IIRC PSU uses video card hardware ID to determine if widescreen is capable, and the list is pretty scant due to lazy dev. I may have made that up though. Either way, I had to manually input the widescreen res into the nvidia control panel as well.

    edit: probably important, forgot to mention I run it widescreen windowed.
    •  
      CommentAuthoressen
    • CommentTimeJul 1st 2010
     
    It gives widescreen option only if you are currently in a widescreen video mode.
    • CommentAuthorCuber
    • CommentTimeJul 2nd 2010
     
    I'm in a wide screen mode and I still had to put it in..
    •  
      CommentAuthorMacman
    • CommentTimeJul 2nd 2010 edited
     
    Unless 1680 x 1050 isn't considered a widescreen mode... I don't know what else to do.
    • CommentAuthorAgrajag
    • CommentTimeJul 2nd 2010
     
    1680x1050 is a 16:10 resolution. 1280x720 is a 16:9 resolution. PSU is a bit... finicky, though, so I don't know for sure the problem.

    Wonder how much effort it'd take to make a non-distorted higher 16:9 resolution?

    (Nyu-zero posted a screenshot from a "1080p" resolution that had the proportions wrong.)
    • CommentAuthorBCRS
    • CommentTimeJul 2nd 2010 edited
     
    EDIT: Fine, i try to do you a favor and this is what i get. Servers me right for trying to help you people.
    •  
      CommentAuthorRygdea
    • CommentTimeJul 2nd 2010 edited
     
    BCRS:Here 'ya go, these are zero's custom exes spanning the range from psp sized screen (480x272) to 1920x1200.

    http://dl.dropbox.com/u/3656009/psu-resolutions.rar

    Choose the exe with the resolution you want, rename and replace the PsuIlluminus.exe with the new one, then enter the options screen and choose resolution 1280x720 (or at least that's the resolution I had to choose for 1680x1050. You might have to choose other resolutions for the other exes).
    Also, someone please report if 1680x1050 works in full screen mode. For me it just crashes to desktop though windowed mode works fine.


    With those you actually need to choose the corresponding resolution that has the same aspect ratio.
    •  
      CommentAuthoressen
    • CommentTimeJul 2nd 2010
     
    Don't use those, thanks.
    •  
      CommentAuthorRygdea
    • CommentTimeJul 2nd 2010
     
    They don't work on XP, but besides that why against them? :v
    •  
      CommentAuthoressen
    • CommentTimeJul 2nd 2010
     
    Because any modification can introduce new bugs and I have better things to do than read bug reports I'm not concerned about. We also don't know exactly what modifications there has been to this executable. And as you said it doesn't work in XP, which is one of those bugs I don't want to read about.
    • CommentAuthorBCRS
    • CommentTimeJul 3rd 2010 edited
     
    Jealous of zero essen? Or was it just easier to say "don't use those" instead of "use those at your own risk and don't report any bugs you come across using them"? I (and anyone you've ever seen on the server that doesn't have the swear words filter on) have been using zero's modified exes for some time now on your server, and I've never heard you or anyone else say anything about any bugs we've caused using them.
    •  
      CommentAuthorQwerty
    • CommentTimeJul 3rd 2010
     
    I think he already explained why. Stop trying to start shit.
    • CommentAuthorLightDark
    • CommentTimeJul 3rd 2010
     
    BCRS:Jealous of zero essen? Or was it just easier to say "don't use those" instead of "use those at your own risk and don't report any bugs you come across using them"? I (and anyone you've ever seen on the server that doesn't have the swear words filter on) have been using zero's modified exes for some time now on your server, and I've never heard you or anyone else say anything about any bugs we've caused using them.


    Ignorance is showing.
    • CommentAuthorBCRS
    • CommentTimeJul 3rd 2010
     
    LightDark:
    BCRS:Jealous of zero essen? Or was it just easier to say "don't use those" instead of "use those at your own risk and don't report any bugs you come across using them"? I (and anyone you've ever seen on the server that doesn't have the swear words filter on) have been using zero's modified exes for some time now on your server, and I've never heard you or anyone else say anything about any bugs we've caused using them.


    Ignorance is showing.


    Indeed it is, only the ignorance is not on my behalf, i just tried to help.

    And on a side note, I'll bite the bullet and say out loud what everyone is thinking, but no one will admit: Qwerty, you are a fucking moron!
    •  
      CommentAuthoressen
    • CommentTimeJul 3rd 2010
     
    BCRS:Jealous of zero essen? Or was it just easier to say "don't use those" instead of "use those at your own risk and don't report any bugs you come across using them"? I (and anyone you've ever seen on the server that doesn't have the swear words filter on) have been using zero's modified exes for some time now on your server, and I've never heard you or anyone else say anything about any bugs we've caused using them.

    Other than having to handle all that "doesn't run on XP" crap. Looking forward to "resolution bugs" crap next.

    And what's the point in coming on the test server if you're not going to help test?
    •  
      CommentAuthorNoda
    • CommentTimeJul 3rd 2010 edited
     
    The bug thread is already full enough of repeat posts about issues that were known to be broken (due to not even being implemented yet, or that would have been seen in a cursory glance at the thread itself) without piling more variables on. That's on top of the sometimes continued confusion of something as modest as a hosts file. Use at your own risk should already be implied by pretty much any executable you find scattered around on the internet, anyway, but here it'd be much better if everyone is simply using close to the same thing for testing. That way, when something breaks, there's an actual control group instead of just a bunch of clients with different hacked in features that has to be managed first.

    I have some ideas for client modifications I'd like to try, myself, mostly as DLL hook type add-ons, but I'd much rather wait until the server everything runs on is better solidified before trying anything like that. It's like putting the cart before the horse to try to add new functionality right now.
    • CommentAuthorMewn
    • CommentTimeJul 3rd 2010
     
    Oh no guys essen won't use something zero made, it's time for amateur psychoanalysis!
    •  
      CommentAuthoryasha88
    • CommentTimeJul 5th 2010
     
    BCRS:
    LightDark:
    BCRS:Jealous of zero essen? Or was it just easier to say "don't use those" instead of "use those at your own risk and don't report any bugs you come across using them"? I (and anyone you've ever seen on the server that doesn't have the swear words filter on) have been using zero's modified exes for some time now on your server, and I've never heard you or anyone else say anything about any bugs we've caused using them.


    Ignorance is showing.


    Indeed it is, only the ignorance is not on my behalf, i just tried to help.

    And on a side note, I'll bite the bullet and say out loud what everyone is thinking, but no one will admit: Qwerty, you are a fucking moron!

    It's not that I won't admit it... It's just that I've already cussed at Qwerty and don't feel that my time is justified by reiterating it multiple times. :P Besides, he already knows that we all think he's an asshole. We just go on about our business anyway.
    • CommentAuthorJovi
    • CommentTimeJul 5th 2010
     
    What's the point of admitting it? Even Qwerty knows he's an asshole, and has said so several times. That being said, he's a funny guy. I harbor no hard feelings toward him.
    •  
      CommentAuthoryasha88
    • CommentTimeJul 5th 2010
     
    That's kinda what I was trying to say.
    •  
      CommentAuthorNoda
    • CommentTimeJul 22nd 2010 edited
     
    I've decided to post this here, since it's easy to do and shouldn't change much on the client. However, here comes the bold type, if you do this, do not use the altered client for bug testing. For messing around and screenshots it's awesome, but if you encounter what you think is a bug, try it with a backup copy of the No-GG client before you report it. I also won't be releasing pre-made EXEs, considering it's so easy to do, and you really shouldn't go running EXEs unless you know what someone might have put in them. I figure this is safe enough, since you'll be using the EXE Essen has prescribed. If you are not comfortable with editing executables or hexadecimal, please turn back now and wait for a more proper solution later. No technical support will be extended for this very preliminary hack.

    First off, what is possible at the moment.

    • You can use custom resolutions that are based on 5:4, 4:3 or 16:9 aspect ratios. For example, 1920 x 1080 is possible, 1600 x 900 is possible, 1600 x 1200 is possible.

    • You can use custom resolutions that aren't based on those ratios if you're willing to live with distortion. Ie; 720 x 480 drawn onto a 4:3 screen will make everything look skinnier.


    What is not possible, various problems, and bugs you will encounter.

    • The option.exe program will not reflect reality. Basically it passes a numeric value (0, 1, 2, 3...) to select one of several pre-set resolutions in the actual game executables. Until more elaborate hacks come along and add more values to pass, you'll have to overwrite an existing resolution.

    • At some resolutions you may experience graphical problems, such as the minimap not displaying correctly.

    • At least for the moment, using anything but a 16:9, 4:3 or 5:4 aspect ratio will result in proportion errors, as mentioned.


    This is done through a hex editor. There are plenty of free and good ones out there, so just find one you are comfortable with. Make sure you have a backup of your executable somewhere. Open PSUIlluminus.EXE in the editor (or untested, PSUIlluminusOff.EXE). We'll be searching for the following hexadecimal digits:

    What is that? That's just 640 and 480 as 32-bit integers. So 640 = 0x0000:0280 and 480 = 0x0000:01E0. In the endian tangle, that gets turned into 0x8002:0000 and 0xE001:0000. You should find this section without much trouble:

    Notice that beyond that, you have 800 x 600 (0320 + 0258), 1024 x 768 (0400 + 0300), etc. As you may have already guessed, putting whatever render resolution you want is as simple as replacing those values with the ones you want, and using the appropriate setting in option.exe that goes with the one you edited. However, be aware that the aspect ratio of the one you replace is what PSU will try to display it as, regardless of the resolution you've entered. For example, editing a 16:9 resolution like 1440 x 810 into a 4:3 resolution such as 1024 x 768's spot will result in PSU trying to render that in a 4:3 window/display, creating distortion. It's best to choose a resolution to overwrite that matches or is closest to the one you intend to use.

    Some common values for resolutions:

    • PSU Standards

    • 640 x 480 = 0x0000:0280 0x0000:01E0 (4:3) = 0x8002:0000 0xE001:0000

    • 800 x 600 = 0x0000:0320 0x0000:0258 (4:3) = 0x2003:0000 0x5802:0000

    • 1024 x 768 = 0x0000:0400 0x0000:0300 (4:3) = 0x0004:0000 0x0003:0000

    • 1280 x 960 = 0x0000:0500 0x0000:03C0 (4:3) = 0x0005:0000 0xC003:0000

    • 1280 x 1024 = ... 0x0000:0400 (5:4) = ... 0x0004:0000

    • 1280 x 720 = ... 0x0000:02D0 (16:9) = ... 0xD002:0000

    • Others of Interest

    • 1920 x 1080 = 0x0000:0780 0x0000:0438 (16:9) = 0x8007:0000 0x3804:0000 (Ratio Matches 1280 x 720)

    • 1680 x 1050 = 0x0000:0690 0x0000:041A (16:10) = 0x9006:0000 0x1A04:0000 (Closest To 1280 x 720, May Want To Use 1680 x 945)

    • 1680 x 945 = ... 0x0000:03B1 (16:9) = ... 0xB103:0000 (Ratio Matches 1280 x 720)

    • 1600 x 1200 = 0x0000:0640 0x0000:04B0 (4:3) = 0x4006:0000 0xB004:0000 (Ratio Matches 640 x 480, etc.)

    • 1600 x 900 = ... 0x0000:0384 (16:9) = ... 0x8403:0000 (Ratio Matches 1280 x 720)

    • 1440 x 900 = 0x0000:05A0 0x0000:0384 (16:10) = 0xA005:0000 0x8403:0000 (Closest To 1280 x 720, May Want To Use 1440 x 810)

    • 1440 x 810 = ... 0x0000:032A (16:9) = ... 0x2A03:0000 (Ratio Matches 1280 x 720)

    • CommentAuthornaame
    • CommentTimeJul 23rd 2010
     
    Sweet! Thanks Noda. I got 1920 x 1080 working on my first try.
    •  
      CommentAuthorRaujinn
    • CommentTimeJul 23rd 2010
     
    Well look at u all being useful again. Good stuff!
    •  
      CommentAuthorZetsubo
    • CommentTimeJul 23rd 2010 edited
     
    I'm having an issue with editing the resolution. I am found the resolution for 1280x 720, I changed it to the resolution of 1920 x1080, Saved, now PSU opens up for a split second in the correct resolution, then closes. Help?

    EDIT: Never mind, just typed 70 instead of 07 in the Hex, thanks for the guide.
    •  
      CommentAuthorNoda
    • CommentTimeJul 23rd 2010
     
    Yeah, make sure to double check what you enter. You were trying to open at 28,800 x 1080, Zetsubo, ha ha. I doubt forcing some Xtreme resolution will actually cause any hardware damage, but best to not try it. I was able to get 2048 x 1536 (reduced to something actually displayable) going in a window on my notebook, but it was sloooow.

    Thanks for the feedback, everybody.
    •  
      CommentAuthorVolt
    • CommentTimeJul 23rd 2010
     
    I don't see what's so hard to understand about a hacked-up exe causing its own set of bugs. We have enough of those. I thought the implication of us all communally thinking something that hadn't crossed most of our minds was pretty funny, though.
    •  
      CommentAuthorNoda
    • CommentTimeJul 23rd 2010
     
    Volt:I don't see what's so hard to understand about a hacked-up exe causing its own set of bugs.

    And yet when some of the first hacked EXEs appeared on the scene, pretty much the only bug reports were 'it won't run on XP.'
    I thought the implication of us all communally thinking something that hadn't crossed most of our minds was pretty funny, though.

    I'm having trouble implying what you're implying.
    •  
      CommentAuthorZetsubo
    • CommentTimeJul 23rd 2010 edited
     
    Hmmm aside from resolution anything we can edit in the exe to enhance the quality of the game, I already think I maxed the game by running my graphics card AA as high as it goes, running everything at max, highest resolution, etc. I really don't think there is anything else I can do but if there is I would not mind some information.
    •  
      CommentAuthorNoda
    • CommentTimeJul 23rd 2010
     
    Pretty much the only thing left that would be doable in the near term would be to mod in some higher quality and resolution textures, but that's still a ways off. That and more elaborate models are probably possible, but I'm wondering when it stops being PSU, when practically the only piece that you're using from Sega is the game itself. Some people would love it, others might not. I guess we'll see what comes of it eventually.
    •  
      CommentAuthorZetsubo
    • CommentTimeJul 23rd 2010
     
    Yeah, I was thinking that. Because after maximizing its graphical limit there are things that look noticeably worse, such as skys and backdrops, it would not hurt to enhance some other things too. Also custom skins are client sided (Can be server sided if its still PSU but with higher res textures, its really Essen's call there but IMO it's not a big deal) So if someone wants the game to look different it is their choice really, it does not effect others by changing how you see the game. Anyway I'm going to probably start replacing those lower res textures next week. I'll make a topic and tell you all how well it goes.
    •  
      CommentAuthorNoda
    • CommentTimeJul 23rd 2010
     
    If you can track him down, throttlekitty may be able to give you a head start. I know that he was doing a lot of research on the models and textures already, with a similar goal in mind, but I haven't seen him around for a while.
    •  
      CommentAuthoressen
    • CommentTimeJul 23rd 2010
     
    Noda:but I'm wondering when it stops being PSU, when practically the only piece that you're using from Sega is the game itself.

    At some point it's worth more to do your own client, aka a new game, and fix all the issues but still keep the same spirit of the game, than to keep trying to modify some antiquity. But I'm sure some would still prefer to work on the old client if they had the option.
    • CommentAuthorCuber
    • CommentTimeJul 26th 2010
     
    I take it that it's only possible to do that using essens exe? As I've tried JP and the original exe and it doesn't find that.
    •  
      CommentAuthorNoda
    • CommentTimeJul 26th 2010
     
    Cuber:I take it that it's only possible to do that using essens exe? As I've tried JP and the original exe and it doesn't find that.

    Compressed and/or encrypted EXEs will not be usable for this, no.
    •  
      CommentAuthorRygdea
    • CommentTimeJul 26th 2010 edited
     
    This is pretty awesome, though the map getting way offset pretty much puts me off from using it. :V
    •  
      CommentAuthorNoda
    • CommentTimeJul 26th 2010
     
    Yeah, I'm not even sure where to begin investigating where to fix that. Still a long way to go before this turns from a hack to a feature I could recommend for everyday play.
    • CommentAuthorProDigit
    • CommentTimeAug 2nd 2010 edited
     
    @Noda:
    Any recommendations on what to do with 1280x800 resolution fullscreen?
    Most laptops have this resolution.

    Most Netbooks have 1024x600 screen resolutions.
    It'd be nice to update us on what the settings would be for those.

    For now, I'll just select 1280x720, and set my intel drivers not to stretch the image (I can live with 80 pixels of black bars)..


    Also, it's a bit unclear what I should do.
    I currently run the screen fullscreen at 1024x768 resolutions, but my LCD is 1280x800 pix.

    I suppose in the hex editor I should change the value "00 04 00 00 00 03 00 00" to something like "00 00 02 D0" or "D0 02 00 00"?
    What happens to the remaining values?
    Or should I change it to "00 00 02 D0 D0 02 00 00"?