Hi nick, i will try and help you as much as i can.
First, i use DBP not DBC but:
write string - this means this command will write the specifified string to the file. The string will be terminated in the file with the standard carriage return ASCLL characters (13)+(10). The file specified by the file number must open or the command wil fail.
Basically it will write a string into the saving, such as write string 1,string here.
Next
write word - this means it will write a word of data to the file from an interger value in the variable specified. A word represents two bytes. The file specified by the file number must open or the coomand will fail.
Basically you use write word to store the currunt things, like camera position, character poistion, energy for both character and enemy.
If you look at this code, it will give you a basic idea on what you need :
Open To Write 1,"Save File.Sav"
Write String 1,HeroPrimaryStats(1).Name
Write Word 1,HeroPrimaryStats(1).Level
Write Word 1,HeroPrimaryStats(1).Experiance
Write Word 1,HeroPrimaryStats(1).EXPTillNextLevel
Write Word 1,HeroPrimaryStats(1).KnowledgePoints
Write Word 1,HeroPrimaryStats(1).Strength
Write Word 1,HeroPrimaryStats(1).Dexterity
Write Word 1,HeroPrimaryStats(1).Intelligence
Write Word 1,HeroPrimaryStats(1).Wisdom
Write Word 1,HeroPrimaryStats(1).Willpower
Write Word 1,HeroPrimaryStats(1).Endurance
Write String 1,EquippedWeapon(1).Name
Write String 1,EquippedWeapon(1).Class
Write Word 1,EquippedWeapon(1).DamageEnh
Write Word 1,EquippedWeapon(1).CounterEnh
Write Word 1,EquippedWeapon(1).DefenseEnh
Write Word 1,EquippedWeapon(1).SpeedEnh
Write Word 1,EquippedWeapon(1).MagicPowerEnh
Write Word 1,EquippedWEapon(1).WeaponHitRate
Write String 1,EquippedArmor(1).Name
Write String 1,EquippedArmor(1).Class
Write Word 1,EquippedArmor(1).DefenseEnh
Write Word 1,EquippedArmor(1).SpeedEnh
Write Word 1,EquippedArmor(1).MagicDefEnh
Write Word 1,EquippedArmor(1).DodgeRateEnh
Write Word 1,HeroAppliedStats(1).MaxHP
Write Word 1,HeroAppliedStats(1).CurrentHP
Write Word 1,HeroAppliedStats(1).MaxMP
Write Word 1,HeroAppliedStats(1).CurrentMP
Write Word 1,HeroAppliedStats(1).MaxDamage
Write Word 1,HeroAppliedStats(1).MinDamage
Write Word 1,HeroAppliedStats(1).MoveDistance
Write Word 1,HeroAppliedStats(1).DodgeRate
Write Word 1,HeroAppliedStats(1).Defense
Write Word 1,HeroAppliedStats(1).ToHitRate
Write Word 1,HeroAppliedStats(1).MagicPower
Write Word 1,HeroAppliedStats(1).MagicDefense
Write Word 1,HeroAppliedStats(1).CounterRate
Write Word 1,MonstersKilled
Write Word 1,CI
for save = 1 to CI
Write String 1,InventoryList(save).Name
Write String 1,InventoryList(save).ItemType
Write String 1,InventoryList(save).Class
if InventoryList(save).ItemType = "Weapon"
Write Word 1,InventoryList(save).DamageEnh
Write Word 1,InventoryList(save).CounterEnh
Write Word 1,InventoryList(save).CounterEnh
Write Word 1,InventoryList(save).SpeedEnh
Write Word 1,InventoryList(save).MagicPowerEnh
Write Word 1,InventoryList(save).WeaponHitRate
else
if InventoryList(save).ItemType = "Armor"
Write Word 1,InventoryList(save).DefenseEnh
Write Word 1,InventoryList(save).SpeedEnh
Write Word 1,InventoryList(save).MagicDefEnh
Write Word 1,InventoryList(save).DodgeRateEnh
endif
endif
next save
Close File 1
fileexist = 0
save = 0
Loading
fileexist = file exist ("Save File.sav")
if fileexist = 1
cls : input "Would you like to load this game?",ResponeVar$
if ResponseVar$ = "No"
cls
print "Load Canceled"
sync
wait key
goto FieldChoiceSpot
endif
if ResponseVar$ = "Yes"
Open to Read 1,"Save File.sav"
Read String 1,HeroPrimaryStats(1).Name
Read Word 1,HeroPrimaryStats(1).Level
Read Word 1,HeroPrimaryStats(1).Experiance
Read Word 1,HeroPrimaryStats(1).EXPTillNextLevel
Read Word 1,HeroPrimaryStats(1).KnowledgePoints
Read Word 1,HeroPrimaryStats(1).Strength
Read Word 1,HeroPrimaryStats(1).Dexterity
Read Word 1,HeroPrimaryStats(1).Intelligence
Read Word 1,HeroPrimaryStats(1).Wisdom
Read Word 1,HeroPrimaryStats(1).Willpower
Read Word 1,HeroPrimaryStats(1).Endurance
Read String 1,EquippedWeapon(1).Name
Read String 1,EquippedWeapon(1).Class
Read Word 1,EquippedWeapon(1).DamageEnh
Read Word 1,EquippedWeapon(1).CounterEnh
Read Word 1,EquippedWeapon(1).DefenseEnh
Read Word 1,EquippedWeapon(1).SpeedEnh
Read Word 1,EquippedWeapon(1).MagicPowerEnh
Read Word 1,EquippedWEapon(1).WeaponHitRate
Read String 1,EquippedArmor(1).Name
Read String 1,EquippedArmor(1).Class
Read Word 1,EquippedArmor(1).DefenseEnh
Read Word 1,EquippedArmor(1).SpeedEnh
Read Word 1,EquippedArmor(1).MagicDefEnh
Read Word 1,EquippedArmor(1).DodgeRateEnh
Read Word 1,HeroAppliedStats(1).MaxHP
Read Word 1,HeroAppliedStats(1).CurrentHP
Read Word 1,HeroAppliedStats(1).MaxMP
Read Word 1,HeroAppliedStats(1).CurrentMP
Read Word 1,HeroAppliedStats(1).MaxDamage
Read Word 1,HeroAppliedStats(1).MinDamage
Read Word 1,HeroAppliedStats(1).MoveDistance
Read Word 1,HeroAppliedStats(1).DodgeRate
Read Word 1,HeroAppliedStats(1).Defense
Read Word 1,HeroAppliedStats(1).ToHitRate
Read Word 1,HeroAppliedStats(1).MagicPower
Read Word 1,HeroAppliedStats(1).MagicDefense
Read Word 1,HeroAppliedStats(1).CounterRate
Read Word 1,MonstersKilled
Read Word 1,CI
for load = 1 to CI
Array Insert At Bottom InventoryList(0)
Read String 1,InventoryList(load).Name
Read String 1,InventoryList(load).ItemType
Read String 1,InventoryList(load).Class
if InventoryList(load).ItemType = "Weapon"
Read Word 1,InventoryList(load).DamageEnh
Read Word 1,InventoryList(load).CounterEnh
Read Word 1,InventoryList(load).CounterEnh
Read Word 1,InventoryList(load).SpeedEnh
Read Word 1,InventoryList(load).MagicPowerEnh
Read Word 1,InventoryList(load).WeaponHitRate
else
if InventoryList(load).ItemType = "Armor"
Read Word 1,InventoryList(load).DefenseEnh
Read Word 1,InventoryList(load).SpeedEnh
Read Word 1,InventoryList(load).MagicDefEnh
Read Word 1,InventoryList(load).DodgeRateEnh
endif
endif
next load
Close File 1
endif
endif
fileexist = 0
load = 0
After a while it gets easier to understand, tyr starting with a very simple game, like a few objects that move and a camera, and have a small saving part, then build your way up, like i am (infact i really undersatnd)
Dont forget that there is lots of other coomands such as write long, etc...
If you need any more help, please ask and like i said, i will help you as much as i can untill you get it right
Life is just a dream - you are not really alive, so get a gun and start killing evil people.
Rikku of final fantasy 10 and 10.2 is well fit/cool