RobertOrsin / TIAPortalGames

Some games written in WinCC and VBScript for Siemens Industrial HMIs
25 stars 2 forks source link

Wincc #2

Closed huukhoa1412 closed 4 months ago

huukhoa1412 commented 5 months ago

Hi I have some problems with wincc I hop you can help me

RobertOrsin commented 5 months ago

I try my best, please describe your problem

huukhoa1412 commented 5 months ago

GNdaiQ_XEAAdpNv GNdYiz9WwAAhncF

RobertOrsin commented 5 months ago

I recomend switching the projects language to your local one. To get more infos from the error-screen.

This error is caused by the Script AddUser. It creates a UserName in a Textfile. The path is defined as "C:\TestFiles\user.txt".

Create the nessecary folders and files or change the path defines in line 11 of the same script and try again.

huukhoa1412 commented 5 months ago

I simulate wincc , create foders and files . Error rpg pokemon Gameboy zelda no play game image and rpg (pokemon) image

RobertOrsin commented 5 months ago

I need the errorscreens to pin point the issue.

Also, it seems not all graphics are loading. Check the graphicslists and provide me with the errormessages.

huukhoa1412 commented 5 months ago

Compiling finished (errors: 0; warnings: 162) image

RobertOrsin commented 5 months ago

What TIA Portal Version are you using? Honestly, from that information alone, i have no clue. If you could provide me with your project, i can have a look. Currently, i can only work with V16

huukhoa1412 commented 5 months ago

I use V16 image

I compile project 163 warning image

RobertOrsin commented 5 months ago

If you still got the issue and are interested in solving it, please provide me with your project-file.

huukhoa1412 commented 5 months ago

Yes . my project file Link download : https://drive.google.com/file/d/1gHfxUfO9IiNBLCkUpRyCBE9BHkiUuWfi/view check my file again

RobertOrsin commented 5 months ago

I could run the games just fine. I noticed that the font in your emulation-windows is much bigger then in the editor, or on my emmulator. Is you windows-scaling set to something not 100%...for some reason WinCC takes your scaling and applies it to the panel. Maybe some graphics are affected by this. Other then that, i have no clue why it is not running, as it is running for me :/

Sorry

huukhoa1412 commented 4 months ago

i failed :(

RobertOrsin commented 4 months ago

I am realy sorry :( sometimes siemens is a bitch. Wish i could help you