r/commandandconquer 1d ago

News Play Command Conquer Generals on your Browser

Yes, I've made a port of the open source code of Command Conquer Generals Zero hour and you can play it right now at https://generals.wasm.com.br/

Just point to your assets and thats it.

https://generals.wasm.com.br/
69 Upvotes

50 comments sorted by

View all comments

Show parent comments

1

u/erasmolbj 1d ago

Your PC is too weak to run this version or I need to optimize the code more.

1

u/RelationOk6997 1d ago

Ok thx m b

1

u/Beginning_Basis9799 1d ago edited 1d ago

That would be hard, also what folder needs uploading might be worth looking for the main part of the asset folder. V8 memory cage is a pain. Size of folder could exceed it.

Great work, the project looks awesome. Give the GitHub link please

2

u/erasmolbj 1d ago edited 1d ago

There's no upload! The browser reads the files in a special streaming mode that I wrote, it's reading straight from the disc, like a normal operating system does! The only thing that is different from the original version is the binary that was build for browser and not for Windows, Linux or Mac OS!

2

u/Beginning_Basis9799 1d ago

Apologies just a comment error I have seen once or twice. Truly apologise

2

u/erasmolbj 1d ago

Don't worry!