pjasicek / OpenClaw

Reimplementation of Captain Claw (1997) platformer
GNU General Public License v3.0
338 stars 39 forks source link

actor menu couldn't be loaded again :lady_beetle: #172

Closed YosefX01 closed 2 years ago

YosefX01 commented 2 years ago

this is strange when you run again and gives me this error Screenshot from 2022-05-01 13-46-06

YosefX01 commented 2 years ago

it's new thing

pjasicek commented 2 years ago

Please, make your issues atleast somewhat understandable.

I really can't tell anything from this - printscreen from an incomplete Windows console where I cannot even see the name of the ActorPrototype which fails to load does not help me help you with the issue.

YosefX01 commented 2 years ago

Sir when im using ubuntu base not windows - zorin os 16.1 second the prototype when i launch the game it appears a debug mode with second screen then the game screen closes and the debug screen gives the error thats all and thanks for understanding me😁

On Mon, May 2, 2022, 8:54 AM Petr Jašíček @.***> wrote:

Please, make your issues atleast somewhat understandable.

I really can't tell anything from this - printscreen from an incomplete Windows console where I cannot even see the name of the ActorPrototype which fails to load does not help me pinpoint the issue.

— Reply to this email directly, view it on GitHub https://github.com/pjasicek/OpenClaw/issues/172#issuecomment-1114550775, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVPAYIRC4FJ4XNX5JHZIYCDVH53Z3ANCNFSM5UZYSBOA . You are receiving this because you authored the thread.Message ID: @.***>

pjasicek commented 2 years ago

But the console screenshot does not contain the full error output - it is clamped. Just paste the console output here.

All I can see is

ActorPrototype ----- and this part is clamped. I don't know which actor prototypes.

Also, are you using original ASSETS.ZIP from the repo or did you overwrite it with the ASSETS.ZIP contained in the old windows release ? You need to use the original one.

jadsonosd commented 2 years ago

Hum openclaw, there's the site of game too. ;

jadsonosd commented 2 years ago

i am searching in the net the stringto enum

jadsonosd commented 2 years ago

Your friend need the entire error in your image :D, i understood this.

YosefX01 commented 2 years ago

i appreciate that but i'm not good at overwriting files so don't expect that from me i'm windows game programmer and not linux developer xD

jadsonosd commented 2 years ago

Have the 20th captain claw on github too if you guys search,...! :D 🗡️

pjasicek commented 2 years ago

i appreciate that but i'm not good at overwriting files so don't expect that from me i'm windows game programmer and not linux developer xD

Sorry, but I really have a hard time understanding you. Anyway, in the OpenClaw repo do

git checkout Build_Release/ASSETS.ZIP

and try to run it again.

YosefX01 commented 2 years ago

i appreciate that but i'm not good at overwriting files so don't expect that from me i'm windows game programmer and not linux developer xD

Sorry, but I really have a hard time understanding you. Anyway, in the OpenClaw repo do

git checkout Build_Release/ASSETS.ZIP

and try to run it again.

ok i understand what you want to say that you can't give me a final solution and you give me the good solution first i'll try it but before that i want to give you some questions: why you don't use linux? why assets is in zip file? is my issue unfixable? and that's it thank you again for work hard for my issue

pjasicek commented 2 years ago

Again, I don't really understand what you are trying to say ...

... you can't give me a final solution ...

What is final solution ? I mean, if you just follow the build instructions in the README.md, you would be able to build and run the game. This game can be compiled and run on pretty much any system:

why you don't use linux?

I use Linux. Why do you assume I don't use Linux ?

why assets is in zip file?

ZIP is open format and was perfect for this purpose. What alternative would you propose ?

is my issue unfixable?

First, you did even provide info what your issue is. All you did was take a screenshot of an INCOMPLETE console output. I told you to paste the complete console output to this issue, but you did not do that.

Second, I already provided you with a hint as to what I think the issue is - I think you copied the ASSETS.ZIP along with CLAW.REZ from the Windows release. You should ONLY copy the CLAW.REZ from the release, not anything else.

YosefX01 commented 2 years ago

Sir the game files exists in your git files first and second no need to put resources in provided git page and third your game is fantastic and no problem...and thanks again Yosef Elbedwehy From egypt

On Sat, May 7, 2022, 5:59 PM Petr Jašíček @.***> wrote:

Again, I don't really understand what you are trying to say ...

