Comments (8)
It's my understanding that ENDTURN.TMP
is a savegame file, which is a little header followed by a dump of struct Players
all fed through RLE compression. It's not at all graphics-related and has no business using graphics buffers, other than memory pressure in the DOS version meant that unnecessary graphics buffers were primo for scratch space.
from raceintospace.
Okay, I'm going to replace it with another buffer and see what happens.
from raceintospace.
The use of the graphics buffers is a holdover from the DOS days where we were using memory wherever it was available. The file is used to create save games. The ENDTURN.TMP is created and whenever the player wants to save the game this file is used to create the save game file so the restored game begins at the beginning of the turn and not at some midpoint after R&D or other turn activities.
from raceintospace.
Could we hold this data in RAM instead of writing it to ENDTURN.TMP
? What is the lifecycle of the temporary file?
from raceintospace.
This was written to disk originally because of the limited RAM space. There's no reason could simply be held in RAM and used when necessary.
from raceintospace.
Quick unrelated question. BUT files are just straight-up byte-for-byte copies of the image data, yes? Erm, with palette info, as well, I mean. No compression or anything?
from raceintospace.
The game uses several different ad-hoc image formats. The best key is the but2png
source.
from raceintospace.
Thanks.
from raceintospace.
Related Issues (20)
- Help item for Launch Confirmation? HOT 1
- Docking Module at 62% HOT 6
- Space History icons HOT 5
- Bring back small screens in Mission Control? HOT 1
- Update Help files for menus HOT 2
- Return Injured recruits to Basic Training
- Additional keyboard shortcuts at spaceport?
- Awkwardness in Crew Assignment
- Have mission scheduled for one pad switch to another if pad destroyed? HOT 2
- Time for the release of 2.0? HOT 1
- Should this blow up the pad? HOT 3
- Make pad pictures links to the pad view?
- Button to send all astronauts to program HOT 3
- Add Home, End, PgUp, PgDn functionality to Astronaut Complex
- Retiring astronauts are not shown in menus HOT 7
- Astronauts may not get morale boost for a mission HOT 1
- Morale bonus for successful space flight HOT 1
- Hero medal for first woman in space HOT 3
- No music in the game on new install HOT 3
- Old domain still in code HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raceintospace.