Talk:Plan for faster game loading and upgrading

From OHRRPGCE-Wiki
Jump to navigation Jump to search

The section about "Don't unlump" is what Super ZZ Zero does (although I had the same idea independently). A implementation in C (which is public domain) is available at: https://raw.githubusercontent.com/zzo38/superzz0/refs/heads/trunk/lumped.c (but some of these functions are things specific to Super ZZ Zero which do not match how OHRRPGCE does things and are not required or helpful for OHRRPGCE). Only the modified lumps are stored in memory and not all of them; it creates an index of the lumps in memory and uses that to find them in the file and access them. OHRRPGCE is written in BASIC and not in C, although a similar idea could be used (perhaps using FB_FILE like you suggested). The maximum name length also would probably need to be increased from my implementation for OHRRPGCE (e.g. "Slicetree_n_n.reld" is too long name for my existing implementation). --Zzo38 (talk) 12:34, 29 March 2026 (PDT)