... you can't give me a final solution ...

What is final solution ? I mean, if you just follow the build instructions in the README.md, you would be able to build and run the game. This game can be compiled and run on pretty much any system:

  • Windows
  • Any Linux distro (Ubuntu, Debian, Fedora, ArchLinux, ...)
  • MacOS
  • RaspberryPI
  • PS Vita
  • Web browser
  • Android

why you don't use linux?

I use Linux. Why do you assume I don't use Linux ?

why assets is in zip file?

ZIP is open format and was perfect for this purpose. What alternative would you propose ?

is my issue unfixable?

First, you did even provide info what your issue is. All you did was take a screenshot of an INCOMPLETE console output. I told you to paste the complete console output to this issue, but you did not do that.

Second, I already provided you with a hint as to what I think the issue is

  • I think you copied the ASSETS.ZIP along with CLAW.REZ from the Windows release. You should ONLY copy the CLAW.REZ from the release, not anything else.

— Reply to this email directly, view it on GitHub https://github.com/pjasicek/OpenClaw/issues/172#issuecomment-1120232651, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVPAYIX5V55GCPSQIB2USNDVI2HPPANCNFSM5UZYSBOA . You are receiving this because you authored the thread.Message ID: @.***>

YosefX01 commented 2 years ago

Only CLAW.REZ isnt in git files

On Sat, May 7, 2022, 8:01 PM Smile Games Group @.***> wrote:

Sir the game files exists in your git files first and second no need to put resources in provided git page and third your game is fantastic and no problem...and thanks again Yosef Elbedwehy From egypt

On Sat, May 7, 2022, 5:59 PM Petr Jašíček @.***> wrote:

Again, I don't really understand what you are trying to say ...

... you can't give me a final solution ...

What is final solution ? I mean, if you just follow the build instructions in the README.md, you would be able to build and run the game. This game can be compiled and run on pretty much any system:

  • Windows
  • Any Linux distro (Ubuntu, Debian, Fedora, ArchLinux, ...)
  • MacOS
  • RaspberryPI
  • PS Vita
  • Web browser
  • Android

why you don't use linux?

I use Linux. Why do you assume I don't use Linux ?

why assets is in zip file?

ZIP is open format and was perfect for this purpose. What alternative would you propose ?

is my issue unfixable?

First, you did even provide info what your issue is. All you did was take a screenshot of an INCOMPLETE console output. I told you to paste the complete console output to this issue, but you did not do that.

Second, I already provided you with a hint as to what I think the issue is - I think you copied the ASSETS.ZIP along with CLAW.REZ from the Windows release. You should ONLY copy the CLAW.REZ from the release, not anything else.

— Reply to this email directly, view it on GitHub https://github.com/pjasicek/OpenClaw/issues/172#issuecomment-1120232651, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVPAYIX5V55GCPSQIB2USNDVI2HPPANCNFSM5UZYSBOA . You are receiving this because you authored the thread.Message ID: @.***>

pjasicek commented 2 years ago

Yes, it is purposefully not versioned due to licensing reasons - CLAW.REZ is part of the original game and I cannot freely redistribute it.

YosefX01 commented 2 years ago

Dont redistribute just provide a link to download maybe the error because no rez resources file and cant loaded without resources and again thanks c:

On Sat, May 7, 2022, 8:05 PM Petr Jašíček @.***> wrote:

Yes, it is purposefully not versioned due to licensing reasons - CLAW.REZ is part of the original game and I cannot freely redistribute it.

— Reply to this email directly, view it on GitHub https://github.com/pjasicek/OpenClaw/issues/172#issuecomment-1120254431, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVPAYISHMLWSLEMMIIG44RTVI2WGVANCNFSM5UZYSBOA . You are receiving this because you authored the thread.Message ID: @.***>

YosefX01 commented 2 years ago

Wait is rez file can i get it from another claw game files? 😂

On Sat, May 7, 2022, 8:08 PM Smile Games Group @.***> wrote:

Dont redistribute just provide a link to download maybe the error because no rez resources file and cant loaded without resources and again thanks c:

On Sat, May 7, 2022, 8:05 PM Petr Jašíček @.***> wrote:

Yes, it is purposefully not versioned due to licensing reasons - CLAW.REZ is part of the original game and I cannot freely redistribute it.

