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

Neo Sonic Universe Game #370

Closed
TheBoxGame opened this issue Dec 23, 2024 · 76 comments
Closed

Neo Sonic Universe Game #370

TheBoxGame opened this issue Dec 23, 2024 · 76 comments

Comments

@TheBoxGame
Copy link

CNCDraw
add neo sonic universe to the list of games so it works on full screen and not on small screen

@FunkyFr3sh
Copy link
Owner

FunkyFr3sh commented Dec 23, 2024

I added a preset for it, to have it in fullscreen without blackbars you have to configure the game with "Windowed Mode" and "DirectDraw" enabled - cnc-ddraw will then start it in fullscreen, but you can also press alt+enter to switch to windowed mode

Download: https://github.com/FunkyFr3sh/cnc-ddraw/releases/download/experimental/cnc-ddraw-experimental-release.zip

image

@TheBoxGame
Copy link
Author

Thanks

@TheBoxGame
Copy link
Author

will it work with this game too?
images

This game is Commando 2004

@FunkyFr3sh
Copy link
Owner

This game also got the same code, but my version doesn't have a launcher to enable DirectDraw so I had to patch it to enable it.

But my game is crashing when I try to start the gameplay (even without cnc-ddraw) so I can't test it.

Here are my files:
commando04.zip

@TheBoxGame
Copy link
Author

the first method worked in windowed mode but when it comes to full screen it's still the same and I want the game to run in full screen
Screenshot_2024-12-24-08-45-32-870_com winlator
Screenshot_2024-12-24-08-43-19-066_com winlator

@FunkyFr3sh
Copy link
Owner

FunkyFr3sh commented Dec 24, 2024

hm strange. It does work for me.

Can you do a test run with the debug build and upload me the log files here? Download: #44

You have to make sure the game is always set to windowed in the launcher. do NOT choose fullscreen there. You can use Alt+Enter to switch between windowed and fullscreen mode (or use cnc-ddraw config.exe)

@TheBoxGame
Copy link
Author

Screenshot_2024-12-24-08-56-14-246_com winlator

@FunkyFr3sh
Copy link
Owner

Screenshot_2024-12-24-08-56-14-246_com winlator

You didn't get fullscreen by default with my .zip for this one either?

@TheBoxGame
Copy link
Author

cnc-ddraw-nsu-1.zip

@TheBoxGame
Copy link
Author

Zrzut ekranu_2024-12-24-08-56-14-246_com winlator

W moim pliku .zip też nie masz domyślnie włączonego trybu pełnoekranowego?

No

@FunkyFr3sh
Copy link
Owner

in your log it says you got "windowed=true" in ddraw.ini - can you set that to "windowed=false" and upload me a new log?

@TheBoxGame
Copy link
Author

Wait

@TheBoxGame
Copy link
Author

with the game ninja jonder deluxe ddraw it worked great it works in full screen without any problems with the image jumping
Screenshot_2024-12-24-09-07-12-376_com winlator

@TheBoxGame
Copy link
Author

Screenshot_2024-12-24-09-10-27-502_com winlator
Screenshot_2024-12-24-09-10-43-535_com winlator
Screenshot_2024-12-24-09-10-52-865_com winlator
cnc-ddraw-nsu-1.zip

@FunkyFr3sh
Copy link
Owner

hm, it still says "windowed=true" in the log, are you sure you changed that?

@TheBoxGame
Copy link
Author

Yes

@FunkyFr3sh
Copy link
Owner

What happens when you set "windowed=true" and "fullscreen=true"? can you upload me a log of that as well?

@TheBoxGame
Copy link
Author

and should directdraw be selected in the launcher and windowed or fullscreen

@FunkyFr3sh
Copy link
Owner

and should directdraw be selected in the launcher and windowed or fullscreen

in the launcher always "windowed" and always "directdraw"! only change ddraw.ini settings

@TheBoxGame
Copy link
Author

Screenrecorder-2024-12-24-09-22-53-388.mp4

@FunkyFr3sh
Copy link
Owner

