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

This doesn't work anymore #55

Open
danieldanielecki opened this issue Apr 6, 2020 · 11 comments
Open

This doesn't work anymore #55

danieldanielecki opened this issue Apr 6, 2020 · 11 comments

Comments

@danieldanielecki
Copy link

The installation with yarn install/yarn dev is no longer working. This is both for master and typescript branch.

The master branch in a browser shows only black screen on the localhost:3000 with some errors in the console:

Failed to load resource: the server responded with a status of 404 (Not Found)
:3000/assets/import/LARGE.DAT:1 Failed to load resource: the server responded with a status of 404 (Not Found)
index.js:311 Uncaught TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.
    at fromObject (index.js:311)
    at from (index.js:137)
    at Function.push../node_modules/buffer/index.js.Buffer.from (index.js:149)
    at new palette (palette.js:10)
    at LoaderPlugin.<anonymous> (world.js:26)
    at LoaderPlugin.emit (index.js:181)
    at LoaderPlugin.loadComplete (LoaderPlugin.js:900)
    at LoaderPlugin.fileProcessComplete (LoaderPlugin.js:883)
    at LoaderPlugin.nextFile (LoaderPlugin.js:827)
    at BinaryFile.onLoad (File.js:331)

The typescript branch has local hardcoded dependency pngjs (see issue #54). Even when setting this as latest it complains about node_modules/fsevents/fsevents.node file. This file can be cleaned up and the error disappears. However, then in a terminal I can see another error (node:7713) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open 'assets/import/PAL_MSTR.BMP' and Electron's starting page.

Can you please take a look into these issues and let us know?

@lukigarazus
Copy link

Does anyone look at this anymore?

@dfloer
Copy link

dfloer commented Apr 28, 2020

@danieldanielecki Have you put PAL_MSTR.BMP file from SimCity 2000 in the specified location and are still having the problem?

@nicholas-ochoa
Copy link
Owner

I'll try and look at this later this week. Most likely I'll just push the local dependency out (it's a fork of pngjs) but even then this is not in any state that is remotely playable / usable.

Please keep in mind, it doesn't currently "do" anything besides convert the tiles into PNG and start the load process.

@danieldanielecki
Copy link
Author

@dfloer - where can I get the file from?

@nicholas-ochoa - were you able to do any progress?

@dfloer
Copy link

dfloer commented Jun 13, 2020

@danieldanielecki Retail copy of the game, not sure where you can buy the Windows 95 version these days. It can't be included here because the game seems copyright protected.

@danieldanielecki
Copy link
Author

Ohh so basically from the repo it's infeasible to clone the game.

@dd123-a
Copy link

dd123-a commented Jun 29, 2023

So how should we solve this problem now

@dd123-a
Copy link

dd123-a commented Jun 30, 2023

have you finish this problem

@danieldanielecki
Copy link
Author

nope, I gave up that time

@dd123-a
Copy link

dd123-a commented Jul 2, 2023

nope, I gave up that time

Perhaps you can try this project: https://github.com/pdeva/OpenSC2K . I have successfully built it with this, but of course its functionality is not yet complete, as his readme said, but he does not lack the so-called confusing files there

@dd123-a
Copy link

dd123-a commented Jul 2, 2023

nope, I gave up that time
By the way, you need to change the file of package.json to adapt to version changes in order to build successfully, at least on my machine

nope, I gave up that time

Perhaps you can try this project: https://github.com/pdeva/OpenSC2K . I have successfully built it with this, but of course its functionality is not yet complete, as his readme said, but he does not lack the so-called confusing files there

By the way, you need to change the file of package.json to adapt to version changes in order to build successfully, at least on my machine

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

5 participants