Hi,
is it possible to use Git with the OHR?
I really don't know much about git, and maybe I'm asking an odd question...
As Far as I know Git keeps track of the things one changes and allows to share these changes with others.
I'm using my Netbbook and other times I'm using my PC, I need a way to keep trak of the things I changed.
An OHRfile is a single file and not a colltetion of files, - or am I wrong? - so I'm not sure if I could use git with the OHR.
Do you have other ideas how I could document the changes and versions while making a game?
I brought up a similar question before, it should be possible to use a version control system to keep track of changes in an OHRRPGCE game, but it has yet to be tested. An RPG file is technically a collection of files, in order to optimize how GIT or another revision system would track changes, you should unlump the RPG file into what is called an RPGDir. You can find the unlump tool on this website:
http://rpg.hamsterrepublic.com/ohrrpgce/UNLUMP
Then run git init on that resulting RPGDir. Both custom and game can use RPGDirs.
If all you need to do is keep your RPG file insync between two computers, it might be easier to use a service like DropBox, or the Windows Briefcase. On Linux or Mac, you can use the excellent rsync tool.
http://rpg.hamsterrepublic.com/ohrrpgce/UNLUMP
Then run git init on that resulting RPGDir. Both custom and game can use RPGDirs.
If all you need to do is keep your RPG file insync between two computers, it might be easier to use a service like DropBox, or the Windows Briefcase. On Linux or Mac, you can use the excellent rsync tool.
Yes, this works. I keep my games in subversion for this very reason.
First you should use the unlump.exe to convert your .rpg file into a .rpgdir folder.
Custom and Game are both able to open .rpgdir folders exactly the same as .rpg files.
You can add the rpgdir to a git or subversion repository. Each time you do an important change, you can commit it.
EDIT: oops! Chronoboy types faster than me! :)
First you should use the unlump.exe to convert your .rpg file into a .rpgdir folder.
Custom and Game are both able to open .rpgdir folders exactly the same as .rpg files.
You can add the rpgdir to a git or subversion repository. Each time you do an important change, you can commit it.
EDIT: oops! Chronoboy types faster than me! :)
You might like to use Mercurial instead of Git, it's designed to be a bit easier to use. However, if you just want to keep files in sync between different computers without a history of changes, something like Dropbox or Bittorrent Sync would be better.
You can't easily use this to merge together different changes to a game. It's possible to some degree, but only if you really know what you're doing.
You can't easily use this to merge together different changes to a game. It's possible to some degree, but only if you really know what you're doing.
marionline wrote:
Thanks for you answers and suggestions.
I'll try dropbox, I think.
I didn't consider that I need git to be online on a server or such...
I'll try dropbox, I think.
I didn't consider that I need git to be online on a server or such...

Well, you don't really need git to be online actually. I'm using git to keep track of Legacy and I don't have it online (though I prolly should) and it's been working brilliantly so far.
But to each his own, and if dropbox works, then go for it.
Being from the third world, I reserve the right to speak in the third person.
Using Editor version wip 20170527 gfx_sdl+fb music_sdl
Do you you use git on/with two computers? Or just on one?
I'd need to have git on one PC comunicate with the other, so I'd need internet.
I have been using git in a project were it keept track of a repro and the changes on other persons' PCs, (so I thought it has to be online) but I really don't know much about git, I'd like to learn while using it, and maybe i'm overlooking something.
I'd need to have git on one PC comunicate with the other, so I'd need internet.
I have been using git in a project were it keept track of a repro and the changes on other persons' PCs, (so I thought it has to be online) but I really don't know much about git, I'd like to learn while using it, and maybe i'm overlooking something.
If you want to copy changes between two git (or mercurial) repositories on different computers it would be easiest to set up a remote private git/mercurial repository for free on an external server like bitbucket.org. Then to copy changes from one computer to the other you commit all your changes ("git add gamename.rpgdir", "git commit"), then do "git push" on one, and "git pull" on the other. And as a bonus you'll have an extra backup of your game.
TMC wrote:
If you want to copy changes between two git (or mercurial) repositories on different computers it would be easiest to set up a remote private git/mercurial repository for free on an external server like bitbucket.org. Then to copy changes from one computer to the other you commit all your changes ("git add gamename.rpgdir", "git commit"), then do "git push" on one, and "git pull" on the other. And as a bonus you'll have an extra backup of your game.
If it's only being done in one location (e.g. two different computers in the same house) wouldn't it be possible to just set up a local server? Though yeah, you would need to have an external server if it's two different locations.
Being from the third world, I reserve the right to speak in the third person.
Using Editor version wip 20170527 gfx_sdl+fb music_sdl