Yeah, your settings are all wrong. You had fullscreen in the launcher set and you had windowed=true in ddraw.ini - It's not working like this

Launcher must always be Windowed+DirectDraw - You can change ddraw.ini settings though

Try a test run with "windowed=true" and "fullscreen=true" set in ddraw.ini and upload me a log of that so I can check what happens

@TheBoxGame
Copy link
Author

Screenrecorder-2024-12-24-10-01-37-101.mp4

Screenshot_2024-12-24-10-00-36-331_com alphainventor filemanager

@TheBoxGame
Copy link
Author

you use winelator ?

@FunkyFr3sh
Copy link
Owner

Your launcher was again set wrong, it must be Windowed. Not fullscreen.

And your ddraw.ini is also broken you got 2 times "fullscreen=" in there, that will not work

Try this one:
cnc-ddraw-experimental-release.zip

@TheBoxGame
Copy link
Author

YEEEEEY THANKS

@TheBoxGame
Copy link
Author

TheBoxGame commented Dec 24, 2024

could you add these 3 games also they use directdraw
Mario Sorb 3
Commando
Ninja Jonder Deluxe

@TheBoxGame
Copy link
Author

maxresdefault

@TheBoxGame
Copy link
Author

Screenrecorder-2024-12-24-10-15-49-569.mp4

@FunkyFr3sh
Copy link
Owner

nice!!

Can you do more one test run for me so I can fix that bug? Run it with this one here and upload me the log files:
log-file-test.zip

could you add these 2 games also they use directdraw Mario Sorb 3 Ninja Jonder Deluxe

Yes, I will have a look into them

@TheBoxGame
Copy link
Author

logs games.zip

@TheBoxGame
Copy link
Author

Look I tried to replace direct draw but there is a small screen on full screen
https://github.com/user-
attachments/assets/0135de27-398e-432a-a8b9-e7d078b5e342

@FunkyFr3sh
Copy link
Owner

you had it working before, it was using cnc-ddraw. you also posted a screenshot here: #370 (comment)

Did you change something?

@FunkyFr3sh
Copy link
Owner

@TheBoxGame
Copy link
Author

I copied your exe file only this happened and then I tried to replace the directdraw files from the last patch you gave me

@TheBoxGame
Copy link
Author

nothing, it's still the same

@TheBoxGame
Copy link
Author

nothing, still the same, I replaced the 2 files you gave me now and the same

@FunkyFr3sh
Copy link
Owner

try this one:
cnc-ddraw-borderless (1).zip

@TheBoxGame
Copy link
Author

YeeeY thanks friend :) does it work or are you going to apply all 4 games to the list so that they work after downloading cnc draw?
Screenshot_2024-12-25-13-49-46-552_com winlator

@TheBoxGame
Copy link
Author

I have a request, could you check why mario sorb 3 hangs on the map screen but not in the menu?

Screenrecorder-2024-12-25-13-54-55-552.mp4

@brunodev85
Copy link

I found a solution on google, someone said this:

Match the game resolution to the container resolution

So you just have to change a setting in winlator and most of these games will work fine

@brunodev85 sorry to ping you - but I would like to improve winlator support. Is this a common issue? Is there any environment variable you can set so cnc-ddraw can detect winlator and then cnc-ddraw would enable automatic upscaling?

Or do you have plans to fix this problem for low resolution games on your own so users don't have to change any settings manually?

Hello FunkyFr3sh, I noticed that other games like GEX also have upscaling issues, maybe this could be a rendering issue on the xserver, I need to do more testing, there is no environment variable for now, i can add it if it helps in any way.

@FunkyFr3sh
Copy link
Owner

YeeeY thanks friend :) does it work or are you going to apply all 4 games to the list so that they work after downloading cnc

They all do work with cnc-ddraw already, if you run them on windows/linux/macOS they'll work fine. It's just a bug on winlator that has to be fixed somehow. Right now you have to set "fullscreen=true" in ddraw.ini to enable upscaling to workaround the bug.

