The International Simutrans Forum

 

Author Topic: Posting Pak256.America-Ex while incomplete  (Read 682 times)

0 Members and 1 Guest are viewing this topic.

Offline Ronin1996

  • *
  • Posts: 301
  • Languages: EN, some ES, learning JP
Posting Pak256.America-Ex while incomplete
« on: September 30, 2021, 10:15:05 PM »
I am deciding on weather or not to post pak256.America-Ex while it is incomplete. I have one track, several roads, trucks, trains, houses, shops, industry. I just want people to see what it is like and if they suggest anything. There are no wagons, no trailers, no way to move things.

Offline wlindley

  • Devotee
  • *
  • Posts: 1085
    • Hacking for fun and profit since 1977
  • Languages: EN, DE
Re: Posting Pak256.America-Ex while incomplete
« Reply #1 on: September 30, 2021, 11:45:13 PM »
I would very much enjoy seeing what is available so far.  If the source is available (perhaps even on Github or Bitbucket) I might even contribute.

Offline Ronin1996

  • *
  • Posts: 301
  • Languages: EN, some ES, learning JP
Re: Posting Pak256.America-Ex while incomplete
« Reply #2 on: October 01, 2021, 12:00:37 AM »
I will do so tomorrow then, and any contribution will be most helpful and appreciated... What is bitbucket? I've never heard of it.

Offline Ronin1996

  • *
  • Posts: 301
  • Languages: EN, some ES, learning JP
Re: Posting Pak256.America-Ex while incomplete
« Reply #3 on: October 01, 2021, 01:59:29 AM »
To wlindley. Do you use Blender to model? If you do, I can upload the blender files for my objects as well as the images.

Offline Ronin1996

  • *
  • Posts: 301
  • Languages: EN, some ES, learning JP
Re: Posting Pak256.America-Ex while incomplete
« Reply #4 on: October 01, 2021, 04:35:07 PM »
As promised, here is the incomplete Pak256.America-Ex in a 7zip file. If you don't have a software that unzips these files, I highly recommend B1 Free archiver. Not only can you unzip files but you can create archived files as well.

https://mega.nz/file/TFwGlDRZ#-SUQzy9NgsBayBPCPJXJqFLo5BMzg2vwePmDPFV1EZM

Offline Freahk

  • Devotee
  • *
  • Posts: 1624
  • Languages: DE, EN
Re: Posting Pak256.America-Ex while incomplete
« Reply #5 on: October 01, 2021, 04:37:18 PM »
You need a github account and git installed on your device.

Then you can do the following:
1. create the repository on github. This is well described in the github docs: https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-new-repository
2. prepare the local repository:
Code: [Select]
git init
git add <whatever files and directories you want to add to the repository>
git commit "<a (hopefully) meaningful commit message>"

3. push the changes to the remote repository. Github in this case.
Code: [Select]
git remote add origin https://github.com/<username>/<reponame>.git
git push -u origin master


Edit:
To wlindley. Do you use Blender to model? If you do, I can upload the blender files for my objects as well as the images.
It's usually a good idea to share sources with a proper license, so other people can contribute to the project.
In case of paksets, using one of the creative commons licences (CC-BY-SA for example) seems to be a good idea but the choice is surely up to you.
« Last Edit: October 01, 2021, 04:49:37 PM by Freahk »

Offline Ronin1996

  • *
  • Posts: 301
  • Languages: EN, some ES, learning JP
Re: Posting Pak256.America-Ex while incomplete
« Reply #6 on: October 01, 2021, 06:51:48 PM »
Thank you, it's going to take me some time to play with it so soon, I'll have the stuff uploaded to Github. I already have an account and the desktop version installed so it's just getting the coding done for which I'm not good at.

Online prissi

  • Developer
  • Administrator
  • *
  • Posts: 10905
  • Languages: De,EN,JP
Re: Posting Pak256.America-Ex while incomplete
« Reply #7 on: October 02, 2021, 02:25:16 AM »
I cannot push to github any more from commandline without setting up a secret key, just tried last week when updating the simlist. Error message says since August I would need a secret key for my repo to work from commandline.

Anyway, I strongly suggest to use the github desktop for windows, because github is quite complex on the commandline compared with other version handling systems for begginers.

Offline wlindley

  • Devotee
  • *
  • Posts: 1085
    • Hacking for fun and profit since 1977
  • Languages: EN, DE
Re: Posting Pak256.America-Ex while incomplete
« Reply #8 on: October 02, 2021, 02:19:36 PM »
Please note, Git is the program; Github and Bitbucket are websites that can host repositories (and you can host your own with programs like Gitlab on your own webserver).  Setting up a key should not be too difficult (altho a bit confusing at first I agree); there are many tutorials including ones right on the Github website.

As for the pak: I notice many buildings seem to be missing needs_ground=1 which makes panning the map leave bad artefacts. 

Offline Ronin1996

  • *
  • Posts: 301
  • Languages: EN, some ES, learning JP
Re: Posting Pak256.America-Ex while incomplete
« Reply #9 on: October 02, 2021, 02:50:15 PM »
I noticed that, I didn't know that that was the issue. I often wondered what I needed the needs_ground line for. I thought it was just so that it was placed on land and not on the water.  :-[ That's not really my top priority right now. I'm working on diesel locomotives from like ALCO, EMD, and Baldwin. After everything is done, I'll go back and add that to the .dat file lines. Thank you. By the way, what do you think of me adding Canadian and Mexican locomotives to the pak?