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

Install Windows Games #2

Open
actraiser30 opened this issue Jan 11, 2022 · 41 comments
Open

Install Windows Games #2

actraiser30 opened this issue Jan 11, 2022 · 41 comments

Comments

@actraiser30
Copy link

actraiser30 commented Jan 11, 2022

Hello,happy new year,great script

i want to put age of empires 2 to try,how can i do it after your script has the necessary software installed??

Do i put the installed game folder " AOE2 " inside home/pi/retropie/roms/wine/games

I Make a qjoypad layout for the game as described in your info

I Reboot the system

And the game should be under wine/games/AOE2/ in retropie and i just run it from there??

thanks

@Retro-Devils
Copy link
Owner

Should be that simple .

Your qjoypad layout has to match exe exactly.

@actraiser30
Copy link
Author

actraiser30 commented Jan 12, 2022 via email

@Retro-Devils
Copy link
Owner

Thier so many mugens no way we can test em all.
They following will cause issues FOR SURE
Winmugens, anything super high resolution, 4v4.

@Retro-Devils
Copy link
Owner

That mugen looks fine

@symbios24
Copy link

symbios24 commented Feb 7, 2022

Hi is it possible to create add to your script pre-configured qjoypad layouts for the already tested/working windows games? Like for example age of empires 2?

Thanks

@Retro-Devils
Copy link
Owner

Hi is it possible to create add to your script pre-configured qjoypad layouts for the already tested/working windows games? Like for example age of empires 2?

Thanks

I don't understand what you mean . We have just added a host of qjoypad layouts heres .

Issue is where are your games . We store our mugens in .../roms/mugens/games . Wine games in ..../roms/wine/games/.installs

@symbios24
Copy link

symbios24 commented Feb 11, 2022

I mean add layouts for specific windows games

@Retro-Devils
Copy link
Owner

I mean add layouts for specific windows games

Yes those are called qjoypad layouts . We have a bunch upload in this github . Under qjoy layouts

@symbios24
Copy link

symbios24 commented Feb 11, 2022

Can you add one for generic strategy games?
Or just one for age of empires?

@actraiser30
Copy link
Author

actraiser30 commented Feb 12, 2022

273577620_483087990047962_5848137629954216361_n

i got this error upon compiling in Raspberry Pi 4 1GB

although the compiling/installing still continues is this normal??

@symbios24
Copy link

symbios24 commented Feb 12, 2022

Hi, is it possible to add a keyboard layout in qjoypad ?
I don't have a usb joystick or joypad so its not possible to configure the controls to try some windows games
Edit: i managed to find a joypad and configured the keys although there is no save option after i finish i pressed the update and it save them
Upon running the age if empires 2 game i got an error that says "failed to find a layout named Empires2" i press ok and it runs after the game anyway the game has the sound effects but not music is this a bug?

Also i named the Qjoypad layout with the game exe name "Empires2.exe" why it says it cannot find the layout Empires2?

@Retro-Devils
Copy link
Owner

Retro-Devils commented Feb 12, 2022

@actraiser30 untested on 1gb pi 4.

@symbios24 it auto looks for a layout with same name as exe .
What do you mean with game exe. Layouts are located at home/pi/.qjoypad

@symbios24
Copy link

symbios24 commented Feb 12, 2022

The game folder is "AgeOfEmpires2" the exe name inside the folder is "Empires2.exe" and the qjoypad layout name is "Empires2.exe" are all this correct?? Or i did something wrong??

@symbios24
Copy link

symbios24 commented Feb 13, 2022

Ok i manage to do it,how can i run a specific Window game at system startup?
And is it possible to delete the desktop after will it affect the game?

@actraiser30
Copy link
Author

Works perfect in 1Gb PI4

i made a script under will the game work with it?

#!/bin/bash
xset no blank
cd "home/pi/RetroPie/roms/wine/games/aoe2"
qjoypad "empires2" &
wine home/pi/RetroPie/roms/wine/games/aoe2/empires2.exe

thanks

@Retro-Devils
Copy link
Owner

Retro-Devils commented Feb 13, 2022

@actraiser30 that script looks fine . Throw in ...../roms/wine/

