OpenSWE1R / openswe1r

An Open-Source port of the 1999 Game "Star Wars Episode 1: Racer"
https://openswe1r.github.io/
GNU General Public License v2.0
312 stars 26 forks source link

Unable to run the game #147

Closed janman13 closed 6 years ago

janman13 commented 6 years ago

Hey everyone! I didn't manage to run the game... I downloaded it from git (and all the libraries) and then build as in the readme. Then I copied the "gnome/" folder from the iso, as the "getting started" in the wiki specifies, and try to run it, but the game crashes, with the following error message:

lpText 0x4B7E44 ('Error:  Please reinstall program from CD-ROM.
       Press OK to exit to desktop.')
lpCaption 0x4B7E98 ('BAD INSTALL')

When I try to install it from the CD via wine, and then run the openswe1r binary from the installed folder, I get asked for a CD:

hWnd 0x14D
lpText 0xC07FFD18 ('Error:  Please insert CD-ROM 'racer100_0' into drive. Press OK to continue or CANCEL to exit to desktop.')
lpCaption 0x4B7DA4 ('CD ERROR')

Any ideas?

Note: the version of the ISO is Version 1.0 4/27/99. My distro is Ubuntu 17.10. Unicorn Engine 1.0.1, SDL 2.0, GLEW 2.1, OpenAL 1.1

JayFoxRox commented 6 years ago

Can you go into your build folder and run tree then post the output here?

Also please run objdump -x swep1rcr.exe | grep Date && md5sum swep1rcr.exe (please install respective software if you don't have it installed already)

Ideally also provide information which language the disc is and wether it's a CD or DVD.

Also please confirm that this is a store-bought, original, unmodified version of the game. Versions which had bad no-CD patches applied will not work (including the gog.com release at the moment).

janman13 commented 6 years ago

The objdump:

Time/Date Thu Apr 29 05:12:14 1999 22c2781b3cf606b7a093ec5a39ac2af5 swep1rcr.exe

The tree: tree.txt

the disc is in English, US version.

JayFoxRox commented 6 years ago

The filenames must be in all lowercase. This was the case for my disc. I assumed this was true for all discs.

(Unfortunately the installer does rename them to "somtimEsMixedCase.EXT" - which is why we don't have that option in the "Getting Started" guide yet.)

Looks like your discs filenames are not in lowercase. Either use a tool to turn the filenames to lowercase, or write a patch for #43 .

This is hopefully the only issue with your copy of the game. If there are more problems use this issue @janman13 .

I'll close this issue now as it's a known issue. I've also improved the respective issue to make it easier to find.