— Reply to this email directly, view it on GitHub https://github.com/pjasicek/OpenClaw/issues/172#issuecomment-1120254431, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVPAYISHMLWSLEMMIIG44RTVI2WGVANCNFSM5UZYSBOA . You are receiving this because you authored the thread.Message ID: @.***>

pjasicek commented 2 years ago

It is stated in the main README.md ... CLAW.REZ are original game's assets - you can copy it from the original Captain Claw game. ASSETS.ZIP contains my assets for the game.

YosefX01 commented 2 years ago

Wait how to do that : you mean to take assets zip file and copy it and then rename the copied assets.zip to CLAW REZ ??? Is that you mean? 😂😂

On Sat, May 7, 2022, 8:24 PM Petr Jašíček @.***> wrote:

It is stated in the main README.md ... CLAW.REZ are original game's assets - you can copy it from the original Captain Claw game. ASSETS.ZIP contains my assets for the game.

— Reply to this email directly, view it on GitHub https://github.com/pjasicek/OpenClaw/issues/172#issuecomment-1120258532, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVPAYITLB57RQID5YXHYFLDVI2YORANCNFSM5UZYSBOA . You are receiving this because you authored the thread.Message ID: @.***>

pjasicek commented 2 years ago

No, where did you get that idea ?

CLAW.REZ = assets from original game (animations, sounds, maps, ...) - you need to copy only this file from the original game or from other source (e.g. from my old windows release) ASSETS.ZIP - you don't need to do anything with this file. It's versioned in the project. No need to copy anything.

Is it clear to you now ?

YosefX01 commented 2 years ago

You gave me the old release game and it exists with rez file then I'll copy this file then I'll run the game only right ok

On Sat, May 7, 2022, 10:22 PM Petr Jašíček @.***> wrote:

No, where did you get that idea ?

CLAW.REZ = assets from original game (animations, sounds, maps, ...) - you need to copy only this file from the original game or from other source (e.g. from my old windows release) ASSETS.ZIP - you don't need to do anything with this file. It's versioned in the project. No need to copy anything.

Is it clear to you now ?

— Reply to this email directly, view it on GitHub https://github.com/pjasicek/OpenClaw/issues/172#issuecomment-1120282907, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVPAYIRH2U4U2NV3KTDKPDTVI3GIHANCNFSM5UZYSBOA . You are receiving this because you authored the thread.Message ID: @.***>

pjasicek commented 2 years ago

Yes ...

git clone https://github.com/pjasicek/OpenClaw.git
wget https://github.com/pjasicek/OpenClaw/releases/download/v0.3/OpenClaw_v1.03.zip
unzip -p OpenClaw_v1.03.zip CLAW.REZ > OpenClaw/Build_Release/CLAW.REZ
cd OpenClaw
mkdir build
cd build
cmake ..
make -j $(nproc)
(cd ../Build_Release && ./openclaw)
YosefX01 commented 2 years ago

j i'm failure xD

pjasicek commented 2 years ago

You don't have g++ installed on your system ... and I assume you don't have other libs aswell

sudo apt install build-essential libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libsdl2-gfx-dev
YosefX01 commented 2 years ago

ty it works xD h

YosefX01 commented 2 years ago

but how is that xD ?

pjasicek commented 2 years ago

but how is that xD ?

What do you mean ?

YosefX01 commented 2 years ago

i mean why it didn't worked at other distro zorin os i'm using kde neon and worked xD

YosefX01 commented 1 year ago

Ok but my pc is so potato 🥔 and freezing while cmake code 😂 but thanks for this hint again you gave me all solution now I'll try it i hope this to finish my errors 😁

On Sat, May 7, 2022, 10:34 PM Petr Jašíček @.***> wrote:

Yes ...

git clone https://github.com/pjasicek/OpenClaw.git wget https://github.com/pjasicek/OpenClaw/releases/download/v0.3/OpenClaw_v1.03.zip unzip -p OpenClaw_v1.03.zip CLAW.REZ > OpenClaw/Build_Release/CLAW.REZ cd OpenClaw mkdir build cd build cmake .. make -j $(nproc) (cd ../Build_Release && ./openclaw)

— Reply to this email directly, view it on GitHub https://github.com/pjasicek/OpenClaw/issues/172#issuecomment-1120284954, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVPAYIWXNOVCXPZOQ2BZV7LVI3HUBANCNFSM5UZYSBOA . You are receiving this because you authored the thread.Message ID: @.***>