I have a request, could you check why mario sorb 3 hangs on the map screen but not in the menu?

I'm not sure, it works fine for me. You can try to do a test run with the debug build and upload me the logs. Also, record a video so I can see the numbers in the top left too.
Download: https://github.com/FunkyFr3sh/cnc-ddraw/releases/download/experimental/cnc-ddraw-experimental-debuglog.zip

Hello FunkyFr3sh, I noticed that other games like GEX also have upscaling issues, maybe this could be a rendering issue on the xserver, I need to do more testing, there is no environment variable for now, i can add it if it helps in any way.

These games have a very low resolution, maybe that's the issue? They run at 320x240. Anyways, even if you can figure it out and fix it, might still be cool to have a environment variable for future use (This way I may be able to tweak the default settings / improve the performance)

Repository owner deleted a comment from TheBoxGame Dec 26, 2024
@TheBoxGame
Copy link
Author

I have a question for you, will you add the last game that uses directdraw and 320x200 resolution, I mean the game clouds kingdom 3, this game has the same problem as the others
images

@TheBoxGame
Copy link
Author

Screenrecorder-2024-12-26-18-02-01-996.mp4

cnc-ddraw-mario3-1.zip

@FunkyFr3sh
Copy link
Owner

I have a question for you, will you add the last game that uses directdraw and 320x200 resolution, I mean the game clouds kingdom 3, this game has the same problem as the others

This game is also not using DirectDraw by default, i had to patch it as well:

Clouds Kingdom 3.zip

@FunkyFr3sh
Copy link
Owner

FunkyFr3sh commented Dec 27, 2024

Screenrecorder-2024-12-26-18-02-01-996.mp4
cnc-ddraw-mario3-1.zip

Problem is that on the map screen the game is running without a limiter it seems. I enabled a faster shader, added a game speed limiter and also limit the frame rate as well, does it work better now?

test 1: Faster shader+game speed limiter+fps limiter
cnc-ddraw-mario-test1.zip

test 2: Faster shader+fps limiter
cnc-ddraw-mario-test2.zip

test 3: No shader (nearest neighbor)+fps limiter
cnc-ddraw-mario-test3.zip

Please test all 3 and tell me which one works and which one not

@TheBoxGame
Copy link
Author

@TheBoxGame
Copy link
Author

Test 2

Screenrecorder-2024-12-27-08-39-03-146.mp4

@TheBoxGame
Copy link
Author

@TheBoxGame
Copy link
Author

I'll say this, I did 3 tests and in all 3 tests it was the same, it sped up the game a little but not much

@FunkyFr3sh
Copy link
Owner

Ah... yeah it looks a bit better now. There's probably not much more I can do, so you'll have to keep it like this.
You could try different wine versions maybe, but that's it

@TheBoxGame
Copy link
Author

Screenshot_2024-12-27-08-59-31-792_com winlator

VID_20241227_085649.mp4

@TheBoxGame
Copy link
Author

clouds kingdom 3 works in full screen thanks

@TheBoxGame
Copy link
Author

TheBoxGame commented Dec 27, 2024

quick question did you add clouds kingdom 3 to your games list ? And Commando

@FunkyFr3sh
Copy link
Owner

quick question did you add clouds kingdom 3 to your games list ? And Commando

no. Because they need game patches to work. You can't use them with cnc-ddraw without a custom exe

@TheBoxGame
Copy link
Author

hey but when I used your file it worked and there will be no patch for the game because this game is from 2004

@FunkyFr3sh
Copy link
Owner

Yes I know. Only option is that someone will re-upload the games somewhere with my patched exe and cnc-ddraw included

@emxd
Copy link

emxd commented Dec 28, 2024

hey but when I used your file it worked and there will be no patch for the game because this game is from 2004

The games can be started in ddraw with the /ddraw switch, e.g.

commando.exe /ddraw
"Clouds Kingdom 3.exe" /ddraw

Seems to work fine then without patching.

@TheBoxGame
Copy link
Author

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

4 participants