Ryex / ic10emu

A Stationeers IC10 code editor and emulator
https://ic10emu.dev/
Apache License 2.0
4 stars 2 forks source link

:) #7

Open Traineratwot opened 3 months ago

Traineratwot commented 3 months ago

Good afternoon, I am a developer of a similar project. ic 10.dev I am watching your project with interest. If you need data from the game on devices, objects and the rest, with images - you can use my gist.github.com

I also have a question, since I'm using browser javascript, the result of my operations with bits is not the same as in the game Have you managed to solve this problem?

Ryex commented 3 months ago

I havn't explicitly tested the bitwise ops but they should absolutely work. I do exactly what the game does and do an overflow safe conversion to a i64 (aka signed 64 bit long) and do the correct arimatic / logical shift ops and then convert back to a f64 (64 bit double)

as for the data and images, I actually have my own workflow for extracting them all set up. https://github.com/Ryex/ic10emu/blob/main/ic10emu/generate_data.py