@symbios24 you want retropie to boot to a wine game? Cause that s a whole different thing lol . The Lyout aoe2.lyt is for aoe2.exe you don't need to add .exe in layout name

@symbios24
Copy link

Thanks
If i delete the desktop will the game still works after?

@Retro-Devils
Copy link
Owner

I would not delete . If you are trying to hide from retropie menu. Rename wine-apps folder .wine-apps the . Will hide from retropie

@symbios24
Copy link

Im not trying to hide from the menu i just want to save space by deleting the desktop

@symbios24
Copy link

symbios24 commented Feb 17, 2022

IMG_20220217_170838

Im trying to run the game from the command line with the script

#!/bin/bash
xset no blank
cd "/home/pi/RetroPie/roms/wine/games/aoe2"
qjoypad "empires2" &
wine /home/pi/RetroPie/roms/wine/games/aoe2/empires2.exe

But i got this errors in the the photo

I also put the script in the ports and run it within Retropie and got the same error.

Any help?

@Retro-Devils
Copy link
Owner

Did you delete the desktop ? cause that will cause issues.
wheres your aoe2.sh that yo ucan execute from home like that ?

@actraiser30
Copy link
Author

actraiser30 commented Feb 18, 2022 via email

@Retro-Devils
Copy link
Owner

If you made this .sh try the following
open terminal
chmod 755 /home/pi/aoe2.sh
bash /home/pi/aoe2.sh

The chmod 755 makes it executable

@actraiser30
Copy link
Author

actraiser30 commented Feb 21, 2022 via email

@Retro-Devils
Copy link
Owner

ok

@symbios24
Copy link

symbios24 commented Feb 25, 2022

It did not work but i found another way

I tried to run a direct3d game but it failed,is there any special command to run it?

Is there a way to install directx??

i tried from wine desktop with no luck i got a lot of errors when installing and the installation failed

Is there a way for your script to comes with directx pre-installed or install it from winetricks like mono and gecko?

@Retro-Devils
Copy link
Owner

Retro-Devils commented Mar 1, 2022

in theory yes can be preinstalled . But install is easy just try a few versions .

Directx10 won't work directx9 is highest we've seen work .

@symbios24
Copy link

symbios24 commented Mar 17, 2022

I tried a few methods it did not work returned with errors,If you can have direct x9 or direct x7 to be installed with your script from the winetricks section like gecko and mono for example will be great,as many games require it,or if you cant to include a small guide to install it manual
Thanks

@Retro-Devils
Copy link
Owner

So we have just made mono and gecko auto install .

The method is just install Dx9 through desktop we will find the exact one and upload here soon.

@symbios24
Copy link

Thanks a lot

@symbios24
Copy link

symbios24 commented Apr 7, 2022

Question: the game for example age of empires is not always running when i execute the script i have to run it a second time to work and some times it runs with the first time
Is that normal?

@Retro-Devils
Copy link
Owner

Yes this is normal. Takes a few trys unfortunately with some games

@symbios24
Copy link

symbios24 commented Apr 20, 2022

Do you know how to run games that require direct3D/Opengl??
I tried with the normal way it did not work got errors that could not find d3d/opengl hardware
Does it require any special switch in the end ??
Thank you

For example wine /game.exe --opengl ??

@Retro-Devils
Copy link
Owner

Retro-Devils commented May 7, 2022

No special commands id install direct3d but other than that not much I can think of

@symbios24
Copy link

If you can put in your git page a guide to install directx it will be great

@Retro-Devils
Copy link
Owner

ok i will try and get one together soon . What game are you trying?

@symbios24
Copy link

Sudden strike, blitzkrieg,gorky17,call of duty 2
And some others

@Retro-Devils
Copy link
Owner

So directx is tall is just the installe.exe in winetricks they have a few benchmarks . Like 3dmark

@symbios24
Copy link

Sorry what did you mean,the directx included in wine its just a translation layer i think not the full library.

@Retro-Devils
Copy link
Owner

Ok ok.
I will try and find a set of links soon and test em .
They will be here on Github

@symbios24
Copy link

Thanks a lot

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

3 participants